]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
make it easier to do a gtk2 build
[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_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxBitmap swig_types[77]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[83]
293 #define SWIGTYPE_p_wxPrintDialogData swig_types[84]
294 static swig_type_info *swig_types[86];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _windows_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows_
303
304 #define SWIG_name "_windows_"
305
306 /* Auxiliar swig macros */
307
308 #ifdef __cplusplus
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #else
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
321 #endif
322
323 #else /* C case */
324
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
333
334 #endif /* __cplusplus */
335
336
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347
348
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351
352
353 static const wxString wxPyEmptyString(wxEmptyString);
354 static const wxString wxPyPanelNameStr(wxPanelNameStr);
355
356
357
358 #include <limits.h>
359
360
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value, const char* type,
363 long min_value, long max_value)
364 {
365 if (!PyErr_Occurred()) {
366 if (value < min_value) {
367 PyObject *err =
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value, type, min_value);
370
371 PyErr_SetObject(PyExc_OverflowError, err);
372 Py_DECREF(err);
373 } else if (value > max_value) {
374 PyObject *err =
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value, type, max_value);
377 PyErr_SetObject(PyExc_OverflowError, err);
378 Py_DECREF(err);
379 }
380 }
381 return value;
382 }
383
384
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject * obj)
387 {
388 if (PyNumber_Check(obj))
389 return PyInt_AsLong(obj);
390 else {
391 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
392 obj->ob_type->tp_name);
393 PyErr_SetObject(PyExc_TypeError, errmsg);
394 Py_DECREF(errmsg);
395 return 0;
396 }
397 }
398
399
400 #if INT_MAX != LONG_MAX
401 SWIGSTATICINLINE(int)
402 SWIG_AsInt(PyObject *obj)
403 {
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj),
406 "int", INT_MIN, INT_MAX));
407 }
408 #else
409 #define SWIG_AsInt SWIG_AsLong
410 #endif
411
412
413 SWIGSTATICINLINE(int)
414 SWIG_CheckInt(PyObject* obj)
415 {
416 SWIG_AsInt(obj);
417 if (PyErr_Occurred()) {
418 PyErr_Clear();
419 return 0;
420 } else {
421 return 1;
422 }
423 }
424
425
426 SWIGSTATICINLINE(int)
427 SWIG_CheckLong(PyObject* obj)
428 {
429 SWIG_AsLong(obj);
430 if (PyErr_Occurred()) {
431 PyErr_Clear();
432 return 0;
433 } else {
434 return 1;
435 }
436 }
437
438
439 SWIGSTATICINLINE(bool)
440 SWIG_AsBool(PyObject *obj)
441 {
442 return PyObject_IsTrue(obj) ? true : false;
443 }
444
445
446 SWIGSTATICINLINE(int)
447 SWIG_CheckBool(PyObject* obj)
448 {
449 SWIG_AsBool(obj);
450 if (PyErr_Occurred()) {
451 PyErr_Clear();
452 return 0;
453 } else {
454 return 1;
455 }
456 }
457
458
459 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
460 PyObject* o2;
461 PyObject* o3;
462
463 if (!target) {
464 target = o;
465 } else if (target == Py_None) {
466 Py_DECREF(Py_None);
467 target = o;
468 } else {
469 if (!PyTuple_Check(target)) {
470 o2 = target;
471 target = PyTuple_New(1);
472 PyTuple_SetItem(target, 0, o2);
473 }
474 o3 = PyTuple_New(1);
475 PyTuple_SetItem(o3, 0, o);
476
477 o2 = target;
478 target = PySequence_Concat(o2, o3);
479 Py_DECREF(o2);
480 Py_DECREF(o3);
481 }
482 return target;
483 }
484
485
486 SWIGSTATICINLINE(double)
487 SWIG_AsDouble(PyObject *obj)
488 {
489 if (PyNumber_Check(obj))
490 return PyFloat_AsDouble(obj);
491 else {
492 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
493 obj->ob_type->tp_name);
494 PyErr_SetObject(PyExc_TypeError, errmsg);
495 Py_DECREF(errmsg);
496 return 0;
497 }
498 }
499
500
501 SWIGSTATICINLINE(int)
502 SWIG_CheckDouble(PyObject* obj)
503 {
504 SWIG_AsDouble(obj);
505 if (PyErr_Occurred()) {
506 PyErr_Clear();
507 return 0;
508 } else {
509 return 1;
510 }
511 }
512
513 static const wxString wxPyFrameNameStr(wxFrameNameStr);
514 static const wxString wxPyDialogNameStr(wxDialogNameStr);
515 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
516 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
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 = SWIG_AsLong(obj);
642 if ( !PyErr_Occurred() && (i < 0)) {
643 PyErr_SetString(PyExc_TypeError, "negative value received 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 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
822
823 self->RemoveIcon();
824
825 }
826 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
827 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
828 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
829 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
830 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
831 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
832 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
833 wxArrayString arr;
834 self->GetFilenames(arr);
835 return wxArrayString2PyList_helper(arr);
836 }
837 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
838 wxArrayString arr;
839 self->GetPaths(arr);
840 return wxArrayString2PyList_helper(arr);
841 }
842 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
843 return wxArrayInt2PyList_helper(self->GetSelections());
844 }
845 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
846 return new wxSingleChoiceDialog(parent, message, caption,
847 choices, choices_array, NULL, style, pos);
848 }
849
850 #include <wx/mdi.h>
851
852 // C++ version of Python aware wxWindow
853 class wxPyWindow : public wxWindow
854 {
855 DECLARE_DYNAMIC_CLASS(wxPyWindow)
856 public:
857 wxPyWindow() : wxWindow() {}
858 wxPyWindow(wxWindow* parent, const wxWindowID id,
859 const wxPoint& pos = wxDefaultPosition,
860 const wxSize& size = wxDefaultSize,
861 long style = 0,
862 const wxString& name = wxPyPanelNameStr)
863 : wxWindow(parent, id, pos, size, style, name) {}
864
865
866 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
867 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
868 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
869 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
870
871 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
872 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
873 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
874
875 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
876 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
877
878 DEC_PYCALLBACK__(InitDialog);
879 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
880 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
881 DEC_PYCALLBACK_BOOL_(Validate);
882
883 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
884 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
885 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
886
887 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
888 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
889
890 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
891 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
892
893 PYPRIVATE;
894 };
895
896 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
897
898 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
899 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
900 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
901 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
902
903 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
904 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
905 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
906
907 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
908 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
909
910 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
911 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
912 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
913 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
914
915 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
916 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
917 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
918
919 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
920 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
921
922 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
923 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
924
925
926 // C++ version of Python aware wxPanel
927 class wxPyPanel : public wxPanel
928 {
929 DECLARE_DYNAMIC_CLASS(wxPyPanel)
930 public:
931 wxPyPanel() : wxPanel() {}
932 wxPyPanel(wxWindow* parent, const wxWindowID id,
933 const wxPoint& pos = wxDefaultPosition,
934 const wxSize& size = wxDefaultSize,
935 long style = 0,
936 const wxString& name = wxPyPanelNameStr)
937 : wxPanel(parent, id, pos, size, style, name) {}
938
939
940 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
941 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
942 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
943 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
944
945 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
946 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
948
949 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
950 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
951
952 DEC_PYCALLBACK__(InitDialog);
953 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
954 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
955 DEC_PYCALLBACK_BOOL_(Validate);
956
957 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
958 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
959 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
960
961 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
962 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
963
964 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
965 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
966
967 PYPRIVATE;
968 };
969
970 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
971
972 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
973 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
974 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
975 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
976
977 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
978 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
980
981 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
982 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
983
984 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
985 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
986 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
987 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
988
989 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
990 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
991 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
992
993 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
994 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
995
996 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
997 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
998
999 // C++ version of Python aware wxScrolledWindow
1000 class wxPyScrolledWindow : public wxScrolledWindow
1001 {
1002 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1003 public:
1004 wxPyScrolledWindow() : wxScrolledWindow() {}
1005 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1006 const wxPoint& pos = wxDefaultPosition,
1007 const wxSize& size = wxDefaultSize,
1008 long style = 0,
1009 const wxString& name = wxPyPanelNameStr)
1010 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1011
1012
1013 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1014 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1015 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1016 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1017
1018 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1019 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1020 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1021
1022 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1023 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1024
1025 DEC_PYCALLBACK__(InitDialog);
1026 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1027 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1028 DEC_PYCALLBACK_BOOL_(Validate);
1029
1030 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1031 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1032 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1033
1034 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1035 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1036
1037 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1038 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1039
1040 PYPRIVATE;
1041 };
1042
1043 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1044
1045 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1046 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1047 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1048 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1049
1050 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1051 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1052 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1053
1054 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1055 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1056
1057 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1058 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1059 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1060 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1061
1062 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1063 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1064 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1065
1066 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1067 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1068
1069 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1070 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1071
1072
1073 #include "wx/wxPython/printfw.h"
1074
1075
1076 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1077 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1078
1079
1080
1081 // Since this one would be tough and ugly to do with the Macros...
1082 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1083 bool hadErr = False;
1084 bool found;
1085
1086 bool blocked = wxPyBeginBlockThreads();
1087 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1088 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1089 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1090 PyObject* val;
1091
1092 val = PyTuple_GetItem(result, 0);
1093 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1094 else hadErr = True;
1095
1096 val = PyTuple_GetItem(result, 1);
1097 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1098 else hadErr = True;
1099
1100 val = PyTuple_GetItem(result, 2);
1101 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1102 else hadErr = True;
1103
1104 val = PyTuple_GetItem(result, 3);
1105 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1106 else hadErr = True;
1107 }
1108 else
1109 hadErr = True;
1110
1111 if (hadErr) {
1112 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1113 PyErr_Print();
1114 }
1115 Py_DECREF(result);
1116 }
1117 wxPyEndBlockThreads(blocked);
1118 if (! found)
1119 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1120 }
1121
1122 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1123 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1124 }
1125
1126
1127 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1128 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1129 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1130 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1131 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1132 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1133 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1134
1135
1136
1137
1138
1139 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1140 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1141 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1142
1143
1144 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1145 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1146 bool rval=False; \
1147 bool found; \
1148 bool blocked = wxPyBeginBlockThreads(); \
1149 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1150 PyObject* win = wxPyMake_wxObject(a); \
1151 PyObject* dc = wxPyMake_wxObject(&b); \
1152 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1153 Py_DECREF(win); \
1154 Py_DECREF(dc); \
1155 } \
1156 wxPyEndBlockThreads(blocked); \
1157 if (! found) \
1158 rval = PCLASS::CBNAME(a, b); \
1159 return rval; \
1160 } \
1161 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1162 return PCLASS::CBNAME(a, b); \
1163 }
1164
1165
1166
1167
1168 class wxPyPrintPreview : public wxPrintPreview
1169 {
1170 DECLARE_CLASS(wxPyPrintPreview)
1171 public:
1172 wxPyPrintPreview(wxPyPrintout* printout,
1173 wxPyPrintout* printoutForPrinting,
1174 wxPrintDialogData* data=NULL)
1175 : wxPrintPreview(printout, printoutForPrinting, data)
1176 {}
1177 wxPyPrintPreview(wxPyPrintout* printout,
1178 wxPyPrintout* printoutForPrinting,
1179 wxPrintData* data=NULL)
1180 : wxPrintPreview(printout, printoutForPrinting, data)
1181 {}
1182
1183 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1184 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1185 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1186 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1187 DEC_PYCALLBACK_VOID_INT(SetZoom);
1188 DEC_PYCALLBACK_BOOL_BOOL(Print);
1189 DEC_PYCALLBACK_VOID_(DetermineScaling);
1190
1191 PYPRIVATE;
1192 };
1193
1194 // Stupid renamed classes... Fix this in 2.5...
1195 #if defined(__WXMSW__)
1196 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1197 #elif defined(__WXMAC__)
1198 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1199 #else
1200 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1201 #endif
1202
1203 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1204 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1205 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1206 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1207 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1208 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1209 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1210
1211
1212 class wxPyPreviewFrame : public wxPreviewFrame
1213 {
1214 DECLARE_CLASS(wxPyPreviewFrame);
1215 public:
1216 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1217 const wxString& title,
1218 const wxPoint& pos = wxDefaultPosition,
1219 const wxSize& size = wxDefaultSize,
1220 long style = wxDEFAULT_FRAME_STYLE,
1221 const wxString& name = wxPyFrameNameStr)
1222 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1223 {}
1224
1225 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1226 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1227
1228 DEC_PYCALLBACK_VOID_(Initialize);
1229 DEC_PYCALLBACK_VOID_(CreateCanvas);
1230 DEC_PYCALLBACK_VOID_(CreateControlBar);
1231
1232 PYPRIVATE;
1233 };
1234
1235 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1236
1237 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1238 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1239 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1240
1241
1242 class wxPyPreviewControlBar : public wxPreviewControlBar
1243 {
1244 DECLARE_CLASS(wxPyPreviewControlBar);
1245 public:
1246 wxPyPreviewControlBar(wxPrintPreview *preview,
1247 long buttons,
1248 wxWindow *parent,
1249 const wxPoint& pos = wxDefaultPosition,
1250 const wxSize& size = wxDefaultSize,
1251 long style = 0,
1252 const wxString& name = wxPyPanelNameStr)
1253 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1254 {}
1255
1256 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1257
1258 DEC_PYCALLBACK_VOID_(CreateButtons);
1259 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1260
1261 PYPRIVATE;
1262 };
1263
1264 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1265 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1266 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1267
1268 #ifdef __cplusplus
1269 extern "C" {
1270 #endif
1271 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1272 PyObject *resultobj;
1273 wxWindow *arg1 = (wxWindow *) 0 ;
1274 int arg2 = (int) (int)-1 ;
1275 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1276 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1277 wxSize const &arg4_defvalue = wxDefaultSize ;
1278 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1279 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1280 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1281 wxString *arg6 = (wxString *) &arg6_defvalue ;
1282 wxPanel *result;
1283 wxPoint temp3 ;
1284 wxSize temp4 ;
1285 bool temp6 = False ;
1286 PyObject * obj0 = 0 ;
1287 PyObject * obj1 = 0 ;
1288 PyObject * obj2 = 0 ;
1289 PyObject * obj3 = 0 ;
1290 PyObject * obj4 = 0 ;
1291 PyObject * obj5 = 0 ;
1292 char *kwnames[] = {
1293 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1294 };
1295
1296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1299 if (obj1) {
1300 arg2 = (int const) SWIG_AsInt(obj1);
1301 if (PyErr_Occurred()) SWIG_fail;
1302 }
1303 if (obj2) {
1304 {
1305 arg3 = &temp3;
1306 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1307 }
1308 }
1309 if (obj3) {
1310 {
1311 arg4 = &temp4;
1312 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1313 }
1314 }
1315 if (obj4) {
1316 arg5 = (long) SWIG_AsLong(obj4);
1317 if (PyErr_Occurred()) SWIG_fail;
1318 }
1319 if (obj5) {
1320 {
1321 arg6 = wxString_in_helper(obj5);
1322 if (arg6 == NULL) SWIG_fail;
1323 temp6 = True;
1324 }
1325 }
1326 {
1327 PyThreadState* __tstate = wxPyBeginAllowThreads();
1328 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1329
1330 wxPyEndAllowThreads(__tstate);
1331 if (PyErr_Occurred()) SWIG_fail;
1332 }
1333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1334 {
1335 if (temp6)
1336 delete arg6;
1337 }
1338 return resultobj;
1339 fail:
1340 {
1341 if (temp6)
1342 delete arg6;
1343 }
1344 return NULL;
1345 }
1346
1347
1348 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1349 PyObject *resultobj;
1350 wxPanel *result;
1351 char *kwnames[] = {
1352 NULL
1353 };
1354
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1356 {
1357 PyThreadState* __tstate = wxPyBeginAllowThreads();
1358 result = (wxPanel *)new wxPanel();
1359
1360 wxPyEndAllowThreads(__tstate);
1361 if (PyErr_Occurred()) SWIG_fail;
1362 }
1363 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1364 return resultobj;
1365 fail:
1366 return NULL;
1367 }
1368
1369
1370 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1371 PyObject *resultobj;
1372 wxPanel *arg1 = (wxPanel *) 0 ;
1373 wxWindow *arg2 = (wxWindow *) 0 ;
1374 int arg3 = (int) (int)-1 ;
1375 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1376 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1377 wxSize const &arg5_defvalue = wxDefaultSize ;
1378 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1379 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1380 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1381 wxString *arg7 = (wxString *) &arg7_defvalue ;
1382 bool result;
1383 wxPoint temp4 ;
1384 wxSize temp5 ;
1385 bool temp7 = False ;
1386 PyObject * obj0 = 0 ;
1387 PyObject * obj1 = 0 ;
1388 PyObject * obj2 = 0 ;
1389 PyObject * obj3 = 0 ;
1390 PyObject * obj4 = 0 ;
1391 PyObject * obj5 = 0 ;
1392 PyObject * obj6 = 0 ;
1393 char *kwnames[] = {
1394 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1395 };
1396
1397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1402 if (obj2) {
1403 arg3 = (int const) SWIG_AsInt(obj2);
1404 if (PyErr_Occurred()) SWIG_fail;
1405 }
1406 if (obj3) {
1407 {
1408 arg4 = &temp4;
1409 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1410 }
1411 }
1412 if (obj4) {
1413 {
1414 arg5 = &temp5;
1415 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1416 }
1417 }
1418 if (obj5) {
1419 arg6 = (long) SWIG_AsLong(obj5);
1420 if (PyErr_Occurred()) SWIG_fail;
1421 }
1422 if (obj6) {
1423 {
1424 arg7 = wxString_in_helper(obj6);
1425 if (arg7 == NULL) SWIG_fail;
1426 temp7 = True;
1427 }
1428 }
1429 {
1430 PyThreadState* __tstate = wxPyBeginAllowThreads();
1431 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1432
1433 wxPyEndAllowThreads(__tstate);
1434 if (PyErr_Occurred()) SWIG_fail;
1435 }
1436 {
1437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1438 }
1439 {
1440 if (temp7)
1441 delete arg7;
1442 }
1443 return resultobj;
1444 fail:
1445 {
1446 if (temp7)
1447 delete arg7;
1448 }
1449 return NULL;
1450 }
1451
1452
1453 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1454 PyObject *resultobj;
1455 wxPanel *arg1 = (wxPanel *) 0 ;
1456 PyObject * obj0 = 0 ;
1457 char *kwnames[] = {
1458 (char *) "self", NULL
1459 };
1460
1461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1464 {
1465 PyThreadState* __tstate = wxPyBeginAllowThreads();
1466 (arg1)->InitDialog();
1467
1468 wxPyEndAllowThreads(__tstate);
1469 if (PyErr_Occurred()) SWIG_fail;
1470 }
1471 Py_INCREF(Py_None); resultobj = Py_None;
1472 return resultobj;
1473 fail:
1474 return NULL;
1475 }
1476
1477
1478 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1479 PyObject *obj;
1480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1481 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1482 Py_INCREF(obj);
1483 return Py_BuildValue((char *)"");
1484 }
1485 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1486 PyObject *resultobj;
1487 wxWindow *arg1 = (wxWindow *) 0 ;
1488 int arg2 = (int) (int)-1 ;
1489 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1490 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1491 wxSize const &arg4_defvalue = wxDefaultSize ;
1492 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1493 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1494 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1495 wxString *arg6 = (wxString *) &arg6_defvalue ;
1496 wxScrolledWindow *result;
1497 wxPoint temp3 ;
1498 wxSize temp4 ;
1499 bool temp6 = False ;
1500 PyObject * obj0 = 0 ;
1501 PyObject * obj1 = 0 ;
1502 PyObject * obj2 = 0 ;
1503 PyObject * obj3 = 0 ;
1504 PyObject * obj4 = 0 ;
1505 PyObject * obj5 = 0 ;
1506 char *kwnames[] = {
1507 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1508 };
1509
1510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1513 if (obj1) {
1514 arg2 = (int const) SWIG_AsInt(obj1);
1515 if (PyErr_Occurred()) SWIG_fail;
1516 }
1517 if (obj2) {
1518 {
1519 arg3 = &temp3;
1520 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1521 }
1522 }
1523 if (obj3) {
1524 {
1525 arg4 = &temp4;
1526 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1527 }
1528 }
1529 if (obj4) {
1530 arg5 = (long) SWIG_AsLong(obj4);
1531 if (PyErr_Occurred()) SWIG_fail;
1532 }
1533 if (obj5) {
1534 {
1535 arg6 = wxString_in_helper(obj5);
1536 if (arg6 == NULL) SWIG_fail;
1537 temp6 = True;
1538 }
1539 }
1540 {
1541 PyThreadState* __tstate = wxPyBeginAllowThreads();
1542 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1543
1544 wxPyEndAllowThreads(__tstate);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 }
1547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1548 {
1549 if (temp6)
1550 delete arg6;
1551 }
1552 return resultobj;
1553 fail:
1554 {
1555 if (temp6)
1556 delete arg6;
1557 }
1558 return NULL;
1559 }
1560
1561
1562 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1563 PyObject *resultobj;
1564 wxScrolledWindow *result;
1565 char *kwnames[] = {
1566 NULL
1567 };
1568
1569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1570 {
1571 PyThreadState* __tstate = wxPyBeginAllowThreads();
1572 result = (wxScrolledWindow *)new wxScrolledWindow();
1573
1574 wxPyEndAllowThreads(__tstate);
1575 if (PyErr_Occurred()) SWIG_fail;
1576 }
1577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1578 return resultobj;
1579 fail:
1580 return NULL;
1581 }
1582
1583
1584 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1585 PyObject *resultobj;
1586 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1587 wxWindow *arg2 = (wxWindow *) 0 ;
1588 int arg3 = (int) (int)-1 ;
1589 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1590 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1591 wxSize const &arg5_defvalue = wxDefaultSize ;
1592 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1593 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1594 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1595 wxString *arg7 = (wxString *) &arg7_defvalue ;
1596 bool result;
1597 wxPoint temp4 ;
1598 wxSize temp5 ;
1599 bool temp7 = False ;
1600 PyObject * obj0 = 0 ;
1601 PyObject * obj1 = 0 ;
1602 PyObject * obj2 = 0 ;
1603 PyObject * obj3 = 0 ;
1604 PyObject * obj4 = 0 ;
1605 PyObject * obj5 = 0 ;
1606 PyObject * obj6 = 0 ;
1607 char *kwnames[] = {
1608 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1609 };
1610
1611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1616 if (obj2) {
1617 arg3 = (int const) SWIG_AsInt(obj2);
1618 if (PyErr_Occurred()) SWIG_fail;
1619 }
1620 if (obj3) {
1621 {
1622 arg4 = &temp4;
1623 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1624 }
1625 }
1626 if (obj4) {
1627 {
1628 arg5 = &temp5;
1629 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1630 }
1631 }
1632 if (obj5) {
1633 arg6 = (long) SWIG_AsLong(obj5);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 if (obj6) {
1637 {
1638 arg7 = wxString_in_helper(obj6);
1639 if (arg7 == NULL) SWIG_fail;
1640 temp7 = True;
1641 }
1642 }
1643 {
1644 PyThreadState* __tstate = wxPyBeginAllowThreads();
1645 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1646
1647 wxPyEndAllowThreads(__tstate);
1648 if (PyErr_Occurred()) SWIG_fail;
1649 }
1650 {
1651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1652 }
1653 {
1654 if (temp7)
1655 delete arg7;
1656 }
1657 return resultobj;
1658 fail:
1659 {
1660 if (temp7)
1661 delete arg7;
1662 }
1663 return NULL;
1664 }
1665
1666
1667 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1668 PyObject *resultobj;
1669 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1670 int arg2 ;
1671 int arg3 ;
1672 int arg4 ;
1673 int arg5 ;
1674 int arg6 = (int) 0 ;
1675 int arg7 = (int) 0 ;
1676 bool arg8 = (bool) False ;
1677 PyObject * obj0 = 0 ;
1678 PyObject * obj1 = 0 ;
1679 PyObject * obj2 = 0 ;
1680 PyObject * obj3 = 0 ;
1681 PyObject * obj4 = 0 ;
1682 PyObject * obj5 = 0 ;
1683 PyObject * obj6 = 0 ;
1684 PyObject * obj7 = 0 ;
1685 char *kwnames[] = {
1686 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1687 };
1688
1689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1692 arg2 = (int) SWIG_AsInt(obj1);
1693 if (PyErr_Occurred()) SWIG_fail;
1694 arg3 = (int) SWIG_AsInt(obj2);
1695 if (PyErr_Occurred()) SWIG_fail;
1696 arg4 = (int) SWIG_AsInt(obj3);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 arg5 = (int) SWIG_AsInt(obj4);
1699 if (PyErr_Occurred()) SWIG_fail;
1700 if (obj5) {
1701 arg6 = (int) SWIG_AsInt(obj5);
1702 if (PyErr_Occurred()) SWIG_fail;
1703 }
1704 if (obj6) {
1705 arg7 = (int) SWIG_AsInt(obj6);
1706 if (PyErr_Occurred()) SWIG_fail;
1707 }
1708 if (obj7) {
1709 arg8 = (bool) SWIG_AsBool(obj7);
1710 if (PyErr_Occurred()) SWIG_fail;
1711 }
1712 {
1713 PyThreadState* __tstate = wxPyBeginAllowThreads();
1714 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1715
1716 wxPyEndAllowThreads(__tstate);
1717 if (PyErr_Occurred()) SWIG_fail;
1718 }
1719 Py_INCREF(Py_None); resultobj = Py_None;
1720 return resultobj;
1721 fail:
1722 return NULL;
1723 }
1724
1725
1726 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1727 PyObject *resultobj;
1728 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1729 int arg2 ;
1730 int arg3 ;
1731 PyObject * obj0 = 0 ;
1732 PyObject * obj1 = 0 ;
1733 PyObject * obj2 = 0 ;
1734 char *kwnames[] = {
1735 (char *) "self",(char *) "x",(char *) "y", NULL
1736 };
1737
1738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1741 arg2 = (int) SWIG_AsInt(obj1);
1742 if (PyErr_Occurred()) SWIG_fail;
1743 arg3 = (int) SWIG_AsInt(obj2);
1744 if (PyErr_Occurred()) SWIG_fail;
1745 {
1746 PyThreadState* __tstate = wxPyBeginAllowThreads();
1747 (arg1)->Scroll(arg2,arg3);
1748
1749 wxPyEndAllowThreads(__tstate);
1750 if (PyErr_Occurred()) SWIG_fail;
1751 }
1752 Py_INCREF(Py_None); resultobj = Py_None;
1753 return resultobj;
1754 fail:
1755 return NULL;
1756 }
1757
1758
1759 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1760 PyObject *resultobj;
1761 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1762 int arg2 ;
1763 int result;
1764 PyObject * obj0 = 0 ;
1765 PyObject * obj1 = 0 ;
1766 char *kwnames[] = {
1767 (char *) "self",(char *) "orient", NULL
1768 };
1769
1770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1773 arg2 = (int) SWIG_AsInt(obj1);
1774 if (PyErr_Occurred()) SWIG_fail;
1775 {
1776 PyThreadState* __tstate = wxPyBeginAllowThreads();
1777 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1778
1779 wxPyEndAllowThreads(__tstate);
1780 if (PyErr_Occurred()) SWIG_fail;
1781 }
1782 resultobj = SWIG_FromInt((int)result);
1783 return resultobj;
1784 fail:
1785 return NULL;
1786 }
1787
1788
1789 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1790 PyObject *resultobj;
1791 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1792 int arg2 ;
1793 int arg3 ;
1794 PyObject * obj0 = 0 ;
1795 PyObject * obj1 = 0 ;
1796 PyObject * obj2 = 0 ;
1797 char *kwnames[] = {
1798 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1799 };
1800
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1804 arg2 = (int) SWIG_AsInt(obj1);
1805 if (PyErr_Occurred()) SWIG_fail;
1806 arg3 = (int) SWIG_AsInt(obj2);
1807 if (PyErr_Occurred()) SWIG_fail;
1808 {
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 (arg1)->SetScrollPageSize(arg2,arg3);
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) SWIG_fail;
1814 }
1815 Py_INCREF(Py_None); resultobj = Py_None;
1816 return resultobj;
1817 fail:
1818 return NULL;
1819 }
1820
1821
1822 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1823 PyObject *resultobj;
1824 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1825 int arg2 ;
1826 int arg3 ;
1827 PyObject * obj0 = 0 ;
1828 PyObject * obj1 = 0 ;
1829 PyObject * obj2 = 0 ;
1830 char *kwnames[] = {
1831 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1832 };
1833
1834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1837 arg2 = (int) SWIG_AsInt(obj1);
1838 if (PyErr_Occurred()) SWIG_fail;
1839 arg3 = (int) SWIG_AsInt(obj2);
1840 if (PyErr_Occurred()) SWIG_fail;
1841 {
1842 PyThreadState* __tstate = wxPyBeginAllowThreads();
1843 (arg1)->SetScrollRate(arg2,arg3);
1844
1845 wxPyEndAllowThreads(__tstate);
1846 if (PyErr_Occurred()) SWIG_fail;
1847 }
1848 Py_INCREF(Py_None); resultobj = Py_None;
1849 return resultobj;
1850 fail:
1851 return NULL;
1852 }
1853
1854
1855 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1856 PyObject *resultobj;
1857 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1858 int *arg2 = (int *) 0 ;
1859 int *arg3 = (int *) 0 ;
1860 int temp2 ;
1861 int temp3 ;
1862 PyObject * obj0 = 0 ;
1863 char *kwnames[] = {
1864 (char *) "self", NULL
1865 };
1866
1867 arg2 = &temp2;
1868 arg3 = &temp3;
1869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1872 {
1873 PyThreadState* __tstate = wxPyBeginAllowThreads();
1874 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1875
1876 wxPyEndAllowThreads(__tstate);
1877 if (PyErr_Occurred()) SWIG_fail;
1878 }
1879 Py_INCREF(Py_None); resultobj = Py_None;
1880 {
1881 PyObject *o = PyInt_FromLong((long) (*arg2));
1882 resultobj = t_output_helper(resultobj,o);
1883 }
1884 {
1885 PyObject *o = PyInt_FromLong((long) (*arg3));
1886 resultobj = t_output_helper(resultobj,o);
1887 }
1888 return resultobj;
1889 fail:
1890 return NULL;
1891 }
1892
1893
1894 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1895 PyObject *resultobj;
1896 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1897 bool arg2 ;
1898 bool arg3 ;
1899 PyObject * obj0 = 0 ;
1900 PyObject * obj1 = 0 ;
1901 PyObject * obj2 = 0 ;
1902 char *kwnames[] = {
1903 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1904 };
1905
1906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1909 arg2 = (bool) SWIG_AsBool(obj1);
1910 if (PyErr_Occurred()) SWIG_fail;
1911 arg3 = (bool) SWIG_AsBool(obj2);
1912 if (PyErr_Occurred()) SWIG_fail;
1913 {
1914 PyThreadState* __tstate = wxPyBeginAllowThreads();
1915 (arg1)->EnableScrolling(arg2,arg3);
1916
1917 wxPyEndAllowThreads(__tstate);
1918 if (PyErr_Occurred()) SWIG_fail;
1919 }
1920 Py_INCREF(Py_None); resultobj = Py_None;
1921 return resultobj;
1922 fail:
1923 return NULL;
1924 }
1925
1926
1927 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1928 PyObject *resultobj;
1929 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1930 int *arg2 = (int *) 0 ;
1931 int *arg3 = (int *) 0 ;
1932 int temp2 ;
1933 int temp3 ;
1934 PyObject * obj0 = 0 ;
1935 char *kwnames[] = {
1936 (char *) "self", NULL
1937 };
1938
1939 arg2 = &temp2;
1940 arg3 = &temp3;
1941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1944 {
1945 PyThreadState* __tstate = wxPyBeginAllowThreads();
1946 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1947
1948 wxPyEndAllowThreads(__tstate);
1949 if (PyErr_Occurred()) SWIG_fail;
1950 }
1951 Py_INCREF(Py_None); resultobj = Py_None;
1952 {
1953 PyObject *o = PyInt_FromLong((long) (*arg2));
1954 resultobj = t_output_helper(resultobj,o);
1955 }
1956 {
1957 PyObject *o = PyInt_FromLong((long) (*arg3));
1958 resultobj = t_output_helper(resultobj,o);
1959 }
1960 return resultobj;
1961 fail:
1962 return NULL;
1963 }
1964
1965
1966 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1967 PyObject *resultobj;
1968 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1969 double arg2 ;
1970 double arg3 ;
1971 PyObject * obj0 = 0 ;
1972 PyObject * obj1 = 0 ;
1973 PyObject * obj2 = 0 ;
1974 char *kwnames[] = {
1975 (char *) "self",(char *) "xs",(char *) "ys", NULL
1976 };
1977
1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1981 arg2 = (double) SWIG_AsDouble(obj1);
1982 if (PyErr_Occurred()) SWIG_fail;
1983 arg3 = (double) SWIG_AsDouble(obj2);
1984 if (PyErr_Occurred()) SWIG_fail;
1985 {
1986 PyThreadState* __tstate = wxPyBeginAllowThreads();
1987 (arg1)->SetScale(arg2,arg3);
1988
1989 wxPyEndAllowThreads(__tstate);
1990 if (PyErr_Occurred()) SWIG_fail;
1991 }
1992 Py_INCREF(Py_None); resultobj = Py_None;
1993 return resultobj;
1994 fail:
1995 return NULL;
1996 }
1997
1998
1999 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2000 PyObject *resultobj;
2001 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2002 double result;
2003 PyObject * obj0 = 0 ;
2004 char *kwnames[] = {
2005 (char *) "self", NULL
2006 };
2007
2008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2011 {
2012 PyThreadState* __tstate = wxPyBeginAllowThreads();
2013 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2014
2015 wxPyEndAllowThreads(__tstate);
2016 if (PyErr_Occurred()) SWIG_fail;
2017 }
2018 resultobj = SWIG_FromDouble((double)result);
2019 return resultobj;
2020 fail:
2021 return NULL;
2022 }
2023
2024
2025 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2026 PyObject *resultobj;
2027 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2028 double result;
2029 PyObject * obj0 = 0 ;
2030 char *kwnames[] = {
2031 (char *) "self", NULL
2032 };
2033
2034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2037 {
2038 PyThreadState* __tstate = wxPyBeginAllowThreads();
2039 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2040
2041 wxPyEndAllowThreads(__tstate);
2042 if (PyErr_Occurred()) SWIG_fail;
2043 }
2044 resultobj = SWIG_FromDouble((double)result);
2045 return resultobj;
2046 fail:
2047 return NULL;
2048 }
2049
2050
2051 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2052 PyObject *resultobj;
2053 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2054 wxPoint *arg2 = 0 ;
2055 wxPoint result;
2056 wxPoint temp2 ;
2057 PyObject * obj0 = 0 ;
2058 PyObject * obj1 = 0 ;
2059
2060 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2063 {
2064 arg2 = &temp2;
2065 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2066 }
2067 {
2068 PyThreadState* __tstate = wxPyBeginAllowThreads();
2069 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2070
2071 wxPyEndAllowThreads(__tstate);
2072 if (PyErr_Occurred()) SWIG_fail;
2073 }
2074 {
2075 wxPoint * resultptr;
2076 resultptr = new wxPoint((wxPoint &) result);
2077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2078 }
2079 return resultobj;
2080 fail:
2081 return NULL;
2082 }
2083
2084
2085 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2086 PyObject *resultobj;
2087 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2088 int arg2 ;
2089 int arg3 ;
2090 int *arg4 = (int *) 0 ;
2091 int *arg5 = (int *) 0 ;
2092 int temp4 ;
2093 int temp5 ;
2094 PyObject * obj0 = 0 ;
2095 PyObject * obj1 = 0 ;
2096 PyObject * obj2 = 0 ;
2097
2098 arg4 = &temp4;
2099 arg5 = &temp5;
2100 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2103 arg2 = (int) SWIG_AsInt(obj1);
2104 if (PyErr_Occurred()) SWIG_fail;
2105 arg3 = (int) SWIG_AsInt(obj2);
2106 if (PyErr_Occurred()) SWIG_fail;
2107 {
2108 PyThreadState* __tstate = wxPyBeginAllowThreads();
2109 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2110
2111 wxPyEndAllowThreads(__tstate);
2112 if (PyErr_Occurred()) SWIG_fail;
2113 }
2114 Py_INCREF(Py_None); resultobj = Py_None;
2115 {
2116 PyObject *o = PyInt_FromLong((long) (*arg4));
2117 resultobj = t_output_helper(resultobj,o);
2118 }
2119 {
2120 PyObject *o = PyInt_FromLong((long) (*arg5));
2121 resultobj = t_output_helper(resultobj,o);
2122 }
2123 return resultobj;
2124 fail:
2125 return NULL;
2126 }
2127
2128
2129 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2130 int argc;
2131 PyObject *argv[4];
2132 int ii;
2133
2134 argc = PyObject_Length(args);
2135 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2136 argv[ii] = PyTuple_GetItem(args,ii);
2137 }
2138 if (argc == 2) {
2139 int _v;
2140 {
2141 void *ptr;
2142 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2143 _v = 0;
2144 PyErr_Clear();
2145 } else {
2146 _v = 1;
2147 }
2148 }
2149 if (_v) {
2150 {
2151 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2152 }
2153 if (_v) {
2154 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2155 }
2156 }
2157 }
2158 if (argc == 3) {
2159 int _v;
2160 {
2161 void *ptr;
2162 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2163 _v = 0;
2164 PyErr_Clear();
2165 } else {
2166 _v = 1;
2167 }
2168 }
2169 if (_v) {
2170 _v = SWIG_CheckInt(argv[1]);
2171 if (_v) {
2172 _v = SWIG_CheckInt(argv[2]);
2173 if (_v) {
2174 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2175 }
2176 }
2177 }
2178 }
2179
2180 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2181 return NULL;
2182 }
2183
2184
2185 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2186 PyObject *resultobj;
2187 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2188 wxPoint *arg2 = 0 ;
2189 wxPoint result;
2190 wxPoint temp2 ;
2191 PyObject * obj0 = 0 ;
2192 PyObject * obj1 = 0 ;
2193
2194 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2197 {
2198 arg2 = &temp2;
2199 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2200 }
2201 {
2202 PyThreadState* __tstate = wxPyBeginAllowThreads();
2203 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2204
2205 wxPyEndAllowThreads(__tstate);
2206 if (PyErr_Occurred()) SWIG_fail;
2207 }
2208 {
2209 wxPoint * resultptr;
2210 resultptr = new wxPoint((wxPoint &) result);
2211 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2212 }
2213 return resultobj;
2214 fail:
2215 return NULL;
2216 }
2217
2218
2219 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2220 PyObject *resultobj;
2221 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2222 int arg2 ;
2223 int arg3 ;
2224 int *arg4 = (int *) 0 ;
2225 int *arg5 = (int *) 0 ;
2226 int temp4 ;
2227 int temp5 ;
2228 PyObject * obj0 = 0 ;
2229 PyObject * obj1 = 0 ;
2230 PyObject * obj2 = 0 ;
2231
2232 arg4 = &temp4;
2233 arg5 = &temp5;
2234 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2237 arg2 = (int) SWIG_AsInt(obj1);
2238 if (PyErr_Occurred()) SWIG_fail;
2239 arg3 = (int) SWIG_AsInt(obj2);
2240 if (PyErr_Occurred()) SWIG_fail;
2241 {
2242 PyThreadState* __tstate = wxPyBeginAllowThreads();
2243 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2244
2245 wxPyEndAllowThreads(__tstate);
2246 if (PyErr_Occurred()) SWIG_fail;
2247 }
2248 Py_INCREF(Py_None); resultobj = Py_None;
2249 {
2250 PyObject *o = PyInt_FromLong((long) (*arg4));
2251 resultobj = t_output_helper(resultobj,o);
2252 }
2253 {
2254 PyObject *o = PyInt_FromLong((long) (*arg5));
2255 resultobj = t_output_helper(resultobj,o);
2256 }
2257 return resultobj;
2258 fail:
2259 return NULL;
2260 }
2261
2262
2263 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2264 int argc;
2265 PyObject *argv[4];
2266 int ii;
2267
2268 argc = PyObject_Length(args);
2269 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2270 argv[ii] = PyTuple_GetItem(args,ii);
2271 }
2272 if (argc == 2) {
2273 int _v;
2274 {
2275 void *ptr;
2276 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2277 _v = 0;
2278 PyErr_Clear();
2279 } else {
2280 _v = 1;
2281 }
2282 }
2283 if (_v) {
2284 {
2285 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2286 }
2287 if (_v) {
2288 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2289 }
2290 }
2291 }
2292 if (argc == 3) {
2293 int _v;
2294 {
2295 void *ptr;
2296 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2297 _v = 0;
2298 PyErr_Clear();
2299 } else {
2300 _v = 1;
2301 }
2302 }
2303 if (_v) {
2304 _v = SWIG_CheckInt(argv[1]);
2305 if (_v) {
2306 _v = SWIG_CheckInt(argv[2]);
2307 if (_v) {
2308 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2309 }
2310 }
2311 }
2312 }
2313
2314 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2315 return NULL;
2316 }
2317
2318
2319 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2320 PyObject *resultobj;
2321 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2322 PyObject * obj0 = 0 ;
2323 char *kwnames[] = {
2324 (char *) "self", NULL
2325 };
2326
2327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2330 {
2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
2332 (arg1)->AdjustScrollbars();
2333
2334 wxPyEndAllowThreads(__tstate);
2335 if (PyErr_Occurred()) SWIG_fail;
2336 }
2337 Py_INCREF(Py_None); resultobj = Py_None;
2338 return resultobj;
2339 fail:
2340 return NULL;
2341 }
2342
2343
2344 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2345 PyObject *resultobj;
2346 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2347 wxScrollWinEvent *arg2 = 0 ;
2348 int result;
2349 PyObject * obj0 = 0 ;
2350 PyObject * obj1 = 0 ;
2351 char *kwnames[] = {
2352 (char *) "self",(char *) "event", NULL
2353 };
2354
2355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2358 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2359 SWIG_POINTER_EXCEPTION | 0)) == -1)
2360 SWIG_fail;
2361 if (arg2 == NULL) {
2362 PyErr_SetString(PyExc_TypeError,"null reference");
2363 SWIG_fail;
2364 }
2365 {
2366 PyThreadState* __tstate = wxPyBeginAllowThreads();
2367 result = (int)(arg1)->CalcScrollInc(*arg2);
2368
2369 wxPyEndAllowThreads(__tstate);
2370 if (PyErr_Occurred()) SWIG_fail;
2371 }
2372 resultobj = SWIG_FromInt((int)result);
2373 return resultobj;
2374 fail:
2375 return NULL;
2376 }
2377
2378
2379 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2380 PyObject *resultobj;
2381 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2382 wxWindow *arg2 = (wxWindow *) 0 ;
2383 PyObject * obj0 = 0 ;
2384 PyObject * obj1 = 0 ;
2385 char *kwnames[] = {
2386 (char *) "self",(char *) "target", NULL
2387 };
2388
2389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2394 {
2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
2396 (arg1)->SetTargetWindow(arg2);
2397
2398 wxPyEndAllowThreads(__tstate);
2399 if (PyErr_Occurred()) SWIG_fail;
2400 }
2401 Py_INCREF(Py_None); resultobj = Py_None;
2402 return resultobj;
2403 fail:
2404 return NULL;
2405 }
2406
2407
2408 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2409 PyObject *resultobj;
2410 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2411 wxWindow *result;
2412 PyObject * obj0 = 0 ;
2413 char *kwnames[] = {
2414 (char *) "self", NULL
2415 };
2416
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2420 {
2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
2422 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2423
2424 wxPyEndAllowThreads(__tstate);
2425 if (PyErr_Occurred()) SWIG_fail;
2426 }
2427 {
2428 resultobj = wxPyMake_wxObject(result);
2429 }
2430 return resultobj;
2431 fail:
2432 return NULL;
2433 }
2434
2435
2436 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2437 PyObject *obj;
2438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2439 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2440 Py_INCREF(obj);
2441 return Py_BuildValue((char *)"");
2442 }
2443 static int _wrap_FrameNameStr_set(PyObject *_val) {
2444 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2445 return 1;
2446 }
2447
2448
2449 static PyObject *_wrap_FrameNameStr_get() {
2450 PyObject *pyobj;
2451
2452 {
2453 #if wxUSE_UNICODE
2454 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2455 #else
2456 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2457 #endif
2458 }
2459 return pyobj;
2460 }
2461
2462
2463 static int _wrap_DialogNameStr_set(PyObject *_val) {
2464 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2465 return 1;
2466 }
2467
2468
2469 static PyObject *_wrap_DialogNameStr_get() {
2470 PyObject *pyobj;
2471
2472 {
2473 #if wxUSE_UNICODE
2474 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2475 #else
2476 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2477 #endif
2478 }
2479 return pyobj;
2480 }
2481
2482
2483 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2484 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2485 return 1;
2486 }
2487
2488
2489 static PyObject *_wrap_StatusLineNameStr_get() {
2490 PyObject *pyobj;
2491
2492 {
2493 #if wxUSE_UNICODE
2494 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2495 #else
2496 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2497 #endif
2498 }
2499 return pyobj;
2500 }
2501
2502
2503 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2504 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2505 return 1;
2506 }
2507
2508
2509 static PyObject *_wrap_ToolBarNameStr_get() {
2510 PyObject *pyobj;
2511
2512 {
2513 #if wxUSE_UNICODE
2514 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2515 #else
2516 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2517 #endif
2518 }
2519 return pyobj;
2520 }
2521
2522
2523 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2524 PyObject *resultobj;
2525 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2526 bool arg2 = (bool) True ;
2527 PyObject * obj0 = 0 ;
2528 PyObject * obj1 = 0 ;
2529 char *kwnames[] = {
2530 (char *) "self",(char *) "maximize", NULL
2531 };
2532
2533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2536 if (obj1) {
2537 arg2 = (bool) SWIG_AsBool(obj1);
2538 if (PyErr_Occurred()) SWIG_fail;
2539 }
2540 {
2541 PyThreadState* __tstate = wxPyBeginAllowThreads();
2542 (arg1)->Maximize(arg2);
2543
2544 wxPyEndAllowThreads(__tstate);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 }
2547 Py_INCREF(Py_None); resultobj = Py_None;
2548 return resultobj;
2549 fail:
2550 return NULL;
2551 }
2552
2553
2554 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2555 PyObject *resultobj;
2556 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2557 PyObject * obj0 = 0 ;
2558 char *kwnames[] = {
2559 (char *) "self", NULL
2560 };
2561
2562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",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 (arg1)->Restore();
2568
2569 wxPyEndAllowThreads(__tstate);
2570 if (PyErr_Occurred()) SWIG_fail;
2571 }
2572 Py_INCREF(Py_None); resultobj = Py_None;
2573 return resultobj;
2574 fail:
2575 return NULL;
2576 }
2577
2578
2579 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2580 PyObject *resultobj;
2581 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2582 bool arg2 = (bool) True ;
2583 PyObject * obj0 = 0 ;
2584 PyObject * obj1 = 0 ;
2585 char *kwnames[] = {
2586 (char *) "self",(char *) "iconize", NULL
2587 };
2588
2589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2592 if (obj1) {
2593 arg2 = (bool) SWIG_AsBool(obj1);
2594 if (PyErr_Occurred()) SWIG_fail;
2595 }
2596 {
2597 PyThreadState* __tstate = wxPyBeginAllowThreads();
2598 (arg1)->Iconize(arg2);
2599
2600 wxPyEndAllowThreads(__tstate);
2601 if (PyErr_Occurred()) SWIG_fail;
2602 }
2603 Py_INCREF(Py_None); resultobj = Py_None;
2604 return resultobj;
2605 fail:
2606 return NULL;
2607 }
2608
2609
2610 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2611 PyObject *resultobj;
2612 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2613 bool result;
2614 PyObject * obj0 = 0 ;
2615 char *kwnames[] = {
2616 (char *) "self", NULL
2617 };
2618
2619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2622 {
2623 PyThreadState* __tstate = wxPyBeginAllowThreads();
2624 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2625
2626 wxPyEndAllowThreads(__tstate);
2627 if (PyErr_Occurred()) SWIG_fail;
2628 }
2629 {
2630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2631 }
2632 return resultobj;
2633 fail:
2634 return NULL;
2635 }
2636
2637
2638 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2639 PyObject *resultobj;
2640 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2641 bool result;
2642 PyObject * obj0 = 0 ;
2643 char *kwnames[] = {
2644 (char *) "self", NULL
2645 };
2646
2647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2650 {
2651 PyThreadState* __tstate = wxPyBeginAllowThreads();
2652 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2653
2654 wxPyEndAllowThreads(__tstate);
2655 if (PyErr_Occurred()) SWIG_fail;
2656 }
2657 {
2658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2659 }
2660 return resultobj;
2661 fail:
2662 return NULL;
2663 }
2664
2665
2666 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2667 PyObject *resultobj;
2668 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2669 wxIcon result;
2670 PyObject * obj0 = 0 ;
2671 char *kwnames[] = {
2672 (char *) "self", NULL
2673 };
2674
2675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2678 {
2679 PyThreadState* __tstate = wxPyBeginAllowThreads();
2680 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2681
2682 wxPyEndAllowThreads(__tstate);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 }
2685 {
2686 wxIcon * resultptr;
2687 resultptr = new wxIcon((wxIcon &) result);
2688 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2689 }
2690 return resultobj;
2691 fail:
2692 return NULL;
2693 }
2694
2695
2696 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2697 PyObject *resultobj;
2698 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2699 wxIcon *arg2 = 0 ;
2700 PyObject * obj0 = 0 ;
2701 PyObject * obj1 = 0 ;
2702 char *kwnames[] = {
2703 (char *) "self",(char *) "icon", NULL
2704 };
2705
2706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2709 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2710 SWIG_POINTER_EXCEPTION | 0)) == -1)
2711 SWIG_fail;
2712 if (arg2 == NULL) {
2713 PyErr_SetString(PyExc_TypeError,"null reference");
2714 SWIG_fail;
2715 }
2716 {
2717 PyThreadState* __tstate = wxPyBeginAllowThreads();
2718 (arg1)->SetIcon((wxIcon const &)*arg2);
2719
2720 wxPyEndAllowThreads(__tstate);
2721 if (PyErr_Occurred()) SWIG_fail;
2722 }
2723 Py_INCREF(Py_None); resultobj = Py_None;
2724 return resultobj;
2725 fail:
2726 return NULL;
2727 }
2728
2729
2730 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2731 PyObject *resultobj;
2732 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2733 wxIconBundle *arg2 = 0 ;
2734 PyObject * obj0 = 0 ;
2735 PyObject * obj1 = 0 ;
2736 char *kwnames[] = {
2737 (char *) "self",(char *) "icons", NULL
2738 };
2739
2740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2743 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2744 SWIG_POINTER_EXCEPTION | 0)) == -1)
2745 SWIG_fail;
2746 if (arg2 == NULL) {
2747 PyErr_SetString(PyExc_TypeError,"null reference");
2748 SWIG_fail;
2749 }
2750 {
2751 PyThreadState* __tstate = wxPyBeginAllowThreads();
2752 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2753
2754 wxPyEndAllowThreads(__tstate);
2755 if (PyErr_Occurred()) SWIG_fail;
2756 }
2757 Py_INCREF(Py_None); resultobj = Py_None;
2758 return resultobj;
2759 fail:
2760 return NULL;
2761 }
2762
2763
2764 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2765 PyObject *resultobj;
2766 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2767 bool arg2 ;
2768 long arg3 = (long) wxFULLSCREEN_ALL ;
2769 bool result;
2770 PyObject * obj0 = 0 ;
2771 PyObject * obj1 = 0 ;
2772 PyObject * obj2 = 0 ;
2773 char *kwnames[] = {
2774 (char *) "self",(char *) "show",(char *) "style", NULL
2775 };
2776
2777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2780 arg2 = (bool) SWIG_AsBool(obj1);
2781 if (PyErr_Occurred()) SWIG_fail;
2782 if (obj2) {
2783 arg3 = (long) SWIG_AsLong(obj2);
2784 if (PyErr_Occurred()) SWIG_fail;
2785 }
2786 {
2787 PyThreadState* __tstate = wxPyBeginAllowThreads();
2788 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2789
2790 wxPyEndAllowThreads(__tstate);
2791 if (PyErr_Occurred()) SWIG_fail;
2792 }
2793 {
2794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2795 }
2796 return resultobj;
2797 fail:
2798 return NULL;
2799 }
2800
2801
2802 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2803 PyObject *resultobj;
2804 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2805 bool result;
2806 PyObject * obj0 = 0 ;
2807 char *kwnames[] = {
2808 (char *) "self", NULL
2809 };
2810
2811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2814 {
2815 PyThreadState* __tstate = wxPyBeginAllowThreads();
2816 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2817
2818 wxPyEndAllowThreads(__tstate);
2819 if (PyErr_Occurred()) SWIG_fail;
2820 }
2821 {
2822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2823 }
2824 return resultobj;
2825 fail:
2826 return NULL;
2827 }
2828
2829
2830 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2831 PyObject *resultobj;
2832 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2833 wxString *arg2 = 0 ;
2834 bool temp2 = False ;
2835 PyObject * obj0 = 0 ;
2836 PyObject * obj1 = 0 ;
2837 char *kwnames[] = {
2838 (char *) "self",(char *) "title", NULL
2839 };
2840
2841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2844 {
2845 arg2 = wxString_in_helper(obj1);
2846 if (arg2 == NULL) SWIG_fail;
2847 temp2 = True;
2848 }
2849 {
2850 PyThreadState* __tstate = wxPyBeginAllowThreads();
2851 (arg1)->SetTitle((wxString const &)*arg2);
2852
2853 wxPyEndAllowThreads(__tstate);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 }
2856 Py_INCREF(Py_None); resultobj = Py_None;
2857 {
2858 if (temp2)
2859 delete arg2;
2860 }
2861 return resultobj;
2862 fail:
2863 {
2864 if (temp2)
2865 delete arg2;
2866 }
2867 return NULL;
2868 }
2869
2870
2871 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2872 PyObject *resultobj;
2873 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2874 wxString result;
2875 PyObject * obj0 = 0 ;
2876 char *kwnames[] = {
2877 (char *) "self", NULL
2878 };
2879
2880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2883 {
2884 PyThreadState* __tstate = wxPyBeginAllowThreads();
2885 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2886
2887 wxPyEndAllowThreads(__tstate);
2888 if (PyErr_Occurred()) SWIG_fail;
2889 }
2890 {
2891 #if wxUSE_UNICODE
2892 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2893 #else
2894 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2895 #endif
2896 }
2897 return resultobj;
2898 fail:
2899 return NULL;
2900 }
2901
2902
2903 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2904 PyObject *resultobj;
2905 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2906 wxRegion *arg2 = 0 ;
2907 bool result;
2908 PyObject * obj0 = 0 ;
2909 PyObject * obj1 = 0 ;
2910 char *kwnames[] = {
2911 (char *) "self",(char *) "region", NULL
2912 };
2913
2914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2918 SWIG_POINTER_EXCEPTION | 0)) == -1)
2919 SWIG_fail;
2920 if (arg2 == NULL) {
2921 PyErr_SetString(PyExc_TypeError,"null reference");
2922 SWIG_fail;
2923 }
2924 {
2925 PyThreadState* __tstate = wxPyBeginAllowThreads();
2926 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2927
2928 wxPyEndAllowThreads(__tstate);
2929 if (PyErr_Occurred()) SWIG_fail;
2930 }
2931 {
2932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2933 }
2934 return resultobj;
2935 fail:
2936 return NULL;
2937 }
2938
2939
2940 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2941 PyObject *obj;
2942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2943 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2944 Py_INCREF(obj);
2945 return Py_BuildValue((char *)"");
2946 }
2947 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2948 PyObject *resultobj;
2949 wxWindow *arg1 = (wxWindow *) 0 ;
2950 int arg2 ;
2951 wxString *arg3 = 0 ;
2952 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2953 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2954 wxSize const &arg5_defvalue = wxDefaultSize ;
2955 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2956 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2957 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2958 wxString *arg7 = (wxString *) &arg7_defvalue ;
2959 wxFrame *result;
2960 bool temp3 = False ;
2961 wxPoint temp4 ;
2962 wxSize temp5 ;
2963 bool temp7 = False ;
2964 PyObject * obj0 = 0 ;
2965 PyObject * obj1 = 0 ;
2966 PyObject * obj2 = 0 ;
2967 PyObject * obj3 = 0 ;
2968 PyObject * obj4 = 0 ;
2969 PyObject * obj5 = 0 ;
2970 PyObject * obj6 = 0 ;
2971 char *kwnames[] = {
2972 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2973 };
2974
2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2978 arg2 = (int const) SWIG_AsInt(obj1);
2979 if (PyErr_Occurred()) SWIG_fail;
2980 {
2981 arg3 = wxString_in_helper(obj2);
2982 if (arg3 == NULL) SWIG_fail;
2983 temp3 = True;
2984 }
2985 if (obj3) {
2986 {
2987 arg4 = &temp4;
2988 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2989 }
2990 }
2991 if (obj4) {
2992 {
2993 arg5 = &temp5;
2994 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2995 }
2996 }
2997 if (obj5) {
2998 arg6 = (long) SWIG_AsLong(obj5);
2999 if (PyErr_Occurred()) SWIG_fail;
3000 }
3001 if (obj6) {
3002 {
3003 arg7 = wxString_in_helper(obj6);
3004 if (arg7 == NULL) SWIG_fail;
3005 temp7 = True;
3006 }
3007 }
3008 {
3009 PyThreadState* __tstate = wxPyBeginAllowThreads();
3010 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3011
3012 wxPyEndAllowThreads(__tstate);
3013 if (PyErr_Occurred()) SWIG_fail;
3014 }
3015 {
3016 resultobj = wxPyMake_wxObject(result);
3017 }
3018 {
3019 if (temp3)
3020 delete arg3;
3021 }
3022 {
3023 if (temp7)
3024 delete arg7;
3025 }
3026 return resultobj;
3027 fail:
3028 {
3029 if (temp3)
3030 delete arg3;
3031 }
3032 {
3033 if (temp7)
3034 delete arg7;
3035 }
3036 return NULL;
3037 }
3038
3039
3040 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3041 PyObject *resultobj;
3042 wxFrame *result;
3043 char *kwnames[] = {
3044 NULL
3045 };
3046
3047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3048 {
3049 PyThreadState* __tstate = wxPyBeginAllowThreads();
3050 result = (wxFrame *)new wxFrame();
3051
3052 wxPyEndAllowThreads(__tstate);
3053 if (PyErr_Occurred()) SWIG_fail;
3054 }
3055 {
3056 resultobj = wxPyMake_wxObject(result);
3057 }
3058 return resultobj;
3059 fail:
3060 return NULL;
3061 }
3062
3063
3064 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3065 PyObject *resultobj;
3066 wxFrame *arg1 = (wxFrame *) 0 ;
3067 wxWindow *arg2 = (wxWindow *) 0 ;
3068 int arg3 ;
3069 wxString *arg4 = 0 ;
3070 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3071 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3072 wxSize const &arg6_defvalue = wxDefaultSize ;
3073 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3074 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3075 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3076 wxString *arg8 = (wxString *) &arg8_defvalue ;
3077 bool result;
3078 bool temp4 = False ;
3079 wxPoint temp5 ;
3080 wxSize temp6 ;
3081 bool temp8 = False ;
3082 PyObject * obj0 = 0 ;
3083 PyObject * obj1 = 0 ;
3084 PyObject * obj2 = 0 ;
3085 PyObject * obj3 = 0 ;
3086 PyObject * obj4 = 0 ;
3087 PyObject * obj5 = 0 ;
3088 PyObject * obj6 = 0 ;
3089 PyObject * obj7 = 0 ;
3090 char *kwnames[] = {
3091 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3092 };
3093
3094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3097 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3099 arg3 = (int const) SWIG_AsInt(obj2);
3100 if (PyErr_Occurred()) SWIG_fail;
3101 {
3102 arg4 = wxString_in_helper(obj3);
3103 if (arg4 == NULL) SWIG_fail;
3104 temp4 = True;
3105 }
3106 if (obj4) {
3107 {
3108 arg5 = &temp5;
3109 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3110 }
3111 }
3112 if (obj5) {
3113 {
3114 arg6 = &temp6;
3115 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3116 }
3117 }
3118 if (obj6) {
3119 arg7 = (long) SWIG_AsLong(obj6);
3120 if (PyErr_Occurred()) SWIG_fail;
3121 }
3122 if (obj7) {
3123 {
3124 arg8 = wxString_in_helper(obj7);
3125 if (arg8 == NULL) SWIG_fail;
3126 temp8 = True;
3127 }
3128 }
3129 {
3130 PyThreadState* __tstate = wxPyBeginAllowThreads();
3131 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3132
3133 wxPyEndAllowThreads(__tstate);
3134 if (PyErr_Occurred()) SWIG_fail;
3135 }
3136 {
3137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3138 }
3139 {
3140 if (temp4)
3141 delete arg4;
3142 }
3143 {
3144 if (temp8)
3145 delete arg8;
3146 }
3147 return resultobj;
3148 fail:
3149 {
3150 if (temp4)
3151 delete arg4;
3152 }
3153 {
3154 if (temp8)
3155 delete arg8;
3156 }
3157 return NULL;
3158 }
3159
3160
3161 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3162 PyObject *resultobj;
3163 wxFrame *arg1 = (wxFrame *) 0 ;
3164 wxPoint result;
3165 PyObject * obj0 = 0 ;
3166 char *kwnames[] = {
3167 (char *) "self", NULL
3168 };
3169
3170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3173 {
3174 PyThreadState* __tstate = wxPyBeginAllowThreads();
3175 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3176
3177 wxPyEndAllowThreads(__tstate);
3178 if (PyErr_Occurred()) SWIG_fail;
3179 }
3180 {
3181 wxPoint * resultptr;
3182 resultptr = new wxPoint((wxPoint &) result);
3183 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3184 }
3185 return resultobj;
3186 fail:
3187 return NULL;
3188 }
3189
3190
3191 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3192 PyObject *resultobj;
3193 wxFrame *arg1 = (wxFrame *) 0 ;
3194 PyObject * obj0 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3202 {
3203 PyThreadState* __tstate = wxPyBeginAllowThreads();
3204 (arg1)->SendSizeEvent();
3205
3206 wxPyEndAllowThreads(__tstate);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 }
3209 Py_INCREF(Py_None); resultobj = Py_None;
3210 return resultobj;
3211 fail:
3212 return NULL;
3213 }
3214
3215
3216 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3217 PyObject *resultobj;
3218 wxFrame *arg1 = (wxFrame *) 0 ;
3219 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3220 PyObject * obj0 = 0 ;
3221 PyObject * obj1 = 0 ;
3222 char *kwnames[] = {
3223 (char *) "self",(char *) "menubar", NULL
3224 };
3225
3226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3231 {
3232 PyThreadState* __tstate = wxPyBeginAllowThreads();
3233 (arg1)->SetMenuBar(arg2);
3234
3235 wxPyEndAllowThreads(__tstate);
3236 if (PyErr_Occurred()) SWIG_fail;
3237 }
3238 Py_INCREF(Py_None); resultobj = Py_None;
3239 return resultobj;
3240 fail:
3241 return NULL;
3242 }
3243
3244
3245 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3246 PyObject *resultobj;
3247 wxFrame *arg1 = (wxFrame *) 0 ;
3248 wxMenuBar *result;
3249 PyObject * obj0 = 0 ;
3250 char *kwnames[] = {
3251 (char *) "self", NULL
3252 };
3253
3254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3257 {
3258 PyThreadState* __tstate = wxPyBeginAllowThreads();
3259 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3260
3261 wxPyEndAllowThreads(__tstate);
3262 if (PyErr_Occurred()) SWIG_fail;
3263 }
3264 {
3265 resultobj = wxPyMake_wxObject(result);
3266 }
3267 return resultobj;
3268 fail:
3269 return NULL;
3270 }
3271
3272
3273 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3274 PyObject *resultobj;
3275 wxFrame *arg1 = (wxFrame *) 0 ;
3276 int arg2 ;
3277 bool result;
3278 PyObject * obj0 = 0 ;
3279 PyObject * obj1 = 0 ;
3280 char *kwnames[] = {
3281 (char *) "self",(char *) "winid", NULL
3282 };
3283
3284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3287 arg2 = (int) SWIG_AsInt(obj1);
3288 if (PyErr_Occurred()) SWIG_fail;
3289 {
3290 PyThreadState* __tstate = wxPyBeginAllowThreads();
3291 result = (bool)(arg1)->ProcessCommand(arg2);
3292
3293 wxPyEndAllowThreads(__tstate);
3294 if (PyErr_Occurred()) SWIG_fail;
3295 }
3296 {
3297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3298 }
3299 return resultobj;
3300 fail:
3301 return NULL;
3302 }
3303
3304
3305 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3306 PyObject *resultobj;
3307 wxFrame *arg1 = (wxFrame *) 0 ;
3308 int arg2 = (int) 1 ;
3309 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
3310 int arg4 = (int) 0 ;
3311 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3312 wxString *arg5 = (wxString *) &arg5_defvalue ;
3313 wxStatusBar *result;
3314 bool temp5 = False ;
3315 PyObject * obj0 = 0 ;
3316 PyObject * obj1 = 0 ;
3317 PyObject * obj2 = 0 ;
3318 PyObject * obj3 = 0 ;
3319 PyObject * obj4 = 0 ;
3320 char *kwnames[] = {
3321 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3322 };
3323
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3327 if (obj1) {
3328 arg2 = (int) SWIG_AsInt(obj1);
3329 if (PyErr_Occurred()) SWIG_fail;
3330 }
3331 if (obj2) {
3332 arg3 = (long) SWIG_AsLong(obj2);
3333 if (PyErr_Occurred()) SWIG_fail;
3334 }
3335 if (obj3) {
3336 arg4 = (int) SWIG_AsInt(obj3);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
3339 if (obj4) {
3340 {
3341 arg5 = wxString_in_helper(obj4);
3342 if (arg5 == NULL) SWIG_fail;
3343 temp5 = True;
3344 }
3345 }
3346 {
3347 PyThreadState* __tstate = wxPyBeginAllowThreads();
3348 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3349
3350 wxPyEndAllowThreads(__tstate);
3351 if (PyErr_Occurred()) SWIG_fail;
3352 }
3353 {
3354 resultobj = wxPyMake_wxObject(result);
3355 }
3356 {
3357 if (temp5)
3358 delete arg5;
3359 }
3360 return resultobj;
3361 fail:
3362 {
3363 if (temp5)
3364 delete arg5;
3365 }
3366 return NULL;
3367 }
3368
3369
3370 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3371 PyObject *resultobj;
3372 wxFrame *arg1 = (wxFrame *) 0 ;
3373 wxStatusBar *result;
3374 PyObject * obj0 = 0 ;
3375 char *kwnames[] = {
3376 (char *) "self", NULL
3377 };
3378
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3382 {
3383 PyThreadState* __tstate = wxPyBeginAllowThreads();
3384 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3385
3386 wxPyEndAllowThreads(__tstate);
3387 if (PyErr_Occurred()) SWIG_fail;
3388 }
3389 {
3390 resultobj = wxPyMake_wxObject(result);
3391 }
3392 return resultobj;
3393 fail:
3394 return NULL;
3395 }
3396
3397
3398 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3399 PyObject *resultobj;
3400 wxFrame *arg1 = (wxFrame *) 0 ;
3401 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3402 PyObject * obj0 = 0 ;
3403 PyObject * obj1 = 0 ;
3404 char *kwnames[] = {
3405 (char *) "self",(char *) "statBar", NULL
3406 };
3407
3408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3413 {
3414 PyThreadState* __tstate = wxPyBeginAllowThreads();
3415 (arg1)->SetStatusBar(arg2);
3416
3417 wxPyEndAllowThreads(__tstate);
3418 if (PyErr_Occurred()) SWIG_fail;
3419 }
3420 Py_INCREF(Py_None); resultobj = Py_None;
3421 return resultobj;
3422 fail:
3423 return NULL;
3424 }
3425
3426
3427 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3428 PyObject *resultobj;
3429 wxFrame *arg1 = (wxFrame *) 0 ;
3430 wxString *arg2 = 0 ;
3431 int arg3 = (int) 0 ;
3432 bool temp2 = False ;
3433 PyObject * obj0 = 0 ;
3434 PyObject * obj1 = 0 ;
3435 PyObject * obj2 = 0 ;
3436 char *kwnames[] = {
3437 (char *) "self",(char *) "text",(char *) "number", NULL
3438 };
3439
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3443 {
3444 arg2 = wxString_in_helper(obj1);
3445 if (arg2 == NULL) SWIG_fail;
3446 temp2 = True;
3447 }
3448 if (obj2) {
3449 arg3 = (int) SWIG_AsInt(obj2);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 }
3452 {
3453 PyThreadState* __tstate = wxPyBeginAllowThreads();
3454 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3455
3456 wxPyEndAllowThreads(__tstate);
3457 if (PyErr_Occurred()) SWIG_fail;
3458 }
3459 Py_INCREF(Py_None); resultobj = Py_None;
3460 {
3461 if (temp2)
3462 delete arg2;
3463 }
3464 return resultobj;
3465 fail:
3466 {
3467 if (temp2)
3468 delete arg2;
3469 }
3470 return NULL;
3471 }
3472
3473
3474 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3475 PyObject *resultobj;
3476 wxFrame *arg1 = (wxFrame *) 0 ;
3477 int arg2 ;
3478 int *arg3 = (int *) 0 ;
3479 PyObject * obj0 = 0 ;
3480 PyObject * obj1 = 0 ;
3481 char *kwnames[] = {
3482 (char *) "self",(char *) "widths", NULL
3483 };
3484
3485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3488 {
3489 arg2 = PyList_Size(obj1);
3490 arg3 = int_LIST_helper(obj1);
3491 if (arg3 == NULL) SWIG_fail;
3492 }
3493 {
3494 PyThreadState* __tstate = wxPyBeginAllowThreads();
3495 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3496
3497 wxPyEndAllowThreads(__tstate);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 }
3500 Py_INCREF(Py_None); resultobj = Py_None;
3501 {
3502 if (arg3) delete [] arg3;
3503 }
3504 return resultobj;
3505 fail:
3506 {
3507 if (arg3) delete [] arg3;
3508 }
3509 return NULL;
3510 }
3511
3512
3513 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3514 PyObject *resultobj;
3515 wxFrame *arg1 = (wxFrame *) 0 ;
3516 wxString *arg2 = 0 ;
3517 int arg3 = (int) 0 ;
3518 bool temp2 = False ;
3519 PyObject * obj0 = 0 ;
3520 PyObject * obj1 = 0 ;
3521 PyObject * obj2 = 0 ;
3522 char *kwnames[] = {
3523 (char *) "self",(char *) "text",(char *) "number", NULL
3524 };
3525
3526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3529 {
3530 arg2 = wxString_in_helper(obj1);
3531 if (arg2 == NULL) SWIG_fail;
3532 temp2 = True;
3533 }
3534 if (obj2) {
3535 arg3 = (int) SWIG_AsInt(obj2);
3536 if (PyErr_Occurred()) SWIG_fail;
3537 }
3538 {
3539 PyThreadState* __tstate = wxPyBeginAllowThreads();
3540 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3541
3542 wxPyEndAllowThreads(__tstate);
3543 if (PyErr_Occurred()) SWIG_fail;
3544 }
3545 Py_INCREF(Py_None); resultobj = Py_None;
3546 {
3547 if (temp2)
3548 delete arg2;
3549 }
3550 return resultobj;
3551 fail:
3552 {
3553 if (temp2)
3554 delete arg2;
3555 }
3556 return NULL;
3557 }
3558
3559
3560 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3561 PyObject *resultobj;
3562 wxFrame *arg1 = (wxFrame *) 0 ;
3563 int arg2 = (int) 0 ;
3564 PyObject * obj0 = 0 ;
3565 PyObject * obj1 = 0 ;
3566 char *kwnames[] = {
3567 (char *) "self",(char *) "number", NULL
3568 };
3569
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3573 if (obj1) {
3574 arg2 = (int) SWIG_AsInt(obj1);
3575 if (PyErr_Occurred()) SWIG_fail;
3576 }
3577 {
3578 PyThreadState* __tstate = wxPyBeginAllowThreads();
3579 (arg1)->PopStatusText(arg2);
3580
3581 wxPyEndAllowThreads(__tstate);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 Py_INCREF(Py_None); resultobj = Py_None;
3585 return resultobj;
3586 fail:
3587 return NULL;
3588 }
3589
3590
3591 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3592 PyObject *resultobj;
3593 wxFrame *arg1 = (wxFrame *) 0 ;
3594 int arg2 ;
3595 PyObject * obj0 = 0 ;
3596 PyObject * obj1 = 0 ;
3597 char *kwnames[] = {
3598 (char *) "self",(char *) "n", NULL
3599 };
3600
3601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3604 arg2 = (int) SWIG_AsInt(obj1);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 {
3607 PyThreadState* __tstate = wxPyBeginAllowThreads();
3608 (arg1)->SetStatusBarPane(arg2);
3609
3610 wxPyEndAllowThreads(__tstate);
3611 if (PyErr_Occurred()) SWIG_fail;
3612 }
3613 Py_INCREF(Py_None); resultobj = Py_None;
3614 return resultobj;
3615 fail:
3616 return NULL;
3617 }
3618
3619
3620 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3621 PyObject *resultobj;
3622 wxFrame *arg1 = (wxFrame *) 0 ;
3623 int result;
3624 PyObject * obj0 = 0 ;
3625 char *kwnames[] = {
3626 (char *) "self", NULL
3627 };
3628
3629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",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 = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3635
3636 wxPyEndAllowThreads(__tstate);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 resultobj = SWIG_FromInt((int)result);
3640 return resultobj;
3641 fail:
3642 return NULL;
3643 }
3644
3645
3646 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3647 PyObject *resultobj;
3648 wxFrame *arg1 = (wxFrame *) 0 ;
3649 long arg2 = (long) -1 ;
3650 int arg3 = (int) -1 ;
3651 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3652 wxString *arg4 = (wxString *) &arg4_defvalue ;
3653 wxToolBar *result;
3654 bool temp4 = False ;
3655 PyObject * obj0 = 0 ;
3656 PyObject * obj1 = 0 ;
3657 PyObject * obj2 = 0 ;
3658 PyObject * obj3 = 0 ;
3659 char *kwnames[] = {
3660 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3661 };
3662
3663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3666 if (obj1) {
3667 arg2 = (long) SWIG_AsLong(obj1);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 }
3670 if (obj2) {
3671 arg3 = (int) SWIG_AsInt(obj2);
3672 if (PyErr_Occurred()) SWIG_fail;
3673 }
3674 if (obj3) {
3675 {
3676 arg4 = wxString_in_helper(obj3);
3677 if (arg4 == NULL) SWIG_fail;
3678 temp4 = True;
3679 }
3680 }
3681 {
3682 PyThreadState* __tstate = wxPyBeginAllowThreads();
3683 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3684
3685 wxPyEndAllowThreads(__tstate);
3686 if (PyErr_Occurred()) SWIG_fail;
3687 }
3688 {
3689 resultobj = wxPyMake_wxObject(result);
3690 }
3691 {
3692 if (temp4)
3693 delete arg4;
3694 }
3695 return resultobj;
3696 fail:
3697 {
3698 if (temp4)
3699 delete arg4;
3700 }
3701 return NULL;
3702 }
3703
3704
3705 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3706 PyObject *resultobj;
3707 wxFrame *arg1 = (wxFrame *) 0 ;
3708 wxToolBar *result;
3709 PyObject * obj0 = 0 ;
3710 char *kwnames[] = {
3711 (char *) "self", NULL
3712 };
3713
3714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3717 {
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3720
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 {
3725 resultobj = wxPyMake_wxObject(result);
3726 }
3727 return resultobj;
3728 fail:
3729 return NULL;
3730 }
3731
3732
3733 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3734 PyObject *resultobj;
3735 wxFrame *arg1 = (wxFrame *) 0 ;
3736 wxToolBar *arg2 = (wxToolBar *) 0 ;
3737 PyObject * obj0 = 0 ;
3738 PyObject * obj1 = 0 ;
3739 char *kwnames[] = {
3740 (char *) "self",(char *) "toolbar", NULL
3741 };
3742
3743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3748 {
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 (arg1)->SetToolBar(arg2);
3751
3752 wxPyEndAllowThreads(__tstate);
3753 if (PyErr_Occurred()) SWIG_fail;
3754 }
3755 Py_INCREF(Py_None); resultobj = Py_None;
3756 return resultobj;
3757 fail:
3758 return NULL;
3759 }
3760
3761
3762 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3763 PyObject *resultobj;
3764 wxFrame *arg1 = (wxFrame *) 0 ;
3765 wxString *arg2 = 0 ;
3766 bool arg3 ;
3767 bool temp2 = False ;
3768 PyObject * obj0 = 0 ;
3769 PyObject * obj1 = 0 ;
3770 PyObject * obj2 = 0 ;
3771 char *kwnames[] = {
3772 (char *) "self",(char *) "text",(char *) "show", NULL
3773 };
3774
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3778 {
3779 arg2 = wxString_in_helper(obj1);
3780 if (arg2 == NULL) SWIG_fail;
3781 temp2 = True;
3782 }
3783 arg3 = (bool) SWIG_AsBool(obj2);
3784 if (PyErr_Occurred()) SWIG_fail;
3785 {
3786 PyThreadState* __tstate = wxPyBeginAllowThreads();
3787 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3788
3789 wxPyEndAllowThreads(__tstate);
3790 if (PyErr_Occurred()) SWIG_fail;
3791 }
3792 Py_INCREF(Py_None); resultobj = Py_None;
3793 {
3794 if (temp2)
3795 delete arg2;
3796 }
3797 return resultobj;
3798 fail:
3799 {
3800 if (temp2)
3801 delete arg2;
3802 }
3803 return NULL;
3804 }
3805
3806
3807 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3808 PyObject *resultobj;
3809 wxFrame *arg1 = (wxFrame *) 0 ;
3810 wxMenu *arg2 = (wxMenu *) NULL ;
3811 PyObject * obj0 = 0 ;
3812 PyObject * obj1 = 0 ;
3813 char *kwnames[] = {
3814 (char *) "self",(char *) "menu", NULL
3815 };
3816
3817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3820 if (obj1) {
3821 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3823 }
3824 {
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
3826 (arg1)->DoMenuUpdates(arg2);
3827
3828 wxPyEndAllowThreads(__tstate);
3829 if (PyErr_Occurred()) SWIG_fail;
3830 }
3831 Py_INCREF(Py_None); resultobj = Py_None;
3832 return resultobj;
3833 fail:
3834 return NULL;
3835 }
3836
3837
3838 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3839 PyObject *obj;
3840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3841 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3842 Py_INCREF(obj);
3843 return Py_BuildValue((char *)"");
3844 }
3845 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3846 PyObject *resultobj;
3847 wxWindow *arg1 = (wxWindow *) 0 ;
3848 int arg2 ;
3849 wxString *arg3 = 0 ;
3850 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3851 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3852 wxSize const &arg5_defvalue = wxDefaultSize ;
3853 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3854 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3855 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3856 wxString *arg7 = (wxString *) &arg7_defvalue ;
3857 wxDialog *result;
3858 bool temp3 = False ;
3859 wxPoint temp4 ;
3860 wxSize temp5 ;
3861 bool temp7 = False ;
3862 PyObject * obj0 = 0 ;
3863 PyObject * obj1 = 0 ;
3864 PyObject * obj2 = 0 ;
3865 PyObject * obj3 = 0 ;
3866 PyObject * obj4 = 0 ;
3867 PyObject * obj5 = 0 ;
3868 PyObject * obj6 = 0 ;
3869 char *kwnames[] = {
3870 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3871 };
3872
3873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3876 arg2 = (int const) SWIG_AsInt(obj1);
3877 if (PyErr_Occurred()) SWIG_fail;
3878 {
3879 arg3 = wxString_in_helper(obj2);
3880 if (arg3 == NULL) SWIG_fail;
3881 temp3 = True;
3882 }
3883 if (obj3) {
3884 {
3885 arg4 = &temp4;
3886 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3887 }
3888 }
3889 if (obj4) {
3890 {
3891 arg5 = &temp5;
3892 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3893 }
3894 }
3895 if (obj5) {
3896 arg6 = (long) SWIG_AsLong(obj5);
3897 if (PyErr_Occurred()) SWIG_fail;
3898 }
3899 if (obj6) {
3900 {
3901 arg7 = wxString_in_helper(obj6);
3902 if (arg7 == NULL) SWIG_fail;
3903 temp7 = True;
3904 }
3905 }
3906 {
3907 PyThreadState* __tstate = wxPyBeginAllowThreads();
3908 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3909
3910 wxPyEndAllowThreads(__tstate);
3911 if (PyErr_Occurred()) SWIG_fail;
3912 }
3913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3914 {
3915 if (temp3)
3916 delete arg3;
3917 }
3918 {
3919 if (temp7)
3920 delete arg7;
3921 }
3922 return resultobj;
3923 fail:
3924 {
3925 if (temp3)
3926 delete arg3;
3927 }
3928 {
3929 if (temp7)
3930 delete arg7;
3931 }
3932 return NULL;
3933 }
3934
3935
3936 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3937 PyObject *resultobj;
3938 wxDialog *result;
3939 char *kwnames[] = {
3940 NULL
3941 };
3942
3943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3944 {
3945 PyThreadState* __tstate = wxPyBeginAllowThreads();
3946 result = (wxDialog *)new wxDialog();
3947
3948 wxPyEndAllowThreads(__tstate);
3949 if (PyErr_Occurred()) SWIG_fail;
3950 }
3951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3952 return resultobj;
3953 fail:
3954 return NULL;
3955 }
3956
3957
3958 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3959 PyObject *resultobj;
3960 wxDialog *arg1 = (wxDialog *) 0 ;
3961 wxWindow *arg2 = (wxWindow *) 0 ;
3962 int arg3 ;
3963 wxString *arg4 = 0 ;
3964 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3965 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3966 wxSize const &arg6_defvalue = wxDefaultSize ;
3967 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3968 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3969 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3970 wxString *arg8 = (wxString *) &arg8_defvalue ;
3971 bool result;
3972 bool temp4 = False ;
3973 wxPoint temp5 ;
3974 wxSize temp6 ;
3975 bool temp8 = False ;
3976 PyObject * obj0 = 0 ;
3977 PyObject * obj1 = 0 ;
3978 PyObject * obj2 = 0 ;
3979 PyObject * obj3 = 0 ;
3980 PyObject * obj4 = 0 ;
3981 PyObject * obj5 = 0 ;
3982 PyObject * obj6 = 0 ;
3983 PyObject * obj7 = 0 ;
3984 char *kwnames[] = {
3985 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3986 };
3987
3988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
3990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3993 arg3 = (int const) SWIG_AsInt(obj2);
3994 if (PyErr_Occurred()) SWIG_fail;
3995 {
3996 arg4 = wxString_in_helper(obj3);
3997 if (arg4 == NULL) SWIG_fail;
3998 temp4 = True;
3999 }
4000 if (obj4) {
4001 {
4002 arg5 = &temp5;
4003 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4004 }
4005 }
4006 if (obj5) {
4007 {
4008 arg6 = &temp6;
4009 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4010 }
4011 }
4012 if (obj6) {
4013 arg7 = (long) SWIG_AsLong(obj6);
4014 if (PyErr_Occurred()) SWIG_fail;
4015 }
4016 if (obj7) {
4017 {
4018 arg8 = wxString_in_helper(obj7);
4019 if (arg8 == NULL) SWIG_fail;
4020 temp8 = True;
4021 }
4022 }
4023 {
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4026
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 }
4030 {
4031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4032 }
4033 {
4034 if (temp4)
4035 delete arg4;
4036 }
4037 {
4038 if (temp8)
4039 delete arg8;
4040 }
4041 return resultobj;
4042 fail:
4043 {
4044 if (temp4)
4045 delete arg4;
4046 }
4047 {
4048 if (temp8)
4049 delete arg8;
4050 }
4051 return NULL;
4052 }
4053
4054
4055 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4056 PyObject *resultobj;
4057 wxDialog *arg1 = (wxDialog *) 0 ;
4058 int arg2 ;
4059 PyObject * obj0 = 0 ;
4060 PyObject * obj1 = 0 ;
4061 char *kwnames[] = {
4062 (char *) "self",(char *) "returnCode", NULL
4063 };
4064
4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4068 arg2 = (int) SWIG_AsInt(obj1);
4069 if (PyErr_Occurred()) SWIG_fail;
4070 {
4071 PyThreadState* __tstate = wxPyBeginAllowThreads();
4072 (arg1)->SetReturnCode(arg2);
4073
4074 wxPyEndAllowThreads(__tstate);
4075 if (PyErr_Occurred()) SWIG_fail;
4076 }
4077 Py_INCREF(Py_None); resultobj = Py_None;
4078 return resultobj;
4079 fail:
4080 return NULL;
4081 }
4082
4083
4084 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4085 PyObject *resultobj;
4086 wxDialog *arg1 = (wxDialog *) 0 ;
4087 int result;
4088 PyObject * obj0 = 0 ;
4089 char *kwnames[] = {
4090 (char *) "self", NULL
4091 };
4092
4093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4096 {
4097 PyThreadState* __tstate = wxPyBeginAllowThreads();
4098 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4099
4100 wxPyEndAllowThreads(__tstate);
4101 if (PyErr_Occurred()) SWIG_fail;
4102 }
4103 resultobj = SWIG_FromInt((int)result);
4104 return resultobj;
4105 fail:
4106 return NULL;
4107 }
4108
4109
4110 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4111 PyObject *resultobj;
4112 wxDialog *arg1 = (wxDialog *) 0 ;
4113 wxString *arg2 = 0 ;
4114 wxSizer *result;
4115 bool temp2 = False ;
4116 PyObject * obj0 = 0 ;
4117 PyObject * obj1 = 0 ;
4118 char *kwnames[] = {
4119 (char *) "self",(char *) "message", NULL
4120 };
4121
4122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4125 {
4126 arg2 = wxString_in_helper(obj1);
4127 if (arg2 == NULL) SWIG_fail;
4128 temp2 = True;
4129 }
4130 {
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4133
4134 wxPyEndAllowThreads(__tstate);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 }
4137 {
4138 resultobj = wxPyMake_wxSizer(result);
4139 }
4140 {
4141 if (temp2)
4142 delete arg2;
4143 }
4144 return resultobj;
4145 fail:
4146 {
4147 if (temp2)
4148 delete arg2;
4149 }
4150 return NULL;
4151 }
4152
4153
4154 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4155 PyObject *resultobj;
4156 wxDialog *arg1 = (wxDialog *) 0 ;
4157 long arg2 ;
4158 wxSizer *result;
4159 PyObject * obj0 = 0 ;
4160 PyObject * obj1 = 0 ;
4161 char *kwnames[] = {
4162 (char *) "self",(char *) "flags", NULL
4163 };
4164
4165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",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 = (long) SWIG_AsLong(obj1);
4169 if (PyErr_Occurred()) SWIG_fail;
4170 {
4171 PyThreadState* __tstate = wxPyBeginAllowThreads();
4172 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4173
4174 wxPyEndAllowThreads(__tstate);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 }
4177 {
4178 resultobj = wxPyMake_wxSizer(result);
4179 }
4180 return resultobj;
4181 fail:
4182 return NULL;
4183 }
4184
4185
4186 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4187 PyObject *resultobj;
4188 wxDialog *arg1 = (wxDialog *) 0 ;
4189 bool result;
4190 PyObject * obj0 = 0 ;
4191 char *kwnames[] = {
4192 (char *) "self", NULL
4193 };
4194
4195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4198 {
4199 PyThreadState* __tstate = wxPyBeginAllowThreads();
4200 result = (bool)((wxDialog const *)arg1)->IsModal();
4201
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 {
4206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4207 }
4208 return resultobj;
4209 fail:
4210 return NULL;
4211 }
4212
4213
4214 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4215 PyObject *resultobj;
4216 wxDialog *arg1 = (wxDialog *) 0 ;
4217 int result;
4218 PyObject * obj0 = 0 ;
4219 char *kwnames[] = {
4220 (char *) "self", NULL
4221 };
4222
4223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 result = (int)(arg1)->ShowModal();
4229
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 resultobj = SWIG_FromInt((int)result);
4234 return resultobj;
4235 fail:
4236 return NULL;
4237 }
4238
4239
4240 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4241 PyObject *resultobj;
4242 wxDialog *arg1 = (wxDialog *) 0 ;
4243 int arg2 ;
4244 PyObject * obj0 = 0 ;
4245 PyObject * obj1 = 0 ;
4246 char *kwnames[] = {
4247 (char *) "self",(char *) "retCode", NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4253 arg2 = (int) SWIG_AsInt(obj1);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 {
4256 PyThreadState* __tstate = wxPyBeginAllowThreads();
4257 (arg1)->EndModal(arg2);
4258
4259 wxPyEndAllowThreads(__tstate);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 }
4262 Py_INCREF(Py_None); resultobj = Py_None;
4263 return resultobj;
4264 fail:
4265 return NULL;
4266 }
4267
4268
4269 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4270 PyObject *obj;
4271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4272 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4273 Py_INCREF(obj);
4274 return Py_BuildValue((char *)"");
4275 }
4276 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4277 PyObject *resultobj;
4278 wxWindow *arg1 = (wxWindow *) 0 ;
4279 int arg2 ;
4280 wxString *arg3 = 0 ;
4281 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4282 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4283 wxSize const &arg5_defvalue = wxDefaultSize ;
4284 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4285 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4286 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4287 wxString *arg7 = (wxString *) &arg7_defvalue ;
4288 wxMiniFrame *result;
4289 bool temp3 = False ;
4290 wxPoint temp4 ;
4291 wxSize temp5 ;
4292 bool temp7 = False ;
4293 PyObject * obj0 = 0 ;
4294 PyObject * obj1 = 0 ;
4295 PyObject * obj2 = 0 ;
4296 PyObject * obj3 = 0 ;
4297 PyObject * obj4 = 0 ;
4298 PyObject * obj5 = 0 ;
4299 PyObject * obj6 = 0 ;
4300 char *kwnames[] = {
4301 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4302 };
4303
4304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4307 arg2 = (int const) SWIG_AsInt(obj1);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 {
4310 arg3 = wxString_in_helper(obj2);
4311 if (arg3 == NULL) SWIG_fail;
4312 temp3 = True;
4313 }
4314 if (obj3) {
4315 {
4316 arg4 = &temp4;
4317 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4318 }
4319 }
4320 if (obj4) {
4321 {
4322 arg5 = &temp5;
4323 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4324 }
4325 }
4326 if (obj5) {
4327 arg6 = (long) SWIG_AsLong(obj5);
4328 if (PyErr_Occurred()) SWIG_fail;
4329 }
4330 if (obj6) {
4331 {
4332 arg7 = wxString_in_helper(obj6);
4333 if (arg7 == NULL) SWIG_fail;
4334 temp7 = True;
4335 }
4336 }
4337 {
4338 PyThreadState* __tstate = wxPyBeginAllowThreads();
4339 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4340
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4345 {
4346 if (temp3)
4347 delete arg3;
4348 }
4349 {
4350 if (temp7)
4351 delete arg7;
4352 }
4353 return resultobj;
4354 fail:
4355 {
4356 if (temp3)
4357 delete arg3;
4358 }
4359 {
4360 if (temp7)
4361 delete arg7;
4362 }
4363 return NULL;
4364 }
4365
4366
4367 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4368 PyObject *resultobj;
4369 wxMiniFrame *result;
4370 char *kwnames[] = {
4371 NULL
4372 };
4373
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4375 {
4376 PyThreadState* __tstate = wxPyBeginAllowThreads();
4377 result = (wxMiniFrame *)new wxMiniFrame();
4378
4379 wxPyEndAllowThreads(__tstate);
4380 if (PyErr_Occurred()) SWIG_fail;
4381 }
4382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4383 return resultobj;
4384 fail:
4385 return NULL;
4386 }
4387
4388
4389 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4390 PyObject *resultobj;
4391 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4392 wxWindow *arg2 = (wxWindow *) 0 ;
4393 int arg3 ;
4394 wxString *arg4 = 0 ;
4395 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4396 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4397 wxSize const &arg6_defvalue = wxDefaultSize ;
4398 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4399 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4400 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4401 wxString *arg8 = (wxString *) &arg8_defvalue ;
4402 bool result;
4403 bool temp4 = False ;
4404 wxPoint temp5 ;
4405 wxSize temp6 ;
4406 bool temp8 = False ;
4407 PyObject * obj0 = 0 ;
4408 PyObject * obj1 = 0 ;
4409 PyObject * obj2 = 0 ;
4410 PyObject * obj3 = 0 ;
4411 PyObject * obj4 = 0 ;
4412 PyObject * obj5 = 0 ;
4413 PyObject * obj6 = 0 ;
4414 PyObject * obj7 = 0 ;
4415 char *kwnames[] = {
4416 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4417 };
4418
4419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4422 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4424 arg3 = (int const) SWIG_AsInt(obj2);
4425 if (PyErr_Occurred()) SWIG_fail;
4426 {
4427 arg4 = wxString_in_helper(obj3);
4428 if (arg4 == NULL) SWIG_fail;
4429 temp4 = True;
4430 }
4431 if (obj4) {
4432 {
4433 arg5 = &temp5;
4434 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4435 }
4436 }
4437 if (obj5) {
4438 {
4439 arg6 = &temp6;
4440 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4441 }
4442 }
4443 if (obj6) {
4444 arg7 = (long) SWIG_AsLong(obj6);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
4447 if (obj7) {
4448 {
4449 arg8 = wxString_in_helper(obj7);
4450 if (arg8 == NULL) SWIG_fail;
4451 temp8 = True;
4452 }
4453 }
4454 {
4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
4456 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4457
4458 wxPyEndAllowThreads(__tstate);
4459 if (PyErr_Occurred()) SWIG_fail;
4460 }
4461 {
4462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4463 }
4464 {
4465 if (temp4)
4466 delete arg4;
4467 }
4468 {
4469 if (temp8)
4470 delete arg8;
4471 }
4472 return resultobj;
4473 fail:
4474 {
4475 if (temp4)
4476 delete arg4;
4477 }
4478 {
4479 if (temp8)
4480 delete arg8;
4481 }
4482 return NULL;
4483 }
4484
4485
4486 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4487 PyObject *obj;
4488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4489 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4490 Py_INCREF(obj);
4491 return Py_BuildValue((char *)"");
4492 }
4493 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4494 PyObject *resultobj;
4495 wxBitmap *arg1 = 0 ;
4496 wxWindow *arg2 = (wxWindow *) 0 ;
4497 int arg3 ;
4498 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4499 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4500 wxSize const &arg5_defvalue = wxDefaultSize ;
4501 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4502 long arg6 = (long) wxNO_BORDER ;
4503 wxSplashScreenWindow *result;
4504 wxPoint temp4 ;
4505 wxSize temp5 ;
4506 PyObject * obj0 = 0 ;
4507 PyObject * obj1 = 0 ;
4508 PyObject * obj2 = 0 ;
4509 PyObject * obj3 = 0 ;
4510 PyObject * obj4 = 0 ;
4511 PyObject * obj5 = 0 ;
4512 char *kwnames[] = {
4513 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4514 };
4515
4516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4518 SWIG_POINTER_EXCEPTION | 0)) == -1)
4519 SWIG_fail;
4520 if (arg1 == NULL) {
4521 PyErr_SetString(PyExc_TypeError,"null reference");
4522 SWIG_fail;
4523 }
4524 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4526 arg3 = (int) SWIG_AsInt(obj2);
4527 if (PyErr_Occurred()) SWIG_fail;
4528 if (obj3) {
4529 {
4530 arg4 = &temp4;
4531 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4532 }
4533 }
4534 if (obj4) {
4535 {
4536 arg5 = &temp5;
4537 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4538 }
4539 }
4540 if (obj5) {
4541 arg6 = (long) SWIG_AsLong(obj5);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 {
4545 PyThreadState* __tstate = wxPyBeginAllowThreads();
4546 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4547
4548 wxPyEndAllowThreads(__tstate);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 }
4551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4552 return resultobj;
4553 fail:
4554 return NULL;
4555 }
4556
4557
4558 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4559 PyObject *resultobj;
4560 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4561 wxBitmap *arg2 = 0 ;
4562 PyObject * obj0 = 0 ;
4563 PyObject * obj1 = 0 ;
4564 char *kwnames[] = {
4565 (char *) "self",(char *) "bitmap", NULL
4566 };
4567
4568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4572 SWIG_POINTER_EXCEPTION | 0)) == -1)
4573 SWIG_fail;
4574 if (arg2 == NULL) {
4575 PyErr_SetString(PyExc_TypeError,"null reference");
4576 SWIG_fail;
4577 }
4578 {
4579 PyThreadState* __tstate = wxPyBeginAllowThreads();
4580 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4581
4582 wxPyEndAllowThreads(__tstate);
4583 if (PyErr_Occurred()) SWIG_fail;
4584 }
4585 Py_INCREF(Py_None); resultobj = Py_None;
4586 return resultobj;
4587 fail:
4588 return NULL;
4589 }
4590
4591
4592 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4593 PyObject *resultobj;
4594 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4595 wxBitmap *result;
4596 PyObject * obj0 = 0 ;
4597 char *kwnames[] = {
4598 (char *) "self", NULL
4599 };
4600
4601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4604 {
4605 PyThreadState* __tstate = wxPyBeginAllowThreads();
4606 {
4607 wxBitmap &_result_ref = (arg1)->GetBitmap();
4608 result = (wxBitmap *) &_result_ref;
4609 }
4610
4611 wxPyEndAllowThreads(__tstate);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 }
4614 {
4615 wxBitmap* resultptr = new wxBitmap(*result);
4616 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4617 }
4618 return resultobj;
4619 fail:
4620 return NULL;
4621 }
4622
4623
4624 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4625 PyObject *obj;
4626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4627 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4628 Py_INCREF(obj);
4629 return Py_BuildValue((char *)"");
4630 }
4631 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4632 PyObject *resultobj;
4633 wxBitmap *arg1 = 0 ;
4634 long arg2 ;
4635 int arg3 ;
4636 wxWindow *arg4 = (wxWindow *) 0 ;
4637 int arg5 ;
4638 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4639 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4640 wxSize const &arg7_defvalue = wxDefaultSize ;
4641 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4642 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4643 wxSplashScreen *result;
4644 wxPoint temp6 ;
4645 wxSize temp7 ;
4646 PyObject * obj0 = 0 ;
4647 PyObject * obj1 = 0 ;
4648 PyObject * obj2 = 0 ;
4649 PyObject * obj3 = 0 ;
4650 PyObject * obj4 = 0 ;
4651 PyObject * obj5 = 0 ;
4652 PyObject * obj6 = 0 ;
4653 PyObject * obj7 = 0 ;
4654 char *kwnames[] = {
4655 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4656 };
4657
4658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4660 SWIG_POINTER_EXCEPTION | 0)) == -1)
4661 SWIG_fail;
4662 if (arg1 == NULL) {
4663 PyErr_SetString(PyExc_TypeError,"null reference");
4664 SWIG_fail;
4665 }
4666 arg2 = (long) SWIG_AsLong(obj1);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 arg3 = (int) SWIG_AsInt(obj2);
4669 if (PyErr_Occurred()) SWIG_fail;
4670 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4672 arg5 = (int) SWIG_AsInt(obj4);
4673 if (PyErr_Occurred()) SWIG_fail;
4674 if (obj5) {
4675 {
4676 arg6 = &temp6;
4677 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4678 }
4679 }
4680 if (obj6) {
4681 {
4682 arg7 = &temp7;
4683 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4684 }
4685 }
4686 if (obj7) {
4687 arg8 = (long) SWIG_AsLong(obj7);
4688 if (PyErr_Occurred()) SWIG_fail;
4689 }
4690 {
4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
4692 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4693
4694 wxPyEndAllowThreads(__tstate);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 }
4697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4698 return resultobj;
4699 fail:
4700 return NULL;
4701 }
4702
4703
4704 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4705 PyObject *resultobj;
4706 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4707 long result;
4708 PyObject * obj0 = 0 ;
4709 char *kwnames[] = {
4710 (char *) "self", NULL
4711 };
4712
4713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4716 {
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4719
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 resultobj = SWIG_FromLong((long)result);
4724 return resultobj;
4725 fail:
4726 return NULL;
4727 }
4728
4729
4730 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4731 PyObject *resultobj;
4732 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4733 wxSplashScreenWindow *result;
4734 PyObject * obj0 = 0 ;
4735 char *kwnames[] = {
4736 (char *) "self", NULL
4737 };
4738
4739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4742 {
4743 PyThreadState* __tstate = wxPyBeginAllowThreads();
4744 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4745
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) SWIG_fail;
4748 }
4749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4750 return resultobj;
4751 fail:
4752 return NULL;
4753 }
4754
4755
4756 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4757 PyObject *resultobj;
4758 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4759 int result;
4760 PyObject * obj0 = 0 ;
4761 char *kwnames[] = {
4762 (char *) "self", NULL
4763 };
4764
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4768 {
4769 PyThreadState* __tstate = wxPyBeginAllowThreads();
4770 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4771
4772 wxPyEndAllowThreads(__tstate);
4773 if (PyErr_Occurred()) SWIG_fail;
4774 }
4775 resultobj = SWIG_FromInt((int)result);
4776 return resultobj;
4777 fail:
4778 return NULL;
4779 }
4780
4781
4782 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4783 PyObject *obj;
4784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4785 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4786 Py_INCREF(obj);
4787 return Py_BuildValue((char *)"");
4788 }
4789 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4790 PyObject *resultobj;
4791 wxWindow *arg1 = (wxWindow *) 0 ;
4792 int arg2 = (int) -1 ;
4793 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
4794 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4795 wxString *arg4 = (wxString *) &arg4_defvalue ;
4796 wxStatusBar *result;
4797 bool temp4 = False ;
4798 PyObject * obj0 = 0 ;
4799 PyObject * obj1 = 0 ;
4800 PyObject * obj2 = 0 ;
4801 PyObject * obj3 = 0 ;
4802 char *kwnames[] = {
4803 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4804 };
4805
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4809 if (obj1) {
4810 arg2 = (int) SWIG_AsInt(obj1);
4811 if (PyErr_Occurred()) SWIG_fail;
4812 }
4813 if (obj2) {
4814 arg3 = (long) SWIG_AsLong(obj2);
4815 if (PyErr_Occurred()) SWIG_fail;
4816 }
4817 if (obj3) {
4818 {
4819 arg4 = wxString_in_helper(obj3);
4820 if (arg4 == NULL) SWIG_fail;
4821 temp4 = True;
4822 }
4823 }
4824 {
4825 PyThreadState* __tstate = wxPyBeginAllowThreads();
4826 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4827
4828 wxPyEndAllowThreads(__tstate);
4829 if (PyErr_Occurred()) SWIG_fail;
4830 }
4831 {
4832 resultobj = wxPyMake_wxObject(result);
4833 }
4834 {
4835 if (temp4)
4836 delete arg4;
4837 }
4838 return resultobj;
4839 fail:
4840 {
4841 if (temp4)
4842 delete arg4;
4843 }
4844 return NULL;
4845 }
4846
4847
4848 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4849 PyObject *resultobj;
4850 wxStatusBar *result;
4851 char *kwnames[] = {
4852 NULL
4853 };
4854
4855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 result = (wxStatusBar *)new wxStatusBar();
4859
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) SWIG_fail;
4862 }
4863 {
4864 resultobj = wxPyMake_wxObject(result);
4865 }
4866 return resultobj;
4867 fail:
4868 return NULL;
4869 }
4870
4871
4872 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4873 PyObject *resultobj;
4874 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4875 wxWindow *arg2 = (wxWindow *) 0 ;
4876 int arg3 ;
4877 long arg4 = (long) wxST_SIZEGRIP ;
4878 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4879 wxString *arg5 = (wxString *) &arg5_defvalue ;
4880 bool result;
4881 bool temp5 = False ;
4882 PyObject * obj0 = 0 ;
4883 PyObject * obj1 = 0 ;
4884 PyObject * obj2 = 0 ;
4885 PyObject * obj3 = 0 ;
4886 PyObject * obj4 = 0 ;
4887 char *kwnames[] = {
4888 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4889 };
4890
4891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4894 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4896 arg3 = (int) SWIG_AsInt(obj2);
4897 if (PyErr_Occurred()) SWIG_fail;
4898 if (obj3) {
4899 arg4 = (long) SWIG_AsLong(obj3);
4900 if (PyErr_Occurred()) SWIG_fail;
4901 }
4902 if (obj4) {
4903 {
4904 arg5 = wxString_in_helper(obj4);
4905 if (arg5 == NULL) SWIG_fail;
4906 temp5 = True;
4907 }
4908 }
4909 {
4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4911 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4912
4913 wxPyEndAllowThreads(__tstate);
4914 if (PyErr_Occurred()) SWIG_fail;
4915 }
4916 {
4917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4918 }
4919 {
4920 if (temp5)
4921 delete arg5;
4922 }
4923 return resultobj;
4924 fail:
4925 {
4926 if (temp5)
4927 delete arg5;
4928 }
4929 return NULL;
4930 }
4931
4932
4933 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4934 PyObject *resultobj;
4935 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4936 int arg2 = (int) 1 ;
4937 PyObject * obj0 = 0 ;
4938 PyObject * obj1 = 0 ;
4939 char *kwnames[] = {
4940 (char *) "self",(char *) "number", NULL
4941 };
4942
4943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
4944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4946 if (obj1) {
4947 arg2 = (int) SWIG_AsInt(obj1);
4948 if (PyErr_Occurred()) SWIG_fail;
4949 }
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 (arg1)->SetFieldsCount(arg2);
4953
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 Py_INCREF(Py_None); resultobj = Py_None;
4958 return resultobj;
4959 fail:
4960 return NULL;
4961 }
4962
4963
4964 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4965 PyObject *resultobj;
4966 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4967 int result;
4968 PyObject * obj0 = 0 ;
4969 char *kwnames[] = {
4970 (char *) "self", NULL
4971 };
4972
4973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4976 {
4977 PyThreadState* __tstate = wxPyBeginAllowThreads();
4978 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4979
4980 wxPyEndAllowThreads(__tstate);
4981 if (PyErr_Occurred()) SWIG_fail;
4982 }
4983 resultobj = SWIG_FromInt((int)result);
4984 return resultobj;
4985 fail:
4986 return NULL;
4987 }
4988
4989
4990 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4991 PyObject *resultobj;
4992 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4993 wxString *arg2 = 0 ;
4994 int arg3 = (int) 0 ;
4995 bool temp2 = False ;
4996 PyObject * obj0 = 0 ;
4997 PyObject * obj1 = 0 ;
4998 PyObject * obj2 = 0 ;
4999 char *kwnames[] = {
5000 (char *) "self",(char *) "text",(char *) "number", NULL
5001 };
5002
5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5006 {
5007 arg2 = wxString_in_helper(obj1);
5008 if (arg2 == NULL) SWIG_fail;
5009 temp2 = True;
5010 }
5011 if (obj2) {
5012 arg3 = (int) SWIG_AsInt(obj2);
5013 if (PyErr_Occurred()) SWIG_fail;
5014 }
5015 {
5016 PyThreadState* __tstate = wxPyBeginAllowThreads();
5017 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5018
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 Py_INCREF(Py_None); resultobj = Py_None;
5023 {
5024 if (temp2)
5025 delete arg2;
5026 }
5027 return resultobj;
5028 fail:
5029 {
5030 if (temp2)
5031 delete arg2;
5032 }
5033 return NULL;
5034 }
5035
5036
5037 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5038 PyObject *resultobj;
5039 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5040 int arg2 = (int) 0 ;
5041 wxString result;
5042 PyObject * obj0 = 0 ;
5043 PyObject * obj1 = 0 ;
5044 char *kwnames[] = {
5045 (char *) "self",(char *) "number", NULL
5046 };
5047
5048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5051 if (obj1) {
5052 arg2 = (int) SWIG_AsInt(obj1);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
5055 {
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 }
5062 {
5063 #if wxUSE_UNICODE
5064 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5065 #else
5066 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5067 #endif
5068 }
5069 return resultobj;
5070 fail:
5071 return NULL;
5072 }
5073
5074
5075 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5076 PyObject *resultobj;
5077 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5078 wxString *arg2 = 0 ;
5079 int arg3 = (int) 0 ;
5080 bool temp2 = False ;
5081 PyObject * obj0 = 0 ;
5082 PyObject * obj1 = 0 ;
5083 PyObject * obj2 = 0 ;
5084 char *kwnames[] = {
5085 (char *) "self",(char *) "text",(char *) "number", NULL
5086 };
5087
5088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5091 {
5092 arg2 = wxString_in_helper(obj1);
5093 if (arg2 == NULL) SWIG_fail;
5094 temp2 = True;
5095 }
5096 if (obj2) {
5097 arg3 = (int) SWIG_AsInt(obj2);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
5107 Py_INCREF(Py_None); resultobj = Py_None;
5108 {
5109 if (temp2)
5110 delete arg2;
5111 }
5112 return resultobj;
5113 fail:
5114 {
5115 if (temp2)
5116 delete arg2;
5117 }
5118 return NULL;
5119 }
5120
5121
5122 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5123 PyObject *resultobj;
5124 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5125 int arg2 = (int) 0 ;
5126 PyObject * obj0 = 0 ;
5127 PyObject * obj1 = 0 ;
5128 char *kwnames[] = {
5129 (char *) "self",(char *) "number", NULL
5130 };
5131
5132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5135 if (obj1) {
5136 arg2 = (int) SWIG_AsInt(obj1);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
5139 {
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 (arg1)->PopStatusText(arg2);
5142
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 }
5146 Py_INCREF(Py_None); resultobj = Py_None;
5147 return resultobj;
5148 fail:
5149 return NULL;
5150 }
5151
5152
5153 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5154 PyObject *resultobj;
5155 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5156 int arg2 ;
5157 int *arg3 = (int *) 0 ;
5158 PyObject * obj0 = 0 ;
5159 PyObject * obj1 = 0 ;
5160 char *kwnames[] = {
5161 (char *) "self",(char *) "widths", NULL
5162 };
5163
5164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5167 {
5168 arg2 = PyList_Size(obj1);
5169 arg3 = int_LIST_helper(obj1);
5170 if (arg3 == NULL) SWIG_fail;
5171 }
5172 {
5173 PyThreadState* __tstate = wxPyBeginAllowThreads();
5174 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5175
5176 wxPyEndAllowThreads(__tstate);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 }
5179 Py_INCREF(Py_None); resultobj = Py_None;
5180 {
5181 if (arg3) delete [] arg3;
5182 }
5183 return resultobj;
5184 fail:
5185 {
5186 if (arg3) delete [] arg3;
5187 }
5188 return NULL;
5189 }
5190
5191
5192 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5193 PyObject *resultobj;
5194 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5195 int arg2 ;
5196 wxRect result;
5197 PyObject * obj0 = 0 ;
5198 PyObject * obj1 = 0 ;
5199 char *kwnames[] = {
5200 (char *) "self",(char *) "i", NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5206 arg2 = (int) SWIG_AsInt(obj1);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 {
5209 PyThreadState* __tstate = wxPyBeginAllowThreads();
5210 result = wxStatusBar_GetFieldRect(arg1,arg2);
5211
5212 wxPyEndAllowThreads(__tstate);
5213 if (PyErr_Occurred()) SWIG_fail;
5214 }
5215 {
5216 wxRect * resultptr;
5217 resultptr = new wxRect((wxRect &) result);
5218 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5219 }
5220 return resultobj;
5221 fail:
5222 return NULL;
5223 }
5224
5225
5226 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5227 PyObject *resultobj;
5228 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5229 int arg2 ;
5230 PyObject * obj0 = 0 ;
5231 PyObject * obj1 = 0 ;
5232 char *kwnames[] = {
5233 (char *) "self",(char *) "height", NULL
5234 };
5235
5236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5239 arg2 = (int) SWIG_AsInt(obj1);
5240 if (PyErr_Occurred()) SWIG_fail;
5241 {
5242 PyThreadState* __tstate = wxPyBeginAllowThreads();
5243 (arg1)->SetMinHeight(arg2);
5244
5245 wxPyEndAllowThreads(__tstate);
5246 if (PyErr_Occurred()) SWIG_fail;
5247 }
5248 Py_INCREF(Py_None); resultobj = Py_None;
5249 return resultobj;
5250 fail:
5251 return NULL;
5252 }
5253
5254
5255 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5256 PyObject *resultobj;
5257 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5258 int result;
5259 PyObject * obj0 = 0 ;
5260 char *kwnames[] = {
5261 (char *) "self", NULL
5262 };
5263
5264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5267 {
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 resultobj = SWIG_FromInt((int)result);
5275 return resultobj;
5276 fail:
5277 return NULL;
5278 }
5279
5280
5281 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj;
5283 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5284 int result;
5285 PyObject * obj0 = 0 ;
5286 char *kwnames[] = {
5287 (char *) "self", NULL
5288 };
5289
5290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5293 {
5294 PyThreadState* __tstate = wxPyBeginAllowThreads();
5295 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5296
5297 wxPyEndAllowThreads(__tstate);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
5300 resultobj = SWIG_FromInt((int)result);
5301 return resultobj;
5302 fail:
5303 return NULL;
5304 }
5305
5306
5307 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5308 PyObject *obj;
5309 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5310 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5311 Py_INCREF(obj);
5312 return Py_BuildValue((char *)"");
5313 }
5314 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5315 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5316 return 1;
5317 }
5318
5319
5320 static PyObject *_wrap_SplitterNameStr_get() {
5321 PyObject *pyobj;
5322
5323 {
5324 #if wxUSE_UNICODE
5325 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5326 #else
5327 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5328 #endif
5329 }
5330 return pyobj;
5331 }
5332
5333
5334 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5335 PyObject *resultobj;
5336 wxWindow *arg1 = (wxWindow *) 0 ;
5337 int arg2 = (int) -1 ;
5338 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5339 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5340 wxSize const &arg4_defvalue = wxDefaultSize ;
5341 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5342 long arg5 = (long) wxSP_3D ;
5343 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5344 wxString *arg6 = (wxString *) &arg6_defvalue ;
5345 wxSplitterWindow *result;
5346 wxPoint temp3 ;
5347 wxSize temp4 ;
5348 bool temp6 = False ;
5349 PyObject * obj0 = 0 ;
5350 PyObject * obj1 = 0 ;
5351 PyObject * obj2 = 0 ;
5352 PyObject * obj3 = 0 ;
5353 PyObject * obj4 = 0 ;
5354 PyObject * obj5 = 0 ;
5355 char *kwnames[] = {
5356 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5357 };
5358
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5362 if (obj1) {
5363 arg2 = (int) SWIG_AsInt(obj1);
5364 if (PyErr_Occurred()) SWIG_fail;
5365 }
5366 if (obj2) {
5367 {
5368 arg3 = &temp3;
5369 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5370 }
5371 }
5372 if (obj3) {
5373 {
5374 arg4 = &temp4;
5375 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5376 }
5377 }
5378 if (obj4) {
5379 arg5 = (long) SWIG_AsLong(obj4);
5380 if (PyErr_Occurred()) SWIG_fail;
5381 }
5382 if (obj5) {
5383 {
5384 arg6 = wxString_in_helper(obj5);
5385 if (arg6 == NULL) SWIG_fail;
5386 temp6 = True;
5387 }
5388 }
5389 {
5390 PyThreadState* __tstate = wxPyBeginAllowThreads();
5391 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5392
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
5396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5397 {
5398 if (temp6)
5399 delete arg6;
5400 }
5401 return resultobj;
5402 fail:
5403 {
5404 if (temp6)
5405 delete arg6;
5406 }
5407 return NULL;
5408 }
5409
5410
5411 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5412 PyObject *resultobj;
5413 wxSplitterWindow *result;
5414 char *kwnames[] = {
5415 NULL
5416 };
5417
5418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5419 {
5420 PyThreadState* __tstate = wxPyBeginAllowThreads();
5421 result = (wxSplitterWindow *)new wxSplitterWindow();
5422
5423 wxPyEndAllowThreads(__tstate);
5424 if (PyErr_Occurred()) SWIG_fail;
5425 }
5426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5427 return resultobj;
5428 fail:
5429 return NULL;
5430 }
5431
5432
5433 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5434 PyObject *resultobj;
5435 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5436 wxWindow *arg2 = (wxWindow *) 0 ;
5437 int arg3 = (int) -1 ;
5438 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5439 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5440 wxSize const &arg5_defvalue = wxDefaultSize ;
5441 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5442 long arg6 = (long) wxSP_3D ;
5443 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5444 wxString *arg7 = (wxString *) &arg7_defvalue ;
5445 bool result;
5446 wxPoint temp4 ;
5447 wxSize temp5 ;
5448 bool temp7 = False ;
5449 PyObject * obj0 = 0 ;
5450 PyObject * obj1 = 0 ;
5451 PyObject * obj2 = 0 ;
5452 PyObject * obj3 = 0 ;
5453 PyObject * obj4 = 0 ;
5454 PyObject * obj5 = 0 ;
5455 PyObject * obj6 = 0 ;
5456 char *kwnames[] = {
5457 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5458 };
5459
5460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5465 if (obj2) {
5466 arg3 = (int) SWIG_AsInt(obj2);
5467 if (PyErr_Occurred()) SWIG_fail;
5468 }
5469 if (obj3) {
5470 {
5471 arg4 = &temp4;
5472 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5473 }
5474 }
5475 if (obj4) {
5476 {
5477 arg5 = &temp5;
5478 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5479 }
5480 }
5481 if (obj5) {
5482 arg6 = (long) SWIG_AsLong(obj5);
5483 if (PyErr_Occurred()) SWIG_fail;
5484 }
5485 if (obj6) {
5486 {
5487 arg7 = wxString_in_helper(obj6);
5488 if (arg7 == NULL) SWIG_fail;
5489 temp7 = True;
5490 }
5491 }
5492 {
5493 PyThreadState* __tstate = wxPyBeginAllowThreads();
5494 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5495
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
5499 {
5500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5501 }
5502 {
5503 if (temp7)
5504 delete arg7;
5505 }
5506 return resultobj;
5507 fail:
5508 {
5509 if (temp7)
5510 delete arg7;
5511 }
5512 return NULL;
5513 }
5514
5515
5516 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5517 PyObject *resultobj;
5518 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5519 wxWindow *result;
5520 PyObject * obj0 = 0 ;
5521 char *kwnames[] = {
5522 (char *) "self", NULL
5523 };
5524
5525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5528 {
5529 PyThreadState* __tstate = wxPyBeginAllowThreads();
5530 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5531
5532 wxPyEndAllowThreads(__tstate);
5533 if (PyErr_Occurred()) SWIG_fail;
5534 }
5535 {
5536 resultobj = wxPyMake_wxObject(result);
5537 }
5538 return resultobj;
5539 fail:
5540 return NULL;
5541 }
5542
5543
5544 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5545 PyObject *resultobj;
5546 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5547 wxWindow *result;
5548 PyObject * obj0 = 0 ;
5549 char *kwnames[] = {
5550 (char *) "self", NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5559
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 {
5564 resultobj = wxPyMake_wxObject(result);
5565 }
5566 return resultobj;
5567 fail:
5568 return NULL;
5569 }
5570
5571
5572 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5573 PyObject *resultobj;
5574 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5575 int arg2 ;
5576 PyObject * obj0 = 0 ;
5577 PyObject * obj1 = 0 ;
5578 char *kwnames[] = {
5579 (char *) "self",(char *) "mode", NULL
5580 };
5581
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5585 arg2 = (int) SWIG_AsInt(obj1);
5586 if (PyErr_Occurred()) SWIG_fail;
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 (arg1)->SetSplitMode(arg2);
5590
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
5594 Py_INCREF(Py_None); resultobj = Py_None;
5595 return resultobj;
5596 fail:
5597 return NULL;
5598 }
5599
5600
5601 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5602 PyObject *resultobj;
5603 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5604 int result;
5605 PyObject * obj0 = 0 ;
5606 char *kwnames[] = {
5607 (char *) "self", NULL
5608 };
5609
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5613 {
5614 PyThreadState* __tstate = wxPyBeginAllowThreads();
5615 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5616
5617 wxPyEndAllowThreads(__tstate);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 }
5620 resultobj = SWIG_FromInt((int)result);
5621 return resultobj;
5622 fail:
5623 return NULL;
5624 }
5625
5626
5627 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj;
5629 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5630 wxWindow *arg2 = (wxWindow *) 0 ;
5631 PyObject * obj0 = 0 ;
5632 PyObject * obj1 = 0 ;
5633 char *kwnames[] = {
5634 (char *) "self",(char *) "window", NULL
5635 };
5636
5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5642 {
5643 PyThreadState* __tstate = wxPyBeginAllowThreads();
5644 (arg1)->Initialize(arg2);
5645
5646 wxPyEndAllowThreads(__tstate);
5647 if (PyErr_Occurred()) SWIG_fail;
5648 }
5649 Py_INCREF(Py_None); resultobj = Py_None;
5650 return resultobj;
5651 fail:
5652 return NULL;
5653 }
5654
5655
5656 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5657 PyObject *resultobj;
5658 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5659 wxWindow *arg2 = (wxWindow *) 0 ;
5660 wxWindow *arg3 = (wxWindow *) 0 ;
5661 int arg4 = (int) 0 ;
5662 bool result;
5663 PyObject * obj0 = 0 ;
5664 PyObject * obj1 = 0 ;
5665 PyObject * obj2 = 0 ;
5666 PyObject * obj3 = 0 ;
5667 char *kwnames[] = {
5668 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5669 };
5670
5671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5674 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5676 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5678 if (obj3) {
5679 arg4 = (int) SWIG_AsInt(obj3);
5680 if (PyErr_Occurred()) SWIG_fail;
5681 }
5682 {
5683 PyThreadState* __tstate = wxPyBeginAllowThreads();
5684 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5685
5686 wxPyEndAllowThreads(__tstate);
5687 if (PyErr_Occurred()) SWIG_fail;
5688 }
5689 {
5690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5691 }
5692 return resultobj;
5693 fail:
5694 return NULL;
5695 }
5696
5697
5698 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5699 PyObject *resultobj;
5700 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5701 wxWindow *arg2 = (wxWindow *) 0 ;
5702 wxWindow *arg3 = (wxWindow *) 0 ;
5703 int arg4 = (int) 0 ;
5704 bool result;
5705 PyObject * obj0 = 0 ;
5706 PyObject * obj1 = 0 ;
5707 PyObject * obj2 = 0 ;
5708 PyObject * obj3 = 0 ;
5709 char *kwnames[] = {
5710 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5711 };
5712
5713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5716 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5718 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5720 if (obj3) {
5721 arg4 = (int) SWIG_AsInt(obj3);
5722 if (PyErr_Occurred()) SWIG_fail;
5723 }
5724 {
5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
5726 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5727
5728 wxPyEndAllowThreads(__tstate);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
5731 {
5732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5733 }
5734 return resultobj;
5735 fail:
5736 return NULL;
5737 }
5738
5739
5740 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5741 PyObject *resultobj;
5742 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5743 wxWindow *arg2 = (wxWindow *) NULL ;
5744 bool result;
5745 PyObject * obj0 = 0 ;
5746 PyObject * obj1 = 0 ;
5747 char *kwnames[] = {
5748 (char *) "self",(char *) "toRemove", NULL
5749 };
5750
5751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5754 if (obj1) {
5755 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5757 }
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 result = (bool)(arg1)->Unsplit(arg2);
5761
5762 wxPyEndAllowThreads(__tstate);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
5765 {
5766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5767 }
5768 return resultobj;
5769 fail:
5770 return NULL;
5771 }
5772
5773
5774 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5775 PyObject *resultobj;
5776 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5777 wxWindow *arg2 = (wxWindow *) 0 ;
5778 wxWindow *arg3 = (wxWindow *) 0 ;
5779 bool result;
5780 PyObject * obj0 = 0 ;
5781 PyObject * obj1 = 0 ;
5782 PyObject * obj2 = 0 ;
5783 char *kwnames[] = {
5784 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5785 };
5786
5787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5790 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5792 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5794 {
5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
5796 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5797
5798 wxPyEndAllowThreads(__tstate);
5799 if (PyErr_Occurred()) SWIG_fail;
5800 }
5801 {
5802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5803 }
5804 return resultobj;
5805 fail:
5806 return NULL;
5807 }
5808
5809
5810 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5811 PyObject *resultobj;
5812 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5813 PyObject * obj0 = 0 ;
5814 char *kwnames[] = {
5815 (char *) "self", NULL
5816 };
5817
5818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5821 {
5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
5823 (arg1)->UpdateSize();
5824
5825 wxPyEndAllowThreads(__tstate);
5826 if (PyErr_Occurred()) SWIG_fail;
5827 }
5828 Py_INCREF(Py_None); resultobj = Py_None;
5829 return resultobj;
5830 fail:
5831 return NULL;
5832 }
5833
5834
5835 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5836 PyObject *resultobj;
5837 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5838 bool result;
5839 PyObject * obj0 = 0 ;
5840 char *kwnames[] = {
5841 (char *) "self", NULL
5842 };
5843
5844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5847 {
5848 PyThreadState* __tstate = wxPyBeginAllowThreads();
5849 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5850
5851 wxPyEndAllowThreads(__tstate);
5852 if (PyErr_Occurred()) SWIG_fail;
5853 }
5854 {
5855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5856 }
5857 return resultobj;
5858 fail:
5859 return NULL;
5860 }
5861
5862
5863 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5864 PyObject *resultobj;
5865 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5866 int arg2 ;
5867 PyObject * obj0 = 0 ;
5868 PyObject * obj1 = 0 ;
5869 char *kwnames[] = {
5870 (char *) "self",(char *) "width", NULL
5871 };
5872
5873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5876 arg2 = (int) SWIG_AsInt(obj1);
5877 if (PyErr_Occurred()) SWIG_fail;
5878 {
5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
5880 (arg1)->SetSashSize(arg2);
5881
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) SWIG_fail;
5884 }
5885 Py_INCREF(Py_None); resultobj = Py_None;
5886 return resultobj;
5887 fail:
5888 return NULL;
5889 }
5890
5891
5892 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5893 PyObject *resultobj;
5894 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5895 int arg2 ;
5896 PyObject * obj0 = 0 ;
5897 PyObject * obj1 = 0 ;
5898 char *kwnames[] = {
5899 (char *) "self",(char *) "width", NULL
5900 };
5901
5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5905 arg2 = (int) SWIG_AsInt(obj1);
5906 if (PyErr_Occurred()) SWIG_fail;
5907 {
5908 PyThreadState* __tstate = wxPyBeginAllowThreads();
5909 (arg1)->SetBorderSize(arg2);
5910
5911 wxPyEndAllowThreads(__tstate);
5912 if (PyErr_Occurred()) SWIG_fail;
5913 }
5914 Py_INCREF(Py_None); resultobj = Py_None;
5915 return resultobj;
5916 fail:
5917 return NULL;
5918 }
5919
5920
5921 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5922 PyObject *resultobj;
5923 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5924 int result;
5925 PyObject * obj0 = 0 ;
5926 char *kwnames[] = {
5927 (char *) "self", NULL
5928 };
5929
5930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5933 {
5934 PyThreadState* __tstate = wxPyBeginAllowThreads();
5935 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5936
5937 wxPyEndAllowThreads(__tstate);
5938 if (PyErr_Occurred()) SWIG_fail;
5939 }
5940 resultobj = SWIG_FromInt((int)result);
5941 return resultobj;
5942 fail:
5943 return NULL;
5944 }
5945
5946
5947 static PyObject *_wrap_SplitterWindow_GetBorderSize(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_GetBorderSize",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)->GetBorderSize();
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_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5974 PyObject *resultobj;
5975 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5976 int arg2 ;
5977 bool arg3 = (bool) True ;
5978 PyObject * obj0 = 0 ;
5979 PyObject * obj1 = 0 ;
5980 PyObject * obj2 = 0 ;
5981 char *kwnames[] = {
5982 (char *) "self",(char *) "position",(char *) "redraw", NULL
5983 };
5984
5985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
5986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5988 arg2 = (int) SWIG_AsInt(obj1);
5989 if (PyErr_Occurred()) SWIG_fail;
5990 if (obj2) {
5991 arg3 = (bool) SWIG_AsBool(obj2);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 (arg1)->SetSashPosition(arg2,arg3);
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
6001 Py_INCREF(Py_None); resultobj = Py_None;
6002 return resultobj;
6003 fail:
6004 return NULL;
6005 }
6006
6007
6008 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6009 PyObject *resultobj;
6010 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6011 int result;
6012 PyObject * obj0 = 0 ;
6013 char *kwnames[] = {
6014 (char *) "self", NULL
6015 };
6016
6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6020 {
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 resultobj = SWIG_FromInt((int)result);
6028 return resultobj;
6029 fail:
6030 return NULL;
6031 }
6032
6033
6034 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6035 PyObject *resultobj;
6036 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6037 int arg2 ;
6038 PyObject * obj0 = 0 ;
6039 PyObject * obj1 = 0 ;
6040 char *kwnames[] = {
6041 (char *) "self",(char *) "min", NULL
6042 };
6043
6044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6047 arg2 = (int) SWIG_AsInt(obj1);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 {
6050 PyThreadState* __tstate = wxPyBeginAllowThreads();
6051 (arg1)->SetMinimumPaneSize(arg2);
6052
6053 wxPyEndAllowThreads(__tstate);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
6056 Py_INCREF(Py_None); resultobj = Py_None;
6057 return resultobj;
6058 fail:
6059 return NULL;
6060 }
6061
6062
6063 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6064 PyObject *resultobj;
6065 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6066 int result;
6067 PyObject * obj0 = 0 ;
6068 char *kwnames[] = {
6069 (char *) "self", NULL
6070 };
6071
6072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6075 {
6076 PyThreadState* __tstate = wxPyBeginAllowThreads();
6077 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6078
6079 wxPyEndAllowThreads(__tstate);
6080 if (PyErr_Occurred()) SWIG_fail;
6081 }
6082 resultobj = SWIG_FromInt((int)result);
6083 return resultobj;
6084 fail:
6085 return NULL;
6086 }
6087
6088
6089 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6090 PyObject *resultobj;
6091 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6092 int arg2 ;
6093 int arg3 ;
6094 int arg4 = (int) 5 ;
6095 bool result;
6096 PyObject * obj0 = 0 ;
6097 PyObject * obj1 = 0 ;
6098 PyObject * obj2 = 0 ;
6099 PyObject * obj3 = 0 ;
6100 char *kwnames[] = {
6101 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6102 };
6103
6104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6107 arg2 = (int) SWIG_AsInt(obj1);
6108 if (PyErr_Occurred()) SWIG_fail;
6109 arg3 = (int) SWIG_AsInt(obj2);
6110 if (PyErr_Occurred()) SWIG_fail;
6111 if (obj3) {
6112 arg4 = (int) SWIG_AsInt(obj3);
6113 if (PyErr_Occurred()) SWIG_fail;
6114 }
6115 {
6116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6117 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6118
6119 wxPyEndAllowThreads(__tstate);
6120 if (PyErr_Occurred()) SWIG_fail;
6121 }
6122 {
6123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6124 }
6125 return resultobj;
6126 fail:
6127 return NULL;
6128 }
6129
6130
6131 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6132 PyObject *resultobj;
6133 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6134 PyObject * obj0 = 0 ;
6135 char *kwnames[] = {
6136 (char *) "self", NULL
6137 };
6138
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6142 {
6143 PyThreadState* __tstate = wxPyBeginAllowThreads();
6144 (arg1)->SizeWindows();
6145
6146 wxPyEndAllowThreads(__tstate);
6147 if (PyErr_Occurred()) SWIG_fail;
6148 }
6149 Py_INCREF(Py_None); resultobj = Py_None;
6150 return resultobj;
6151 fail:
6152 return NULL;
6153 }
6154
6155
6156 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6157 PyObject *resultobj;
6158 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6159 bool arg2 ;
6160 PyObject * obj0 = 0 ;
6161 PyObject * obj1 = 0 ;
6162 char *kwnames[] = {
6163 (char *) "self",(char *) "needUpdating", NULL
6164 };
6165
6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6169 arg2 = (bool) SWIG_AsBool(obj1);
6170 if (PyErr_Occurred()) SWIG_fail;
6171 {
6172 PyThreadState* __tstate = wxPyBeginAllowThreads();
6173 (arg1)->SetNeedUpdating(arg2);
6174
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 Py_INCREF(Py_None); resultobj = Py_None;
6179 return resultobj;
6180 fail:
6181 return NULL;
6182 }
6183
6184
6185 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6186 PyObject *resultobj;
6187 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6188 bool result;
6189 PyObject * obj0 = 0 ;
6190 char *kwnames[] = {
6191 (char *) "self", NULL
6192 };
6193
6194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6197 {
6198 PyThreadState* __tstate = wxPyBeginAllowThreads();
6199 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6200
6201 wxPyEndAllowThreads(__tstate);
6202 if (PyErr_Occurred()) SWIG_fail;
6203 }
6204 {
6205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6206 }
6207 return resultobj;
6208 fail:
6209 return NULL;
6210 }
6211
6212
6213 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6214 PyObject *obj;
6215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6216 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6217 Py_INCREF(obj);
6218 return Py_BuildValue((char *)"");
6219 }
6220 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6221 PyObject *resultobj;
6222 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6223 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6224 wxSplitterEvent *result;
6225 PyObject * obj0 = 0 ;
6226 PyObject * obj1 = 0 ;
6227 char *kwnames[] = {
6228 (char *) "type",(char *) "splitter", NULL
6229 };
6230
6231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6232 if (obj0) {
6233 arg1 = (wxEventType) SWIG_AsInt(obj0);
6234 if (PyErr_Occurred()) SWIG_fail;
6235 }
6236 if (obj1) {
6237 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6239 }
6240 {
6241 PyThreadState* __tstate = wxPyBeginAllowThreads();
6242 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6243
6244 wxPyEndAllowThreads(__tstate);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 }
6247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6248 return resultobj;
6249 fail:
6250 return NULL;
6251 }
6252
6253
6254 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6255 PyObject *resultobj;
6256 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6257 int arg2 ;
6258 PyObject * obj0 = 0 ;
6259 PyObject * obj1 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self",(char *) "pos", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6267 arg2 = (int) SWIG_AsInt(obj1);
6268 if (PyErr_Occurred()) SWIG_fail;
6269 {
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 (arg1)->SetSashPosition(arg2);
6272
6273 wxPyEndAllowThreads(__tstate);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 Py_INCREF(Py_None); resultobj = Py_None;
6277 return resultobj;
6278 fail:
6279 return NULL;
6280 }
6281
6282
6283 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6284 PyObject *resultobj;
6285 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6286 int result;
6287 PyObject * obj0 = 0 ;
6288 char *kwnames[] = {
6289 (char *) "self", NULL
6290 };
6291
6292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6295 {
6296 PyThreadState* __tstate = wxPyBeginAllowThreads();
6297 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6298
6299 wxPyEndAllowThreads(__tstate);
6300 if (PyErr_Occurred()) SWIG_fail;
6301 }
6302 resultobj = SWIG_FromInt((int)result);
6303 return resultobj;
6304 fail:
6305 return NULL;
6306 }
6307
6308
6309 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6310 PyObject *resultobj;
6311 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6312 wxWindow *result;
6313 PyObject * obj0 = 0 ;
6314 char *kwnames[] = {
6315 (char *) "self", NULL
6316 };
6317
6318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6321 {
6322 PyThreadState* __tstate = wxPyBeginAllowThreads();
6323 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6324
6325 wxPyEndAllowThreads(__tstate);
6326 if (PyErr_Occurred()) SWIG_fail;
6327 }
6328 {
6329 resultobj = wxPyMake_wxObject(result);
6330 }
6331 return resultobj;
6332 fail:
6333 return NULL;
6334 }
6335
6336
6337 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6338 PyObject *resultobj;
6339 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6340 int result;
6341 PyObject * obj0 = 0 ;
6342 char *kwnames[] = {
6343 (char *) "self", NULL
6344 };
6345
6346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6349 {
6350 PyThreadState* __tstate = wxPyBeginAllowThreads();
6351 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6352
6353 wxPyEndAllowThreads(__tstate);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 }
6356 resultobj = SWIG_FromInt((int)result);
6357 return resultobj;
6358 fail:
6359 return NULL;
6360 }
6361
6362
6363 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj;
6365 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6366 int result;
6367 PyObject * obj0 = 0 ;
6368 char *kwnames[] = {
6369 (char *) "self", NULL
6370 };
6371
6372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6378
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
6382 resultobj = SWIG_FromInt((int)result);
6383 return resultobj;
6384 fail:
6385 return NULL;
6386 }
6387
6388
6389 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6390 PyObject *obj;
6391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6392 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6393 Py_INCREF(obj);
6394 return Py_BuildValue((char *)"");
6395 }
6396 static int _wrap_SashNameStr_set(PyObject *_val) {
6397 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6398 return 1;
6399 }
6400
6401
6402 static PyObject *_wrap_SashNameStr_get() {
6403 PyObject *pyobj;
6404
6405 {
6406 #if wxUSE_UNICODE
6407 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6408 #else
6409 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6410 #endif
6411 }
6412 return pyobj;
6413 }
6414
6415
6416 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6417 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6418 return 1;
6419 }
6420
6421
6422 static PyObject *_wrap_SashLayoutNameStr_get() {
6423 PyObject *pyobj;
6424
6425 {
6426 #if wxUSE_UNICODE
6427 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6428 #else
6429 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6430 #endif
6431 }
6432 return pyobj;
6433 }
6434
6435
6436 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6437 PyObject *resultobj;
6438 wxWindow *arg1 = (wxWindow *) 0 ;
6439 int arg2 ;
6440 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6441 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6442 wxSize const &arg4_defvalue = wxDefaultSize ;
6443 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6444 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6445 wxString const &arg6_defvalue = wxPySashNameStr ;
6446 wxString *arg6 = (wxString *) &arg6_defvalue ;
6447 wxSashWindow *result;
6448 wxPoint temp3 ;
6449 wxSize temp4 ;
6450 bool temp6 = False ;
6451 PyObject * obj0 = 0 ;
6452 PyObject * obj1 = 0 ;
6453 PyObject * obj2 = 0 ;
6454 PyObject * obj3 = 0 ;
6455 PyObject * obj4 = 0 ;
6456 PyObject * obj5 = 0 ;
6457 char *kwnames[] = {
6458 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6459 };
6460
6461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6464 arg2 = (int) SWIG_AsInt(obj1);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 if (obj2) {
6467 {
6468 arg3 = &temp3;
6469 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6470 }
6471 }
6472 if (obj3) {
6473 {
6474 arg4 = &temp4;
6475 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6476 }
6477 }
6478 if (obj4) {
6479 arg5 = (long) SWIG_AsLong(obj4);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
6482 if (obj5) {
6483 {
6484 arg6 = wxString_in_helper(obj5);
6485 if (arg6 == NULL) SWIG_fail;
6486 temp6 = True;
6487 }
6488 }
6489 {
6490 PyThreadState* __tstate = wxPyBeginAllowThreads();
6491 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6492
6493 wxPyEndAllowThreads(__tstate);
6494 if (PyErr_Occurred()) SWIG_fail;
6495 }
6496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6497 {
6498 if (temp6)
6499 delete arg6;
6500 }
6501 return resultobj;
6502 fail:
6503 {
6504 if (temp6)
6505 delete arg6;
6506 }
6507 return NULL;
6508 }
6509
6510
6511 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6512 PyObject *resultobj;
6513 wxSashWindow *result;
6514 char *kwnames[] = {
6515 NULL
6516 };
6517
6518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6519 {
6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
6521 result = (wxSashWindow *)new wxSashWindow();
6522
6523 wxPyEndAllowThreads(__tstate);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 }
6526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6527 return resultobj;
6528 fail:
6529 return NULL;
6530 }
6531
6532
6533 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6534 PyObject *resultobj;
6535 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6536 wxWindow *arg2 = (wxWindow *) 0 ;
6537 int arg3 ;
6538 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6539 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6540 wxSize const &arg5_defvalue = wxDefaultSize ;
6541 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6542 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6543 wxString const &arg7_defvalue = wxPySashNameStr ;
6544 wxString *arg7 = (wxString *) &arg7_defvalue ;
6545 bool result;
6546 wxPoint temp4 ;
6547 wxSize temp5 ;
6548 bool temp7 = False ;
6549 PyObject * obj0 = 0 ;
6550 PyObject * obj1 = 0 ;
6551 PyObject * obj2 = 0 ;
6552 PyObject * obj3 = 0 ;
6553 PyObject * obj4 = 0 ;
6554 PyObject * obj5 = 0 ;
6555 PyObject * obj6 = 0 ;
6556 char *kwnames[] = {
6557 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6558 };
6559
6560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6565 arg3 = (int) SWIG_AsInt(obj2);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 if (obj3) {
6568 {
6569 arg4 = &temp4;
6570 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6571 }
6572 }
6573 if (obj4) {
6574 {
6575 arg5 = &temp5;
6576 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6577 }
6578 }
6579 if (obj5) {
6580 arg6 = (long) SWIG_AsLong(obj5);
6581 if (PyErr_Occurred()) SWIG_fail;
6582 }
6583 if (obj6) {
6584 {
6585 arg7 = wxString_in_helper(obj6);
6586 if (arg7 == NULL) SWIG_fail;
6587 temp7 = True;
6588 }
6589 }
6590 {
6591 PyThreadState* __tstate = wxPyBeginAllowThreads();
6592 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6593
6594 wxPyEndAllowThreads(__tstate);
6595 if (PyErr_Occurred()) SWIG_fail;
6596 }
6597 {
6598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6599 }
6600 {
6601 if (temp7)
6602 delete arg7;
6603 }
6604 return resultobj;
6605 fail:
6606 {
6607 if (temp7)
6608 delete arg7;
6609 }
6610 return NULL;
6611 }
6612
6613
6614 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6615 PyObject *resultobj;
6616 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6617 int arg2 ;
6618 bool arg3 ;
6619 PyObject * obj0 = 0 ;
6620 PyObject * obj1 = 0 ;
6621 PyObject * obj2 = 0 ;
6622 char *kwnames[] = {
6623 (char *) "self",(char *) "edge",(char *) "sash", NULL
6624 };
6625
6626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6629 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6630 if (PyErr_Occurred()) SWIG_fail;
6631 arg3 = (bool) SWIG_AsBool(obj2);
6632 if (PyErr_Occurred()) SWIG_fail;
6633 {
6634 PyThreadState* __tstate = wxPyBeginAllowThreads();
6635 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6636
6637 wxPyEndAllowThreads(__tstate);
6638 if (PyErr_Occurred()) SWIG_fail;
6639 }
6640 Py_INCREF(Py_None); resultobj = Py_None;
6641 return resultobj;
6642 fail:
6643 return NULL;
6644 }
6645
6646
6647 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6648 PyObject *resultobj;
6649 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6650 int arg2 ;
6651 bool result;
6652 PyObject * obj0 = 0 ;
6653 PyObject * obj1 = 0 ;
6654 char *kwnames[] = {
6655 (char *) "self",(char *) "edge", NULL
6656 };
6657
6658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6661 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 {
6664 PyThreadState* __tstate = wxPyBeginAllowThreads();
6665 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6666
6667 wxPyEndAllowThreads(__tstate);
6668 if (PyErr_Occurred()) SWIG_fail;
6669 }
6670 {
6671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6672 }
6673 return resultobj;
6674 fail:
6675 return NULL;
6676 }
6677
6678
6679 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6680 PyObject *resultobj;
6681 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6682 int arg2 ;
6683 bool arg3 ;
6684 PyObject * obj0 = 0 ;
6685 PyObject * obj1 = 0 ;
6686 PyObject * obj2 = 0 ;
6687 char *kwnames[] = {
6688 (char *) "self",(char *) "edge",(char *) "border", NULL
6689 };
6690
6691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6694 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 arg3 = (bool) SWIG_AsBool(obj2);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 {
6699 PyThreadState* __tstate = wxPyBeginAllowThreads();
6700 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6701
6702 wxPyEndAllowThreads(__tstate);
6703 if (PyErr_Occurred()) SWIG_fail;
6704 }
6705 Py_INCREF(Py_None); resultobj = Py_None;
6706 return resultobj;
6707 fail:
6708 return NULL;
6709 }
6710
6711
6712 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6713 PyObject *resultobj;
6714 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6715 int arg2 ;
6716 bool result;
6717 PyObject * obj0 = 0 ;
6718 PyObject * obj1 = 0 ;
6719 char *kwnames[] = {
6720 (char *) "self",(char *) "edge", NULL
6721 };
6722
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",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 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 {
6729 PyThreadState* __tstate = wxPyBeginAllowThreads();
6730 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6731
6732 wxPyEndAllowThreads(__tstate);
6733 if (PyErr_Occurred()) SWIG_fail;
6734 }
6735 {
6736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6737 }
6738 return resultobj;
6739 fail:
6740 return NULL;
6741 }
6742
6743
6744 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6745 PyObject *resultobj;
6746 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6747 int arg2 ;
6748 int result;
6749 PyObject * obj0 = 0 ;
6750 PyObject * obj1 = 0 ;
6751 char *kwnames[] = {
6752 (char *) "self",(char *) "edge", NULL
6753 };
6754
6755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6758 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 {
6761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6762 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6763
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
6767 resultobj = SWIG_FromInt((int)result);
6768 return resultobj;
6769 fail:
6770 return NULL;
6771 }
6772
6773
6774 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6775 PyObject *resultobj;
6776 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6777 int arg2 ;
6778 PyObject * obj0 = 0 ;
6779 PyObject * obj1 = 0 ;
6780 char *kwnames[] = {
6781 (char *) "self",(char *) "width", NULL
6782 };
6783
6784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6787 arg2 = (int) SWIG_AsInt(obj1);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 {
6790 PyThreadState* __tstate = wxPyBeginAllowThreads();
6791 (arg1)->SetDefaultBorderSize(arg2);
6792
6793 wxPyEndAllowThreads(__tstate);
6794 if (PyErr_Occurred()) SWIG_fail;
6795 }
6796 Py_INCREF(Py_None); resultobj = Py_None;
6797 return resultobj;
6798 fail:
6799 return NULL;
6800 }
6801
6802
6803 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6804 PyObject *resultobj;
6805 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6806 int result;
6807 PyObject * obj0 = 0 ;
6808 char *kwnames[] = {
6809 (char *) "self", NULL
6810 };
6811
6812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6815 {
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6818
6819 wxPyEndAllowThreads(__tstate);
6820 if (PyErr_Occurred()) SWIG_fail;
6821 }
6822 resultobj = SWIG_FromInt((int)result);
6823 return resultobj;
6824 fail:
6825 return NULL;
6826 }
6827
6828
6829 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj;
6831 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6832 int arg2 ;
6833 PyObject * obj0 = 0 ;
6834 PyObject * obj1 = 0 ;
6835 char *kwnames[] = {
6836 (char *) "self",(char *) "width", NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6842 arg2 = (int) SWIG_AsInt(obj1);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 (arg1)->SetExtraBorderSize(arg2);
6847
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 }
6851 Py_INCREF(Py_None); resultobj = Py_None;
6852 return resultobj;
6853 fail:
6854 return NULL;
6855 }
6856
6857
6858 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6859 PyObject *resultobj;
6860 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6861 int result;
6862 PyObject * obj0 = 0 ;
6863 char *kwnames[] = {
6864 (char *) "self", NULL
6865 };
6866
6867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6870 {
6871 PyThreadState* __tstate = wxPyBeginAllowThreads();
6872 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6873
6874 wxPyEndAllowThreads(__tstate);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 }
6877 resultobj = SWIG_FromInt((int)result);
6878 return resultobj;
6879 fail:
6880 return NULL;
6881 }
6882
6883
6884 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6885 PyObject *resultobj;
6886 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6887 int arg2 ;
6888 PyObject * obj0 = 0 ;
6889 PyObject * obj1 = 0 ;
6890 char *kwnames[] = {
6891 (char *) "self",(char *) "min", NULL
6892 };
6893
6894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6897 arg2 = (int) SWIG_AsInt(obj1);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 (arg1)->SetMinimumSizeX(arg2);
6902
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 Py_INCREF(Py_None); resultobj = Py_None;
6907 return resultobj;
6908 fail:
6909 return NULL;
6910 }
6911
6912
6913 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6914 PyObject *resultobj;
6915 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6916 int arg2 ;
6917 PyObject * obj0 = 0 ;
6918 PyObject * obj1 = 0 ;
6919 char *kwnames[] = {
6920 (char *) "self",(char *) "min", NULL
6921 };
6922
6923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
6924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6926 arg2 = (int) SWIG_AsInt(obj1);
6927 if (PyErr_Occurred()) SWIG_fail;
6928 {
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 (arg1)->SetMinimumSizeY(arg2);
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 Py_INCREF(Py_None); resultobj = Py_None;
6936 return resultobj;
6937 fail:
6938 return NULL;
6939 }
6940
6941
6942 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6943 PyObject *resultobj;
6944 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6945 int result;
6946 PyObject * obj0 = 0 ;
6947 char *kwnames[] = {
6948 (char *) "self", NULL
6949 };
6950
6951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
6956 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6957
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
6961 resultobj = SWIG_FromInt((int)result);
6962 return resultobj;
6963 fail:
6964 return NULL;
6965 }
6966
6967
6968 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6969 PyObject *resultobj;
6970 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6971 int result;
6972 PyObject * obj0 = 0 ;
6973 char *kwnames[] = {
6974 (char *) "self", NULL
6975 };
6976
6977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
6987 resultobj = SWIG_FromInt((int)result);
6988 return resultobj;
6989 fail:
6990 return NULL;
6991 }
6992
6993
6994 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6995 PyObject *resultobj;
6996 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6997 int arg2 ;
6998 PyObject * obj0 = 0 ;
6999 PyObject * obj1 = 0 ;
7000 char *kwnames[] = {
7001 (char *) "self",(char *) "max", NULL
7002 };
7003
7004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7007 arg2 = (int) SWIG_AsInt(obj1);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 (arg1)->SetMaximumSizeX(arg2);
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 Py_INCREF(Py_None); resultobj = Py_None;
7017 return resultobj;
7018 fail:
7019 return NULL;
7020 }
7021
7022
7023 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7024 PyObject *resultobj;
7025 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7026 int arg2 ;
7027 PyObject * obj0 = 0 ;
7028 PyObject * obj1 = 0 ;
7029 char *kwnames[] = {
7030 (char *) "self",(char *) "max", NULL
7031 };
7032
7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7036 arg2 = (int) SWIG_AsInt(obj1);
7037 if (PyErr_Occurred()) SWIG_fail;
7038 {
7039 PyThreadState* __tstate = wxPyBeginAllowThreads();
7040 (arg1)->SetMaximumSizeY(arg2);
7041
7042 wxPyEndAllowThreads(__tstate);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 }
7045 Py_INCREF(Py_None); resultobj = Py_None;
7046 return resultobj;
7047 fail:
7048 return NULL;
7049 }
7050
7051
7052 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7053 PyObject *resultobj;
7054 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7055 int result;
7056 PyObject * obj0 = 0 ;
7057 char *kwnames[] = {
7058 (char *) "self", NULL
7059 };
7060
7061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7064 {
7065 PyThreadState* __tstate = wxPyBeginAllowThreads();
7066 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7067
7068 wxPyEndAllowThreads(__tstate);
7069 if (PyErr_Occurred()) SWIG_fail;
7070 }
7071 resultobj = SWIG_FromInt((int)result);
7072 return resultobj;
7073 fail:
7074 return NULL;
7075 }
7076
7077
7078 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7079 PyObject *resultobj;
7080 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7081 int result;
7082 PyObject * obj0 = 0 ;
7083 char *kwnames[] = {
7084 (char *) "self", NULL
7085 };
7086
7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 resultobj = SWIG_FromInt((int)result);
7098 return resultobj;
7099 fail:
7100 return NULL;
7101 }
7102
7103
7104 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7105 PyObject *resultobj;
7106 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7107 int arg2 ;
7108 int arg3 ;
7109 int arg4 = (int) 2 ;
7110 int result;
7111 PyObject * obj0 = 0 ;
7112 PyObject * obj1 = 0 ;
7113 PyObject * obj2 = 0 ;
7114 PyObject * obj3 = 0 ;
7115 char *kwnames[] = {
7116 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7117 };
7118
7119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7122 arg2 = (int) SWIG_AsInt(obj1);
7123 if (PyErr_Occurred()) SWIG_fail;
7124 arg3 = (int) SWIG_AsInt(obj2);
7125 if (PyErr_Occurred()) SWIG_fail;
7126 if (obj3) {
7127 arg4 = (int) SWIG_AsInt(obj3);
7128 if (PyErr_Occurred()) SWIG_fail;
7129 }
7130 {
7131 PyThreadState* __tstate = wxPyBeginAllowThreads();
7132 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7133
7134 wxPyEndAllowThreads(__tstate);
7135 if (PyErr_Occurred()) SWIG_fail;
7136 }
7137 resultobj = SWIG_FromInt((int)result);
7138 return resultobj;
7139 fail:
7140 return NULL;
7141 }
7142
7143
7144 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7145 PyObject *resultobj;
7146 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7147 PyObject * obj0 = 0 ;
7148 char *kwnames[] = {
7149 (char *) "self", NULL
7150 };
7151
7152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7155 {
7156 PyThreadState* __tstate = wxPyBeginAllowThreads();
7157 (arg1)->SizeWindows();
7158
7159 wxPyEndAllowThreads(__tstate);
7160 if (PyErr_Occurred()) SWIG_fail;
7161 }
7162 Py_INCREF(Py_None); resultobj = Py_None;
7163 return resultobj;
7164 fail:
7165 return NULL;
7166 }
7167
7168
7169 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7170 PyObject *obj;
7171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7172 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7173 Py_INCREF(obj);
7174 return Py_BuildValue((char *)"");
7175 }
7176 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7177 PyObject *resultobj;
7178 int arg1 = (int) 0 ;
7179 int arg2 = (int) wxSASH_NONE ;
7180 wxSashEvent *result;
7181 PyObject * obj0 = 0 ;
7182 PyObject * obj1 = 0 ;
7183 char *kwnames[] = {
7184 (char *) "id",(char *) "edge", NULL
7185 };
7186
7187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7188 if (obj0) {
7189 arg1 = (int) SWIG_AsInt(obj0);
7190 if (PyErr_Occurred()) SWIG_fail;
7191 }
7192 if (obj1) {
7193 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7194 if (PyErr_Occurred()) SWIG_fail;
7195 }
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
7198 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7199
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
7203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7204 return resultobj;
7205 fail:
7206 return NULL;
7207 }
7208
7209
7210 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7211 PyObject *resultobj;
7212 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7213 int arg2 ;
7214 PyObject * obj0 = 0 ;
7215 PyObject * obj1 = 0 ;
7216 char *kwnames[] = {
7217 (char *) "self",(char *) "edge", NULL
7218 };
7219
7220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7223 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7224 if (PyErr_Occurred()) SWIG_fail;
7225 {
7226 PyThreadState* __tstate = wxPyBeginAllowThreads();
7227 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7228
7229 wxPyEndAllowThreads(__tstate);
7230 if (PyErr_Occurred()) SWIG_fail;
7231 }
7232 Py_INCREF(Py_None); resultobj = Py_None;
7233 return resultobj;
7234 fail:
7235 return NULL;
7236 }
7237
7238
7239 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7240 PyObject *resultobj;
7241 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7242 int result;
7243 PyObject * obj0 = 0 ;
7244 char *kwnames[] = {
7245 (char *) "self", NULL
7246 };
7247
7248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7251 {
7252 PyThreadState* __tstate = wxPyBeginAllowThreads();
7253 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7254
7255 wxPyEndAllowThreads(__tstate);
7256 if (PyErr_Occurred()) SWIG_fail;
7257 }
7258 resultobj = SWIG_FromInt((int)result);
7259 return resultobj;
7260 fail:
7261 return NULL;
7262 }
7263
7264
7265 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7266 PyObject *resultobj;
7267 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7268 wxRect *arg2 = 0 ;
7269 wxRect temp2 ;
7270 PyObject * obj0 = 0 ;
7271 PyObject * obj1 = 0 ;
7272 char *kwnames[] = {
7273 (char *) "self",(char *) "rect", NULL
7274 };
7275
7276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7279 {
7280 arg2 = &temp2;
7281 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7282 }
7283 {
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 (arg1)->SetDragRect((wxRect const &)*arg2);
7286
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 Py_INCREF(Py_None); resultobj = Py_None;
7291 return resultobj;
7292 fail:
7293 return NULL;
7294 }
7295
7296
7297 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7298 PyObject *resultobj;
7299 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7300 wxRect result;
7301 PyObject * obj0 = 0 ;
7302 char *kwnames[] = {
7303 (char *) "self", NULL
7304 };
7305
7306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7311 result = ((wxSashEvent const *)arg1)->GetDragRect();
7312
7313 wxPyEndAllowThreads(__tstate);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
7316 {
7317 wxRect * resultptr;
7318 resultptr = new wxRect((wxRect &) result);
7319 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7320 }
7321 return resultobj;
7322 fail:
7323 return NULL;
7324 }
7325
7326
7327 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7328 PyObject *resultobj;
7329 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7330 int arg2 ;
7331 PyObject * obj0 = 0 ;
7332 PyObject * obj1 = 0 ;
7333 char *kwnames[] = {
7334 (char *) "self",(char *) "status", NULL
7335 };
7336
7337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7340 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7341 if (PyErr_Occurred()) SWIG_fail;
7342 {
7343 PyThreadState* __tstate = wxPyBeginAllowThreads();
7344 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7345
7346 wxPyEndAllowThreads(__tstate);
7347 if (PyErr_Occurred()) SWIG_fail;
7348 }
7349 Py_INCREF(Py_None); resultobj = Py_None;
7350 return resultobj;
7351 fail:
7352 return NULL;
7353 }
7354
7355
7356 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7357 PyObject *resultobj;
7358 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7359 int result;
7360 PyObject * obj0 = 0 ;
7361 char *kwnames[] = {
7362 (char *) "self", NULL
7363 };
7364
7365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7368 {
7369 PyThreadState* __tstate = wxPyBeginAllowThreads();
7370 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7371
7372 wxPyEndAllowThreads(__tstate);
7373 if (PyErr_Occurred()) SWIG_fail;
7374 }
7375 resultobj = SWIG_FromInt((int)result);
7376 return resultobj;
7377 fail:
7378 return NULL;
7379 }
7380
7381
7382 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7383 PyObject *obj;
7384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7385 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7386 Py_INCREF(obj);
7387 return Py_BuildValue((char *)"");
7388 }
7389 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7390 PyObject *resultobj;
7391 int arg1 = (int) 0 ;
7392 wxQueryLayoutInfoEvent *result;
7393 PyObject * obj0 = 0 ;
7394 char *kwnames[] = {
7395 (char *) "id", NULL
7396 };
7397
7398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7399 if (obj0) {
7400 arg1 = (int) SWIG_AsInt(obj0);
7401 if (PyErr_Occurred()) SWIG_fail;
7402 }
7403 {
7404 PyThreadState* __tstate = wxPyBeginAllowThreads();
7405 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7406
7407 wxPyEndAllowThreads(__tstate);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7411 return resultobj;
7412 fail:
7413 return NULL;
7414 }
7415
7416
7417 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7418 PyObject *resultobj;
7419 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7420 int arg2 ;
7421 PyObject * obj0 = 0 ;
7422 PyObject * obj1 = 0 ;
7423 char *kwnames[] = {
7424 (char *) "self",(char *) "length", NULL
7425 };
7426
7427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7430 arg2 = (int) SWIG_AsInt(obj1);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 {
7433 PyThreadState* __tstate = wxPyBeginAllowThreads();
7434 (arg1)->SetRequestedLength(arg2);
7435
7436 wxPyEndAllowThreads(__tstate);
7437 if (PyErr_Occurred()) SWIG_fail;
7438 }
7439 Py_INCREF(Py_None); resultobj = Py_None;
7440 return resultobj;
7441 fail:
7442 return NULL;
7443 }
7444
7445
7446 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7447 PyObject *resultobj;
7448 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7449 int result;
7450 PyObject * obj0 = 0 ;
7451 char *kwnames[] = {
7452 (char *) "self", NULL
7453 };
7454
7455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7461
7462 wxPyEndAllowThreads(__tstate);
7463 if (PyErr_Occurred()) SWIG_fail;
7464 }
7465 resultobj = SWIG_FromInt((int)result);
7466 return resultobj;
7467 fail:
7468 return NULL;
7469 }
7470
7471
7472 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7473 PyObject *resultobj;
7474 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7475 int arg2 ;
7476 PyObject * obj0 = 0 ;
7477 PyObject * obj1 = 0 ;
7478 char *kwnames[] = {
7479 (char *) "self",(char *) "flags", NULL
7480 };
7481
7482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7485 arg2 = (int) SWIG_AsInt(obj1);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 {
7488 PyThreadState* __tstate = wxPyBeginAllowThreads();
7489 (arg1)->SetFlags(arg2);
7490
7491 wxPyEndAllowThreads(__tstate);
7492 if (PyErr_Occurred()) SWIG_fail;
7493 }
7494 Py_INCREF(Py_None); resultobj = Py_None;
7495 return resultobj;
7496 fail:
7497 return NULL;
7498 }
7499
7500
7501 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7502 PyObject *resultobj;
7503 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7504 int result;
7505 PyObject * obj0 = 0 ;
7506 char *kwnames[] = {
7507 (char *) "self", NULL
7508 };
7509
7510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
7520 resultobj = SWIG_FromInt((int)result);
7521 return resultobj;
7522 fail:
7523 return NULL;
7524 }
7525
7526
7527 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7528 PyObject *resultobj;
7529 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7530 wxSize *arg2 = 0 ;
7531 wxSize temp2 ;
7532 PyObject * obj0 = 0 ;
7533 PyObject * obj1 = 0 ;
7534 char *kwnames[] = {
7535 (char *) "self",(char *) "size", NULL
7536 };
7537
7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7541 {
7542 arg2 = &temp2;
7543 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7544 }
7545 {
7546 PyThreadState* __tstate = wxPyBeginAllowThreads();
7547 (arg1)->SetSize((wxSize const &)*arg2);
7548
7549 wxPyEndAllowThreads(__tstate);
7550 if (PyErr_Occurred()) SWIG_fail;
7551 }
7552 Py_INCREF(Py_None); resultobj = Py_None;
7553 return resultobj;
7554 fail:
7555 return NULL;
7556 }
7557
7558
7559 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7560 PyObject *resultobj;
7561 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7562 wxSize result;
7563 PyObject * obj0 = 0 ;
7564 char *kwnames[] = {
7565 (char *) "self", NULL
7566 };
7567
7568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7574
7575 wxPyEndAllowThreads(__tstate);
7576 if (PyErr_Occurred()) SWIG_fail;
7577 }
7578 {
7579 wxSize * resultptr;
7580 resultptr = new wxSize((wxSize &) result);
7581 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7582 }
7583 return resultobj;
7584 fail:
7585 return NULL;
7586 }
7587
7588
7589 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7590 PyObject *resultobj;
7591 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7592 int arg2 ;
7593 PyObject * obj0 = 0 ;
7594 PyObject * obj1 = 0 ;
7595 char *kwnames[] = {
7596 (char *) "self",(char *) "orient", NULL
7597 };
7598
7599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7602 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 Py_INCREF(Py_None); resultobj = Py_None;
7612 return resultobj;
7613 fail:
7614 return NULL;
7615 }
7616
7617
7618 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7619 PyObject *resultobj;
7620 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7621 int result;
7622 PyObject * obj0 = 0 ;
7623 char *kwnames[] = {
7624 (char *) "self", NULL
7625 };
7626
7627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7630 {
7631 PyThreadState* __tstate = wxPyBeginAllowThreads();
7632 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7633
7634 wxPyEndAllowThreads(__tstate);
7635 if (PyErr_Occurred()) SWIG_fail;
7636 }
7637 resultobj = SWIG_FromInt((int)result);
7638 return resultobj;
7639 fail:
7640 return NULL;
7641 }
7642
7643
7644 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7645 PyObject *resultobj;
7646 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7647 int arg2 ;
7648 PyObject * obj0 = 0 ;
7649 PyObject * obj1 = 0 ;
7650 char *kwnames[] = {
7651 (char *) "self",(char *) "align", NULL
7652 };
7653
7654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7657 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7658 if (PyErr_Occurred()) SWIG_fail;
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7662
7663 wxPyEndAllowThreads(__tstate);
7664 if (PyErr_Occurred()) SWIG_fail;
7665 }
7666 Py_INCREF(Py_None); resultobj = Py_None;
7667 return resultobj;
7668 fail:
7669 return NULL;
7670 }
7671
7672
7673 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7674 PyObject *resultobj;
7675 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7676 int result;
7677 PyObject * obj0 = 0 ;
7678 char *kwnames[] = {
7679 (char *) "self", NULL
7680 };
7681
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7688
7689 wxPyEndAllowThreads(__tstate);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 }
7692 resultobj = SWIG_FromInt((int)result);
7693 return resultobj;
7694 fail:
7695 return NULL;
7696 }
7697
7698
7699 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7700 PyObject *obj;
7701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7702 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7703 Py_INCREF(obj);
7704 return Py_BuildValue((char *)"");
7705 }
7706 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7707 PyObject *resultobj;
7708 int arg1 = (int) 0 ;
7709 wxCalculateLayoutEvent *result;
7710 PyObject * obj0 = 0 ;
7711 char *kwnames[] = {
7712 (char *) "id", NULL
7713 };
7714
7715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7716 if (obj0) {
7717 arg1 = (int) SWIG_AsInt(obj0);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 }
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7723
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7728 return resultobj;
7729 fail:
7730 return NULL;
7731 }
7732
7733
7734 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7735 PyObject *resultobj;
7736 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7737 int arg2 ;
7738 PyObject * obj0 = 0 ;
7739 PyObject * obj1 = 0 ;
7740 char *kwnames[] = {
7741 (char *) "self",(char *) "flags", NULL
7742 };
7743
7744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7747 arg2 = (int) SWIG_AsInt(obj1);
7748 if (PyErr_Occurred()) SWIG_fail;
7749 {
7750 PyThreadState* __tstate = wxPyBeginAllowThreads();
7751 (arg1)->SetFlags(arg2);
7752
7753 wxPyEndAllowThreads(__tstate);
7754 if (PyErr_Occurred()) SWIG_fail;
7755 }
7756 Py_INCREF(Py_None); resultobj = Py_None;
7757 return resultobj;
7758 fail:
7759 return NULL;
7760 }
7761
7762
7763 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7764 PyObject *resultobj;
7765 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7766 int result;
7767 PyObject * obj0 = 0 ;
7768 char *kwnames[] = {
7769 (char *) "self", NULL
7770 };
7771
7772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7775 {
7776 PyThreadState* __tstate = wxPyBeginAllowThreads();
7777 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7778
7779 wxPyEndAllowThreads(__tstate);
7780 if (PyErr_Occurred()) SWIG_fail;
7781 }
7782 resultobj = SWIG_FromInt((int)result);
7783 return resultobj;
7784 fail:
7785 return NULL;
7786 }
7787
7788
7789 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7790 PyObject *resultobj;
7791 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7792 wxRect *arg2 = 0 ;
7793 wxRect temp2 ;
7794 PyObject * obj0 = 0 ;
7795 PyObject * obj1 = 0 ;
7796 char *kwnames[] = {
7797 (char *) "self",(char *) "rect", NULL
7798 };
7799
7800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7803 {
7804 arg2 = &temp2;
7805 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7806 }
7807 {
7808 PyThreadState* __tstate = wxPyBeginAllowThreads();
7809 (arg1)->SetRect((wxRect const &)*arg2);
7810
7811 wxPyEndAllowThreads(__tstate);
7812 if (PyErr_Occurred()) SWIG_fail;
7813 }
7814 Py_INCREF(Py_None); resultobj = Py_None;
7815 return resultobj;
7816 fail:
7817 return NULL;
7818 }
7819
7820
7821 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7822 PyObject *resultobj;
7823 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7824 wxRect result;
7825 PyObject * obj0 = 0 ;
7826 char *kwnames[] = {
7827 (char *) "self", NULL
7828 };
7829
7830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7833 {
7834 PyThreadState* __tstate = wxPyBeginAllowThreads();
7835 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7836
7837 wxPyEndAllowThreads(__tstate);
7838 if (PyErr_Occurred()) SWIG_fail;
7839 }
7840 {
7841 wxRect * resultptr;
7842 resultptr = new wxRect((wxRect &) result);
7843 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7844 }
7845 return resultobj;
7846 fail:
7847 return NULL;
7848 }
7849
7850
7851 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7852 PyObject *obj;
7853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7854 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7855 Py_INCREF(obj);
7856 return Py_BuildValue((char *)"");
7857 }
7858 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7859 PyObject *resultobj;
7860 wxWindow *arg1 = (wxWindow *) 0 ;
7861 int arg2 ;
7862 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7863 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7864 wxSize const &arg4_defvalue = wxDefaultSize ;
7865 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7866 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7867 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7868 wxString *arg6 = (wxString *) &arg6_defvalue ;
7869 wxSashLayoutWindow *result;
7870 wxPoint temp3 ;
7871 wxSize temp4 ;
7872 bool temp6 = False ;
7873 PyObject * obj0 = 0 ;
7874 PyObject * obj1 = 0 ;
7875 PyObject * obj2 = 0 ;
7876 PyObject * obj3 = 0 ;
7877 PyObject * obj4 = 0 ;
7878 PyObject * obj5 = 0 ;
7879 char *kwnames[] = {
7880 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7881 };
7882
7883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7886 arg2 = (int) SWIG_AsInt(obj1);
7887 if (PyErr_Occurred()) SWIG_fail;
7888 if (obj2) {
7889 {
7890 arg3 = &temp3;
7891 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7892 }
7893 }
7894 if (obj3) {
7895 {
7896 arg4 = &temp4;
7897 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7898 }
7899 }
7900 if (obj4) {
7901 arg5 = (long) SWIG_AsLong(obj4);
7902 if (PyErr_Occurred()) SWIG_fail;
7903 }
7904 if (obj5) {
7905 {
7906 arg6 = wxString_in_helper(obj5);
7907 if (arg6 == NULL) SWIG_fail;
7908 temp6 = True;
7909 }
7910 }
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
7918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7919 {
7920 if (temp6)
7921 delete arg6;
7922 }
7923 return resultobj;
7924 fail:
7925 {
7926 if (temp6)
7927 delete arg6;
7928 }
7929 return NULL;
7930 }
7931
7932
7933 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7934 PyObject *resultobj;
7935 wxSashLayoutWindow *result;
7936 char *kwnames[] = {
7937 NULL
7938 };
7939
7940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7941 {
7942 PyThreadState* __tstate = wxPyBeginAllowThreads();
7943 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7944
7945 wxPyEndAllowThreads(__tstate);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
7948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7949 return resultobj;
7950 fail:
7951 return NULL;
7952 }
7953
7954
7955 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7956 PyObject *resultobj;
7957 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7958 wxWindow *arg2 = (wxWindow *) 0 ;
7959 int arg3 ;
7960 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7961 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7962 wxSize const &arg5_defvalue = wxDefaultSize ;
7963 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7964 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7965 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7966 wxString *arg7 = (wxString *) &arg7_defvalue ;
7967 bool result;
7968 wxPoint temp4 ;
7969 wxSize temp5 ;
7970 bool temp7 = False ;
7971 PyObject * obj0 = 0 ;
7972 PyObject * obj1 = 0 ;
7973 PyObject * obj2 = 0 ;
7974 PyObject * obj3 = 0 ;
7975 PyObject * obj4 = 0 ;
7976 PyObject * obj5 = 0 ;
7977 PyObject * obj6 = 0 ;
7978 char *kwnames[] = {
7979 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7980 };
7981
7982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7987 arg3 = (int) SWIG_AsInt(obj2);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 if (obj3) {
7990 {
7991 arg4 = &temp4;
7992 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7993 }
7994 }
7995 if (obj4) {
7996 {
7997 arg5 = &temp5;
7998 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7999 }
8000 }
8001 if (obj5) {
8002 arg6 = (long) SWIG_AsLong(obj5);
8003 if (PyErr_Occurred()) SWIG_fail;
8004 }
8005 if (obj6) {
8006 {
8007 arg7 = wxString_in_helper(obj6);
8008 if (arg7 == NULL) SWIG_fail;
8009 temp7 = True;
8010 }
8011 }
8012 {
8013 PyThreadState* __tstate = wxPyBeginAllowThreads();
8014 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8015
8016 wxPyEndAllowThreads(__tstate);
8017 if (PyErr_Occurred()) SWIG_fail;
8018 }
8019 {
8020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8021 }
8022 {
8023 if (temp7)
8024 delete arg7;
8025 }
8026 return resultobj;
8027 fail:
8028 {
8029 if (temp7)
8030 delete arg7;
8031 }
8032 return NULL;
8033 }
8034
8035
8036 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8037 PyObject *resultobj;
8038 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8039 int result;
8040 PyObject * obj0 = 0 ;
8041 char *kwnames[] = {
8042 (char *) "self", NULL
8043 };
8044
8045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8048 {
8049 PyThreadState* __tstate = wxPyBeginAllowThreads();
8050 result = (int)(arg1)->GetAlignment();
8051
8052 wxPyEndAllowThreads(__tstate);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 }
8055 resultobj = SWIG_FromInt((int)result);
8056 return resultobj;
8057 fail:
8058 return NULL;
8059 }
8060
8061
8062 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj;
8064 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8065 int result;
8066 PyObject * obj0 = 0 ;
8067 char *kwnames[] = {
8068 (char *) "self", NULL
8069 };
8070
8071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8074 {
8075 PyThreadState* __tstate = wxPyBeginAllowThreads();
8076 result = (int)(arg1)->GetOrientation();
8077
8078 wxPyEndAllowThreads(__tstate);
8079 if (PyErr_Occurred()) SWIG_fail;
8080 }
8081 resultobj = SWIG_FromInt((int)result);
8082 return resultobj;
8083 fail:
8084 return NULL;
8085 }
8086
8087
8088 static PyObject *_wrap_SashLayoutWindow_SetAlignment(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 *) "alignment", NULL
8096 };
8097
8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",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 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 {
8104 PyThreadState* __tstate = wxPyBeginAllowThreads();
8105 (arg1)->SetAlignment((wxLayoutAlignment )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 *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8118 PyObject *resultobj;
8119 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8120 wxSize *arg2 = 0 ;
8121 wxSize temp2 ;
8122 PyObject * obj0 = 0 ;
8123 PyObject * obj1 = 0 ;
8124 char *kwnames[] = {
8125 (char *) "self",(char *) "size", NULL
8126 };
8127
8128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8131 {
8132 arg2 = &temp2;
8133 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8134 }
8135 {
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8138
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
8142 Py_INCREF(Py_None); resultobj = Py_None;
8143 return resultobj;
8144 fail:
8145 return NULL;
8146 }
8147
8148
8149 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8150 PyObject *resultobj;
8151 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8152 int arg2 ;
8153 PyObject * obj0 = 0 ;
8154 PyObject * obj1 = 0 ;
8155 char *kwnames[] = {
8156 (char *) "self",(char *) "orientation", NULL
8157 };
8158
8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8162 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8163 if (PyErr_Occurred()) SWIG_fail;
8164 {
8165 PyThreadState* __tstate = wxPyBeginAllowThreads();
8166 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8167
8168 wxPyEndAllowThreads(__tstate);
8169 if (PyErr_Occurred()) SWIG_fail;
8170 }
8171 Py_INCREF(Py_None); resultobj = Py_None;
8172 return resultobj;
8173 fail:
8174 return NULL;
8175 }
8176
8177
8178 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8179 PyObject *obj;
8180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8181 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8182 Py_INCREF(obj);
8183 return Py_BuildValue((char *)"");
8184 }
8185 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8186 PyObject *resultobj;
8187 wxLayoutAlgorithm *result;
8188 char *kwnames[] = {
8189 NULL
8190 };
8191
8192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8193 {
8194 PyThreadState* __tstate = wxPyBeginAllowThreads();
8195 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8196
8197 wxPyEndAllowThreads(__tstate);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
8200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8201 return resultobj;
8202 fail:
8203 return NULL;
8204 }
8205
8206
8207 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8208 PyObject *resultobj;
8209 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8210 PyObject * obj0 = 0 ;
8211 char *kwnames[] = {
8212 (char *) "self", NULL
8213 };
8214
8215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8218 {
8219 PyThreadState* __tstate = wxPyBeginAllowThreads();
8220 delete arg1;
8221
8222 wxPyEndAllowThreads(__tstate);
8223 if (PyErr_Occurred()) SWIG_fail;
8224 }
8225 Py_INCREF(Py_None); resultobj = Py_None;
8226 return resultobj;
8227 fail:
8228 return NULL;
8229 }
8230
8231
8232 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8233 PyObject *resultobj;
8234 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8235 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8236 wxRect *arg3 = (wxRect *) NULL ;
8237 bool result;
8238 PyObject * obj0 = 0 ;
8239 PyObject * obj1 = 0 ;
8240 PyObject * obj2 = 0 ;
8241 char *kwnames[] = {
8242 (char *) "self",(char *) "frame",(char *) "rect", NULL
8243 };
8244
8245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8248 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8250 if (obj2) {
8251 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8253 }
8254 {
8255 PyThreadState* __tstate = wxPyBeginAllowThreads();
8256 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8257
8258 wxPyEndAllowThreads(__tstate);
8259 if (PyErr_Occurred()) SWIG_fail;
8260 }
8261 {
8262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8263 }
8264 return resultobj;
8265 fail:
8266 return NULL;
8267 }
8268
8269
8270 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8271 PyObject *resultobj;
8272 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8273 wxFrame *arg2 = (wxFrame *) 0 ;
8274 wxWindow *arg3 = (wxWindow *) NULL ;
8275 bool result;
8276 PyObject * obj0 = 0 ;
8277 PyObject * obj1 = 0 ;
8278 PyObject * obj2 = 0 ;
8279 char *kwnames[] = {
8280 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8281 };
8282
8283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8286 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8288 if (obj2) {
8289 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8291 }
8292 {
8293 PyThreadState* __tstate = wxPyBeginAllowThreads();
8294 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8295
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
8299 {
8300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8301 }
8302 return resultobj;
8303 fail:
8304 return NULL;
8305 }
8306
8307
8308 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8309 PyObject *resultobj;
8310 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8311 wxWindow *arg2 = (wxWindow *) 0 ;
8312 wxWindow *arg3 = (wxWindow *) NULL ;
8313 bool result;
8314 PyObject * obj0 = 0 ;
8315 PyObject * obj1 = 0 ;
8316 PyObject * obj2 = 0 ;
8317 char *kwnames[] = {
8318 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8319 };
8320
8321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8324 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8326 if (obj2) {
8327 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8329 }
8330 {
8331 PyThreadState* __tstate = wxPyBeginAllowThreads();
8332 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8333
8334 wxPyEndAllowThreads(__tstate);
8335 if (PyErr_Occurred()) SWIG_fail;
8336 }
8337 {
8338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8339 }
8340 return resultobj;
8341 fail:
8342 return NULL;
8343 }
8344
8345
8346 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8347 PyObject *obj;
8348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8349 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8350 Py_INCREF(obj);
8351 return Py_BuildValue((char *)"");
8352 }
8353 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8354 PyObject *resultobj;
8355 wxWindow *arg1 = (wxWindow *) 0 ;
8356 int arg2 = (int) wxBORDER_NONE ;
8357 wxPopupWindow *result;
8358 PyObject * obj0 = 0 ;
8359 PyObject * obj1 = 0 ;
8360 char *kwnames[] = {
8361 (char *) "parent",(char *) "flags", NULL
8362 };
8363
8364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8367 if (obj1) {
8368 arg2 = (int) SWIG_AsInt(obj1);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 {
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8374
8375 wxPyEndAllowThreads(__tstate);
8376 if (PyErr_Occurred()) SWIG_fail;
8377 }
8378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8379 return resultobj;
8380 fail:
8381 return NULL;
8382 }
8383
8384
8385 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8386 PyObject *resultobj;
8387 wxPopupWindow *result;
8388 char *kwnames[] = {
8389 NULL
8390 };
8391
8392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8393 {
8394 PyThreadState* __tstate = wxPyBeginAllowThreads();
8395 result = (wxPopupWindow *)new wxPopupWindow();
8396
8397 wxPyEndAllowThreads(__tstate);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
8400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8401 return resultobj;
8402 fail:
8403 return NULL;
8404 }
8405
8406
8407 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8408 PyObject *resultobj;
8409 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8410 wxWindow *arg2 = (wxWindow *) 0 ;
8411 int arg3 = (int) wxBORDER_NONE ;
8412 bool result;
8413 PyObject * obj0 = 0 ;
8414 PyObject * obj1 = 0 ;
8415 PyObject * obj2 = 0 ;
8416 char *kwnames[] = {
8417 (char *) "self",(char *) "parent",(char *) "flags", NULL
8418 };
8419
8420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8423 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8425 if (obj2) {
8426 arg3 = (int) SWIG_AsInt(obj2);
8427 if (PyErr_Occurred()) SWIG_fail;
8428 }
8429 {
8430 PyThreadState* __tstate = wxPyBeginAllowThreads();
8431 result = (bool)(arg1)->Create(arg2,arg3);
8432
8433 wxPyEndAllowThreads(__tstate);
8434 if (PyErr_Occurred()) SWIG_fail;
8435 }
8436 {
8437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8438 }
8439 return resultobj;
8440 fail:
8441 return NULL;
8442 }
8443
8444
8445 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8446 PyObject *resultobj;
8447 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8448 wxPoint *arg2 = 0 ;
8449 wxSize *arg3 = 0 ;
8450 wxPoint temp2 ;
8451 wxSize temp3 ;
8452 PyObject * obj0 = 0 ;
8453 PyObject * obj1 = 0 ;
8454 PyObject * obj2 = 0 ;
8455 char *kwnames[] = {
8456 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8457 };
8458
8459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8462 {
8463 arg2 = &temp2;
8464 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8465 }
8466 {
8467 arg3 = &temp3;
8468 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8469 }
8470 {
8471 PyThreadState* __tstate = wxPyBeginAllowThreads();
8472 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8473
8474 wxPyEndAllowThreads(__tstate);
8475 if (PyErr_Occurred()) SWIG_fail;
8476 }
8477 Py_INCREF(Py_None); resultobj = Py_None;
8478 return resultobj;
8479 fail:
8480 return NULL;
8481 }
8482
8483
8484 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8485 PyObject *obj;
8486 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8487 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8488 Py_INCREF(obj);
8489 return Py_BuildValue((char *)"");
8490 }
8491 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8492 PyObject *resultobj;
8493 wxWindow *arg1 = (wxWindow *) 0 ;
8494 int arg2 = (int) wxBORDER_NONE ;
8495 wxPyPopupTransientWindow *result;
8496 PyObject * obj0 = 0 ;
8497 PyObject * obj1 = 0 ;
8498 char *kwnames[] = {
8499 (char *) "parent",(char *) "style", NULL
8500 };
8501
8502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8505 if (obj1) {
8506 arg2 = (int) SWIG_AsInt(obj1);
8507 if (PyErr_Occurred()) SWIG_fail;
8508 }
8509 {
8510 PyThreadState* __tstate = wxPyBeginAllowThreads();
8511 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8512
8513 wxPyEndAllowThreads(__tstate);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 }
8516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8517 return resultobj;
8518 fail:
8519 return NULL;
8520 }
8521
8522
8523 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8524 PyObject *resultobj;
8525 wxPyPopupTransientWindow *result;
8526 char *kwnames[] = {
8527 NULL
8528 };
8529
8530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8531 {
8532 PyThreadState* __tstate = wxPyBeginAllowThreads();
8533 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8534
8535 wxPyEndAllowThreads(__tstate);
8536 if (PyErr_Occurred()) SWIG_fail;
8537 }
8538 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8539 return resultobj;
8540 fail:
8541 return NULL;
8542 }
8543
8544
8545 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8546 PyObject *resultobj;
8547 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8548 PyObject *arg2 = (PyObject *) 0 ;
8549 PyObject *arg3 = (PyObject *) 0 ;
8550 PyObject * obj0 = 0 ;
8551 PyObject * obj1 = 0 ;
8552 PyObject * obj2 = 0 ;
8553 char *kwnames[] = {
8554 (char *) "self",(char *) "self",(char *) "_class", NULL
8555 };
8556
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8560 arg2 = obj1;
8561 arg3 = obj2;
8562 {
8563 PyThreadState* __tstate = wxPyBeginAllowThreads();
8564 (arg1)->_setCallbackInfo(arg2,arg3);
8565
8566 wxPyEndAllowThreads(__tstate);
8567 if (PyErr_Occurred()) SWIG_fail;
8568 }
8569 Py_INCREF(Py_None); resultobj = Py_None;
8570 return resultobj;
8571 fail:
8572 return NULL;
8573 }
8574
8575
8576 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8577 PyObject *resultobj;
8578 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8579 wxWindow *arg2 = (wxWindow *) NULL ;
8580 PyObject * obj0 = 0 ;
8581 PyObject * obj1 = 0 ;
8582 char *kwnames[] = {
8583 (char *) "self",(char *) "focus", NULL
8584 };
8585
8586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8589 if (obj1) {
8590 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8592 }
8593 {
8594 PyThreadState* __tstate = wxPyBeginAllowThreads();
8595 (arg1)->Popup(arg2);
8596
8597 wxPyEndAllowThreads(__tstate);
8598 if (PyErr_Occurred()) SWIG_fail;
8599 }
8600 Py_INCREF(Py_None); resultobj = Py_None;
8601 return resultobj;
8602 fail:
8603 return NULL;
8604 }
8605
8606
8607 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8608 PyObject *resultobj;
8609 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8610 PyObject * obj0 = 0 ;
8611 char *kwnames[] = {
8612 (char *) "self", NULL
8613 };
8614
8615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8618 {
8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
8620 (arg1)->Dismiss();
8621
8622 wxPyEndAllowThreads(__tstate);
8623 if (PyErr_Occurred()) SWIG_fail;
8624 }
8625 Py_INCREF(Py_None); resultobj = Py_None;
8626 return resultobj;
8627 fail:
8628 return NULL;
8629 }
8630
8631
8632 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8633 PyObject *obj;
8634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8635 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8636 Py_INCREF(obj);
8637 return Py_BuildValue((char *)"");
8638 }
8639 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8640 PyObject *resultobj;
8641 wxWindow *arg1 = (wxWindow *) 0 ;
8642 wxString *arg2 = 0 ;
8643 int arg3 = (int) 100 ;
8644 wxRect *arg4 = (wxRect *) NULL ;
8645 wxTipWindow *result;
8646 bool temp2 = False ;
8647 PyObject * obj0 = 0 ;
8648 PyObject * obj1 = 0 ;
8649 PyObject * obj2 = 0 ;
8650 PyObject * obj3 = 0 ;
8651 char *kwnames[] = {
8652 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8653 };
8654
8655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8658 {
8659 arg2 = wxString_in_helper(obj1);
8660 if (arg2 == NULL) SWIG_fail;
8661 temp2 = True;
8662 }
8663 if (obj2) {
8664 arg3 = (int) SWIG_AsInt(obj2);
8665 if (PyErr_Occurred()) SWIG_fail;
8666 }
8667 if (obj3) {
8668 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8670 }
8671 {
8672 PyThreadState* __tstate = wxPyBeginAllowThreads();
8673 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8674
8675 wxPyEndAllowThreads(__tstate);
8676 if (PyErr_Occurred()) SWIG_fail;
8677 }
8678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8679 {
8680 if (temp2)
8681 delete arg2;
8682 }
8683 return resultobj;
8684 fail:
8685 {
8686 if (temp2)
8687 delete arg2;
8688 }
8689 return NULL;
8690 }
8691
8692
8693 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj;
8695 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8696 wxRect *arg2 = 0 ;
8697 wxRect temp2 ;
8698 PyObject * obj0 = 0 ;
8699 PyObject * obj1 = 0 ;
8700 char *kwnames[] = {
8701 (char *) "self",(char *) "rectBound", NULL
8702 };
8703
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8707 {
8708 arg2 = &temp2;
8709 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8710 }
8711 {
8712 PyThreadState* __tstate = wxPyBeginAllowThreads();
8713 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8714
8715 wxPyEndAllowThreads(__tstate);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 Py_INCREF(Py_None); resultobj = Py_None;
8719 return resultobj;
8720 fail:
8721 return NULL;
8722 }
8723
8724
8725 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj;
8727 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8728 PyObject * obj0 = 0 ;
8729 char *kwnames[] = {
8730 (char *) "self", NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 (arg1)->Close();
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 Py_INCREF(Py_None); resultobj = Py_None;
8744 return resultobj;
8745 fail:
8746 return NULL;
8747 }
8748
8749
8750 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8751 PyObject *obj;
8752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8753 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8754 Py_INCREF(obj);
8755 return Py_BuildValue((char *)"");
8756 }
8757 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8758 PyObject *resultobj;
8759 wxWindow *arg1 = (wxWindow *) 0 ;
8760 int arg2 = (int) wxID_ANY ;
8761 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8762 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8763 wxSize const &arg4_defvalue = wxDefaultSize ;
8764 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8765 long arg5 = (long) 0 ;
8766 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8767 wxString *arg6 = (wxString *) &arg6_defvalue ;
8768 wxPyVScrolledWindow *result;
8769 wxPoint temp3 ;
8770 wxSize temp4 ;
8771 bool temp6 = False ;
8772 PyObject * obj0 = 0 ;
8773 PyObject * obj1 = 0 ;
8774 PyObject * obj2 = 0 ;
8775 PyObject * obj3 = 0 ;
8776 PyObject * obj4 = 0 ;
8777 PyObject * obj5 = 0 ;
8778 char *kwnames[] = {
8779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8780 };
8781
8782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8785 if (obj1) {
8786 arg2 = (int) SWIG_AsInt(obj1);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 }
8789 if (obj2) {
8790 {
8791 arg3 = &temp3;
8792 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8793 }
8794 }
8795 if (obj3) {
8796 {
8797 arg4 = &temp4;
8798 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8799 }
8800 }
8801 if (obj4) {
8802 arg5 = (long) SWIG_AsLong(obj4);
8803 if (PyErr_Occurred()) SWIG_fail;
8804 }
8805 if (obj5) {
8806 {
8807 arg6 = wxString_in_helper(obj5);
8808 if (arg6 == NULL) SWIG_fail;
8809 temp6 = True;
8810 }
8811 }
8812 {
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8815
8816 wxPyEndAllowThreads(__tstate);
8817 if (PyErr_Occurred()) SWIG_fail;
8818 }
8819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8820 {
8821 if (temp6)
8822 delete arg6;
8823 }
8824 return resultobj;
8825 fail:
8826 {
8827 if (temp6)
8828 delete arg6;
8829 }
8830 return NULL;
8831 }
8832
8833
8834 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8835 PyObject *resultobj;
8836 wxPyVScrolledWindow *result;
8837 char *kwnames[] = {
8838 NULL
8839 };
8840
8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8842 {
8843 PyThreadState* __tstate = wxPyBeginAllowThreads();
8844 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8845
8846 wxPyEndAllowThreads(__tstate);
8847 if (PyErr_Occurred()) SWIG_fail;
8848 }
8849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8850 return resultobj;
8851 fail:
8852 return NULL;
8853 }
8854
8855
8856 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8857 PyObject *resultobj;
8858 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8859 PyObject *arg2 = (PyObject *) 0 ;
8860 PyObject *arg3 = (PyObject *) 0 ;
8861 PyObject * obj0 = 0 ;
8862 PyObject * obj1 = 0 ;
8863 PyObject * obj2 = 0 ;
8864 char *kwnames[] = {
8865 (char *) "self",(char *) "self",(char *) "_class", NULL
8866 };
8867
8868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8871 arg2 = obj1;
8872 arg3 = obj2;
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 (arg1)->_setCallbackInfo(arg2,arg3);
8876
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 Py_INCREF(Py_None); resultobj = Py_None;
8881 return resultobj;
8882 fail:
8883 return NULL;
8884 }
8885
8886
8887 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8888 PyObject *resultobj;
8889 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8890 wxWindow *arg2 = (wxWindow *) 0 ;
8891 int arg3 = (int) wxID_ANY ;
8892 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8893 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8894 wxSize const &arg5_defvalue = wxDefaultSize ;
8895 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8896 long arg6 = (long) 0 ;
8897 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8898 wxString *arg7 = (wxString *) &arg7_defvalue ;
8899 bool result;
8900 wxPoint temp4 ;
8901 wxSize temp5 ;
8902 bool temp7 = False ;
8903 PyObject * obj0 = 0 ;
8904 PyObject * obj1 = 0 ;
8905 PyObject * obj2 = 0 ;
8906 PyObject * obj3 = 0 ;
8907 PyObject * obj4 = 0 ;
8908 PyObject * obj5 = 0 ;
8909 PyObject * obj6 = 0 ;
8910 char *kwnames[] = {
8911 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8912 };
8913
8914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8919 if (obj2) {
8920 arg3 = (int) SWIG_AsInt(obj2);
8921 if (PyErr_Occurred()) SWIG_fail;
8922 }
8923 if (obj3) {
8924 {
8925 arg4 = &temp4;
8926 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8927 }
8928 }
8929 if (obj4) {
8930 {
8931 arg5 = &temp5;
8932 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8933 }
8934 }
8935 if (obj5) {
8936 arg6 = (long) SWIG_AsLong(obj5);
8937 if (PyErr_Occurred()) SWIG_fail;
8938 }
8939 if (obj6) {
8940 {
8941 arg7 = wxString_in_helper(obj6);
8942 if (arg7 == NULL) SWIG_fail;
8943 temp7 = True;
8944 }
8945 }
8946 {
8947 PyThreadState* __tstate = wxPyBeginAllowThreads();
8948 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8949
8950 wxPyEndAllowThreads(__tstate);
8951 if (PyErr_Occurred()) SWIG_fail;
8952 }
8953 {
8954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8955 }
8956 {
8957 if (temp7)
8958 delete arg7;
8959 }
8960 return resultobj;
8961 fail:
8962 {
8963 if (temp7)
8964 delete arg7;
8965 }
8966 return NULL;
8967 }
8968
8969
8970 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8971 PyObject *resultobj;
8972 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8973 size_t arg2 ;
8974 PyObject * obj0 = 0 ;
8975 PyObject * obj1 = 0 ;
8976 char *kwnames[] = {
8977 (char *) "self",(char *) "count", NULL
8978 };
8979
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8983 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 {
8986 PyThreadState* __tstate = wxPyBeginAllowThreads();
8987 (arg1)->SetLineCount(arg2);
8988
8989 wxPyEndAllowThreads(__tstate);
8990 if (PyErr_Occurred()) SWIG_fail;
8991 }
8992 Py_INCREF(Py_None); resultobj = Py_None;
8993 return resultobj;
8994 fail:
8995 return NULL;
8996 }
8997
8998
8999 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9000 PyObject *resultobj;
9001 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9002 size_t arg2 ;
9003 bool result;
9004 PyObject * obj0 = 0 ;
9005 PyObject * obj1 = 0 ;
9006 char *kwnames[] = {
9007 (char *) "self",(char *) "line", NULL
9008 };
9009
9010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9013 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9014 if (PyErr_Occurred()) SWIG_fail;
9015 {
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 result = (bool)(arg1)->ScrollToLine(arg2);
9018
9019 wxPyEndAllowThreads(__tstate);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 }
9022 {
9023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9024 }
9025 return resultobj;
9026 fail:
9027 return NULL;
9028 }
9029
9030
9031 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9032 PyObject *resultobj;
9033 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9034 int arg2 ;
9035 bool result;
9036 PyObject * obj0 = 0 ;
9037 PyObject * obj1 = 0 ;
9038 char *kwnames[] = {
9039 (char *) "self",(char *) "lines", NULL
9040 };
9041
9042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9045 arg2 = (int) SWIG_AsInt(obj1);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 result = (bool)(arg1)->ScrollLines(arg2);
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 {
9055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9056 }
9057 return resultobj;
9058 fail:
9059 return NULL;
9060 }
9061
9062
9063 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9064 PyObject *resultobj;
9065 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9066 int arg2 ;
9067 bool result;
9068 PyObject * obj0 = 0 ;
9069 PyObject * obj1 = 0 ;
9070 char *kwnames[] = {
9071 (char *) "self",(char *) "pages", NULL
9072 };
9073
9074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9077 arg2 = (int) SWIG_AsInt(obj1);
9078 if (PyErr_Occurred()) SWIG_fail;
9079 {
9080 PyThreadState* __tstate = wxPyBeginAllowThreads();
9081 result = (bool)(arg1)->ScrollPages(arg2);
9082
9083 wxPyEndAllowThreads(__tstate);
9084 if (PyErr_Occurred()) SWIG_fail;
9085 }
9086 {
9087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9088 }
9089 return resultobj;
9090 fail:
9091 return NULL;
9092 }
9093
9094
9095 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9096 PyObject *resultobj;
9097 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9098 size_t arg2 ;
9099 PyObject * obj0 = 0 ;
9100 PyObject * obj1 = 0 ;
9101 char *kwnames[] = {
9102 (char *) "self",(char *) "line", NULL
9103 };
9104
9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9108 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 (arg1)->RefreshLine(arg2);
9113
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 Py_INCREF(Py_None); resultobj = Py_None;
9118 return resultobj;
9119 fail:
9120 return NULL;
9121 }
9122
9123
9124 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9125 PyObject *resultobj;
9126 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9127 size_t arg2 ;
9128 size_t arg3 ;
9129 PyObject * obj0 = 0 ;
9130 PyObject * obj1 = 0 ;
9131 PyObject * obj2 = 0 ;
9132 char *kwnames[] = {
9133 (char *) "self",(char *) "from",(char *) "to", NULL
9134 };
9135
9136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9139 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 {
9144 PyThreadState* __tstate = wxPyBeginAllowThreads();
9145 (arg1)->RefreshLines(arg2,arg3);
9146
9147 wxPyEndAllowThreads(__tstate);
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
9150 Py_INCREF(Py_None); resultobj = Py_None;
9151 return resultobj;
9152 fail:
9153 return NULL;
9154 }
9155
9156
9157 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9158 PyObject *resultobj;
9159 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9160 int arg2 ;
9161 int arg3 ;
9162 int result;
9163 PyObject * obj0 = 0 ;
9164 PyObject * obj1 = 0 ;
9165 PyObject * obj2 = 0 ;
9166 char *kwnames[] = {
9167 (char *) "self",(char *) "x",(char *) "y", NULL
9168 };
9169
9170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9173 arg2 = (int) SWIG_AsInt(obj1);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 arg3 = (int) SWIG_AsInt(obj2);
9176 if (PyErr_Occurred()) SWIG_fail;
9177 {
9178 PyThreadState* __tstate = wxPyBeginAllowThreads();
9179 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9180
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) SWIG_fail;
9183 }
9184 resultobj = SWIG_FromInt((int)result);
9185 return resultobj;
9186 fail:
9187 return NULL;
9188 }
9189
9190
9191 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9192 PyObject *resultobj;
9193 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9194 wxPoint *arg2 = 0 ;
9195 int result;
9196 wxPoint temp2 ;
9197 PyObject * obj0 = 0 ;
9198 PyObject * obj1 = 0 ;
9199 char *kwnames[] = {
9200 (char *) "self",(char *) "pt", NULL
9201 };
9202
9203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9206 {
9207 arg2 = &temp2;
9208 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9209 }
9210 {
9211 PyThreadState* __tstate = wxPyBeginAllowThreads();
9212 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9213
9214 wxPyEndAllowThreads(__tstate);
9215 if (PyErr_Occurred()) SWIG_fail;
9216 }
9217 resultobj = SWIG_FromInt((int)result);
9218 return resultobj;
9219 fail:
9220 return NULL;
9221 }
9222
9223
9224 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9225 PyObject *resultobj;
9226 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9227 PyObject * obj0 = 0 ;
9228 char *kwnames[] = {
9229 (char *) "self", NULL
9230 };
9231
9232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9235 {
9236 PyThreadState* __tstate = wxPyBeginAllowThreads();
9237 (arg1)->RefreshAll();
9238
9239 wxPyEndAllowThreads(__tstate);
9240 if (PyErr_Occurred()) SWIG_fail;
9241 }
9242 Py_INCREF(Py_None); resultobj = Py_None;
9243 return resultobj;
9244 fail:
9245 return NULL;
9246 }
9247
9248
9249 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9250 PyObject *resultobj;
9251 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9252 size_t result;
9253 PyObject * obj0 = 0 ;
9254 char *kwnames[] = {
9255 (char *) "self", NULL
9256 };
9257
9258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9264
9265 wxPyEndAllowThreads(__tstate);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 }
9268 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9269 return resultobj;
9270 fail:
9271 return NULL;
9272 }
9273
9274
9275 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9276 PyObject *resultobj;
9277 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9278 size_t result;
9279 PyObject * obj0 = 0 ;
9280 char *kwnames[] = {
9281 (char *) "self", NULL
9282 };
9283
9284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9287 {
9288 PyThreadState* __tstate = wxPyBeginAllowThreads();
9289 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9290
9291 wxPyEndAllowThreads(__tstate);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 }
9294 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9295 return resultobj;
9296 fail:
9297 return NULL;
9298 }
9299
9300
9301 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9302 PyObject *resultobj;
9303 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9304 size_t result;
9305 PyObject * obj0 = 0 ;
9306 char *kwnames[] = {
9307 (char *) "self", NULL
9308 };
9309
9310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9313 {
9314 PyThreadState* __tstate = wxPyBeginAllowThreads();
9315 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9316
9317 wxPyEndAllowThreads(__tstate);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 }
9320 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9321 return resultobj;
9322 fail:
9323 return NULL;
9324 }
9325
9326
9327 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9328 PyObject *resultobj;
9329 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9330 size_t arg2 ;
9331 bool result;
9332 PyObject * obj0 = 0 ;
9333 PyObject * obj1 = 0 ;
9334 char *kwnames[] = {
9335 (char *) "self",(char *) "line", NULL
9336 };
9337
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9341 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9342 if (PyErr_Occurred()) SWIG_fail;
9343 {
9344 PyThreadState* __tstate = wxPyBeginAllowThreads();
9345 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9346
9347 wxPyEndAllowThreads(__tstate);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
9350 {
9351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9352 }
9353 return resultobj;
9354 fail:
9355 return NULL;
9356 }
9357
9358
9359 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9360 PyObject *obj;
9361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9362 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9363 Py_INCREF(obj);
9364 return Py_BuildValue((char *)"");
9365 }
9366 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9367 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9368 return 1;
9369 }
9370
9371
9372 static PyObject *_wrap_VListBoxNameStr_get() {
9373 PyObject *pyobj;
9374
9375 {
9376 #if wxUSE_UNICODE
9377 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9378 #else
9379 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9380 #endif
9381 }
9382 return pyobj;
9383 }
9384
9385
9386 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9387 PyObject *resultobj;
9388 wxWindow *arg1 = (wxWindow *) 0 ;
9389 int arg2 = (int) wxID_ANY ;
9390 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9391 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9392 wxSize const &arg4_defvalue = wxDefaultSize ;
9393 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9394 long arg5 = (long) 0 ;
9395 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9396 wxString *arg6 = (wxString *) &arg6_defvalue ;
9397 wxPyVListBox *result;
9398 wxPoint temp3 ;
9399 wxSize temp4 ;
9400 bool temp6 = False ;
9401 PyObject * obj0 = 0 ;
9402 PyObject * obj1 = 0 ;
9403 PyObject * obj2 = 0 ;
9404 PyObject * obj3 = 0 ;
9405 PyObject * obj4 = 0 ;
9406 PyObject * obj5 = 0 ;
9407 char *kwnames[] = {
9408 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9409 };
9410
9411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9414 if (obj1) {
9415 arg2 = (int) SWIG_AsInt(obj1);
9416 if (PyErr_Occurred()) SWIG_fail;
9417 }
9418 if (obj2) {
9419 {
9420 arg3 = &temp3;
9421 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9422 }
9423 }
9424 if (obj3) {
9425 {
9426 arg4 = &temp4;
9427 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9428 }
9429 }
9430 if (obj4) {
9431 arg5 = (long) SWIG_AsLong(obj4);
9432 if (PyErr_Occurred()) SWIG_fail;
9433 }
9434 if (obj5) {
9435 {
9436 arg6 = wxString_in_helper(obj5);
9437 if (arg6 == NULL) SWIG_fail;
9438 temp6 = True;
9439 }
9440 }
9441 {
9442 PyThreadState* __tstate = wxPyBeginAllowThreads();
9443 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9444
9445 wxPyEndAllowThreads(__tstate);
9446 if (PyErr_Occurred()) SWIG_fail;
9447 }
9448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9449 {
9450 if (temp6)
9451 delete arg6;
9452 }
9453 return resultobj;
9454 fail:
9455 {
9456 if (temp6)
9457 delete arg6;
9458 }
9459 return NULL;
9460 }
9461
9462
9463 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9464 PyObject *resultobj;
9465 wxPyVListBox *result;
9466 char *kwnames[] = {
9467 NULL
9468 };
9469
9470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9471 {
9472 PyThreadState* __tstate = wxPyBeginAllowThreads();
9473 result = (wxPyVListBox *)new wxPyVListBox();
9474
9475 wxPyEndAllowThreads(__tstate);
9476 if (PyErr_Occurred()) SWIG_fail;
9477 }
9478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9479 return resultobj;
9480 fail:
9481 return NULL;
9482 }
9483
9484
9485 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9486 PyObject *resultobj;
9487 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9488 PyObject *arg2 = (PyObject *) 0 ;
9489 PyObject *arg3 = (PyObject *) 0 ;
9490 PyObject * obj0 = 0 ;
9491 PyObject * obj1 = 0 ;
9492 PyObject * obj2 = 0 ;
9493 char *kwnames[] = {
9494 (char *) "self",(char *) "self",(char *) "_class", NULL
9495 };
9496
9497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9500 arg2 = obj1;
9501 arg3 = obj2;
9502 {
9503 PyThreadState* __tstate = wxPyBeginAllowThreads();
9504 (arg1)->_setCallbackInfo(arg2,arg3);
9505
9506 wxPyEndAllowThreads(__tstate);
9507 if (PyErr_Occurred()) SWIG_fail;
9508 }
9509 Py_INCREF(Py_None); resultobj = Py_None;
9510 return resultobj;
9511 fail:
9512 return NULL;
9513 }
9514
9515
9516 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9517 PyObject *resultobj;
9518 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9519 wxWindow *arg2 = (wxWindow *) 0 ;
9520 int arg3 = (int) wxID_ANY ;
9521 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9522 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9523 wxSize const &arg5_defvalue = wxDefaultSize ;
9524 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9525 long arg6 = (long) 0 ;
9526 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9527 wxString *arg7 = (wxString *) &arg7_defvalue ;
9528 bool result;
9529 wxPoint temp4 ;
9530 wxSize temp5 ;
9531 bool temp7 = False ;
9532 PyObject * obj0 = 0 ;
9533 PyObject * obj1 = 0 ;
9534 PyObject * obj2 = 0 ;
9535 PyObject * obj3 = 0 ;
9536 PyObject * obj4 = 0 ;
9537 PyObject * obj5 = 0 ;
9538 PyObject * obj6 = 0 ;
9539 char *kwnames[] = {
9540 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9541 };
9542
9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9548 if (obj2) {
9549 arg3 = (int) SWIG_AsInt(obj2);
9550 if (PyErr_Occurred()) SWIG_fail;
9551 }
9552 if (obj3) {
9553 {
9554 arg4 = &temp4;
9555 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9556 }
9557 }
9558 if (obj4) {
9559 {
9560 arg5 = &temp5;
9561 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9562 }
9563 }
9564 if (obj5) {
9565 arg6 = (long) SWIG_AsLong(obj5);
9566 if (PyErr_Occurred()) SWIG_fail;
9567 }
9568 if (obj6) {
9569 {
9570 arg7 = wxString_in_helper(obj6);
9571 if (arg7 == NULL) SWIG_fail;
9572 temp7 = True;
9573 }
9574 }
9575 {
9576 PyThreadState* __tstate = wxPyBeginAllowThreads();
9577 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9578
9579 wxPyEndAllowThreads(__tstate);
9580 if (PyErr_Occurred()) SWIG_fail;
9581 }
9582 {
9583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9584 }
9585 {
9586 if (temp7)
9587 delete arg7;
9588 }
9589 return resultobj;
9590 fail:
9591 {
9592 if (temp7)
9593 delete arg7;
9594 }
9595 return NULL;
9596 }
9597
9598
9599 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9600 PyObject *resultobj;
9601 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9602 size_t result;
9603 PyObject * obj0 = 0 ;
9604 char *kwnames[] = {
9605 (char *) "self", NULL
9606 };
9607
9608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9619 return resultobj;
9620 fail:
9621 return NULL;
9622 }
9623
9624
9625 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9628 bool result;
9629 PyObject * obj0 = 0 ;
9630 char *kwnames[] = {
9631 (char *) "self", NULL
9632 };
9633
9634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9637 {
9638 PyThreadState* __tstate = wxPyBeginAllowThreads();
9639 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9640
9641 wxPyEndAllowThreads(__tstate);
9642 if (PyErr_Occurred()) SWIG_fail;
9643 }
9644 {
9645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9646 }
9647 return resultobj;
9648 fail:
9649 return NULL;
9650 }
9651
9652
9653 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9654 PyObject *resultobj;
9655 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9656 int result;
9657 PyObject * obj0 = 0 ;
9658 char *kwnames[] = {
9659 (char *) "self", NULL
9660 };
9661
9662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
9667 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9668
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
9672 resultobj = SWIG_FromInt((int)result);
9673 return resultobj;
9674 fail:
9675 return NULL;
9676 }
9677
9678
9679 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9680 PyObject *resultobj;
9681 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9682 size_t arg2 ;
9683 bool result;
9684 PyObject * obj0 = 0 ;
9685 PyObject * obj1 = 0 ;
9686 char *kwnames[] = {
9687 (char *) "self",(char *) "item", NULL
9688 };
9689
9690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9693 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 {
9696 PyThreadState* __tstate = wxPyBeginAllowThreads();
9697 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9698
9699 wxPyEndAllowThreads(__tstate);
9700 if (PyErr_Occurred()) SWIG_fail;
9701 }
9702 {
9703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9704 }
9705 return resultobj;
9706 fail:
9707 return NULL;
9708 }
9709
9710
9711 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9712 PyObject *resultobj;
9713 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9714 size_t arg2 ;
9715 bool result;
9716 PyObject * obj0 = 0 ;
9717 PyObject * obj1 = 0 ;
9718 char *kwnames[] = {
9719 (char *) "self",(char *) "item", NULL
9720 };
9721
9722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9725 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9726 if (PyErr_Occurred()) SWIG_fail;
9727 {
9728 PyThreadState* __tstate = wxPyBeginAllowThreads();
9729 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9730
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
9734 {
9735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9736 }
9737 return resultobj;
9738 fail:
9739 return NULL;
9740 }
9741
9742
9743 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9744 PyObject *resultobj;
9745 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9746 size_t result;
9747 PyObject * obj0 = 0 ;
9748 char *kwnames[] = {
9749 (char *) "self", NULL
9750 };
9751
9752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9755 {
9756 PyThreadState* __tstate = wxPyBeginAllowThreads();
9757 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9758
9759 wxPyEndAllowThreads(__tstate);
9760 if (PyErr_Occurred()) SWIG_fail;
9761 }
9762 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9763 return resultobj;
9764 fail:
9765 return NULL;
9766 }
9767
9768
9769 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9770 PyObject *resultobj;
9771 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9772 unsigned long *arg2 = 0 ;
9773 int result;
9774 PyObject * obj0 = 0 ;
9775 PyObject * obj1 = 0 ;
9776 char *kwnames[] = {
9777 (char *) "self",(char *) "cookie", NULL
9778 };
9779
9780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9784 SWIG_POINTER_EXCEPTION | 0)) == -1)
9785 SWIG_fail;
9786 if (arg2 == NULL) {
9787 PyErr_SetString(PyExc_TypeError,"null reference");
9788 SWIG_fail;
9789 }
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9793
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 resultobj = SWIG_FromInt((int)result);
9798 return resultobj;
9799 fail:
9800 return NULL;
9801 }
9802
9803
9804 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9805 PyObject *resultobj;
9806 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9807 unsigned long *arg2 = 0 ;
9808 int result;
9809 PyObject * obj0 = 0 ;
9810 PyObject * obj1 = 0 ;
9811 char *kwnames[] = {
9812 (char *) "self",(char *) "cookie", NULL
9813 };
9814
9815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9819 SWIG_POINTER_EXCEPTION | 0)) == -1)
9820 SWIG_fail;
9821 if (arg2 == NULL) {
9822 PyErr_SetString(PyExc_TypeError,"null reference");
9823 SWIG_fail;
9824 }
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 resultobj = SWIG_FromInt((int)result);
9833 return resultobj;
9834 fail:
9835 return NULL;
9836 }
9837
9838
9839 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9840 PyObject *resultobj;
9841 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9842 wxPoint result;
9843 PyObject * obj0 = 0 ;
9844 char *kwnames[] = {
9845 (char *) "self", NULL
9846 };
9847
9848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9851 {
9852 PyThreadState* __tstate = wxPyBeginAllowThreads();
9853 result = ((wxPyVListBox const *)arg1)->GetMargins();
9854
9855 wxPyEndAllowThreads(__tstate);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 }
9858 {
9859 wxPoint * resultptr;
9860 resultptr = new wxPoint((wxPoint &) result);
9861 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9862 }
9863 return resultobj;
9864 fail:
9865 return NULL;
9866 }
9867
9868
9869 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9870 PyObject *resultobj;
9871 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9872 wxColour *result;
9873 PyObject * obj0 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "self", NULL
9876 };
9877
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 {
9884 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9885 result = (wxColour *) &_result_ref;
9886 }
9887
9888 wxPyEndAllowThreads(__tstate);
9889 if (PyErr_Occurred()) SWIG_fail;
9890 }
9891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9892 return resultobj;
9893 fail:
9894 return NULL;
9895 }
9896
9897
9898 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9899 PyObject *resultobj;
9900 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9901 size_t arg2 ;
9902 PyObject * obj0 = 0 ;
9903 PyObject * obj1 = 0 ;
9904 char *kwnames[] = {
9905 (char *) "self",(char *) "count", NULL
9906 };
9907
9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9911 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 {
9914 PyThreadState* __tstate = wxPyBeginAllowThreads();
9915 (arg1)->SetItemCount(arg2);
9916
9917 wxPyEndAllowThreads(__tstate);
9918 if (PyErr_Occurred()) SWIG_fail;
9919 }
9920 Py_INCREF(Py_None); resultobj = Py_None;
9921 return resultobj;
9922 fail:
9923 return NULL;
9924 }
9925
9926
9927 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9928 PyObject *resultobj;
9929 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9930 PyObject * obj0 = 0 ;
9931 char *kwnames[] = {
9932 (char *) "self", NULL
9933 };
9934
9935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9938 {
9939 PyThreadState* __tstate = wxPyBeginAllowThreads();
9940 (arg1)->Clear();
9941
9942 wxPyEndAllowThreads(__tstate);
9943 if (PyErr_Occurred()) SWIG_fail;
9944 }
9945 Py_INCREF(Py_None); resultobj = Py_None;
9946 return resultobj;
9947 fail:
9948 return NULL;
9949 }
9950
9951
9952 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9953 PyObject *resultobj;
9954 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9955 int arg2 ;
9956 PyObject * obj0 = 0 ;
9957 PyObject * obj1 = 0 ;
9958 char *kwnames[] = {
9959 (char *) "self",(char *) "selection", NULL
9960 };
9961
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9965 arg2 = (int) SWIG_AsInt(obj1);
9966 if (PyErr_Occurred()) SWIG_fail;
9967 {
9968 PyThreadState* __tstate = wxPyBeginAllowThreads();
9969 (arg1)->SetSelection(arg2);
9970
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
9974 Py_INCREF(Py_None); resultobj = Py_None;
9975 return resultobj;
9976 fail:
9977 return NULL;
9978 }
9979
9980
9981 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9982 PyObject *resultobj;
9983 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9984 size_t arg2 ;
9985 bool arg3 = (bool) True ;
9986 bool result;
9987 PyObject * obj0 = 0 ;
9988 PyObject * obj1 = 0 ;
9989 PyObject * obj2 = 0 ;
9990 char *kwnames[] = {
9991 (char *) "self",(char *) "item",(char *) "select", NULL
9992 };
9993
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9997 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9998 if (PyErr_Occurred()) SWIG_fail;
9999 if (obj2) {
10000 arg3 = (bool) SWIG_AsBool(obj2);
10001 if (PyErr_Occurred()) SWIG_fail;
10002 }
10003 {
10004 PyThreadState* __tstate = wxPyBeginAllowThreads();
10005 result = (bool)(arg1)->Select(arg2,arg3);
10006
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 {
10011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10012 }
10013 return resultobj;
10014 fail:
10015 return NULL;
10016 }
10017
10018
10019 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10020 PyObject *resultobj;
10021 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10022 size_t arg2 ;
10023 size_t arg3 ;
10024 bool result;
10025 PyObject * obj0 = 0 ;
10026 PyObject * obj1 = 0 ;
10027 PyObject * obj2 = 0 ;
10028 char *kwnames[] = {
10029 (char *) "self",(char *) "from",(char *) "to", NULL
10030 };
10031
10032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10035 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10036 if (PyErr_Occurred()) SWIG_fail;
10037 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10038 if (PyErr_Occurred()) SWIG_fail;
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 result = (bool)(arg1)->SelectRange(arg2,arg3);
10042
10043 wxPyEndAllowThreads(__tstate);
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
10046 {
10047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10048 }
10049 return resultobj;
10050 fail:
10051 return NULL;
10052 }
10053
10054
10055 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10056 PyObject *resultobj;
10057 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10058 size_t arg2 ;
10059 PyObject * obj0 = 0 ;
10060 PyObject * obj1 = 0 ;
10061 char *kwnames[] = {
10062 (char *) "self",(char *) "item", NULL
10063 };
10064
10065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10068 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10069 if (PyErr_Occurred()) SWIG_fail;
10070 {
10071 PyThreadState* __tstate = wxPyBeginAllowThreads();
10072 (arg1)->Toggle(arg2);
10073
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 Py_INCREF(Py_None); resultobj = Py_None;
10078 return resultobj;
10079 fail:
10080 return NULL;
10081 }
10082
10083
10084 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10085 PyObject *resultobj;
10086 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10087 bool result;
10088 PyObject * obj0 = 0 ;
10089 char *kwnames[] = {
10090 (char *) "self", NULL
10091 };
10092
10093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10096 {
10097 PyThreadState* __tstate = wxPyBeginAllowThreads();
10098 result = (bool)(arg1)->SelectAll();
10099
10100 wxPyEndAllowThreads(__tstate);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 }
10103 {
10104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10105 }
10106 return resultobj;
10107 fail:
10108 return NULL;
10109 }
10110
10111
10112 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10113 PyObject *resultobj;
10114 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10115 bool result;
10116 PyObject * obj0 = 0 ;
10117 char *kwnames[] = {
10118 (char *) "self", NULL
10119 };
10120
10121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10124 {
10125 PyThreadState* __tstate = wxPyBeginAllowThreads();
10126 result = (bool)(arg1)->DeselectAll();
10127
10128 wxPyEndAllowThreads(__tstate);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 }
10131 {
10132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10133 }
10134 return resultobj;
10135 fail:
10136 return NULL;
10137 }
10138
10139
10140 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10141 PyObject *resultobj;
10142 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10143 wxPoint *arg2 = 0 ;
10144 wxPoint temp2 ;
10145 PyObject * obj0 = 0 ;
10146 PyObject * obj1 = 0 ;
10147 char *kwnames[] = {
10148 (char *) "self",(char *) "pt", NULL
10149 };
10150
10151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10154 {
10155 arg2 = &temp2;
10156 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10157 }
10158 {
10159 PyThreadState* __tstate = wxPyBeginAllowThreads();
10160 (arg1)->SetMargins((wxPoint const &)*arg2);
10161
10162 wxPyEndAllowThreads(__tstate);
10163 if (PyErr_Occurred()) SWIG_fail;
10164 }
10165 Py_INCREF(Py_None); resultobj = Py_None;
10166 return resultobj;
10167 fail:
10168 return NULL;
10169 }
10170
10171
10172 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10173 PyObject *resultobj;
10174 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10175 int arg2 ;
10176 int arg3 ;
10177 PyObject * obj0 = 0 ;
10178 PyObject * obj1 = 0 ;
10179 PyObject * obj2 = 0 ;
10180 char *kwnames[] = {
10181 (char *) "self",(char *) "x",(char *) "y", NULL
10182 };
10183
10184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10187 arg2 = (int) SWIG_AsInt(obj1);
10188 if (PyErr_Occurred()) SWIG_fail;
10189 arg3 = (int) SWIG_AsInt(obj2);
10190 if (PyErr_Occurred()) SWIG_fail;
10191 {
10192 PyThreadState* __tstate = wxPyBeginAllowThreads();
10193 (arg1)->SetMargins(arg2,arg3);
10194
10195 wxPyEndAllowThreads(__tstate);
10196 if (PyErr_Occurred()) SWIG_fail;
10197 }
10198 Py_INCREF(Py_None); resultobj = Py_None;
10199 return resultobj;
10200 fail:
10201 return NULL;
10202 }
10203
10204
10205 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10206 PyObject *resultobj;
10207 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10208 wxColour *arg2 = 0 ;
10209 wxColour temp2 ;
10210 PyObject * obj0 = 0 ;
10211 PyObject * obj1 = 0 ;
10212 char *kwnames[] = {
10213 (char *) "self",(char *) "col", NULL
10214 };
10215
10216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10219 {
10220 arg2 = &temp2;
10221 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10222 }
10223 {
10224 PyThreadState* __tstate = wxPyBeginAllowThreads();
10225 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10226
10227 wxPyEndAllowThreads(__tstate);
10228 if (PyErr_Occurred()) SWIG_fail;
10229 }
10230 Py_INCREF(Py_None); resultobj = Py_None;
10231 return resultobj;
10232 fail:
10233 return NULL;
10234 }
10235
10236
10237 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10238 PyObject *obj;
10239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10240 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10241 Py_INCREF(obj);
10242 return Py_BuildValue((char *)"");
10243 }
10244 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10245 PyObject *resultobj;
10246 wxWindow *arg1 = (wxWindow *) 0 ;
10247 int arg2 = (int) wxID_ANY ;
10248 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10249 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10250 wxSize const &arg4_defvalue = wxDefaultSize ;
10251 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10252 long arg5 = (long) 0 ;
10253 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10254 wxString *arg6 = (wxString *) &arg6_defvalue ;
10255 wxPyHtmlListBox *result;
10256 wxPoint temp3 ;
10257 wxSize temp4 ;
10258 bool temp6 = False ;
10259 PyObject * obj0 = 0 ;
10260 PyObject * obj1 = 0 ;
10261 PyObject * obj2 = 0 ;
10262 PyObject * obj3 = 0 ;
10263 PyObject * obj4 = 0 ;
10264 PyObject * obj5 = 0 ;
10265 char *kwnames[] = {
10266 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10267 };
10268
10269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10272 if (obj1) {
10273 arg2 = (int) SWIG_AsInt(obj1);
10274 if (PyErr_Occurred()) SWIG_fail;
10275 }
10276 if (obj2) {
10277 {
10278 arg3 = &temp3;
10279 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10280 }
10281 }
10282 if (obj3) {
10283 {
10284 arg4 = &temp4;
10285 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10286 }
10287 }
10288 if (obj4) {
10289 arg5 = (long) SWIG_AsLong(obj4);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 }
10292 if (obj5) {
10293 {
10294 arg6 = wxString_in_helper(obj5);
10295 if (arg6 == NULL) SWIG_fail;
10296 temp6 = True;
10297 }
10298 }
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10307 {
10308 if (temp6)
10309 delete arg6;
10310 }
10311 return resultobj;
10312 fail:
10313 {
10314 if (temp6)
10315 delete arg6;
10316 }
10317 return NULL;
10318 }
10319
10320
10321 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10322 PyObject *resultobj;
10323 wxPyHtmlListBox *result;
10324 char *kwnames[] = {
10325 NULL
10326 };
10327
10328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10329 {
10330 PyThreadState* __tstate = wxPyBeginAllowThreads();
10331 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10332
10333 wxPyEndAllowThreads(__tstate);
10334 if (PyErr_Occurred()) SWIG_fail;
10335 }
10336 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10337 return resultobj;
10338 fail:
10339 return NULL;
10340 }
10341
10342
10343 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10344 PyObject *resultobj;
10345 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10346 PyObject *arg2 = (PyObject *) 0 ;
10347 PyObject *arg3 = (PyObject *) 0 ;
10348 PyObject * obj0 = 0 ;
10349 PyObject * obj1 = 0 ;
10350 PyObject * obj2 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "self",(char *) "self",(char *) "_class", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10358 arg2 = obj1;
10359 arg3 = obj2;
10360 {
10361 PyThreadState* __tstate = wxPyBeginAllowThreads();
10362 (arg1)->_setCallbackInfo(arg2,arg3);
10363
10364 wxPyEndAllowThreads(__tstate);
10365 if (PyErr_Occurred()) SWIG_fail;
10366 }
10367 Py_INCREF(Py_None); resultobj = Py_None;
10368 return resultobj;
10369 fail:
10370 return NULL;
10371 }
10372
10373
10374 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10375 PyObject *resultobj;
10376 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10377 wxWindow *arg2 = (wxWindow *) 0 ;
10378 int arg3 = (int) wxID_ANY ;
10379 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10380 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10381 wxSize const &arg5_defvalue = wxDefaultSize ;
10382 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10383 long arg6 = (long) 0 ;
10384 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10385 wxString *arg7 = (wxString *) &arg7_defvalue ;
10386 bool result;
10387 wxPoint temp4 ;
10388 wxSize temp5 ;
10389 bool temp7 = False ;
10390 PyObject * obj0 = 0 ;
10391 PyObject * obj1 = 0 ;
10392 PyObject * obj2 = 0 ;
10393 PyObject * obj3 = 0 ;
10394 PyObject * obj4 = 0 ;
10395 PyObject * obj5 = 0 ;
10396 PyObject * obj6 = 0 ;
10397 char *kwnames[] = {
10398 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10399 };
10400
10401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10406 if (obj2) {
10407 arg3 = (int) SWIG_AsInt(obj2);
10408 if (PyErr_Occurred()) SWIG_fail;
10409 }
10410 if (obj3) {
10411 {
10412 arg4 = &temp4;
10413 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10414 }
10415 }
10416 if (obj4) {
10417 {
10418 arg5 = &temp5;
10419 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10420 }
10421 }
10422 if (obj5) {
10423 arg6 = (long) SWIG_AsLong(obj5);
10424 if (PyErr_Occurred()) SWIG_fail;
10425 }
10426 if (obj6) {
10427 {
10428 arg7 = wxString_in_helper(obj6);
10429 if (arg7 == NULL) SWIG_fail;
10430 temp7 = True;
10431 }
10432 }
10433 {
10434 PyThreadState* __tstate = wxPyBeginAllowThreads();
10435 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10436
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
10440 {
10441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10442 }
10443 {
10444 if (temp7)
10445 delete arg7;
10446 }
10447 return resultobj;
10448 fail:
10449 {
10450 if (temp7)
10451 delete arg7;
10452 }
10453 return NULL;
10454 }
10455
10456
10457 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10458 PyObject *resultobj;
10459 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10460 PyObject * obj0 = 0 ;
10461 char *kwnames[] = {
10462 (char *) "self", NULL
10463 };
10464
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 (arg1)->RefreshAll();
10471
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 Py_INCREF(Py_None); resultobj = Py_None;
10476 return resultobj;
10477 fail:
10478 return NULL;
10479 }
10480
10481
10482 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10483 PyObject *resultobj;
10484 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10485 size_t arg2 ;
10486 PyObject * obj0 = 0 ;
10487 PyObject * obj1 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "self",(char *) "count", NULL
10490 };
10491
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10495 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 {
10498 PyThreadState* __tstate = wxPyBeginAllowThreads();
10499 (arg1)->SetItemCount(arg2);
10500
10501 wxPyEndAllowThreads(__tstate);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 }
10504 Py_INCREF(Py_None); resultobj = Py_None;
10505 return resultobj;
10506 fail:
10507 return NULL;
10508 }
10509
10510
10511 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10512 PyObject *obj;
10513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10514 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10515 Py_INCREF(obj);
10516 return Py_BuildValue((char *)"");
10517 }
10518 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10519 PyObject *resultobj;
10520 wxTaskBarIcon *result;
10521 char *kwnames[] = {
10522 NULL
10523 };
10524
10525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10529
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10534 return resultobj;
10535 fail:
10536 return NULL;
10537 }
10538
10539
10540 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10541 PyObject *resultobj;
10542 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10543 PyObject * obj0 = 0 ;
10544 char *kwnames[] = {
10545 (char *) "self", NULL
10546 };
10547
10548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10551 {
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 delete arg1;
10554
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 }
10558 Py_INCREF(Py_None); resultobj = Py_None;
10559 return resultobj;
10560 fail:
10561 return NULL;
10562 }
10563
10564
10565 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10566 PyObject *resultobj;
10567 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10568 PyObject * obj0 = 0 ;
10569 char *kwnames[] = {
10570 (char *) "self", NULL
10571 };
10572
10573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10576 {
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 wxTaskBarIcon_Destroy(arg1);
10579
10580 wxPyEndAllowThreads(__tstate);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 }
10583 Py_INCREF(Py_None); resultobj = Py_None;
10584 return resultobj;
10585 fail:
10586 return NULL;
10587 }
10588
10589
10590 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10591 PyObject *resultobj;
10592 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10593 bool result;
10594 PyObject * obj0 = 0 ;
10595 char *kwnames[] = {
10596 (char *) "self", NULL
10597 };
10598
10599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10602 {
10603 PyThreadState* __tstate = wxPyBeginAllowThreads();
10604 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10605
10606 wxPyEndAllowThreads(__tstate);
10607 if (PyErr_Occurred()) SWIG_fail;
10608 }
10609 {
10610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10611 }
10612 return resultobj;
10613 fail:
10614 return NULL;
10615 }
10616
10617
10618 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10619 PyObject *resultobj;
10620 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10621 bool result;
10622 PyObject * obj0 = 0 ;
10623 char *kwnames[] = {
10624 (char *) "self", NULL
10625 };
10626
10627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10630 {
10631 PyThreadState* __tstate = wxPyBeginAllowThreads();
10632 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10633
10634 wxPyEndAllowThreads(__tstate);
10635 if (PyErr_Occurred()) SWIG_fail;
10636 }
10637 {
10638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10639 }
10640 return resultobj;
10641 fail:
10642 return NULL;
10643 }
10644
10645
10646 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10647 PyObject *resultobj;
10648 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10649 wxIcon *arg2 = 0 ;
10650 wxString const &arg3_defvalue = wxPyEmptyString ;
10651 wxString *arg3 = (wxString *) &arg3_defvalue ;
10652 bool result;
10653 bool temp3 = False ;
10654 PyObject * obj0 = 0 ;
10655 PyObject * obj1 = 0 ;
10656 PyObject * obj2 = 0 ;
10657 char *kwnames[] = {
10658 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10659 };
10660
10661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10665 SWIG_POINTER_EXCEPTION | 0)) == -1)
10666 SWIG_fail;
10667 if (arg2 == NULL) {
10668 PyErr_SetString(PyExc_TypeError,"null reference");
10669 SWIG_fail;
10670 }
10671 if (obj2) {
10672 {
10673 arg3 = wxString_in_helper(obj2);
10674 if (arg3 == NULL) SWIG_fail;
10675 temp3 = True;
10676 }
10677 }
10678 {
10679 PyThreadState* __tstate = wxPyBeginAllowThreads();
10680 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10681
10682 wxPyEndAllowThreads(__tstate);
10683 if (PyErr_Occurred()) SWIG_fail;
10684 }
10685 {
10686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10687 }
10688 {
10689 if (temp3)
10690 delete arg3;
10691 }
10692 return resultobj;
10693 fail:
10694 {
10695 if (temp3)
10696 delete arg3;
10697 }
10698 return NULL;
10699 }
10700
10701
10702 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10703 PyObject *resultobj;
10704 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10705 bool result;
10706 PyObject * obj0 = 0 ;
10707 char *kwnames[] = {
10708 (char *) "self", NULL
10709 };
10710
10711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10714 {
10715 PyThreadState* __tstate = wxPyBeginAllowThreads();
10716 result = (bool)(arg1)->RemoveIcon();
10717
10718 wxPyEndAllowThreads(__tstate);
10719 if (PyErr_Occurred()) SWIG_fail;
10720 }
10721 {
10722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10723 }
10724 return resultobj;
10725 fail:
10726 return NULL;
10727 }
10728
10729
10730 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10731 PyObject *resultobj;
10732 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10733 wxMenu *arg2 = (wxMenu *) 0 ;
10734 bool result;
10735 PyObject * obj0 = 0 ;
10736 PyObject * obj1 = 0 ;
10737 char *kwnames[] = {
10738 (char *) "self",(char *) "menu", NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10744 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
10745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10746 {
10747 PyThreadState* __tstate = wxPyBeginAllowThreads();
10748 result = (bool)(arg1)->PopupMenu(arg2);
10749
10750 wxPyEndAllowThreads(__tstate);
10751 if (PyErr_Occurred()) SWIG_fail;
10752 }
10753 {
10754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10755 }
10756 return resultobj;
10757 fail:
10758 return NULL;
10759 }
10760
10761
10762 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10763 PyObject *obj;
10764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10765 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10766 Py_INCREF(obj);
10767 return Py_BuildValue((char *)"");
10768 }
10769 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10770 PyObject *resultobj;
10771 wxEventType arg1 ;
10772 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10773 wxTaskBarIconEvent *result;
10774 PyObject * obj0 = 0 ;
10775 PyObject * obj1 = 0 ;
10776 char *kwnames[] = {
10777 (char *) "evtType",(char *) "tbIcon", NULL
10778 };
10779
10780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10781 arg1 = (wxEventType) SWIG_AsInt(obj0);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10785 {
10786 PyThreadState* __tstate = wxPyBeginAllowThreads();
10787 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10788
10789 wxPyEndAllowThreads(__tstate);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
10792 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10793 return resultobj;
10794 fail:
10795 return NULL;
10796 }
10797
10798
10799 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10800 PyObject *obj;
10801 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10802 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10803 Py_INCREF(obj);
10804 return Py_BuildValue((char *)"");
10805 }
10806 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10807 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10808 return 1;
10809 }
10810
10811
10812 static PyObject *_wrap_FileSelectorPromptStr_get() {
10813 PyObject *pyobj;
10814
10815 {
10816 #if wxUSE_UNICODE
10817 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10818 #else
10819 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10820 #endif
10821 }
10822 return pyobj;
10823 }
10824
10825
10826 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10827 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10828 return 1;
10829 }
10830
10831
10832 static PyObject *_wrap_DirSelectorPromptStr_get() {
10833 PyObject *pyobj;
10834
10835 {
10836 #if wxUSE_UNICODE
10837 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10838 #else
10839 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10840 #endif
10841 }
10842 return pyobj;
10843 }
10844
10845
10846 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10847 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10848 return 1;
10849 }
10850
10851
10852 static PyObject *_wrap_DirDialogNameStr_get() {
10853 PyObject *pyobj;
10854
10855 {
10856 #if wxUSE_UNICODE
10857 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10858 #else
10859 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10860 #endif
10861 }
10862 return pyobj;
10863 }
10864
10865
10866 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10867 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10868 return 1;
10869 }
10870
10871
10872 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10873 PyObject *pyobj;
10874
10875 {
10876 #if wxUSE_UNICODE
10877 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10878 #else
10879 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10880 #endif
10881 }
10882 return pyobj;
10883 }
10884
10885
10886 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10887 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10888 return 1;
10889 }
10890
10891
10892 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10893 PyObject *pyobj;
10894
10895 {
10896 #if wxUSE_UNICODE
10897 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10898 #else
10899 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10900 #endif
10901 }
10902 return pyobj;
10903 }
10904
10905
10906 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10907 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10908 return 1;
10909 }
10910
10911
10912 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10913 PyObject *pyobj;
10914
10915 {
10916 #if wxUSE_UNICODE
10917 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10918 #else
10919 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10920 #endif
10921 }
10922 return pyobj;
10923 }
10924
10925
10926 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10927 PyObject *resultobj;
10928 wxColourData *result;
10929 char *kwnames[] = {
10930 NULL
10931 };
10932
10933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10934 {
10935 PyThreadState* __tstate = wxPyBeginAllowThreads();
10936 result = (wxColourData *)new wxColourData();
10937
10938 wxPyEndAllowThreads(__tstate);
10939 if (PyErr_Occurred()) SWIG_fail;
10940 }
10941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
10942 return resultobj;
10943 fail:
10944 return NULL;
10945 }
10946
10947
10948 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10949 PyObject *resultobj;
10950 wxColourData *arg1 = (wxColourData *) 0 ;
10951 PyObject * obj0 = 0 ;
10952 char *kwnames[] = {
10953 (char *) "self", NULL
10954 };
10955
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10959 {
10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
10961 delete arg1;
10962
10963 wxPyEndAllowThreads(__tstate);
10964 if (PyErr_Occurred()) SWIG_fail;
10965 }
10966 Py_INCREF(Py_None); resultobj = Py_None;
10967 return resultobj;
10968 fail:
10969 return NULL;
10970 }
10971
10972
10973 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10974 PyObject *resultobj;
10975 wxColourData *arg1 = (wxColourData *) 0 ;
10976 bool result;
10977 PyObject * obj0 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self", NULL
10980 };
10981
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 result = (bool)(arg1)->GetChooseFull();
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
10992 {
10993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10994 }
10995 return resultobj;
10996 fail:
10997 return NULL;
10998 }
10999
11000
11001 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11002 PyObject *resultobj;
11003 wxColourData *arg1 = (wxColourData *) 0 ;
11004 wxColour result;
11005 PyObject * obj0 = 0 ;
11006 char *kwnames[] = {
11007 (char *) "self", NULL
11008 };
11009
11010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11013 {
11014 PyThreadState* __tstate = wxPyBeginAllowThreads();
11015 result = (arg1)->GetColour();
11016
11017 wxPyEndAllowThreads(__tstate);
11018 if (PyErr_Occurred()) SWIG_fail;
11019 }
11020 {
11021 wxColour * resultptr;
11022 resultptr = new wxColour((wxColour &) result);
11023 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11024 }
11025 return resultobj;
11026 fail:
11027 return NULL;
11028 }
11029
11030
11031 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11032 PyObject *resultobj;
11033 wxColourData *arg1 = (wxColourData *) 0 ;
11034 int arg2 ;
11035 wxColour result;
11036 PyObject * obj0 = 0 ;
11037 PyObject * obj1 = 0 ;
11038 char *kwnames[] = {
11039 (char *) "self",(char *) "i", NULL
11040 };
11041
11042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11045 arg2 = (int) SWIG_AsInt(obj1);
11046 if (PyErr_Occurred()) SWIG_fail;
11047 {
11048 PyThreadState* __tstate = wxPyBeginAllowThreads();
11049 result = (arg1)->GetCustomColour(arg2);
11050
11051 wxPyEndAllowThreads(__tstate);
11052 if (PyErr_Occurred()) SWIG_fail;
11053 }
11054 {
11055 wxColour * resultptr;
11056 resultptr = new wxColour((wxColour &) result);
11057 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11058 }
11059 return resultobj;
11060 fail:
11061 return NULL;
11062 }
11063
11064
11065 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11066 PyObject *resultobj;
11067 wxColourData *arg1 = (wxColourData *) 0 ;
11068 int arg2 ;
11069 PyObject * obj0 = 0 ;
11070 PyObject * obj1 = 0 ;
11071 char *kwnames[] = {
11072 (char *) "self",(char *) "flag", NULL
11073 };
11074
11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11078 arg2 = (int) SWIG_AsInt(obj1);
11079 if (PyErr_Occurred()) SWIG_fail;
11080 {
11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
11082 (arg1)->SetChooseFull(arg2);
11083
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 Py_INCREF(Py_None); resultobj = Py_None;
11088 return resultobj;
11089 fail:
11090 return NULL;
11091 }
11092
11093
11094 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11095 PyObject *resultobj;
11096 wxColourData *arg1 = (wxColourData *) 0 ;
11097 wxColour *arg2 = 0 ;
11098 wxColour temp2 ;
11099 PyObject * obj0 = 0 ;
11100 PyObject * obj1 = 0 ;
11101 char *kwnames[] = {
11102 (char *) "self",(char *) "colour", NULL
11103 };
11104
11105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11108 {
11109 arg2 = &temp2;
11110 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11111 }
11112 {
11113 PyThreadState* __tstate = wxPyBeginAllowThreads();
11114 (arg1)->SetColour((wxColour const &)*arg2);
11115
11116 wxPyEndAllowThreads(__tstate);
11117 if (PyErr_Occurred()) SWIG_fail;
11118 }
11119 Py_INCREF(Py_None); resultobj = Py_None;
11120 return resultobj;
11121 fail:
11122 return NULL;
11123 }
11124
11125
11126 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11127 PyObject *resultobj;
11128 wxColourData *arg1 = (wxColourData *) 0 ;
11129 int arg2 ;
11130 wxColour *arg3 = 0 ;
11131 wxColour temp3 ;
11132 PyObject * obj0 = 0 ;
11133 PyObject * obj1 = 0 ;
11134 PyObject * obj2 = 0 ;
11135 char *kwnames[] = {
11136 (char *) "self",(char *) "i",(char *) "colour", NULL
11137 };
11138
11139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11142 arg2 = (int) SWIG_AsInt(obj1);
11143 if (PyErr_Occurred()) SWIG_fail;
11144 {
11145 arg3 = &temp3;
11146 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11147 }
11148 {
11149 PyThreadState* __tstate = wxPyBeginAllowThreads();
11150 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11151
11152 wxPyEndAllowThreads(__tstate);
11153 if (PyErr_Occurred()) SWIG_fail;
11154 }
11155 Py_INCREF(Py_None); resultobj = Py_None;
11156 return resultobj;
11157 fail:
11158 return NULL;
11159 }
11160
11161
11162 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11163 PyObject *obj;
11164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11165 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11166 Py_INCREF(obj);
11167 return Py_BuildValue((char *)"");
11168 }
11169 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11170 PyObject *resultobj;
11171 wxWindow *arg1 = (wxWindow *) 0 ;
11172 wxColourData *arg2 = (wxColourData *) NULL ;
11173 wxColourDialog *result;
11174 PyObject * obj0 = 0 ;
11175 PyObject * obj1 = 0 ;
11176 char *kwnames[] = {
11177 (char *) "parent",(char *) "data", NULL
11178 };
11179
11180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11183 if (obj1) {
11184 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11186 }
11187 {
11188 PyThreadState* __tstate = wxPyBeginAllowThreads();
11189 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11190
11191 wxPyEndAllowThreads(__tstate);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
11194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11195 return resultobj;
11196 fail:
11197 return NULL;
11198 }
11199
11200
11201 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11202 PyObject *resultobj;
11203 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11204 wxColourData *result;
11205 PyObject * obj0 = 0 ;
11206 char *kwnames[] = {
11207 (char *) "self", NULL
11208 };
11209
11210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11213 {
11214 PyThreadState* __tstate = wxPyBeginAllowThreads();
11215 {
11216 wxColourData &_result_ref = (arg1)->GetColourData();
11217 result = (wxColourData *) &_result_ref;
11218 }
11219
11220 wxPyEndAllowThreads(__tstate);
11221 if (PyErr_Occurred()) SWIG_fail;
11222 }
11223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11224 return resultobj;
11225 fail:
11226 return NULL;
11227 }
11228
11229
11230 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11231 PyObject *obj;
11232 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11233 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11234 Py_INCREF(obj);
11235 return Py_BuildValue((char *)"");
11236 }
11237 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11238 PyObject *resultobj;
11239 wxWindow *arg1 = (wxWindow *) 0 ;
11240 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11241 wxString *arg2 = (wxString *) &arg2_defvalue ;
11242 wxString const &arg3_defvalue = wxPyEmptyString ;
11243 wxString *arg3 = (wxString *) &arg3_defvalue ;
11244 long arg4 = (long) 0 ;
11245 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11246 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11247 wxSize const &arg6_defvalue = wxDefaultSize ;
11248 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11249 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11250 wxString *arg7 = (wxString *) &arg7_defvalue ;
11251 wxDirDialog *result;
11252 bool temp2 = False ;
11253 bool temp3 = False ;
11254 wxPoint temp5 ;
11255 wxSize temp6 ;
11256 bool temp7 = False ;
11257 PyObject * obj0 = 0 ;
11258 PyObject * obj1 = 0 ;
11259 PyObject * obj2 = 0 ;
11260 PyObject * obj3 = 0 ;
11261 PyObject * obj4 = 0 ;
11262 PyObject * obj5 = 0 ;
11263 PyObject * obj6 = 0 ;
11264 char *kwnames[] = {
11265 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11266 };
11267
11268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11271 if (obj1) {
11272 {
11273 arg2 = wxString_in_helper(obj1);
11274 if (arg2 == NULL) SWIG_fail;
11275 temp2 = True;
11276 }
11277 }
11278 if (obj2) {
11279 {
11280 arg3 = wxString_in_helper(obj2);
11281 if (arg3 == NULL) SWIG_fail;
11282 temp3 = True;
11283 }
11284 }
11285 if (obj3) {
11286 arg4 = (long) SWIG_AsLong(obj3);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 if (obj4) {
11290 {
11291 arg5 = &temp5;
11292 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11293 }
11294 }
11295 if (obj5) {
11296 {
11297 arg6 = &temp6;
11298 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11299 }
11300 }
11301 if (obj6) {
11302 {
11303 arg7 = wxString_in_helper(obj6);
11304 if (arg7 == NULL) SWIG_fail;
11305 temp7 = True;
11306 }
11307 }
11308 {
11309 PyThreadState* __tstate = wxPyBeginAllowThreads();
11310 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11311
11312 wxPyEndAllowThreads(__tstate);
11313 if (PyErr_Occurred()) SWIG_fail;
11314 }
11315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11316 {
11317 if (temp2)
11318 delete arg2;
11319 }
11320 {
11321 if (temp3)
11322 delete arg3;
11323 }
11324 {
11325 if (temp7)
11326 delete arg7;
11327 }
11328 return resultobj;
11329 fail:
11330 {
11331 if (temp2)
11332 delete arg2;
11333 }
11334 {
11335 if (temp3)
11336 delete arg3;
11337 }
11338 {
11339 if (temp7)
11340 delete arg7;
11341 }
11342 return NULL;
11343 }
11344
11345
11346 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11347 PyObject *resultobj;
11348 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11349 wxString result;
11350 PyObject * obj0 = 0 ;
11351 char *kwnames[] = {
11352 (char *) "self", NULL
11353 };
11354
11355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11358 {
11359 PyThreadState* __tstate = wxPyBeginAllowThreads();
11360 result = (arg1)->GetPath();
11361
11362 wxPyEndAllowThreads(__tstate);
11363 if (PyErr_Occurred()) SWIG_fail;
11364 }
11365 {
11366 #if wxUSE_UNICODE
11367 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11368 #else
11369 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11370 #endif
11371 }
11372 return resultobj;
11373 fail:
11374 return NULL;
11375 }
11376
11377
11378 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11379 PyObject *resultobj;
11380 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11381 wxString result;
11382 PyObject * obj0 = 0 ;
11383 char *kwnames[] = {
11384 (char *) "self", NULL
11385 };
11386
11387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11390 {
11391 PyThreadState* __tstate = wxPyBeginAllowThreads();
11392 result = (arg1)->GetMessage();
11393
11394 wxPyEndAllowThreads(__tstate);
11395 if (PyErr_Occurred()) SWIG_fail;
11396 }
11397 {
11398 #if wxUSE_UNICODE
11399 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11400 #else
11401 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11402 #endif
11403 }
11404 return resultobj;
11405 fail:
11406 return NULL;
11407 }
11408
11409
11410 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11411 PyObject *resultobj;
11412 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11413 long result;
11414 PyObject * obj0 = 0 ;
11415 char *kwnames[] = {
11416 (char *) "self", NULL
11417 };
11418
11419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11422 {
11423 PyThreadState* __tstate = wxPyBeginAllowThreads();
11424 result = (long)(arg1)->GetStyle();
11425
11426 wxPyEndAllowThreads(__tstate);
11427 if (PyErr_Occurred()) SWIG_fail;
11428 }
11429 resultobj = SWIG_FromLong((long)result);
11430 return resultobj;
11431 fail:
11432 return NULL;
11433 }
11434
11435
11436 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11437 PyObject *resultobj;
11438 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11439 wxString *arg2 = 0 ;
11440 bool temp2 = False ;
11441 PyObject * obj0 = 0 ;
11442 PyObject * obj1 = 0 ;
11443 char *kwnames[] = {
11444 (char *) "self",(char *) "message", NULL
11445 };
11446
11447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11450 {
11451 arg2 = wxString_in_helper(obj1);
11452 if (arg2 == NULL) SWIG_fail;
11453 temp2 = True;
11454 }
11455 {
11456 PyThreadState* __tstate = wxPyBeginAllowThreads();
11457 (arg1)->SetMessage((wxString const &)*arg2);
11458
11459 wxPyEndAllowThreads(__tstate);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 }
11462 Py_INCREF(Py_None); resultobj = Py_None;
11463 {
11464 if (temp2)
11465 delete arg2;
11466 }
11467 return resultobj;
11468 fail:
11469 {
11470 if (temp2)
11471 delete arg2;
11472 }
11473 return NULL;
11474 }
11475
11476
11477 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11478 PyObject *resultobj;
11479 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11480 wxString *arg2 = 0 ;
11481 bool temp2 = False ;
11482 PyObject * obj0 = 0 ;
11483 PyObject * obj1 = 0 ;
11484 char *kwnames[] = {
11485 (char *) "self",(char *) "path", NULL
11486 };
11487
11488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11491 {
11492 arg2 = wxString_in_helper(obj1);
11493 if (arg2 == NULL) SWIG_fail;
11494 temp2 = True;
11495 }
11496 {
11497 PyThreadState* __tstate = wxPyBeginAllowThreads();
11498 (arg1)->SetPath((wxString const &)*arg2);
11499
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 Py_INCREF(Py_None); resultobj = Py_None;
11504 {
11505 if (temp2)
11506 delete arg2;
11507 }
11508 return resultobj;
11509 fail:
11510 {
11511 if (temp2)
11512 delete arg2;
11513 }
11514 return NULL;
11515 }
11516
11517
11518 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11519 PyObject *obj;
11520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11521 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11522 Py_INCREF(obj);
11523 return Py_BuildValue((char *)"");
11524 }
11525 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11526 PyObject *resultobj;
11527 wxWindow *arg1 = (wxWindow *) 0 ;
11528 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11529 wxString *arg2 = (wxString *) &arg2_defvalue ;
11530 wxString const &arg3_defvalue = wxPyEmptyString ;
11531 wxString *arg3 = (wxString *) &arg3_defvalue ;
11532 wxString const &arg4_defvalue = wxPyEmptyString ;
11533 wxString *arg4 = (wxString *) &arg4_defvalue ;
11534 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11535 wxString *arg5 = (wxString *) &arg5_defvalue ;
11536 long arg6 = (long) 0 ;
11537 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11538 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11539 wxFileDialog *result;
11540 bool temp2 = False ;
11541 bool temp3 = False ;
11542 bool temp4 = False ;
11543 bool temp5 = False ;
11544 wxPoint temp7 ;
11545 PyObject * obj0 = 0 ;
11546 PyObject * obj1 = 0 ;
11547 PyObject * obj2 = 0 ;
11548 PyObject * obj3 = 0 ;
11549 PyObject * obj4 = 0 ;
11550 PyObject * obj5 = 0 ;
11551 PyObject * obj6 = 0 ;
11552 char *kwnames[] = {
11553 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11554 };
11555
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11559 if (obj1) {
11560 {
11561 arg2 = wxString_in_helper(obj1);
11562 if (arg2 == NULL) SWIG_fail;
11563 temp2 = True;
11564 }
11565 }
11566 if (obj2) {
11567 {
11568 arg3 = wxString_in_helper(obj2);
11569 if (arg3 == NULL) SWIG_fail;
11570 temp3 = True;
11571 }
11572 }
11573 if (obj3) {
11574 {
11575 arg4 = wxString_in_helper(obj3);
11576 if (arg4 == NULL) SWIG_fail;
11577 temp4 = True;
11578 }
11579 }
11580 if (obj4) {
11581 {
11582 arg5 = wxString_in_helper(obj4);
11583 if (arg5 == NULL) SWIG_fail;
11584 temp5 = True;
11585 }
11586 }
11587 if (obj5) {
11588 arg6 = (long) SWIG_AsLong(obj5);
11589 if (PyErr_Occurred()) SWIG_fail;
11590 }
11591 if (obj6) {
11592 {
11593 arg7 = &temp7;
11594 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11595 }
11596 }
11597 {
11598 PyThreadState* __tstate = wxPyBeginAllowThreads();
11599 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11600
11601 wxPyEndAllowThreads(__tstate);
11602 if (PyErr_Occurred()) SWIG_fail;
11603 }
11604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11605 {
11606 if (temp2)
11607 delete arg2;
11608 }
11609 {
11610 if (temp3)
11611 delete arg3;
11612 }
11613 {
11614 if (temp4)
11615 delete arg4;
11616 }
11617 {
11618 if (temp5)
11619 delete arg5;
11620 }
11621 return resultobj;
11622 fail:
11623 {
11624 if (temp2)
11625 delete arg2;
11626 }
11627 {
11628 if (temp3)
11629 delete arg3;
11630 }
11631 {
11632 if (temp4)
11633 delete arg4;
11634 }
11635 {
11636 if (temp5)
11637 delete arg5;
11638 }
11639 return NULL;
11640 }
11641
11642
11643 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11644 PyObject *resultobj;
11645 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11646 wxString *arg2 = 0 ;
11647 bool temp2 = False ;
11648 PyObject * obj0 = 0 ;
11649 PyObject * obj1 = 0 ;
11650 char *kwnames[] = {
11651 (char *) "self",(char *) "message", NULL
11652 };
11653
11654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11657 {
11658 arg2 = wxString_in_helper(obj1);
11659 if (arg2 == NULL) SWIG_fail;
11660 temp2 = True;
11661 }
11662 {
11663 PyThreadState* __tstate = wxPyBeginAllowThreads();
11664 (arg1)->SetMessage((wxString const &)*arg2);
11665
11666 wxPyEndAllowThreads(__tstate);
11667 if (PyErr_Occurred()) SWIG_fail;
11668 }
11669 Py_INCREF(Py_None); resultobj = Py_None;
11670 {
11671 if (temp2)
11672 delete arg2;
11673 }
11674 return resultobj;
11675 fail:
11676 {
11677 if (temp2)
11678 delete arg2;
11679 }
11680 return NULL;
11681 }
11682
11683
11684 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11685 PyObject *resultobj;
11686 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11687 wxString *arg2 = 0 ;
11688 bool temp2 = False ;
11689 PyObject * obj0 = 0 ;
11690 PyObject * obj1 = 0 ;
11691 char *kwnames[] = {
11692 (char *) "self",(char *) "path", NULL
11693 };
11694
11695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11698 {
11699 arg2 = wxString_in_helper(obj1);
11700 if (arg2 == NULL) SWIG_fail;
11701 temp2 = True;
11702 }
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 (arg1)->SetPath((wxString const &)*arg2);
11706
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 Py_INCREF(Py_None); resultobj = Py_None;
11711 {
11712 if (temp2)
11713 delete arg2;
11714 }
11715 return resultobj;
11716 fail:
11717 {
11718 if (temp2)
11719 delete arg2;
11720 }
11721 return NULL;
11722 }
11723
11724
11725 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11726 PyObject *resultobj;
11727 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11728 wxString *arg2 = 0 ;
11729 bool temp2 = False ;
11730 PyObject * obj0 = 0 ;
11731 PyObject * obj1 = 0 ;
11732 char *kwnames[] = {
11733 (char *) "self",(char *) "dir", NULL
11734 };
11735
11736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11739 {
11740 arg2 = wxString_in_helper(obj1);
11741 if (arg2 == NULL) SWIG_fail;
11742 temp2 = True;
11743 }
11744 {
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 (arg1)->SetDirectory((wxString const &)*arg2);
11747
11748 wxPyEndAllowThreads(__tstate);
11749 if (PyErr_Occurred()) SWIG_fail;
11750 }
11751 Py_INCREF(Py_None); resultobj = Py_None;
11752 {
11753 if (temp2)
11754 delete arg2;
11755 }
11756 return resultobj;
11757 fail:
11758 {
11759 if (temp2)
11760 delete arg2;
11761 }
11762 return NULL;
11763 }
11764
11765
11766 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11767 PyObject *resultobj;
11768 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11769 wxString *arg2 = 0 ;
11770 bool temp2 = False ;
11771 PyObject * obj0 = 0 ;
11772 PyObject * obj1 = 0 ;
11773 char *kwnames[] = {
11774 (char *) "self",(char *) "name", NULL
11775 };
11776
11777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11780 {
11781 arg2 = wxString_in_helper(obj1);
11782 if (arg2 == NULL) SWIG_fail;
11783 temp2 = True;
11784 }
11785 {
11786 PyThreadState* __tstate = wxPyBeginAllowThreads();
11787 (arg1)->SetFilename((wxString const &)*arg2);
11788
11789 wxPyEndAllowThreads(__tstate);
11790 if (PyErr_Occurred()) SWIG_fail;
11791 }
11792 Py_INCREF(Py_None); resultobj = Py_None;
11793 {
11794 if (temp2)
11795 delete arg2;
11796 }
11797 return resultobj;
11798 fail:
11799 {
11800 if (temp2)
11801 delete arg2;
11802 }
11803 return NULL;
11804 }
11805
11806
11807 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11808 PyObject *resultobj;
11809 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11810 wxString *arg2 = 0 ;
11811 bool temp2 = False ;
11812 PyObject * obj0 = 0 ;
11813 PyObject * obj1 = 0 ;
11814 char *kwnames[] = {
11815 (char *) "self",(char *) "wildCard", NULL
11816 };
11817
11818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11821 {
11822 arg2 = wxString_in_helper(obj1);
11823 if (arg2 == NULL) SWIG_fail;
11824 temp2 = True;
11825 }
11826 {
11827 PyThreadState* __tstate = wxPyBeginAllowThreads();
11828 (arg1)->SetWildcard((wxString const &)*arg2);
11829
11830 wxPyEndAllowThreads(__tstate);
11831 if (PyErr_Occurred()) SWIG_fail;
11832 }
11833 Py_INCREF(Py_None); resultobj = Py_None;
11834 {
11835 if (temp2)
11836 delete arg2;
11837 }
11838 return resultobj;
11839 fail:
11840 {
11841 if (temp2)
11842 delete arg2;
11843 }
11844 return NULL;
11845 }
11846
11847
11848 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11849 PyObject *resultobj;
11850 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11851 long arg2 ;
11852 PyObject * obj0 = 0 ;
11853 PyObject * obj1 = 0 ;
11854 char *kwnames[] = {
11855 (char *) "self",(char *) "style", NULL
11856 };
11857
11858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11861 arg2 = (long) SWIG_AsLong(obj1);
11862 if (PyErr_Occurred()) SWIG_fail;
11863 {
11864 PyThreadState* __tstate = wxPyBeginAllowThreads();
11865 (arg1)->SetStyle(arg2);
11866
11867 wxPyEndAllowThreads(__tstate);
11868 if (PyErr_Occurred()) SWIG_fail;
11869 }
11870 Py_INCREF(Py_None); resultobj = Py_None;
11871 return resultobj;
11872 fail:
11873 return NULL;
11874 }
11875
11876
11877 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11878 PyObject *resultobj;
11879 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11880 int arg2 ;
11881 PyObject * obj0 = 0 ;
11882 PyObject * obj1 = 0 ;
11883 char *kwnames[] = {
11884 (char *) "self",(char *) "filterIndex", NULL
11885 };
11886
11887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11890 arg2 = (int) SWIG_AsInt(obj1);
11891 if (PyErr_Occurred()) SWIG_fail;
11892 {
11893 PyThreadState* __tstate = wxPyBeginAllowThreads();
11894 (arg1)->SetFilterIndex(arg2);
11895
11896 wxPyEndAllowThreads(__tstate);
11897 if (PyErr_Occurred()) SWIG_fail;
11898 }
11899 Py_INCREF(Py_None); resultobj = Py_None;
11900 return resultobj;
11901 fail:
11902 return NULL;
11903 }
11904
11905
11906 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11907 PyObject *resultobj;
11908 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11909 wxString result;
11910 PyObject * obj0 = 0 ;
11911 char *kwnames[] = {
11912 (char *) "self", NULL
11913 };
11914
11915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11918 {
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 result = ((wxFileDialog const *)arg1)->GetMessage();
11921
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 {
11926 #if wxUSE_UNICODE
11927 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11928 #else
11929 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11930 #endif
11931 }
11932 return resultobj;
11933 fail:
11934 return NULL;
11935 }
11936
11937
11938 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11939 PyObject *resultobj;
11940 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11941 wxString result;
11942 PyObject * obj0 = 0 ;
11943 char *kwnames[] = {
11944 (char *) "self", NULL
11945 };
11946
11947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11950 {
11951 PyThreadState* __tstate = wxPyBeginAllowThreads();
11952 result = ((wxFileDialog const *)arg1)->GetPath();
11953
11954 wxPyEndAllowThreads(__tstate);
11955 if (PyErr_Occurred()) SWIG_fail;
11956 }
11957 {
11958 #if wxUSE_UNICODE
11959 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11960 #else
11961 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11962 #endif
11963 }
11964 return resultobj;
11965 fail:
11966 return NULL;
11967 }
11968
11969
11970 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11971 PyObject *resultobj;
11972 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11973 wxString result;
11974 PyObject * obj0 = 0 ;
11975 char *kwnames[] = {
11976 (char *) "self", NULL
11977 };
11978
11979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11982 {
11983 PyThreadState* __tstate = wxPyBeginAllowThreads();
11984 result = ((wxFileDialog const *)arg1)->GetDirectory();
11985
11986 wxPyEndAllowThreads(__tstate);
11987 if (PyErr_Occurred()) SWIG_fail;
11988 }
11989 {
11990 #if wxUSE_UNICODE
11991 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11992 #else
11993 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11994 #endif
11995 }
11996 return resultobj;
11997 fail:
11998 return NULL;
11999 }
12000
12001
12002 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12003 PyObject *resultobj;
12004 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12005 wxString result;
12006 PyObject * obj0 = 0 ;
12007 char *kwnames[] = {
12008 (char *) "self", NULL
12009 };
12010
12011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12014 {
12015 PyThreadState* __tstate = wxPyBeginAllowThreads();
12016 result = ((wxFileDialog const *)arg1)->GetFilename();
12017
12018 wxPyEndAllowThreads(__tstate);
12019 if (PyErr_Occurred()) SWIG_fail;
12020 }
12021 {
12022 #if wxUSE_UNICODE
12023 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12024 #else
12025 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12026 #endif
12027 }
12028 return resultobj;
12029 fail:
12030 return NULL;
12031 }
12032
12033
12034 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12035 PyObject *resultobj;
12036 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12037 wxString result;
12038 PyObject * obj0 = 0 ;
12039 char *kwnames[] = {
12040 (char *) "self", NULL
12041 };
12042
12043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 result = ((wxFileDialog const *)arg1)->GetWildcard();
12049
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 {
12054 #if wxUSE_UNICODE
12055 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12056 #else
12057 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12058 #endif
12059 }
12060 return resultobj;
12061 fail:
12062 return NULL;
12063 }
12064
12065
12066 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12067 PyObject *resultobj;
12068 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12069 long result;
12070 PyObject * obj0 = 0 ;
12071 char *kwnames[] = {
12072 (char *) "self", NULL
12073 };
12074
12075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
12085 resultobj = SWIG_FromLong((long)result);
12086 return resultobj;
12087 fail:
12088 return NULL;
12089 }
12090
12091
12092 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12093 PyObject *resultobj;
12094 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12095 int result;
12096 PyObject * obj0 = 0 ;
12097 char *kwnames[] = {
12098 (char *) "self", NULL
12099 };
12100
12101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12104 {
12105 PyThreadState* __tstate = wxPyBeginAllowThreads();
12106 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12107
12108 wxPyEndAllowThreads(__tstate);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 }
12111 resultobj = SWIG_FromInt((int)result);
12112 return resultobj;
12113 fail:
12114 return NULL;
12115 }
12116
12117
12118 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12119 PyObject *resultobj;
12120 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12121 PyObject *result;
12122 PyObject * obj0 = 0 ;
12123 char *kwnames[] = {
12124 (char *) "self", NULL
12125 };
12126
12127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12130 {
12131 PyThreadState* __tstate = wxPyBeginAllowThreads();
12132 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12133
12134 wxPyEndAllowThreads(__tstate);
12135 if (PyErr_Occurred()) SWIG_fail;
12136 }
12137 resultobj = result;
12138 return resultobj;
12139 fail:
12140 return NULL;
12141 }
12142
12143
12144 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12145 PyObject *resultobj;
12146 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12147 PyObject *result;
12148 PyObject * obj0 = 0 ;
12149 char *kwnames[] = {
12150 (char *) "self", NULL
12151 };
12152
12153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12156 {
12157 PyThreadState* __tstate = wxPyBeginAllowThreads();
12158 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12159
12160 wxPyEndAllowThreads(__tstate);
12161 if (PyErr_Occurred()) SWIG_fail;
12162 }
12163 resultobj = result;
12164 return resultobj;
12165 fail:
12166 return NULL;
12167 }
12168
12169
12170 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12171 PyObject *obj;
12172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12173 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12174 Py_INCREF(obj);
12175 return Py_BuildValue((char *)"");
12176 }
12177 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12178 PyObject *resultobj;
12179 wxWindow *arg1 = (wxWindow *) 0 ;
12180 wxString *arg2 = 0 ;
12181 wxString *arg3 = 0 ;
12182 int arg4 = (int) 0 ;
12183 wxString *arg5 = (wxString *) 0 ;
12184 long arg6 = (long) wxCHOICEDLG_STYLE ;
12185 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12186 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12187 wxMultiChoiceDialog *result;
12188 bool temp2 = False ;
12189 bool temp3 = False ;
12190 wxPoint temp6 ;
12191 PyObject * obj0 = 0 ;
12192 PyObject * obj1 = 0 ;
12193 PyObject * obj2 = 0 ;
12194 PyObject * obj3 = 0 ;
12195 PyObject * obj4 = 0 ;
12196 PyObject * obj5 = 0 ;
12197 char *kwnames[] = {
12198 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12199 };
12200
12201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12204 {
12205 arg2 = wxString_in_helper(obj1);
12206 if (arg2 == NULL) SWIG_fail;
12207 temp2 = True;
12208 }
12209 {
12210 arg3 = wxString_in_helper(obj2);
12211 if (arg3 == NULL) SWIG_fail;
12212 temp3 = True;
12213 }
12214 if (obj3) {
12215 {
12216 arg4 = PyList_Size(obj3);
12217 arg5 = wxString_LIST_helper(obj3);
12218 if (arg5 == NULL) SWIG_fail;
12219 }
12220 }
12221 if (obj4) {
12222 arg6 = (long) SWIG_AsLong(obj4);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 if (obj5) {
12226 {
12227 arg7 = &temp6;
12228 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12229 }
12230 }
12231 {
12232 PyThreadState* __tstate = wxPyBeginAllowThreads();
12233 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12234
12235 wxPyEndAllowThreads(__tstate);
12236 if (PyErr_Occurred()) SWIG_fail;
12237 }
12238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12239 {
12240 if (temp2)
12241 delete arg2;
12242 }
12243 {
12244 if (temp3)
12245 delete arg3;
12246 }
12247 {
12248 if (arg5) delete [] arg5;
12249 }
12250 return resultobj;
12251 fail:
12252 {
12253 if (temp2)
12254 delete arg2;
12255 }
12256 {
12257 if (temp3)
12258 delete arg3;
12259 }
12260 {
12261 if (arg5) delete [] arg5;
12262 }
12263 return NULL;
12264 }
12265
12266
12267 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12268 PyObject *resultobj;
12269 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12270 wxArrayInt *arg2 = 0 ;
12271 bool temp2 = False ;
12272 PyObject * obj0 = 0 ;
12273 PyObject * obj1 = 0 ;
12274 char *kwnames[] = {
12275 (char *) "self",(char *) "selections", NULL
12276 };
12277
12278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12281 {
12282 if (! PySequence_Check(obj1)) {
12283 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12284 SWIG_fail;
12285 }
12286 arg2 = new wxArrayInt;
12287 temp2 = True;
12288 int i, len=PySequence_Length(obj1);
12289 for (i=0; i<len; i++) {
12290 PyObject* item = PySequence_GetItem(obj1, i);
12291 PyObject* number = PyNumber_Int(item);
12292 arg2->Add(PyInt_AS_LONG(number));
12293 Py_DECREF(item);
12294 Py_DECREF(number);
12295 }
12296 }
12297 {
12298 PyThreadState* __tstate = wxPyBeginAllowThreads();
12299 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12300
12301 wxPyEndAllowThreads(__tstate);
12302 if (PyErr_Occurred()) SWIG_fail;
12303 }
12304 Py_INCREF(Py_None); resultobj = Py_None;
12305 {
12306 if (temp2) delete arg2;
12307 }
12308 return resultobj;
12309 fail:
12310 {
12311 if (temp2) delete arg2;
12312 }
12313 return NULL;
12314 }
12315
12316
12317 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12318 PyObject *resultobj;
12319 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12320 PyObject *result;
12321 PyObject * obj0 = 0 ;
12322 char *kwnames[] = {
12323 (char *) "self", NULL
12324 };
12325
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12329 {
12330 PyThreadState* __tstate = wxPyBeginAllowThreads();
12331 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12332
12333 wxPyEndAllowThreads(__tstate);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 }
12336 resultobj = result;
12337 return resultobj;
12338 fail:
12339 return NULL;
12340 }
12341
12342
12343 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12344 PyObject *obj;
12345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12346 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12347 Py_INCREF(obj);
12348 return Py_BuildValue((char *)"");
12349 }
12350 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12351 PyObject *resultobj;
12352 wxWindow *arg1 = (wxWindow *) 0 ;
12353 wxString *arg2 = 0 ;
12354 wxString *arg3 = 0 ;
12355 int arg4 ;
12356 wxString *arg5 = (wxString *) 0 ;
12357 long arg6 = (long) wxCHOICEDLG_STYLE ;
12358 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12359 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12360 wxSingleChoiceDialog *result;
12361 bool temp2 = False ;
12362 bool temp3 = False ;
12363 wxPoint temp6 ;
12364 PyObject * obj0 = 0 ;
12365 PyObject * obj1 = 0 ;
12366 PyObject * obj2 = 0 ;
12367 PyObject * obj3 = 0 ;
12368 PyObject * obj4 = 0 ;
12369 PyObject * obj5 = 0 ;
12370 char *kwnames[] = {
12371 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12372 };
12373
12374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12377 {
12378 arg2 = wxString_in_helper(obj1);
12379 if (arg2 == NULL) SWIG_fail;
12380 temp2 = True;
12381 }
12382 {
12383 arg3 = wxString_in_helper(obj2);
12384 if (arg3 == NULL) SWIG_fail;
12385 temp3 = True;
12386 }
12387 {
12388 arg4 = PyList_Size(obj3);
12389 arg5 = wxString_LIST_helper(obj3);
12390 if (arg5 == NULL) SWIG_fail;
12391 }
12392 if (obj4) {
12393 arg6 = (long) SWIG_AsLong(obj4);
12394 if (PyErr_Occurred()) SWIG_fail;
12395 }
12396 if (obj5) {
12397 {
12398 arg7 = &temp6;
12399 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12400 }
12401 }
12402 {
12403 PyThreadState* __tstate = wxPyBeginAllowThreads();
12404 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12405
12406 wxPyEndAllowThreads(__tstate);
12407 if (PyErr_Occurred()) SWIG_fail;
12408 }
12409 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12410 {
12411 if (temp2)
12412 delete arg2;
12413 }
12414 {
12415 if (temp3)
12416 delete arg3;
12417 }
12418 {
12419 if (arg5) delete [] arg5;
12420 }
12421 return resultobj;
12422 fail:
12423 {
12424 if (temp2)
12425 delete arg2;
12426 }
12427 {
12428 if (temp3)
12429 delete arg3;
12430 }
12431 {
12432 if (arg5) delete [] arg5;
12433 }
12434 return NULL;
12435 }
12436
12437
12438 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12439 PyObject *resultobj;
12440 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12441 int result;
12442 PyObject * obj0 = 0 ;
12443 char *kwnames[] = {
12444 (char *) "self", NULL
12445 };
12446
12447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12450 {
12451 PyThreadState* __tstate = wxPyBeginAllowThreads();
12452 result = (int)(arg1)->GetSelection();
12453
12454 wxPyEndAllowThreads(__tstate);
12455 if (PyErr_Occurred()) SWIG_fail;
12456 }
12457 resultobj = SWIG_FromInt((int)result);
12458 return resultobj;
12459 fail:
12460 return NULL;
12461 }
12462
12463
12464 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12465 PyObject *resultobj;
12466 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12467 wxString result;
12468 PyObject * obj0 = 0 ;
12469 char *kwnames[] = {
12470 (char *) "self", NULL
12471 };
12472
12473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12476 {
12477 PyThreadState* __tstate = wxPyBeginAllowThreads();
12478 result = (arg1)->GetStringSelection();
12479
12480 wxPyEndAllowThreads(__tstate);
12481 if (PyErr_Occurred()) SWIG_fail;
12482 }
12483 {
12484 #if wxUSE_UNICODE
12485 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12486 #else
12487 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12488 #endif
12489 }
12490 return resultobj;
12491 fail:
12492 return NULL;
12493 }
12494
12495
12496 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12497 PyObject *resultobj;
12498 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12499 int arg2 ;
12500 PyObject * obj0 = 0 ;
12501 PyObject * obj1 = 0 ;
12502 char *kwnames[] = {
12503 (char *) "self",(char *) "sel", NULL
12504 };
12505
12506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12509 arg2 = (int) SWIG_AsInt(obj1);
12510 if (PyErr_Occurred()) SWIG_fail;
12511 {
12512 PyThreadState* __tstate = wxPyBeginAllowThreads();
12513 (arg1)->SetSelection(arg2);
12514
12515 wxPyEndAllowThreads(__tstate);
12516 if (PyErr_Occurred()) SWIG_fail;
12517 }
12518 Py_INCREF(Py_None); resultobj = Py_None;
12519 return resultobj;
12520 fail:
12521 return NULL;
12522 }
12523
12524
12525 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12526 PyObject *obj;
12527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12528 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12529 Py_INCREF(obj);
12530 return Py_BuildValue((char *)"");
12531 }
12532 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12533 PyObject *resultobj;
12534 wxWindow *arg1 = (wxWindow *) 0 ;
12535 wxString *arg2 = 0 ;
12536 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12537 wxString *arg3 = (wxString *) &arg3_defvalue ;
12538 wxString const &arg4_defvalue = wxPyEmptyString ;
12539 wxString *arg4 = (wxString *) &arg4_defvalue ;
12540 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12541 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12542 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12543 wxTextEntryDialog *result;
12544 bool temp2 = False ;
12545 bool temp3 = False ;
12546 bool temp4 = False ;
12547 wxPoint temp6 ;
12548 PyObject * obj0 = 0 ;
12549 PyObject * obj1 = 0 ;
12550 PyObject * obj2 = 0 ;
12551 PyObject * obj3 = 0 ;
12552 PyObject * obj4 = 0 ;
12553 PyObject * obj5 = 0 ;
12554 char *kwnames[] = {
12555 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12556 };
12557
12558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12561 {
12562 arg2 = wxString_in_helper(obj1);
12563 if (arg2 == NULL) SWIG_fail;
12564 temp2 = True;
12565 }
12566 if (obj2) {
12567 {
12568 arg3 = wxString_in_helper(obj2);
12569 if (arg3 == NULL) SWIG_fail;
12570 temp3 = True;
12571 }
12572 }
12573 if (obj3) {
12574 {
12575 arg4 = wxString_in_helper(obj3);
12576 if (arg4 == NULL) SWIG_fail;
12577 temp4 = True;
12578 }
12579 }
12580 if (obj4) {
12581 arg5 = (long) SWIG_AsLong(obj4);
12582 if (PyErr_Occurred()) SWIG_fail;
12583 }
12584 if (obj5) {
12585 {
12586 arg6 = &temp6;
12587 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12588 }
12589 }
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12593
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
12597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12598 {
12599 if (temp2)
12600 delete arg2;
12601 }
12602 {
12603 if (temp3)
12604 delete arg3;
12605 }
12606 {
12607 if (temp4)
12608 delete arg4;
12609 }
12610 return resultobj;
12611 fail:
12612 {
12613 if (temp2)
12614 delete arg2;
12615 }
12616 {
12617 if (temp3)
12618 delete arg3;
12619 }
12620 {
12621 if (temp4)
12622 delete arg4;
12623 }
12624 return NULL;
12625 }
12626
12627
12628 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12629 PyObject *resultobj;
12630 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12631 wxString result;
12632 PyObject * obj0 = 0 ;
12633 char *kwnames[] = {
12634 (char *) "self", NULL
12635 };
12636
12637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12640 {
12641 PyThreadState* __tstate = wxPyBeginAllowThreads();
12642 result = (arg1)->GetValue();
12643
12644 wxPyEndAllowThreads(__tstate);
12645 if (PyErr_Occurred()) SWIG_fail;
12646 }
12647 {
12648 #if wxUSE_UNICODE
12649 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12650 #else
12651 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12652 #endif
12653 }
12654 return resultobj;
12655 fail:
12656 return NULL;
12657 }
12658
12659
12660 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12661 PyObject *resultobj;
12662 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12663 wxString *arg2 = 0 ;
12664 bool temp2 = False ;
12665 PyObject * obj0 = 0 ;
12666 PyObject * obj1 = 0 ;
12667 char *kwnames[] = {
12668 (char *) "self",(char *) "value", NULL
12669 };
12670
12671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12674 {
12675 arg2 = wxString_in_helper(obj1);
12676 if (arg2 == NULL) SWIG_fail;
12677 temp2 = True;
12678 }
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
12681 (arg1)->SetValue((wxString const &)*arg2);
12682
12683 wxPyEndAllowThreads(__tstate);
12684 if (PyErr_Occurred()) SWIG_fail;
12685 }
12686 Py_INCREF(Py_None); resultobj = Py_None;
12687 {
12688 if (temp2)
12689 delete arg2;
12690 }
12691 return resultobj;
12692 fail:
12693 {
12694 if (temp2)
12695 delete arg2;
12696 }
12697 return NULL;
12698 }
12699
12700
12701 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12702 PyObject *obj;
12703 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12704 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12705 Py_INCREF(obj);
12706 return Py_BuildValue((char *)"");
12707 }
12708 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12709 PyObject *resultobj;
12710 wxFontData *result;
12711 char *kwnames[] = {
12712 NULL
12713 };
12714
12715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12716 {
12717 PyThreadState* __tstate = wxPyBeginAllowThreads();
12718 result = (wxFontData *)new wxFontData();
12719
12720 wxPyEndAllowThreads(__tstate);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
12723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12724 return resultobj;
12725 fail:
12726 return NULL;
12727 }
12728
12729
12730 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12731 PyObject *resultobj;
12732 wxFontData *arg1 = (wxFontData *) 0 ;
12733 PyObject * obj0 = 0 ;
12734 char *kwnames[] = {
12735 (char *) "self", NULL
12736 };
12737
12738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12741 {
12742 PyThreadState* __tstate = wxPyBeginAllowThreads();
12743 delete arg1;
12744
12745 wxPyEndAllowThreads(__tstate);
12746 if (PyErr_Occurred()) SWIG_fail;
12747 }
12748 Py_INCREF(Py_None); resultobj = Py_None;
12749 return resultobj;
12750 fail:
12751 return NULL;
12752 }
12753
12754
12755 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12756 PyObject *resultobj;
12757 wxFontData *arg1 = (wxFontData *) 0 ;
12758 bool arg2 ;
12759 PyObject * obj0 = 0 ;
12760 PyObject * obj1 = 0 ;
12761 char *kwnames[] = {
12762 (char *) "self",(char *) "enable", NULL
12763 };
12764
12765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12768 arg2 = (bool) SWIG_AsBool(obj1);
12769 if (PyErr_Occurred()) SWIG_fail;
12770 {
12771 PyThreadState* __tstate = wxPyBeginAllowThreads();
12772 (arg1)->EnableEffects(arg2);
12773
12774 wxPyEndAllowThreads(__tstate);
12775 if (PyErr_Occurred()) SWIG_fail;
12776 }
12777 Py_INCREF(Py_None); resultobj = Py_None;
12778 return resultobj;
12779 fail:
12780 return NULL;
12781 }
12782
12783
12784 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12785 PyObject *resultobj;
12786 wxFontData *arg1 = (wxFontData *) 0 ;
12787 bool result;
12788 PyObject * obj0 = 0 ;
12789 char *kwnames[] = {
12790 (char *) "self", NULL
12791 };
12792
12793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12796 {
12797 PyThreadState* __tstate = wxPyBeginAllowThreads();
12798 result = (bool)(arg1)->GetAllowSymbols();
12799
12800 wxPyEndAllowThreads(__tstate);
12801 if (PyErr_Occurred()) SWIG_fail;
12802 }
12803 {
12804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12805 }
12806 return resultobj;
12807 fail:
12808 return NULL;
12809 }
12810
12811
12812 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12813 PyObject *resultobj;
12814 wxFontData *arg1 = (wxFontData *) 0 ;
12815 wxColour result;
12816 PyObject * obj0 = 0 ;
12817 char *kwnames[] = {
12818 (char *) "self", NULL
12819 };
12820
12821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12824 {
12825 PyThreadState* __tstate = wxPyBeginAllowThreads();
12826 result = (arg1)->GetColour();
12827
12828 wxPyEndAllowThreads(__tstate);
12829 if (PyErr_Occurred()) SWIG_fail;
12830 }
12831 {
12832 wxColour * resultptr;
12833 resultptr = new wxColour((wxColour &) result);
12834 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12835 }
12836 return resultobj;
12837 fail:
12838 return NULL;
12839 }
12840
12841
12842 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12843 PyObject *resultobj;
12844 wxFontData *arg1 = (wxFontData *) 0 ;
12845 wxFont result;
12846 PyObject * obj0 = 0 ;
12847 char *kwnames[] = {
12848 (char *) "self", NULL
12849 };
12850
12851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12854 {
12855 PyThreadState* __tstate = wxPyBeginAllowThreads();
12856 result = (arg1)->GetChosenFont();
12857
12858 wxPyEndAllowThreads(__tstate);
12859 if (PyErr_Occurred()) SWIG_fail;
12860 }
12861 {
12862 wxFont * resultptr;
12863 resultptr = new wxFont((wxFont &) result);
12864 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12865 }
12866 return resultobj;
12867 fail:
12868 return NULL;
12869 }
12870
12871
12872 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12873 PyObject *resultobj;
12874 wxFontData *arg1 = (wxFontData *) 0 ;
12875 bool result;
12876 PyObject * obj0 = 0 ;
12877 char *kwnames[] = {
12878 (char *) "self", NULL
12879 };
12880
12881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 result = (bool)(arg1)->GetEnableEffects();
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 {
12892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12893 }
12894 return resultobj;
12895 fail:
12896 return NULL;
12897 }
12898
12899
12900 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12901 PyObject *resultobj;
12902 wxFontData *arg1 = (wxFontData *) 0 ;
12903 wxFont result;
12904 PyObject * obj0 = 0 ;
12905 char *kwnames[] = {
12906 (char *) "self", NULL
12907 };
12908
12909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12912 {
12913 PyThreadState* __tstate = wxPyBeginAllowThreads();
12914 result = (arg1)->GetInitialFont();
12915
12916 wxPyEndAllowThreads(__tstate);
12917 if (PyErr_Occurred()) SWIG_fail;
12918 }
12919 {
12920 wxFont * resultptr;
12921 resultptr = new wxFont((wxFont &) result);
12922 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12923 }
12924 return resultobj;
12925 fail:
12926 return NULL;
12927 }
12928
12929
12930 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12931 PyObject *resultobj;
12932 wxFontData *arg1 = (wxFontData *) 0 ;
12933 bool result;
12934 PyObject * obj0 = 0 ;
12935 char *kwnames[] = {
12936 (char *) "self", NULL
12937 };
12938
12939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12942 {
12943 PyThreadState* __tstate = wxPyBeginAllowThreads();
12944 result = (bool)(arg1)->GetShowHelp();
12945
12946 wxPyEndAllowThreads(__tstate);
12947 if (PyErr_Occurred()) SWIG_fail;
12948 }
12949 {
12950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12951 }
12952 return resultobj;
12953 fail:
12954 return NULL;
12955 }
12956
12957
12958 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12959 PyObject *resultobj;
12960 wxFontData *arg1 = (wxFontData *) 0 ;
12961 bool arg2 ;
12962 PyObject * obj0 = 0 ;
12963 PyObject * obj1 = 0 ;
12964 char *kwnames[] = {
12965 (char *) "self",(char *) "allowSymbols", NULL
12966 };
12967
12968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12971 arg2 = (bool) SWIG_AsBool(obj1);
12972 if (PyErr_Occurred()) SWIG_fail;
12973 {
12974 PyThreadState* __tstate = wxPyBeginAllowThreads();
12975 (arg1)->SetAllowSymbols(arg2);
12976
12977 wxPyEndAllowThreads(__tstate);
12978 if (PyErr_Occurred()) SWIG_fail;
12979 }
12980 Py_INCREF(Py_None); resultobj = Py_None;
12981 return resultobj;
12982 fail:
12983 return NULL;
12984 }
12985
12986
12987 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12988 PyObject *resultobj;
12989 wxFontData *arg1 = (wxFontData *) 0 ;
12990 wxFont *arg2 = 0 ;
12991 PyObject * obj0 = 0 ;
12992 PyObject * obj1 = 0 ;
12993 char *kwnames[] = {
12994 (char *) "self",(char *) "font", NULL
12995 };
12996
12997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13000 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13001 SWIG_POINTER_EXCEPTION | 0)) == -1)
13002 SWIG_fail;
13003 if (arg2 == NULL) {
13004 PyErr_SetString(PyExc_TypeError,"null reference");
13005 SWIG_fail;
13006 }
13007 {
13008 PyThreadState* __tstate = wxPyBeginAllowThreads();
13009 (arg1)->SetChosenFont((wxFont const &)*arg2);
13010
13011 wxPyEndAllowThreads(__tstate);
13012 if (PyErr_Occurred()) SWIG_fail;
13013 }
13014 Py_INCREF(Py_None); resultobj = Py_None;
13015 return resultobj;
13016 fail:
13017 return NULL;
13018 }
13019
13020
13021 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13022 PyObject *resultobj;
13023 wxFontData *arg1 = (wxFontData *) 0 ;
13024 wxColour *arg2 = 0 ;
13025 wxColour temp2 ;
13026 PyObject * obj0 = 0 ;
13027 PyObject * obj1 = 0 ;
13028 char *kwnames[] = {
13029 (char *) "self",(char *) "colour", NULL
13030 };
13031
13032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13035 {
13036 arg2 = &temp2;
13037 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13038 }
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 (arg1)->SetColour((wxColour const &)*arg2);
13042
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
13046 Py_INCREF(Py_None); resultobj = Py_None;
13047 return resultobj;
13048 fail:
13049 return NULL;
13050 }
13051
13052
13053 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13054 PyObject *resultobj;
13055 wxFontData *arg1 = (wxFontData *) 0 ;
13056 wxFont *arg2 = 0 ;
13057 PyObject * obj0 = 0 ;
13058 PyObject * obj1 = 0 ;
13059 char *kwnames[] = {
13060 (char *) "self",(char *) "font", NULL
13061 };
13062
13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13066 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13067 SWIG_POINTER_EXCEPTION | 0)) == -1)
13068 SWIG_fail;
13069 if (arg2 == NULL) {
13070 PyErr_SetString(PyExc_TypeError,"null reference");
13071 SWIG_fail;
13072 }
13073 {
13074 PyThreadState* __tstate = wxPyBeginAllowThreads();
13075 (arg1)->SetInitialFont((wxFont const &)*arg2);
13076
13077 wxPyEndAllowThreads(__tstate);
13078 if (PyErr_Occurred()) SWIG_fail;
13079 }
13080 Py_INCREF(Py_None); resultobj = Py_None;
13081 return resultobj;
13082 fail:
13083 return NULL;
13084 }
13085
13086
13087 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13088 PyObject *resultobj;
13089 wxFontData *arg1 = (wxFontData *) 0 ;
13090 int arg2 ;
13091 int arg3 ;
13092 PyObject * obj0 = 0 ;
13093 PyObject * obj1 = 0 ;
13094 PyObject * obj2 = 0 ;
13095 char *kwnames[] = {
13096 (char *) "self",(char *) "min",(char *) "max", NULL
13097 };
13098
13099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13102 arg2 = (int) SWIG_AsInt(obj1);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 arg3 = (int) SWIG_AsInt(obj2);
13105 if (PyErr_Occurred()) SWIG_fail;
13106 {
13107 PyThreadState* __tstate = wxPyBeginAllowThreads();
13108 (arg1)->SetRange(arg2,arg3);
13109
13110 wxPyEndAllowThreads(__tstate);
13111 if (PyErr_Occurred()) SWIG_fail;
13112 }
13113 Py_INCREF(Py_None); resultobj = Py_None;
13114 return resultobj;
13115 fail:
13116 return NULL;
13117 }
13118
13119
13120 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13121 PyObject *resultobj;
13122 wxFontData *arg1 = (wxFontData *) 0 ;
13123 bool arg2 ;
13124 PyObject * obj0 = 0 ;
13125 PyObject * obj1 = 0 ;
13126 char *kwnames[] = {
13127 (char *) "self",(char *) "showHelp", NULL
13128 };
13129
13130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13133 arg2 = (bool) SWIG_AsBool(obj1);
13134 if (PyErr_Occurred()) SWIG_fail;
13135 {
13136 PyThreadState* __tstate = wxPyBeginAllowThreads();
13137 (arg1)->SetShowHelp(arg2);
13138
13139 wxPyEndAllowThreads(__tstate);
13140 if (PyErr_Occurred()) SWIG_fail;
13141 }
13142 Py_INCREF(Py_None); resultobj = Py_None;
13143 return resultobj;
13144 fail:
13145 return NULL;
13146 }
13147
13148
13149 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13150 PyObject *obj;
13151 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13152 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13153 Py_INCREF(obj);
13154 return Py_BuildValue((char *)"");
13155 }
13156 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13157 PyObject *resultobj;
13158 wxWindow *arg1 = (wxWindow *) 0 ;
13159 wxFontData *arg2 = 0 ;
13160 wxFontDialog *result;
13161 PyObject * obj0 = 0 ;
13162 PyObject * obj1 = 0 ;
13163 char *kwnames[] = {
13164 (char *) "parent",(char *) "data", NULL
13165 };
13166
13167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13171 SWIG_POINTER_EXCEPTION | 0)) == -1)
13172 SWIG_fail;
13173 if (arg2 == NULL) {
13174 PyErr_SetString(PyExc_TypeError,"null reference");
13175 SWIG_fail;
13176 }
13177 {
13178 PyThreadState* __tstate = wxPyBeginAllowThreads();
13179 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13180
13181 wxPyEndAllowThreads(__tstate);
13182 if (PyErr_Occurred()) SWIG_fail;
13183 }
13184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13185 return resultobj;
13186 fail:
13187 return NULL;
13188 }
13189
13190
13191 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13192 PyObject *resultobj;
13193 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13194 wxFontData *result;
13195 PyObject * obj0 = 0 ;
13196 char *kwnames[] = {
13197 (char *) "self", NULL
13198 };
13199
13200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13203 {
13204 PyThreadState* __tstate = wxPyBeginAllowThreads();
13205 {
13206 wxFontData &_result_ref = (arg1)->GetFontData();
13207 result = (wxFontData *) &_result_ref;
13208 }
13209
13210 wxPyEndAllowThreads(__tstate);
13211 if (PyErr_Occurred()) SWIG_fail;
13212 }
13213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13214 return resultobj;
13215 fail:
13216 return NULL;
13217 }
13218
13219
13220 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13221 PyObject *obj;
13222 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13223 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13224 Py_INCREF(obj);
13225 return Py_BuildValue((char *)"");
13226 }
13227 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13228 PyObject *resultobj;
13229 wxWindow *arg1 = (wxWindow *) 0 ;
13230 wxString *arg2 = 0 ;
13231 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13232 wxString *arg3 = (wxString *) &arg3_defvalue ;
13233 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13234 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13235 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13236 wxMessageDialog *result;
13237 bool temp2 = False ;
13238 bool temp3 = False ;
13239 wxPoint temp5 ;
13240 PyObject * obj0 = 0 ;
13241 PyObject * obj1 = 0 ;
13242 PyObject * obj2 = 0 ;
13243 PyObject * obj3 = 0 ;
13244 PyObject * obj4 = 0 ;
13245 char *kwnames[] = {
13246 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13247 };
13248
13249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13252 {
13253 arg2 = wxString_in_helper(obj1);
13254 if (arg2 == NULL) SWIG_fail;
13255 temp2 = True;
13256 }
13257 if (obj2) {
13258 {
13259 arg3 = wxString_in_helper(obj2);
13260 if (arg3 == NULL) SWIG_fail;
13261 temp3 = True;
13262 }
13263 }
13264 if (obj3) {
13265 arg4 = (long) SWIG_AsLong(obj3);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 }
13268 if (obj4) {
13269 {
13270 arg5 = &temp5;
13271 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13272 }
13273 }
13274 {
13275 PyThreadState* __tstate = wxPyBeginAllowThreads();
13276 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13277
13278 wxPyEndAllowThreads(__tstate);
13279 if (PyErr_Occurred()) SWIG_fail;
13280 }
13281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13282 {
13283 if (temp2)
13284 delete arg2;
13285 }
13286 {
13287 if (temp3)
13288 delete arg3;
13289 }
13290 return resultobj;
13291 fail:
13292 {
13293 if (temp2)
13294 delete arg2;
13295 }
13296 {
13297 if (temp3)
13298 delete arg3;
13299 }
13300 return NULL;
13301 }
13302
13303
13304 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13305 PyObject *obj;
13306 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13307 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13308 Py_INCREF(obj);
13309 return Py_BuildValue((char *)"");
13310 }
13311 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13312 PyObject *resultobj;
13313 wxString *arg1 = 0 ;
13314 wxString *arg2 = 0 ;
13315 int arg3 = (int) 100 ;
13316 wxWindow *arg4 = (wxWindow *) NULL ;
13317 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13318 wxProgressDialog *result;
13319 bool temp1 = False ;
13320 bool temp2 = False ;
13321 PyObject * obj0 = 0 ;
13322 PyObject * obj1 = 0 ;
13323 PyObject * obj2 = 0 ;
13324 PyObject * obj3 = 0 ;
13325 PyObject * obj4 = 0 ;
13326 char *kwnames[] = {
13327 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13328 };
13329
13330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13331 {
13332 arg1 = wxString_in_helper(obj0);
13333 if (arg1 == NULL) SWIG_fail;
13334 temp1 = True;
13335 }
13336 {
13337 arg2 = wxString_in_helper(obj1);
13338 if (arg2 == NULL) SWIG_fail;
13339 temp2 = True;
13340 }
13341 if (obj2) {
13342 arg3 = (int) SWIG_AsInt(obj2);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 }
13345 if (obj3) {
13346 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13348 }
13349 if (obj4) {
13350 arg5 = (int) SWIG_AsInt(obj4);
13351 if (PyErr_Occurred()) SWIG_fail;
13352 }
13353 {
13354 PyThreadState* __tstate = wxPyBeginAllowThreads();
13355 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13356
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13361 {
13362 if (temp1)
13363 delete arg1;
13364 }
13365 {
13366 if (temp2)
13367 delete arg2;
13368 }
13369 return resultobj;
13370 fail:
13371 {
13372 if (temp1)
13373 delete arg1;
13374 }
13375 {
13376 if (temp2)
13377 delete arg2;
13378 }
13379 return NULL;
13380 }
13381
13382
13383 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13384 PyObject *resultobj;
13385 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13386 int arg2 ;
13387 wxString const &arg3_defvalue = wxPyEmptyString ;
13388 wxString *arg3 = (wxString *) &arg3_defvalue ;
13389 bool result;
13390 bool temp3 = False ;
13391 PyObject * obj0 = 0 ;
13392 PyObject * obj1 = 0 ;
13393 PyObject * obj2 = 0 ;
13394 char *kwnames[] = {
13395 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13396 };
13397
13398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13401 arg2 = (int) SWIG_AsInt(obj1);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 if (obj2) {
13404 {
13405 arg3 = wxString_in_helper(obj2);
13406 if (arg3 == NULL) SWIG_fail;
13407 temp3 = True;
13408 }
13409 }
13410 {
13411 PyThreadState* __tstate = wxPyBeginAllowThreads();
13412 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13413
13414 wxPyEndAllowThreads(__tstate);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
13417 {
13418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13419 }
13420 {
13421 if (temp3)
13422 delete arg3;
13423 }
13424 return resultobj;
13425 fail:
13426 {
13427 if (temp3)
13428 delete arg3;
13429 }
13430 return NULL;
13431 }
13432
13433
13434 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13435 PyObject *resultobj;
13436 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13437 PyObject * obj0 = 0 ;
13438 char *kwnames[] = {
13439 (char *) "self", NULL
13440 };
13441
13442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13445 {
13446 PyThreadState* __tstate = wxPyBeginAllowThreads();
13447 (arg1)->Resume();
13448
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 Py_INCREF(Py_None); resultobj = Py_None;
13453 return resultobj;
13454 fail:
13455 return NULL;
13456 }
13457
13458
13459 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13460 PyObject *obj;
13461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13462 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13463 Py_INCREF(obj);
13464 return Py_BuildValue((char *)"");
13465 }
13466 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13467 PyObject *resultobj;
13468 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13469 int arg2 = (int) 0 ;
13470 wxFindDialogEvent *result;
13471 PyObject * obj0 = 0 ;
13472 PyObject * obj1 = 0 ;
13473 char *kwnames[] = {
13474 (char *) "commandType",(char *) "id", NULL
13475 };
13476
13477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13478 if (obj0) {
13479 arg1 = (wxEventType) SWIG_AsInt(obj0);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 if (obj1) {
13483 arg2 = (int) SWIG_AsInt(obj1);
13484 if (PyErr_Occurred()) SWIG_fail;
13485 }
13486 {
13487 PyThreadState* __tstate = wxPyBeginAllowThreads();
13488 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13489
13490 wxPyEndAllowThreads(__tstate);
13491 if (PyErr_Occurred()) SWIG_fail;
13492 }
13493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13494 return resultobj;
13495 fail:
13496 return NULL;
13497 }
13498
13499
13500 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13501 PyObject *resultobj;
13502 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13503 int result;
13504 PyObject * obj0 = 0 ;
13505 char *kwnames[] = {
13506 (char *) "self", NULL
13507 };
13508
13509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13512 {
13513 PyThreadState* __tstate = wxPyBeginAllowThreads();
13514 result = (int)(arg1)->GetFlags();
13515
13516 wxPyEndAllowThreads(__tstate);
13517 if (PyErr_Occurred()) SWIG_fail;
13518 }
13519 resultobj = SWIG_FromInt((int)result);
13520 return resultobj;
13521 fail:
13522 return NULL;
13523 }
13524
13525
13526 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13527 PyObject *resultobj;
13528 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13529 wxString *result;
13530 PyObject * obj0 = 0 ;
13531 char *kwnames[] = {
13532 (char *) "self", NULL
13533 };
13534
13535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13538 {
13539 PyThreadState* __tstate = wxPyBeginAllowThreads();
13540 {
13541 wxString const &_result_ref = (arg1)->GetFindString();
13542 result = (wxString *) &_result_ref;
13543 }
13544
13545 wxPyEndAllowThreads(__tstate);
13546 if (PyErr_Occurred()) SWIG_fail;
13547 }
13548 {
13549 #if wxUSE_UNICODE
13550 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13551 #else
13552 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13553 #endif
13554 }
13555 return resultobj;
13556 fail:
13557 return NULL;
13558 }
13559
13560
13561 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13562 PyObject *resultobj;
13563 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13564 wxString *result;
13565 PyObject * obj0 = 0 ;
13566 char *kwnames[] = {
13567 (char *) "self", NULL
13568 };
13569
13570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13573 {
13574 PyThreadState* __tstate = wxPyBeginAllowThreads();
13575 {
13576 wxString const &_result_ref = (arg1)->GetReplaceString();
13577 result = (wxString *) &_result_ref;
13578 }
13579
13580 wxPyEndAllowThreads(__tstate);
13581 if (PyErr_Occurred()) SWIG_fail;
13582 }
13583 {
13584 #if wxUSE_UNICODE
13585 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13586 #else
13587 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13588 #endif
13589 }
13590 return resultobj;
13591 fail:
13592 return NULL;
13593 }
13594
13595
13596 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13597 PyObject *resultobj;
13598 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13599 wxFindReplaceDialog *result;
13600 PyObject * obj0 = 0 ;
13601 char *kwnames[] = {
13602 (char *) "self", NULL
13603 };
13604
13605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13608 {
13609 PyThreadState* __tstate = wxPyBeginAllowThreads();
13610 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13611
13612 wxPyEndAllowThreads(__tstate);
13613 if (PyErr_Occurred()) SWIG_fail;
13614 }
13615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13616 return resultobj;
13617 fail:
13618 return NULL;
13619 }
13620
13621
13622 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13623 PyObject *resultobj;
13624 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13625 int arg2 ;
13626 PyObject * obj0 = 0 ;
13627 PyObject * obj1 = 0 ;
13628 char *kwnames[] = {
13629 (char *) "self",(char *) "flags", NULL
13630 };
13631
13632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13635 arg2 = (int) SWIG_AsInt(obj1);
13636 if (PyErr_Occurred()) SWIG_fail;
13637 {
13638 PyThreadState* __tstate = wxPyBeginAllowThreads();
13639 (arg1)->SetFlags(arg2);
13640
13641 wxPyEndAllowThreads(__tstate);
13642 if (PyErr_Occurred()) SWIG_fail;
13643 }
13644 Py_INCREF(Py_None); resultobj = Py_None;
13645 return resultobj;
13646 fail:
13647 return NULL;
13648 }
13649
13650
13651 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13652 PyObject *resultobj;
13653 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13654 wxString *arg2 = 0 ;
13655 bool temp2 = False ;
13656 PyObject * obj0 = 0 ;
13657 PyObject * obj1 = 0 ;
13658 char *kwnames[] = {
13659 (char *) "self",(char *) "str", NULL
13660 };
13661
13662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13665 {
13666 arg2 = wxString_in_helper(obj1);
13667 if (arg2 == NULL) SWIG_fail;
13668 temp2 = True;
13669 }
13670 {
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 (arg1)->SetFindString((wxString const &)*arg2);
13673
13674 wxPyEndAllowThreads(__tstate);
13675 if (PyErr_Occurred()) SWIG_fail;
13676 }
13677 Py_INCREF(Py_None); resultobj = Py_None;
13678 {
13679 if (temp2)
13680 delete arg2;
13681 }
13682 return resultobj;
13683 fail:
13684 {
13685 if (temp2)
13686 delete arg2;
13687 }
13688 return NULL;
13689 }
13690
13691
13692 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13693 PyObject *resultobj;
13694 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13695 wxString *arg2 = 0 ;
13696 bool temp2 = False ;
13697 PyObject * obj0 = 0 ;
13698 PyObject * obj1 = 0 ;
13699 char *kwnames[] = {
13700 (char *) "self",(char *) "str", NULL
13701 };
13702
13703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13706 {
13707 arg2 = wxString_in_helper(obj1);
13708 if (arg2 == NULL) SWIG_fail;
13709 temp2 = True;
13710 }
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 (arg1)->SetReplaceString((wxString const &)*arg2);
13714
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 Py_INCREF(Py_None); resultobj = Py_None;
13719 {
13720 if (temp2)
13721 delete arg2;
13722 }
13723 return resultobj;
13724 fail:
13725 {
13726 if (temp2)
13727 delete arg2;
13728 }
13729 return NULL;
13730 }
13731
13732
13733 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13734 PyObject *obj;
13735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13736 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13737 Py_INCREF(obj);
13738 return Py_BuildValue((char *)"");
13739 }
13740 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13741 PyObject *resultobj;
13742 int arg1 = (int) 0 ;
13743 wxFindReplaceData *result;
13744 PyObject * obj0 = 0 ;
13745 char *kwnames[] = {
13746 (char *) "flags", NULL
13747 };
13748
13749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13750 if (obj0) {
13751 arg1 = (int) SWIG_AsInt(obj0);
13752 if (PyErr_Occurred()) SWIG_fail;
13753 }
13754 {
13755 PyThreadState* __tstate = wxPyBeginAllowThreads();
13756 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13757
13758 wxPyEndAllowThreads(__tstate);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 }
13761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13762 return resultobj;
13763 fail:
13764 return NULL;
13765 }
13766
13767
13768 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13769 PyObject *resultobj;
13770 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13771 PyObject * obj0 = 0 ;
13772 char *kwnames[] = {
13773 (char *) "self", NULL
13774 };
13775
13776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13779 {
13780 PyThreadState* __tstate = wxPyBeginAllowThreads();
13781 delete arg1;
13782
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 Py_INCREF(Py_None); resultobj = Py_None;
13787 return resultobj;
13788 fail:
13789 return NULL;
13790 }
13791
13792
13793 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13794 PyObject *resultobj;
13795 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13796 wxString *result;
13797 PyObject * obj0 = 0 ;
13798 char *kwnames[] = {
13799 (char *) "self", NULL
13800 };
13801
13802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13805 {
13806 PyThreadState* __tstate = wxPyBeginAllowThreads();
13807 {
13808 wxString const &_result_ref = (arg1)->GetFindString();
13809 result = (wxString *) &_result_ref;
13810 }
13811
13812 wxPyEndAllowThreads(__tstate);
13813 if (PyErr_Occurred()) SWIG_fail;
13814 }
13815 {
13816 #if wxUSE_UNICODE
13817 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13818 #else
13819 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13820 #endif
13821 }
13822 return resultobj;
13823 fail:
13824 return NULL;
13825 }
13826
13827
13828 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13829 PyObject *resultobj;
13830 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13831 wxString *result;
13832 PyObject * obj0 = 0 ;
13833 char *kwnames[] = {
13834 (char *) "self", NULL
13835 };
13836
13837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 {
13843 wxString const &_result_ref = (arg1)->GetReplaceString();
13844 result = (wxString *) &_result_ref;
13845 }
13846
13847 wxPyEndAllowThreads(__tstate);
13848 if (PyErr_Occurred()) SWIG_fail;
13849 }
13850 {
13851 #if wxUSE_UNICODE
13852 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13853 #else
13854 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13855 #endif
13856 }
13857 return resultobj;
13858 fail:
13859 return NULL;
13860 }
13861
13862
13863 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13864 PyObject *resultobj;
13865 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13866 int result;
13867 PyObject * obj0 = 0 ;
13868 char *kwnames[] = {
13869 (char *) "self", NULL
13870 };
13871
13872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13875 {
13876 PyThreadState* __tstate = wxPyBeginAllowThreads();
13877 result = (int)(arg1)->GetFlags();
13878
13879 wxPyEndAllowThreads(__tstate);
13880 if (PyErr_Occurred()) SWIG_fail;
13881 }
13882 resultobj = SWIG_FromInt((int)result);
13883 return resultobj;
13884 fail:
13885 return NULL;
13886 }
13887
13888
13889 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13890 PyObject *resultobj;
13891 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13892 int arg2 ;
13893 PyObject * obj0 = 0 ;
13894 PyObject * obj1 = 0 ;
13895 char *kwnames[] = {
13896 (char *) "self",(char *) "flags", NULL
13897 };
13898
13899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13902 arg2 = (int) SWIG_AsInt(obj1);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 {
13905 PyThreadState* __tstate = wxPyBeginAllowThreads();
13906 (arg1)->SetFlags(arg2);
13907
13908 wxPyEndAllowThreads(__tstate);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 }
13911 Py_INCREF(Py_None); resultobj = Py_None;
13912 return resultobj;
13913 fail:
13914 return NULL;
13915 }
13916
13917
13918 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13919 PyObject *resultobj;
13920 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13921 wxString *arg2 = 0 ;
13922 bool temp2 = False ;
13923 PyObject * obj0 = 0 ;
13924 PyObject * obj1 = 0 ;
13925 char *kwnames[] = {
13926 (char *) "self",(char *) "str", NULL
13927 };
13928
13929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13932 {
13933 arg2 = wxString_in_helper(obj1);
13934 if (arg2 == NULL) SWIG_fail;
13935 temp2 = True;
13936 }
13937 {
13938 PyThreadState* __tstate = wxPyBeginAllowThreads();
13939 (arg1)->SetFindString((wxString const &)*arg2);
13940
13941 wxPyEndAllowThreads(__tstate);
13942 if (PyErr_Occurred()) SWIG_fail;
13943 }
13944 Py_INCREF(Py_None); resultobj = Py_None;
13945 {
13946 if (temp2)
13947 delete arg2;
13948 }
13949 return resultobj;
13950 fail:
13951 {
13952 if (temp2)
13953 delete arg2;
13954 }
13955 return NULL;
13956 }
13957
13958
13959 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13960 PyObject *resultobj;
13961 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13962 wxString *arg2 = 0 ;
13963 bool temp2 = False ;
13964 PyObject * obj0 = 0 ;
13965 PyObject * obj1 = 0 ;
13966 char *kwnames[] = {
13967 (char *) "self",(char *) "str", NULL
13968 };
13969
13970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13973 {
13974 arg2 = wxString_in_helper(obj1);
13975 if (arg2 == NULL) SWIG_fail;
13976 temp2 = True;
13977 }
13978 {
13979 PyThreadState* __tstate = wxPyBeginAllowThreads();
13980 (arg1)->SetReplaceString((wxString const &)*arg2);
13981
13982 wxPyEndAllowThreads(__tstate);
13983 if (PyErr_Occurred()) SWIG_fail;
13984 }
13985 Py_INCREF(Py_None); resultobj = Py_None;
13986 {
13987 if (temp2)
13988 delete arg2;
13989 }
13990 return resultobj;
13991 fail:
13992 {
13993 if (temp2)
13994 delete arg2;
13995 }
13996 return NULL;
13997 }
13998
13999
14000 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14001 PyObject *obj;
14002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14003 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14004 Py_INCREF(obj);
14005 return Py_BuildValue((char *)"");
14006 }
14007 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14008 PyObject *resultobj;
14009 wxWindow *arg1 = (wxWindow *) 0 ;
14010 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14011 wxString *arg3 = 0 ;
14012 int arg4 = (int) 0 ;
14013 wxFindReplaceDialog *result;
14014 bool temp3 = False ;
14015 PyObject * obj0 = 0 ;
14016 PyObject * obj1 = 0 ;
14017 PyObject * obj2 = 0 ;
14018 PyObject * obj3 = 0 ;
14019 char *kwnames[] = {
14020 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14021 };
14022
14023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14028 {
14029 arg3 = wxString_in_helper(obj2);
14030 if (arg3 == NULL) SWIG_fail;
14031 temp3 = True;
14032 }
14033 if (obj3) {
14034 arg4 = (int) SWIG_AsInt(obj3);
14035 if (PyErr_Occurred()) SWIG_fail;
14036 }
14037 {
14038 PyThreadState* __tstate = wxPyBeginAllowThreads();
14039 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14040
14041 wxPyEndAllowThreads(__tstate);
14042 if (PyErr_Occurred()) SWIG_fail;
14043 }
14044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14045 {
14046 if (temp3)
14047 delete arg3;
14048 }
14049 return resultobj;
14050 fail:
14051 {
14052 if (temp3)
14053 delete arg3;
14054 }
14055 return NULL;
14056 }
14057
14058
14059 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14060 PyObject *resultobj;
14061 wxFindReplaceDialog *result;
14062 char *kwnames[] = {
14063 NULL
14064 };
14065
14066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14067 {
14068 PyThreadState* __tstate = wxPyBeginAllowThreads();
14069 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14070
14071 wxPyEndAllowThreads(__tstate);
14072 if (PyErr_Occurred()) SWIG_fail;
14073 }
14074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14075 return resultobj;
14076 fail:
14077 return NULL;
14078 }
14079
14080
14081 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14082 PyObject *resultobj;
14083 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14084 wxWindow *arg2 = (wxWindow *) 0 ;
14085 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14086 wxString *arg4 = 0 ;
14087 int arg5 = (int) 0 ;
14088 bool result;
14089 bool temp4 = False ;
14090 PyObject * obj0 = 0 ;
14091 PyObject * obj1 = 0 ;
14092 PyObject * obj2 = 0 ;
14093 PyObject * obj3 = 0 ;
14094 PyObject * obj4 = 0 ;
14095 char *kwnames[] = {
14096 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14097 };
14098
14099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14102 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14104 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14106 {
14107 arg4 = wxString_in_helper(obj3);
14108 if (arg4 == NULL) SWIG_fail;
14109 temp4 = True;
14110 }
14111 if (obj4) {
14112 arg5 = (int) SWIG_AsInt(obj4);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
14115 {
14116 PyThreadState* __tstate = wxPyBeginAllowThreads();
14117 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14118
14119 wxPyEndAllowThreads(__tstate);
14120 if (PyErr_Occurred()) SWIG_fail;
14121 }
14122 {
14123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14124 }
14125 {
14126 if (temp4)
14127 delete arg4;
14128 }
14129 return resultobj;
14130 fail:
14131 {
14132 if (temp4)
14133 delete arg4;
14134 }
14135 return NULL;
14136 }
14137
14138
14139 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14140 PyObject *resultobj;
14141 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14142 wxFindReplaceData *result;
14143 PyObject * obj0 = 0 ;
14144 char *kwnames[] = {
14145 (char *) "self", NULL
14146 };
14147
14148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14151 {
14152 PyThreadState* __tstate = wxPyBeginAllowThreads();
14153 result = (wxFindReplaceData *)(arg1)->GetData();
14154
14155 wxPyEndAllowThreads(__tstate);
14156 if (PyErr_Occurred()) SWIG_fail;
14157 }
14158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14159 return resultobj;
14160 fail:
14161 return NULL;
14162 }
14163
14164
14165 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14166 PyObject *resultobj;
14167 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14168 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14169 PyObject * obj0 = 0 ;
14170 PyObject * obj1 = 0 ;
14171 char *kwnames[] = {
14172 (char *) "self",(char *) "data", NULL
14173 };
14174
14175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14178 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14180 {
14181 PyThreadState* __tstate = wxPyBeginAllowThreads();
14182 (arg1)->SetData(arg2);
14183
14184 wxPyEndAllowThreads(__tstate);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 }
14187 Py_INCREF(Py_None); resultobj = Py_None;
14188 return resultobj;
14189 fail:
14190 return NULL;
14191 }
14192
14193
14194 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14195 PyObject *obj;
14196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14197 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14198 Py_INCREF(obj);
14199 return Py_BuildValue((char *)"");
14200 }
14201 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14202 PyObject *resultobj;
14203 wxWindow *arg1 = (wxWindow *) 0 ;
14204 int arg2 ;
14205 wxString *arg3 = 0 ;
14206 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14207 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14208 wxSize const &arg5_defvalue = wxDefaultSize ;
14209 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14210 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14211 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14212 wxString *arg7 = (wxString *) &arg7_defvalue ;
14213 wxMDIParentFrame *result;
14214 bool temp3 = False ;
14215 wxPoint temp4 ;
14216 wxSize temp5 ;
14217 bool temp7 = False ;
14218 PyObject * obj0 = 0 ;
14219 PyObject * obj1 = 0 ;
14220 PyObject * obj2 = 0 ;
14221 PyObject * obj3 = 0 ;
14222 PyObject * obj4 = 0 ;
14223 PyObject * obj5 = 0 ;
14224 PyObject * obj6 = 0 ;
14225 char *kwnames[] = {
14226 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14227 };
14228
14229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14232 arg2 = (int const) SWIG_AsInt(obj1);
14233 if (PyErr_Occurred()) SWIG_fail;
14234 {
14235 arg3 = wxString_in_helper(obj2);
14236 if (arg3 == NULL) SWIG_fail;
14237 temp3 = True;
14238 }
14239 if (obj3) {
14240 {
14241 arg4 = &temp4;
14242 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14243 }
14244 }
14245 if (obj4) {
14246 {
14247 arg5 = &temp5;
14248 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14249 }
14250 }
14251 if (obj5) {
14252 arg6 = (long) SWIG_AsLong(obj5);
14253 if (PyErr_Occurred()) SWIG_fail;
14254 }
14255 if (obj6) {
14256 {
14257 arg7 = wxString_in_helper(obj6);
14258 if (arg7 == NULL) SWIG_fail;
14259 temp7 = True;
14260 }
14261 }
14262 {
14263 PyThreadState* __tstate = wxPyBeginAllowThreads();
14264 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14265
14266 wxPyEndAllowThreads(__tstate);
14267 if (PyErr_Occurred()) SWIG_fail;
14268 }
14269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14270 {
14271 if (temp3)
14272 delete arg3;
14273 }
14274 {
14275 if (temp7)
14276 delete arg7;
14277 }
14278 return resultobj;
14279 fail:
14280 {
14281 if (temp3)
14282 delete arg3;
14283 }
14284 {
14285 if (temp7)
14286 delete arg7;
14287 }
14288 return NULL;
14289 }
14290
14291
14292 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14293 PyObject *resultobj;
14294 wxMDIParentFrame *result;
14295 char *kwnames[] = {
14296 NULL
14297 };
14298
14299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14308 return resultobj;
14309 fail:
14310 return NULL;
14311 }
14312
14313
14314 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14315 PyObject *resultobj;
14316 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14317 wxWindow *arg2 = (wxWindow *) 0 ;
14318 int arg3 ;
14319 wxString *arg4 = 0 ;
14320 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14321 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14322 wxSize const &arg6_defvalue = wxDefaultSize ;
14323 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14324 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14325 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14326 wxString *arg8 = (wxString *) &arg8_defvalue ;
14327 bool result;
14328 bool temp4 = False ;
14329 wxPoint temp5 ;
14330 wxSize temp6 ;
14331 bool temp8 = False ;
14332 PyObject * obj0 = 0 ;
14333 PyObject * obj1 = 0 ;
14334 PyObject * obj2 = 0 ;
14335 PyObject * obj3 = 0 ;
14336 PyObject * obj4 = 0 ;
14337 PyObject * obj5 = 0 ;
14338 PyObject * obj6 = 0 ;
14339 PyObject * obj7 = 0 ;
14340 char *kwnames[] = {
14341 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14342 };
14343
14344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14347 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14349 arg3 = (int const) SWIG_AsInt(obj2);
14350 if (PyErr_Occurred()) SWIG_fail;
14351 {
14352 arg4 = wxString_in_helper(obj3);
14353 if (arg4 == NULL) SWIG_fail;
14354 temp4 = True;
14355 }
14356 if (obj4) {
14357 {
14358 arg5 = &temp5;
14359 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14360 }
14361 }
14362 if (obj5) {
14363 {
14364 arg6 = &temp6;
14365 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14366 }
14367 }
14368 if (obj6) {
14369 arg7 = (long) SWIG_AsLong(obj6);
14370 if (PyErr_Occurred()) SWIG_fail;
14371 }
14372 if (obj7) {
14373 {
14374 arg8 = wxString_in_helper(obj7);
14375 if (arg8 == NULL) SWIG_fail;
14376 temp8 = True;
14377 }
14378 }
14379 {
14380 PyThreadState* __tstate = wxPyBeginAllowThreads();
14381 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14382
14383 wxPyEndAllowThreads(__tstate);
14384 if (PyErr_Occurred()) SWIG_fail;
14385 }
14386 {
14387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14388 }
14389 {
14390 if (temp4)
14391 delete arg4;
14392 }
14393 {
14394 if (temp8)
14395 delete arg8;
14396 }
14397 return resultobj;
14398 fail:
14399 {
14400 if (temp4)
14401 delete arg4;
14402 }
14403 {
14404 if (temp8)
14405 delete arg8;
14406 }
14407 return NULL;
14408 }
14409
14410
14411 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14412 PyObject *resultobj;
14413 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14414 PyObject * obj0 = 0 ;
14415 char *kwnames[] = {
14416 (char *) "self", NULL
14417 };
14418
14419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14422 {
14423 PyThreadState* __tstate = wxPyBeginAllowThreads();
14424 (arg1)->ActivateNext();
14425
14426 wxPyEndAllowThreads(__tstate);
14427 if (PyErr_Occurred()) SWIG_fail;
14428 }
14429 Py_INCREF(Py_None); resultobj = Py_None;
14430 return resultobj;
14431 fail:
14432 return NULL;
14433 }
14434
14435
14436 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14437 PyObject *resultobj;
14438 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14439 PyObject * obj0 = 0 ;
14440 char *kwnames[] = {
14441 (char *) "self", NULL
14442 };
14443
14444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14447 {
14448 PyThreadState* __tstate = wxPyBeginAllowThreads();
14449 (arg1)->ActivatePrevious();
14450
14451 wxPyEndAllowThreads(__tstate);
14452 if (PyErr_Occurred()) SWIG_fail;
14453 }
14454 Py_INCREF(Py_None); resultobj = Py_None;
14455 return resultobj;
14456 fail:
14457 return NULL;
14458 }
14459
14460
14461 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14462 PyObject *resultobj;
14463 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14464 PyObject * obj0 = 0 ;
14465 char *kwnames[] = {
14466 (char *) "self", NULL
14467 };
14468
14469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14472 {
14473 PyThreadState* __tstate = wxPyBeginAllowThreads();
14474 (arg1)->ArrangeIcons();
14475
14476 wxPyEndAllowThreads(__tstate);
14477 if (PyErr_Occurred()) SWIG_fail;
14478 }
14479 Py_INCREF(Py_None); resultobj = Py_None;
14480 return resultobj;
14481 fail:
14482 return NULL;
14483 }
14484
14485
14486 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14487 PyObject *resultobj;
14488 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14489 PyObject * obj0 = 0 ;
14490 char *kwnames[] = {
14491 (char *) "self", NULL
14492 };
14493
14494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14497 {
14498 PyThreadState* __tstate = wxPyBeginAllowThreads();
14499 (arg1)->Cascade();
14500
14501 wxPyEndAllowThreads(__tstate);
14502 if (PyErr_Occurred()) SWIG_fail;
14503 }
14504 Py_INCREF(Py_None); resultobj = Py_None;
14505 return resultobj;
14506 fail:
14507 return NULL;
14508 }
14509
14510
14511 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14512 PyObject *resultobj;
14513 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14514 wxMDIChildFrame *result;
14515 PyObject * obj0 = 0 ;
14516 char *kwnames[] = {
14517 (char *) "self", NULL
14518 };
14519
14520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14523 {
14524 PyThreadState* __tstate = wxPyBeginAllowThreads();
14525 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14526
14527 wxPyEndAllowThreads(__tstate);
14528 if (PyErr_Occurred()) SWIG_fail;
14529 }
14530 {
14531 resultobj = wxPyMake_wxObject(result);
14532 }
14533 return resultobj;
14534 fail:
14535 return NULL;
14536 }
14537
14538
14539 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14540 PyObject *resultobj;
14541 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14542 wxMDIClientWindow *result;
14543 PyObject * obj0 = 0 ;
14544 char *kwnames[] = {
14545 (char *) "self", NULL
14546 };
14547
14548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14551 {
14552 PyThreadState* __tstate = wxPyBeginAllowThreads();
14553 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14554
14555 wxPyEndAllowThreads(__tstate);
14556 if (PyErr_Occurred()) SWIG_fail;
14557 }
14558 {
14559 resultobj = wxPyMake_wxObject(result);
14560 }
14561 return resultobj;
14562 fail:
14563 return NULL;
14564 }
14565
14566
14567 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14568 PyObject *resultobj;
14569 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14570 wxWindow *result;
14571 PyObject * obj0 = 0 ;
14572 char *kwnames[] = {
14573 (char *) "self", NULL
14574 };
14575
14576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14579 {
14580 PyThreadState* __tstate = wxPyBeginAllowThreads();
14581 result = (wxWindow *)(arg1)->GetToolBar();
14582
14583 wxPyEndAllowThreads(__tstate);
14584 if (PyErr_Occurred()) SWIG_fail;
14585 }
14586 {
14587 resultobj = wxPyMake_wxObject(result);
14588 }
14589 return resultobj;
14590 fail:
14591 return NULL;
14592 }
14593
14594
14595 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14596 PyObject *resultobj;
14597 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14598 PyObject * obj0 = 0 ;
14599 char *kwnames[] = {
14600 (char *) "self", NULL
14601 };
14602
14603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14606 {
14607 PyThreadState* __tstate = wxPyBeginAllowThreads();
14608 (arg1)->Tile();
14609
14610 wxPyEndAllowThreads(__tstate);
14611 if (PyErr_Occurred()) SWIG_fail;
14612 }
14613 Py_INCREF(Py_None); resultobj = Py_None;
14614 return resultobj;
14615 fail:
14616 return NULL;
14617 }
14618
14619
14620 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14621 PyObject *obj;
14622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14623 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14624 Py_INCREF(obj);
14625 return Py_BuildValue((char *)"");
14626 }
14627 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14628 PyObject *resultobj;
14629 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14630 int arg2 ;
14631 wxString *arg3 = 0 ;
14632 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14633 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14634 wxSize const &arg5_defvalue = wxDefaultSize ;
14635 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14636 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14637 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14638 wxString *arg7 = (wxString *) &arg7_defvalue ;
14639 wxMDIChildFrame *result;
14640 bool temp3 = False ;
14641 wxPoint temp4 ;
14642 wxSize temp5 ;
14643 bool temp7 = False ;
14644 PyObject * obj0 = 0 ;
14645 PyObject * obj1 = 0 ;
14646 PyObject * obj2 = 0 ;
14647 PyObject * obj3 = 0 ;
14648 PyObject * obj4 = 0 ;
14649 PyObject * obj5 = 0 ;
14650 PyObject * obj6 = 0 ;
14651 char *kwnames[] = {
14652 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14653 };
14654
14655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14658 arg2 = (int const) SWIG_AsInt(obj1);
14659 if (PyErr_Occurred()) SWIG_fail;
14660 {
14661 arg3 = wxString_in_helper(obj2);
14662 if (arg3 == NULL) SWIG_fail;
14663 temp3 = True;
14664 }
14665 if (obj3) {
14666 {
14667 arg4 = &temp4;
14668 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14669 }
14670 }
14671 if (obj4) {
14672 {
14673 arg5 = &temp5;
14674 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14675 }
14676 }
14677 if (obj5) {
14678 arg6 = (long) SWIG_AsLong(obj5);
14679 if (PyErr_Occurred()) SWIG_fail;
14680 }
14681 if (obj6) {
14682 {
14683 arg7 = wxString_in_helper(obj6);
14684 if (arg7 == NULL) SWIG_fail;
14685 temp7 = True;
14686 }
14687 }
14688 {
14689 PyThreadState* __tstate = wxPyBeginAllowThreads();
14690 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14691
14692 wxPyEndAllowThreads(__tstate);
14693 if (PyErr_Occurred()) SWIG_fail;
14694 }
14695 {
14696 resultobj = wxPyMake_wxObject(result);
14697 }
14698 {
14699 if (temp3)
14700 delete arg3;
14701 }
14702 {
14703 if (temp7)
14704 delete arg7;
14705 }
14706 return resultobj;
14707 fail:
14708 {
14709 if (temp3)
14710 delete arg3;
14711 }
14712 {
14713 if (temp7)
14714 delete arg7;
14715 }
14716 return NULL;
14717 }
14718
14719
14720 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14721 PyObject *resultobj;
14722 wxMDIChildFrame *result;
14723 char *kwnames[] = {
14724 NULL
14725 };
14726
14727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14728 {
14729 PyThreadState* __tstate = wxPyBeginAllowThreads();
14730 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14731
14732 wxPyEndAllowThreads(__tstate);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 {
14736 resultobj = wxPyMake_wxObject(result);
14737 }
14738 return resultobj;
14739 fail:
14740 return NULL;
14741 }
14742
14743
14744 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14745 PyObject *resultobj;
14746 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14747 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14748 int arg3 ;
14749 wxString *arg4 = 0 ;
14750 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14751 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14752 wxSize const &arg6_defvalue = wxDefaultSize ;
14753 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14754 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14755 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14756 wxString *arg8 = (wxString *) &arg8_defvalue ;
14757 bool result;
14758 bool temp4 = False ;
14759 wxPoint temp5 ;
14760 wxSize temp6 ;
14761 bool temp8 = False ;
14762 PyObject * obj0 = 0 ;
14763 PyObject * obj1 = 0 ;
14764 PyObject * obj2 = 0 ;
14765 PyObject * obj3 = 0 ;
14766 PyObject * obj4 = 0 ;
14767 PyObject * obj5 = 0 ;
14768 PyObject * obj6 = 0 ;
14769 PyObject * obj7 = 0 ;
14770 char *kwnames[] = {
14771 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14772 };
14773
14774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14779 arg3 = (int const) SWIG_AsInt(obj2);
14780 if (PyErr_Occurred()) SWIG_fail;
14781 {
14782 arg4 = wxString_in_helper(obj3);
14783 if (arg4 == NULL) SWIG_fail;
14784 temp4 = True;
14785 }
14786 if (obj4) {
14787 {
14788 arg5 = &temp5;
14789 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14790 }
14791 }
14792 if (obj5) {
14793 {
14794 arg6 = &temp6;
14795 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14796 }
14797 }
14798 if (obj6) {
14799 arg7 = (long) SWIG_AsLong(obj6);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 if (obj7) {
14803 {
14804 arg8 = wxString_in_helper(obj7);
14805 if (arg8 == NULL) SWIG_fail;
14806 temp8 = True;
14807 }
14808 }
14809 {
14810 PyThreadState* __tstate = wxPyBeginAllowThreads();
14811 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14812
14813 wxPyEndAllowThreads(__tstate);
14814 if (PyErr_Occurred()) SWIG_fail;
14815 }
14816 {
14817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14818 }
14819 {
14820 if (temp4)
14821 delete arg4;
14822 }
14823 {
14824 if (temp8)
14825 delete arg8;
14826 }
14827 return resultobj;
14828 fail:
14829 {
14830 if (temp4)
14831 delete arg4;
14832 }
14833 {
14834 if (temp8)
14835 delete arg8;
14836 }
14837 return NULL;
14838 }
14839
14840
14841 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14842 PyObject *resultobj;
14843 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14844 PyObject * obj0 = 0 ;
14845 char *kwnames[] = {
14846 (char *) "self", NULL
14847 };
14848
14849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14852 {
14853 PyThreadState* __tstate = wxPyBeginAllowThreads();
14854 (arg1)->Activate();
14855
14856 wxPyEndAllowThreads(__tstate);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 }
14859 Py_INCREF(Py_None); resultobj = Py_None;
14860 return resultobj;
14861 fail:
14862 return NULL;
14863 }
14864
14865
14866 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14867 PyObject *resultobj;
14868 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14869 bool arg2 ;
14870 PyObject * obj0 = 0 ;
14871 PyObject * obj1 = 0 ;
14872 char *kwnames[] = {
14873 (char *) "self",(char *) "maximize", NULL
14874 };
14875
14876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14879 arg2 = (bool) SWIG_AsBool(obj1);
14880 if (PyErr_Occurred()) SWIG_fail;
14881 {
14882 PyThreadState* __tstate = wxPyBeginAllowThreads();
14883 (arg1)->Maximize(arg2);
14884
14885 wxPyEndAllowThreads(__tstate);
14886 if (PyErr_Occurred()) SWIG_fail;
14887 }
14888 Py_INCREF(Py_None); resultobj = Py_None;
14889 return resultobj;
14890 fail:
14891 return NULL;
14892 }
14893
14894
14895 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
14896 PyObject *resultobj;
14897 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14898 PyObject * obj0 = 0 ;
14899 char *kwnames[] = {
14900 (char *) "self", NULL
14901 };
14902
14903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14906 {
14907 PyThreadState* __tstate = wxPyBeginAllowThreads();
14908 (arg1)->Restore();
14909
14910 wxPyEndAllowThreads(__tstate);
14911 if (PyErr_Occurred()) SWIG_fail;
14912 }
14913 Py_INCREF(Py_None); resultobj = Py_None;
14914 return resultobj;
14915 fail:
14916 return NULL;
14917 }
14918
14919
14920 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14921 PyObject *obj;
14922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14923 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14924 Py_INCREF(obj);
14925 return Py_BuildValue((char *)"");
14926 }
14927 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14928 PyObject *resultobj;
14929 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14930 long arg2 = (long) 0 ;
14931 wxMDIClientWindow *result;
14932 PyObject * obj0 = 0 ;
14933 PyObject * obj1 = 0 ;
14934 char *kwnames[] = {
14935 (char *) "parent",(char *) "style", NULL
14936 };
14937
14938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14941 if (obj1) {
14942 arg2 = (long) SWIG_AsLong(obj1);
14943 if (PyErr_Occurred()) SWIG_fail;
14944 }
14945 {
14946 PyThreadState* __tstate = wxPyBeginAllowThreads();
14947 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14948
14949 wxPyEndAllowThreads(__tstate);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
14952 {
14953 resultobj = wxPyMake_wxObject(result);
14954 }
14955 return resultobj;
14956 fail:
14957 return NULL;
14958 }
14959
14960
14961 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14962 PyObject *resultobj;
14963 wxMDIClientWindow *result;
14964 char *kwnames[] = {
14965 NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14969 {
14970 PyThreadState* __tstate = wxPyBeginAllowThreads();
14971 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14972
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 {
14977 resultobj = wxPyMake_wxObject(result);
14978 }
14979 return resultobj;
14980 fail:
14981 return NULL;
14982 }
14983
14984
14985 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14986 PyObject *resultobj;
14987 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14988 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14989 long arg3 = (long) 0 ;
14990 bool result;
14991 PyObject * obj0 = 0 ;
14992 PyObject * obj1 = 0 ;
14993 PyObject * obj2 = 0 ;
14994 char *kwnames[] = {
14995 (char *) "self",(char *) "parent",(char *) "style", NULL
14996 };
14997
14998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
14999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15001 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15003 if (obj2) {
15004 arg3 = (long) SWIG_AsLong(obj2);
15005 if (PyErr_Occurred()) SWIG_fail;
15006 }
15007 {
15008 PyThreadState* __tstate = wxPyBeginAllowThreads();
15009 result = (bool)(arg1)->Create(arg2,arg3);
15010
15011 wxPyEndAllowThreads(__tstate);
15012 if (PyErr_Occurred()) SWIG_fail;
15013 }
15014 {
15015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15016 }
15017 return resultobj;
15018 fail:
15019 return NULL;
15020 }
15021
15022
15023 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15024 PyObject *obj;
15025 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15026 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15027 Py_INCREF(obj);
15028 return Py_BuildValue((char *)"");
15029 }
15030 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15031 PyObject *resultobj;
15032 wxWindow *arg1 = (wxWindow *) 0 ;
15033 int arg2 ;
15034 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15035 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15036 wxSize const &arg4_defvalue = wxDefaultSize ;
15037 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15038 long arg5 = (long) 0 ;
15039 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15040 wxString *arg6 = (wxString *) &arg6_defvalue ;
15041 wxPyWindow *result;
15042 wxPoint temp3 ;
15043 wxSize temp4 ;
15044 bool temp6 = False ;
15045 PyObject * obj0 = 0 ;
15046 PyObject * obj1 = 0 ;
15047 PyObject * obj2 = 0 ;
15048 PyObject * obj3 = 0 ;
15049 PyObject * obj4 = 0 ;
15050 PyObject * obj5 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15053 };
15054
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15058 arg2 = (int const) SWIG_AsInt(obj1);
15059 if (PyErr_Occurred()) SWIG_fail;
15060 if (obj2) {
15061 {
15062 arg3 = &temp3;
15063 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15064 }
15065 }
15066 if (obj3) {
15067 {
15068 arg4 = &temp4;
15069 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15070 }
15071 }
15072 if (obj4) {
15073 arg5 = (long) SWIG_AsLong(obj4);
15074 if (PyErr_Occurred()) SWIG_fail;
15075 }
15076 if (obj5) {
15077 {
15078 arg6 = wxString_in_helper(obj5);
15079 if (arg6 == NULL) SWIG_fail;
15080 temp6 = True;
15081 }
15082 }
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15086
15087 wxPyEndAllowThreads(__tstate);
15088 if (PyErr_Occurred()) SWIG_fail;
15089 }
15090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15091 {
15092 if (temp6)
15093 delete arg6;
15094 }
15095 return resultobj;
15096 fail:
15097 {
15098 if (temp6)
15099 delete arg6;
15100 }
15101 return NULL;
15102 }
15103
15104
15105 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15106 PyObject *resultobj;
15107 wxPyWindow *result;
15108 char *kwnames[] = {
15109 NULL
15110 };
15111
15112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15113 {
15114 PyThreadState* __tstate = wxPyBeginAllowThreads();
15115 result = (wxPyWindow *)new wxPyWindow();
15116
15117 wxPyEndAllowThreads(__tstate);
15118 if (PyErr_Occurred()) SWIG_fail;
15119 }
15120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15121 return resultobj;
15122 fail:
15123 return NULL;
15124 }
15125
15126
15127 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15128 PyObject *resultobj;
15129 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15130 PyObject *arg2 = (PyObject *) 0 ;
15131 PyObject *arg3 = (PyObject *) 0 ;
15132 PyObject * obj0 = 0 ;
15133 PyObject * obj1 = 0 ;
15134 PyObject * obj2 = 0 ;
15135 char *kwnames[] = {
15136 (char *) "self",(char *) "self",(char *) "_class", NULL
15137 };
15138
15139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15142 arg2 = obj1;
15143 arg3 = obj2;
15144 {
15145 PyThreadState* __tstate = wxPyBeginAllowThreads();
15146 (arg1)->_setCallbackInfo(arg2,arg3);
15147
15148 wxPyEndAllowThreads(__tstate);
15149 if (PyErr_Occurred()) SWIG_fail;
15150 }
15151 Py_INCREF(Py_None); resultobj = Py_None;
15152 return resultobj;
15153 fail:
15154 return NULL;
15155 }
15156
15157
15158 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15159 PyObject *resultobj;
15160 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15161 int arg2 ;
15162 int arg3 ;
15163 int arg4 ;
15164 int arg5 ;
15165 PyObject * obj0 = 0 ;
15166 PyObject * obj1 = 0 ;
15167 PyObject * obj2 = 0 ;
15168 PyObject * obj3 = 0 ;
15169 PyObject * obj4 = 0 ;
15170 char *kwnames[] = {
15171 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15172 };
15173
15174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15177 arg2 = (int) SWIG_AsInt(obj1);
15178 if (PyErr_Occurred()) SWIG_fail;
15179 arg3 = (int) SWIG_AsInt(obj2);
15180 if (PyErr_Occurred()) SWIG_fail;
15181 arg4 = (int) SWIG_AsInt(obj3);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 arg5 = (int) SWIG_AsInt(obj4);
15184 if (PyErr_Occurred()) SWIG_fail;
15185 {
15186 PyThreadState* __tstate = wxPyBeginAllowThreads();
15187 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15188
15189 wxPyEndAllowThreads(__tstate);
15190 if (PyErr_Occurred()) SWIG_fail;
15191 }
15192 Py_INCREF(Py_None); resultobj = Py_None;
15193 return resultobj;
15194 fail:
15195 return NULL;
15196 }
15197
15198
15199 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15200 PyObject *resultobj;
15201 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15202 int arg2 ;
15203 int arg3 ;
15204 int arg4 ;
15205 int arg5 ;
15206 int arg6 = (int) wxSIZE_AUTO ;
15207 PyObject * obj0 = 0 ;
15208 PyObject * obj1 = 0 ;
15209 PyObject * obj2 = 0 ;
15210 PyObject * obj3 = 0 ;
15211 PyObject * obj4 = 0 ;
15212 PyObject * obj5 = 0 ;
15213 char *kwnames[] = {
15214 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15215 };
15216
15217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15220 arg2 = (int) SWIG_AsInt(obj1);
15221 if (PyErr_Occurred()) SWIG_fail;
15222 arg3 = (int) SWIG_AsInt(obj2);
15223 if (PyErr_Occurred()) SWIG_fail;
15224 arg4 = (int) SWIG_AsInt(obj3);
15225 if (PyErr_Occurred()) SWIG_fail;
15226 arg5 = (int) SWIG_AsInt(obj4);
15227 if (PyErr_Occurred()) SWIG_fail;
15228 if (obj5) {
15229 arg6 = (int) SWIG_AsInt(obj5);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 }
15232 {
15233 PyThreadState* __tstate = wxPyBeginAllowThreads();
15234 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15235
15236 wxPyEndAllowThreads(__tstate);
15237 if (PyErr_Occurred()) SWIG_fail;
15238 }
15239 Py_INCREF(Py_None); resultobj = Py_None;
15240 return resultobj;
15241 fail:
15242 return NULL;
15243 }
15244
15245
15246 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15247 PyObject *resultobj;
15248 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15249 int arg2 ;
15250 int arg3 ;
15251 PyObject * obj0 = 0 ;
15252 PyObject * obj1 = 0 ;
15253 PyObject * obj2 = 0 ;
15254 char *kwnames[] = {
15255 (char *) "self",(char *) "width",(char *) "height", NULL
15256 };
15257
15258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15261 arg2 = (int) SWIG_AsInt(obj1);
15262 if (PyErr_Occurred()) SWIG_fail;
15263 arg3 = (int) SWIG_AsInt(obj2);
15264 if (PyErr_Occurred()) SWIG_fail;
15265 {
15266 PyThreadState* __tstate = wxPyBeginAllowThreads();
15267 (arg1)->base_DoSetClientSize(arg2,arg3);
15268
15269 wxPyEndAllowThreads(__tstate);
15270 if (PyErr_Occurred()) SWIG_fail;
15271 }
15272 Py_INCREF(Py_None); resultobj = Py_None;
15273 return resultobj;
15274 fail:
15275 return NULL;
15276 }
15277
15278
15279 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15280 PyObject *resultobj;
15281 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15282 int arg2 ;
15283 int arg3 ;
15284 PyObject * obj0 = 0 ;
15285 PyObject * obj1 = 0 ;
15286 PyObject * obj2 = 0 ;
15287 char *kwnames[] = {
15288 (char *) "self",(char *) "x",(char *) "y", NULL
15289 };
15290
15291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15294 arg2 = (int) SWIG_AsInt(obj1);
15295 if (PyErr_Occurred()) SWIG_fail;
15296 arg3 = (int) SWIG_AsInt(obj2);
15297 if (PyErr_Occurred()) SWIG_fail;
15298 {
15299 PyThreadState* __tstate = wxPyBeginAllowThreads();
15300 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15301
15302 wxPyEndAllowThreads(__tstate);
15303 if (PyErr_Occurred()) SWIG_fail;
15304 }
15305 Py_INCREF(Py_None); resultobj = Py_None;
15306 return resultobj;
15307 fail:
15308 return NULL;
15309 }
15310
15311
15312 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15313 PyObject *resultobj;
15314 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15315 int *arg2 = (int *) 0 ;
15316 int *arg3 = (int *) 0 ;
15317 int temp2 ;
15318 int temp3 ;
15319 PyObject * obj0 = 0 ;
15320 char *kwnames[] = {
15321 (char *) "self", NULL
15322 };
15323
15324 arg2 = &temp2;
15325 arg3 = &temp3;
15326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15329 {
15330 PyThreadState* __tstate = wxPyBeginAllowThreads();
15331 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15332
15333 wxPyEndAllowThreads(__tstate);
15334 if (PyErr_Occurred()) SWIG_fail;
15335 }
15336 Py_INCREF(Py_None); resultobj = Py_None;
15337 {
15338 PyObject *o = PyInt_FromLong((long) (*arg2));
15339 resultobj = t_output_helper(resultobj,o);
15340 }
15341 {
15342 PyObject *o = PyInt_FromLong((long) (*arg3));
15343 resultobj = t_output_helper(resultobj,o);
15344 }
15345 return resultobj;
15346 fail:
15347 return NULL;
15348 }
15349
15350
15351 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15352 PyObject *resultobj;
15353 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15354 int *arg2 = (int *) 0 ;
15355 int *arg3 = (int *) 0 ;
15356 int temp2 ;
15357 int temp3 ;
15358 PyObject * obj0 = 0 ;
15359 char *kwnames[] = {
15360 (char *) "self", NULL
15361 };
15362
15363 arg2 = &temp2;
15364 arg3 = &temp3;
15365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15368 {
15369 PyThreadState* __tstate = wxPyBeginAllowThreads();
15370 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15371
15372 wxPyEndAllowThreads(__tstate);
15373 if (PyErr_Occurred()) SWIG_fail;
15374 }
15375 Py_INCREF(Py_None); resultobj = Py_None;
15376 {
15377 PyObject *o = PyInt_FromLong((long) (*arg2));
15378 resultobj = t_output_helper(resultobj,o);
15379 }
15380 {
15381 PyObject *o = PyInt_FromLong((long) (*arg3));
15382 resultobj = t_output_helper(resultobj,o);
15383 }
15384 return resultobj;
15385 fail:
15386 return NULL;
15387 }
15388
15389
15390 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15391 PyObject *resultobj;
15392 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15393 int *arg2 = (int *) 0 ;
15394 int *arg3 = (int *) 0 ;
15395 int temp2 ;
15396 int temp3 ;
15397 PyObject * obj0 = 0 ;
15398 char *kwnames[] = {
15399 (char *) "self", NULL
15400 };
15401
15402 arg2 = &temp2;
15403 arg3 = &temp3;
15404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15407 {
15408 PyThreadState* __tstate = wxPyBeginAllowThreads();
15409 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15410
15411 wxPyEndAllowThreads(__tstate);
15412 if (PyErr_Occurred()) SWIG_fail;
15413 }
15414 Py_INCREF(Py_None); resultobj = Py_None;
15415 {
15416 PyObject *o = PyInt_FromLong((long) (*arg2));
15417 resultobj = t_output_helper(resultobj,o);
15418 }
15419 {
15420 PyObject *o = PyInt_FromLong((long) (*arg3));
15421 resultobj = t_output_helper(resultobj,o);
15422 }
15423 return resultobj;
15424 fail:
15425 return NULL;
15426 }
15427
15428
15429 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15430 PyObject *resultobj;
15431 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15432 wxSize result;
15433 PyObject * obj0 = 0 ;
15434 char *kwnames[] = {
15435 (char *) "self", NULL
15436 };
15437
15438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15441 {
15442 PyThreadState* __tstate = wxPyBeginAllowThreads();
15443 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15444
15445 wxPyEndAllowThreads(__tstate);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
15448 {
15449 wxSize * resultptr;
15450 resultptr = new wxSize((wxSize &) result);
15451 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15452 }
15453 return resultobj;
15454 fail:
15455 return NULL;
15456 }
15457
15458
15459 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15460 PyObject *resultobj;
15461 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15462 wxSize result;
15463 PyObject * obj0 = 0 ;
15464 char *kwnames[] = {
15465 (char *) "self", NULL
15466 };
15467
15468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15471 {
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15474
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 {
15479 wxSize * resultptr;
15480 resultptr = new wxSize((wxSize &) result);
15481 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15482 }
15483 return resultobj;
15484 fail:
15485 return NULL;
15486 }
15487
15488
15489 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15490 PyObject *resultobj;
15491 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15492 PyObject * obj0 = 0 ;
15493 char *kwnames[] = {
15494 (char *) "self", NULL
15495 };
15496
15497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15500 {
15501 PyThreadState* __tstate = wxPyBeginAllowThreads();
15502 (arg1)->base_InitDialog();
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
15507 Py_INCREF(Py_None); resultobj = Py_None;
15508 return resultobj;
15509 fail:
15510 return NULL;
15511 }
15512
15513
15514 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15515 PyObject *resultobj;
15516 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15517 bool result;
15518 PyObject * obj0 = 0 ;
15519 char *kwnames[] = {
15520 (char *) "self", NULL
15521 };
15522
15523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15526 {
15527 PyThreadState* __tstate = wxPyBeginAllowThreads();
15528 result = (bool)(arg1)->base_TransferDataToWindow();
15529
15530 wxPyEndAllowThreads(__tstate);
15531 if (PyErr_Occurred()) SWIG_fail;
15532 }
15533 {
15534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15535 }
15536 return resultobj;
15537 fail:
15538 return NULL;
15539 }
15540
15541
15542 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15543 PyObject *resultobj;
15544 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15545 bool result;
15546 PyObject * obj0 = 0 ;
15547 char *kwnames[] = {
15548 (char *) "self", NULL
15549 };
15550
15551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15554 {
15555 PyThreadState* __tstate = wxPyBeginAllowThreads();
15556 result = (bool)(arg1)->base_TransferDataFromWindow();
15557
15558 wxPyEndAllowThreads(__tstate);
15559 if (PyErr_Occurred()) SWIG_fail;
15560 }
15561 {
15562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15563 }
15564 return resultobj;
15565 fail:
15566 return NULL;
15567 }
15568
15569
15570 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15571 PyObject *resultobj;
15572 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15573 bool result;
15574 PyObject * obj0 = 0 ;
15575 char *kwnames[] = {
15576 (char *) "self", NULL
15577 };
15578
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15582 {
15583 PyThreadState* __tstate = wxPyBeginAllowThreads();
15584 result = (bool)(arg1)->base_Validate();
15585
15586 wxPyEndAllowThreads(__tstate);
15587 if (PyErr_Occurred()) SWIG_fail;
15588 }
15589 {
15590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15591 }
15592 return resultobj;
15593 fail:
15594 return NULL;
15595 }
15596
15597
15598 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15599 PyObject *resultobj;
15600 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15601 bool result;
15602 PyObject * obj0 = 0 ;
15603 char *kwnames[] = {
15604 (char *) "self", NULL
15605 };
15606
15607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15610 {
15611 PyThreadState* __tstate = wxPyBeginAllowThreads();
15612 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15613
15614 wxPyEndAllowThreads(__tstate);
15615 if (PyErr_Occurred()) SWIG_fail;
15616 }
15617 {
15618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15619 }
15620 return resultobj;
15621 fail:
15622 return NULL;
15623 }
15624
15625
15626 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15627 PyObject *resultobj;
15628 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15629 bool result;
15630 PyObject * obj0 = 0 ;
15631 char *kwnames[] = {
15632 (char *) "self", NULL
15633 };
15634
15635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15638 {
15639 PyThreadState* __tstate = wxPyBeginAllowThreads();
15640 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15641
15642 wxPyEndAllowThreads(__tstate);
15643 if (PyErr_Occurred()) SWIG_fail;
15644 }
15645 {
15646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15647 }
15648 return resultobj;
15649 fail:
15650 return NULL;
15651 }
15652
15653
15654 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15655 PyObject *resultobj;
15656 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15657 wxSize result;
15658 PyObject * obj0 = 0 ;
15659 char *kwnames[] = {
15660 (char *) "self", NULL
15661 };
15662
15663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15666 {
15667 PyThreadState* __tstate = wxPyBeginAllowThreads();
15668 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15669
15670 wxPyEndAllowThreads(__tstate);
15671 if (PyErr_Occurred()) SWIG_fail;
15672 }
15673 {
15674 wxSize * resultptr;
15675 resultptr = new wxSize((wxSize &) result);
15676 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15677 }
15678 return resultobj;
15679 fail:
15680 return NULL;
15681 }
15682
15683
15684 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15685 PyObject *resultobj;
15686 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15687 wxWindow *arg2 = (wxWindow *) 0 ;
15688 PyObject * obj0 = 0 ;
15689 PyObject * obj1 = 0 ;
15690 char *kwnames[] = {
15691 (char *) "self",(char *) "child", NULL
15692 };
15693
15694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15697 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15699 {
15700 PyThreadState* __tstate = wxPyBeginAllowThreads();
15701 (arg1)->base_AddChild(arg2);
15702
15703 wxPyEndAllowThreads(__tstate);
15704 if (PyErr_Occurred()) SWIG_fail;
15705 }
15706 Py_INCREF(Py_None); resultobj = Py_None;
15707 return resultobj;
15708 fail:
15709 return NULL;
15710 }
15711
15712
15713 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15714 PyObject *resultobj;
15715 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15716 wxWindow *arg2 = (wxWindow *) 0 ;
15717 PyObject * obj0 = 0 ;
15718 PyObject * obj1 = 0 ;
15719 char *kwnames[] = {
15720 (char *) "self",(char *) "child", NULL
15721 };
15722
15723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15728 {
15729 PyThreadState* __tstate = wxPyBeginAllowThreads();
15730 (arg1)->base_RemoveChild(arg2);
15731
15732 wxPyEndAllowThreads(__tstate);
15733 if (PyErr_Occurred()) SWIG_fail;
15734 }
15735 Py_INCREF(Py_None); resultobj = Py_None;
15736 return resultobj;
15737 fail:
15738 return NULL;
15739 }
15740
15741
15742 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15743 PyObject *resultobj;
15744 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15745 bool result;
15746 PyObject * obj0 = 0 ;
15747 char *kwnames[] = {
15748 (char *) "self", NULL
15749 };
15750
15751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15754 {
15755 PyThreadState* __tstate = wxPyBeginAllowThreads();
15756 result = (bool)(arg1)->base_ShouldInheritColours();
15757
15758 wxPyEndAllowThreads(__tstate);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
15761 {
15762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15763 }
15764 return resultobj;
15765 fail:
15766 return NULL;
15767 }
15768
15769
15770 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15771 PyObject *resultobj;
15772 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15773 wxColour *arg2 = 0 ;
15774 wxColour temp2 ;
15775 PyObject * obj0 = 0 ;
15776 PyObject * obj1 = 0 ;
15777 char *kwnames[] = {
15778 (char *) "self",(char *) "c", NULL
15779 };
15780
15781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15784 {
15785 arg2 = &temp2;
15786 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15787 }
15788 {
15789 PyThreadState* __tstate = wxPyBeginAllowThreads();
15790 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15791
15792 wxPyEndAllowThreads(__tstate);
15793 if (PyErr_Occurred()) SWIG_fail;
15794 }
15795 Py_INCREF(Py_None); resultobj = Py_None;
15796 return resultobj;
15797 fail:
15798 return NULL;
15799 }
15800
15801
15802 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15803 PyObject *obj;
15804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15805 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15806 Py_INCREF(obj);
15807 return Py_BuildValue((char *)"");
15808 }
15809 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15810 PyObject *resultobj;
15811 wxWindow *arg1 = (wxWindow *) 0 ;
15812 int arg2 ;
15813 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15814 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15815 wxSize const &arg4_defvalue = wxDefaultSize ;
15816 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15817 long arg5 = (long) 0 ;
15818 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15819 wxString *arg6 = (wxString *) &arg6_defvalue ;
15820 wxPyPanel *result;
15821 wxPoint temp3 ;
15822 wxSize temp4 ;
15823 bool temp6 = False ;
15824 PyObject * obj0 = 0 ;
15825 PyObject * obj1 = 0 ;
15826 PyObject * obj2 = 0 ;
15827 PyObject * obj3 = 0 ;
15828 PyObject * obj4 = 0 ;
15829 PyObject * obj5 = 0 ;
15830 char *kwnames[] = {
15831 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15832 };
15833
15834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15837 arg2 = (int const) SWIG_AsInt(obj1);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 if (obj2) {
15840 {
15841 arg3 = &temp3;
15842 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15843 }
15844 }
15845 if (obj3) {
15846 {
15847 arg4 = &temp4;
15848 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15849 }
15850 }
15851 if (obj4) {
15852 arg5 = (long) SWIG_AsLong(obj4);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 }
15855 if (obj5) {
15856 {
15857 arg6 = wxString_in_helper(obj5);
15858 if (arg6 == NULL) SWIG_fail;
15859 temp6 = True;
15860 }
15861 }
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15865
15866 wxPyEndAllowThreads(__tstate);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 }
15869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15870 {
15871 if (temp6)
15872 delete arg6;
15873 }
15874 return resultobj;
15875 fail:
15876 {
15877 if (temp6)
15878 delete arg6;
15879 }
15880 return NULL;
15881 }
15882
15883
15884 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15885 PyObject *resultobj;
15886 wxPyPanel *result;
15887 char *kwnames[] = {
15888 NULL
15889 };
15890
15891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
15892 {
15893 PyThreadState* __tstate = wxPyBeginAllowThreads();
15894 result = (wxPyPanel *)new wxPyPanel();
15895
15896 wxPyEndAllowThreads(__tstate);
15897 if (PyErr_Occurred()) SWIG_fail;
15898 }
15899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15900 return resultobj;
15901 fail:
15902 return NULL;
15903 }
15904
15905
15906 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15907 PyObject *resultobj;
15908 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15909 PyObject *arg2 = (PyObject *) 0 ;
15910 PyObject *arg3 = (PyObject *) 0 ;
15911 PyObject * obj0 = 0 ;
15912 PyObject * obj1 = 0 ;
15913 PyObject * obj2 = 0 ;
15914 char *kwnames[] = {
15915 (char *) "self",(char *) "self",(char *) "_class", NULL
15916 };
15917
15918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15921 arg2 = obj1;
15922 arg3 = obj2;
15923 {
15924 PyThreadState* __tstate = wxPyBeginAllowThreads();
15925 (arg1)->_setCallbackInfo(arg2,arg3);
15926
15927 wxPyEndAllowThreads(__tstate);
15928 if (PyErr_Occurred()) SWIG_fail;
15929 }
15930 Py_INCREF(Py_None); resultobj = Py_None;
15931 return resultobj;
15932 fail:
15933 return NULL;
15934 }
15935
15936
15937 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15938 PyObject *resultobj;
15939 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15940 int arg2 ;
15941 int arg3 ;
15942 int arg4 ;
15943 int arg5 ;
15944 PyObject * obj0 = 0 ;
15945 PyObject * obj1 = 0 ;
15946 PyObject * obj2 = 0 ;
15947 PyObject * obj3 = 0 ;
15948 PyObject * obj4 = 0 ;
15949 char *kwnames[] = {
15950 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15951 };
15952
15953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15956 arg2 = (int) SWIG_AsInt(obj1);
15957 if (PyErr_Occurred()) SWIG_fail;
15958 arg3 = (int) SWIG_AsInt(obj2);
15959 if (PyErr_Occurred()) SWIG_fail;
15960 arg4 = (int) SWIG_AsInt(obj3);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 arg5 = (int) SWIG_AsInt(obj4);
15963 if (PyErr_Occurred()) SWIG_fail;
15964 {
15965 PyThreadState* __tstate = wxPyBeginAllowThreads();
15966 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15967
15968 wxPyEndAllowThreads(__tstate);
15969 if (PyErr_Occurred()) SWIG_fail;
15970 }
15971 Py_INCREF(Py_None); resultobj = Py_None;
15972 return resultobj;
15973 fail:
15974 return NULL;
15975 }
15976
15977
15978 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15979 PyObject *resultobj;
15980 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15981 int arg2 ;
15982 int arg3 ;
15983 int arg4 ;
15984 int arg5 ;
15985 int arg6 = (int) wxSIZE_AUTO ;
15986 PyObject * obj0 = 0 ;
15987 PyObject * obj1 = 0 ;
15988 PyObject * obj2 = 0 ;
15989 PyObject * obj3 = 0 ;
15990 PyObject * obj4 = 0 ;
15991 PyObject * obj5 = 0 ;
15992 char *kwnames[] = {
15993 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15994 };
15995
15996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15999 arg2 = (int) SWIG_AsInt(obj1);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 arg3 = (int) SWIG_AsInt(obj2);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 arg4 = (int) SWIG_AsInt(obj3);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 arg5 = (int) SWIG_AsInt(obj4);
16006 if (PyErr_Occurred()) SWIG_fail;
16007 if (obj5) {
16008 arg6 = (int) SWIG_AsInt(obj5);
16009 if (PyErr_Occurred()) SWIG_fail;
16010 }
16011 {
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16014
16015 wxPyEndAllowThreads(__tstate);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 }
16018 Py_INCREF(Py_None); resultobj = Py_None;
16019 return resultobj;
16020 fail:
16021 return NULL;
16022 }
16023
16024
16025 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16026 PyObject *resultobj;
16027 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16028 int arg2 ;
16029 int arg3 ;
16030 PyObject * obj0 = 0 ;
16031 PyObject * obj1 = 0 ;
16032 PyObject * obj2 = 0 ;
16033 char *kwnames[] = {
16034 (char *) "self",(char *) "width",(char *) "height", NULL
16035 };
16036
16037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16040 arg2 = (int) SWIG_AsInt(obj1);
16041 if (PyErr_Occurred()) SWIG_fail;
16042 arg3 = (int) SWIG_AsInt(obj2);
16043 if (PyErr_Occurred()) SWIG_fail;
16044 {
16045 PyThreadState* __tstate = wxPyBeginAllowThreads();
16046 (arg1)->base_DoSetClientSize(arg2,arg3);
16047
16048 wxPyEndAllowThreads(__tstate);
16049 if (PyErr_Occurred()) SWIG_fail;
16050 }
16051 Py_INCREF(Py_None); resultobj = Py_None;
16052 return resultobj;
16053 fail:
16054 return NULL;
16055 }
16056
16057
16058 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16059 PyObject *resultobj;
16060 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16061 int arg2 ;
16062 int arg3 ;
16063 PyObject * obj0 = 0 ;
16064 PyObject * obj1 = 0 ;
16065 PyObject * obj2 = 0 ;
16066 char *kwnames[] = {
16067 (char *) "self",(char *) "x",(char *) "y", NULL
16068 };
16069
16070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16073 arg2 = (int) SWIG_AsInt(obj1);
16074 if (PyErr_Occurred()) SWIG_fail;
16075 arg3 = (int) SWIG_AsInt(obj2);
16076 if (PyErr_Occurred()) SWIG_fail;
16077 {
16078 PyThreadState* __tstate = wxPyBeginAllowThreads();
16079 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16080
16081 wxPyEndAllowThreads(__tstate);
16082 if (PyErr_Occurred()) SWIG_fail;
16083 }
16084 Py_INCREF(Py_None); resultobj = Py_None;
16085 return resultobj;
16086 fail:
16087 return NULL;
16088 }
16089
16090
16091 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16092 PyObject *resultobj;
16093 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16094 int *arg2 = (int *) 0 ;
16095 int *arg3 = (int *) 0 ;
16096 int temp2 ;
16097 int temp3 ;
16098 PyObject * obj0 = 0 ;
16099 char *kwnames[] = {
16100 (char *) "self", NULL
16101 };
16102
16103 arg2 = &temp2;
16104 arg3 = &temp3;
16105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16108 {
16109 PyThreadState* __tstate = wxPyBeginAllowThreads();
16110 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16111
16112 wxPyEndAllowThreads(__tstate);
16113 if (PyErr_Occurred()) SWIG_fail;
16114 }
16115 Py_INCREF(Py_None); resultobj = Py_None;
16116 {
16117 PyObject *o = PyInt_FromLong((long) (*arg2));
16118 resultobj = t_output_helper(resultobj,o);
16119 }
16120 {
16121 PyObject *o = PyInt_FromLong((long) (*arg3));
16122 resultobj = t_output_helper(resultobj,o);
16123 }
16124 return resultobj;
16125 fail:
16126 return NULL;
16127 }
16128
16129
16130 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16131 PyObject *resultobj;
16132 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16133 int *arg2 = (int *) 0 ;
16134 int *arg3 = (int *) 0 ;
16135 int temp2 ;
16136 int temp3 ;
16137 PyObject * obj0 = 0 ;
16138 char *kwnames[] = {
16139 (char *) "self", NULL
16140 };
16141
16142 arg2 = &temp2;
16143 arg3 = &temp3;
16144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16147 {
16148 PyThreadState* __tstate = wxPyBeginAllowThreads();
16149 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16150
16151 wxPyEndAllowThreads(__tstate);
16152 if (PyErr_Occurred()) SWIG_fail;
16153 }
16154 Py_INCREF(Py_None); resultobj = Py_None;
16155 {
16156 PyObject *o = PyInt_FromLong((long) (*arg2));
16157 resultobj = t_output_helper(resultobj,o);
16158 }
16159 {
16160 PyObject *o = PyInt_FromLong((long) (*arg3));
16161 resultobj = t_output_helper(resultobj,o);
16162 }
16163 return resultobj;
16164 fail:
16165 return NULL;
16166 }
16167
16168
16169 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16170 PyObject *resultobj;
16171 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16172 int *arg2 = (int *) 0 ;
16173 int *arg3 = (int *) 0 ;
16174 int temp2 ;
16175 int temp3 ;
16176 PyObject * obj0 = 0 ;
16177 char *kwnames[] = {
16178 (char *) "self", NULL
16179 };
16180
16181 arg2 = &temp2;
16182 arg3 = &temp3;
16183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16186 {
16187 PyThreadState* __tstate = wxPyBeginAllowThreads();
16188 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16189
16190 wxPyEndAllowThreads(__tstate);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 }
16193 Py_INCREF(Py_None); resultobj = Py_None;
16194 {
16195 PyObject *o = PyInt_FromLong((long) (*arg2));
16196 resultobj = t_output_helper(resultobj,o);
16197 }
16198 {
16199 PyObject *o = PyInt_FromLong((long) (*arg3));
16200 resultobj = t_output_helper(resultobj,o);
16201 }
16202 return resultobj;
16203 fail:
16204 return NULL;
16205 }
16206
16207
16208 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16209 PyObject *resultobj;
16210 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16211 wxSize result;
16212 PyObject * obj0 = 0 ;
16213 char *kwnames[] = {
16214 (char *) "self", NULL
16215 };
16216
16217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16220 {
16221 PyThreadState* __tstate = wxPyBeginAllowThreads();
16222 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16223
16224 wxPyEndAllowThreads(__tstate);
16225 if (PyErr_Occurred()) SWIG_fail;
16226 }
16227 {
16228 wxSize * resultptr;
16229 resultptr = new wxSize((wxSize &) result);
16230 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16231 }
16232 return resultobj;
16233 fail:
16234 return NULL;
16235 }
16236
16237
16238 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16239 PyObject *resultobj;
16240 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16241 wxSize result;
16242 PyObject * obj0 = 0 ;
16243 char *kwnames[] = {
16244 (char *) "self", NULL
16245 };
16246
16247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16250 {
16251 PyThreadState* __tstate = wxPyBeginAllowThreads();
16252 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16253
16254 wxPyEndAllowThreads(__tstate);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 }
16257 {
16258 wxSize * resultptr;
16259 resultptr = new wxSize((wxSize &) result);
16260 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16261 }
16262 return resultobj;
16263 fail:
16264 return NULL;
16265 }
16266
16267
16268 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16269 PyObject *resultobj;
16270 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16271 PyObject * obj0 = 0 ;
16272 char *kwnames[] = {
16273 (char *) "self", NULL
16274 };
16275
16276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16279 {
16280 PyThreadState* __tstate = wxPyBeginAllowThreads();
16281 (arg1)->base_InitDialog();
16282
16283 wxPyEndAllowThreads(__tstate);
16284 if (PyErr_Occurred()) SWIG_fail;
16285 }
16286 Py_INCREF(Py_None); resultobj = Py_None;
16287 return resultobj;
16288 fail:
16289 return NULL;
16290 }
16291
16292
16293 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16294 PyObject *resultobj;
16295 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16296 bool result;
16297 PyObject * obj0 = 0 ;
16298 char *kwnames[] = {
16299 (char *) "self", NULL
16300 };
16301
16302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16305 {
16306 PyThreadState* __tstate = wxPyBeginAllowThreads();
16307 result = (bool)(arg1)->base_TransferDataToWindow();
16308
16309 wxPyEndAllowThreads(__tstate);
16310 if (PyErr_Occurred()) SWIG_fail;
16311 }
16312 {
16313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16314 }
16315 return resultobj;
16316 fail:
16317 return NULL;
16318 }
16319
16320
16321 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16322 PyObject *resultobj;
16323 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16324 bool result;
16325 PyObject * obj0 = 0 ;
16326 char *kwnames[] = {
16327 (char *) "self", NULL
16328 };
16329
16330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16333 {
16334 PyThreadState* __tstate = wxPyBeginAllowThreads();
16335 result = (bool)(arg1)->base_TransferDataFromWindow();
16336
16337 wxPyEndAllowThreads(__tstate);
16338 if (PyErr_Occurred()) SWIG_fail;
16339 }
16340 {
16341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16342 }
16343 return resultobj;
16344 fail:
16345 return NULL;
16346 }
16347
16348
16349 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16350 PyObject *resultobj;
16351 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16352 bool result;
16353 PyObject * obj0 = 0 ;
16354 char *kwnames[] = {
16355 (char *) "self", NULL
16356 };
16357
16358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16361 {
16362 PyThreadState* __tstate = wxPyBeginAllowThreads();
16363 result = (bool)(arg1)->base_Validate();
16364
16365 wxPyEndAllowThreads(__tstate);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 }
16368 {
16369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16370 }
16371 return resultobj;
16372 fail:
16373 return NULL;
16374 }
16375
16376
16377 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16378 PyObject *resultobj;
16379 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16380 bool result;
16381 PyObject * obj0 = 0 ;
16382 char *kwnames[] = {
16383 (char *) "self", NULL
16384 };
16385
16386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16389 {
16390 PyThreadState* __tstate = wxPyBeginAllowThreads();
16391 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16392
16393 wxPyEndAllowThreads(__tstate);
16394 if (PyErr_Occurred()) SWIG_fail;
16395 }
16396 {
16397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16398 }
16399 return resultobj;
16400 fail:
16401 return NULL;
16402 }
16403
16404
16405 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16406 PyObject *resultobj;
16407 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16408 bool result;
16409 PyObject * obj0 = 0 ;
16410 char *kwnames[] = {
16411 (char *) "self", NULL
16412 };
16413
16414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16417 {
16418 PyThreadState* __tstate = wxPyBeginAllowThreads();
16419 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16420
16421 wxPyEndAllowThreads(__tstate);
16422 if (PyErr_Occurred()) SWIG_fail;
16423 }
16424 {
16425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16426 }
16427 return resultobj;
16428 fail:
16429 return NULL;
16430 }
16431
16432
16433 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16434 PyObject *resultobj;
16435 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16436 wxSize result;
16437 PyObject * obj0 = 0 ;
16438 char *kwnames[] = {
16439 (char *) "self", NULL
16440 };
16441
16442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16445 {
16446 PyThreadState* __tstate = wxPyBeginAllowThreads();
16447 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16448
16449 wxPyEndAllowThreads(__tstate);
16450 if (PyErr_Occurred()) SWIG_fail;
16451 }
16452 {
16453 wxSize * resultptr;
16454 resultptr = new wxSize((wxSize &) result);
16455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16456 }
16457 return resultobj;
16458 fail:
16459 return NULL;
16460 }
16461
16462
16463 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16464 PyObject *resultobj;
16465 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16466 wxWindow *arg2 = (wxWindow *) 0 ;
16467 PyObject * obj0 = 0 ;
16468 PyObject * obj1 = 0 ;
16469 char *kwnames[] = {
16470 (char *) "self",(char *) "child", NULL
16471 };
16472
16473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16478 {
16479 PyThreadState* __tstate = wxPyBeginAllowThreads();
16480 (arg1)->base_AddChild(arg2);
16481
16482 wxPyEndAllowThreads(__tstate);
16483 if (PyErr_Occurred()) SWIG_fail;
16484 }
16485 Py_INCREF(Py_None); resultobj = Py_None;
16486 return resultobj;
16487 fail:
16488 return NULL;
16489 }
16490
16491
16492 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16493 PyObject *resultobj;
16494 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16495 wxWindow *arg2 = (wxWindow *) 0 ;
16496 PyObject * obj0 = 0 ;
16497 PyObject * obj1 = 0 ;
16498 char *kwnames[] = {
16499 (char *) "self",(char *) "child", NULL
16500 };
16501
16502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16505 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16507 {
16508 PyThreadState* __tstate = wxPyBeginAllowThreads();
16509 (arg1)->base_RemoveChild(arg2);
16510
16511 wxPyEndAllowThreads(__tstate);
16512 if (PyErr_Occurred()) SWIG_fail;
16513 }
16514 Py_INCREF(Py_None); resultobj = Py_None;
16515 return resultobj;
16516 fail:
16517 return NULL;
16518 }
16519
16520
16521 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16522 PyObject *resultobj;
16523 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16524 bool result;
16525 PyObject * obj0 = 0 ;
16526 char *kwnames[] = {
16527 (char *) "self", NULL
16528 };
16529
16530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16533 {
16534 PyThreadState* __tstate = wxPyBeginAllowThreads();
16535 result = (bool)(arg1)->base_ShouldInheritColours();
16536
16537 wxPyEndAllowThreads(__tstate);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
16540 {
16541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16542 }
16543 return resultobj;
16544 fail:
16545 return NULL;
16546 }
16547
16548
16549 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16550 PyObject *resultobj;
16551 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16552 wxColour *arg2 = 0 ;
16553 wxColour temp2 ;
16554 PyObject * obj0 = 0 ;
16555 PyObject * obj1 = 0 ;
16556 char *kwnames[] = {
16557 (char *) "self",(char *) "c", NULL
16558 };
16559
16560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16563 {
16564 arg2 = &temp2;
16565 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16566 }
16567 {
16568 PyThreadState* __tstate = wxPyBeginAllowThreads();
16569 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16570
16571 wxPyEndAllowThreads(__tstate);
16572 if (PyErr_Occurred()) SWIG_fail;
16573 }
16574 Py_INCREF(Py_None); resultobj = Py_None;
16575 return resultobj;
16576 fail:
16577 return NULL;
16578 }
16579
16580
16581 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16582 PyObject *obj;
16583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16584 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16585 Py_INCREF(obj);
16586 return Py_BuildValue((char *)"");
16587 }
16588 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16589 PyObject *resultobj;
16590 wxWindow *arg1 = (wxWindow *) 0 ;
16591 int arg2 ;
16592 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16593 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16594 wxSize const &arg4_defvalue = wxDefaultSize ;
16595 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16596 long arg5 = (long) 0 ;
16597 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16598 wxString *arg6 = (wxString *) &arg6_defvalue ;
16599 wxPyScrolledWindow *result;
16600 wxPoint temp3 ;
16601 wxSize temp4 ;
16602 bool temp6 = False ;
16603 PyObject * obj0 = 0 ;
16604 PyObject * obj1 = 0 ;
16605 PyObject * obj2 = 0 ;
16606 PyObject * obj3 = 0 ;
16607 PyObject * obj4 = 0 ;
16608 PyObject * obj5 = 0 ;
16609 char *kwnames[] = {
16610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16611 };
16612
16613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16616 arg2 = (int const) SWIG_AsInt(obj1);
16617 if (PyErr_Occurred()) SWIG_fail;
16618 if (obj2) {
16619 {
16620 arg3 = &temp3;
16621 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16622 }
16623 }
16624 if (obj3) {
16625 {
16626 arg4 = &temp4;
16627 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16628 }
16629 }
16630 if (obj4) {
16631 arg5 = (long) SWIG_AsLong(obj4);
16632 if (PyErr_Occurred()) SWIG_fail;
16633 }
16634 if (obj5) {
16635 {
16636 arg6 = wxString_in_helper(obj5);
16637 if (arg6 == NULL) SWIG_fail;
16638 temp6 = True;
16639 }
16640 }
16641 {
16642 PyThreadState* __tstate = wxPyBeginAllowThreads();
16643 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16644
16645 wxPyEndAllowThreads(__tstate);
16646 if (PyErr_Occurred()) SWIG_fail;
16647 }
16648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16649 {
16650 if (temp6)
16651 delete arg6;
16652 }
16653 return resultobj;
16654 fail:
16655 {
16656 if (temp6)
16657 delete arg6;
16658 }
16659 return NULL;
16660 }
16661
16662
16663 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16664 PyObject *resultobj;
16665 wxPyScrolledWindow *result;
16666 char *kwnames[] = {
16667 NULL
16668 };
16669
16670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16671 {
16672 PyThreadState* __tstate = wxPyBeginAllowThreads();
16673 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16674
16675 wxPyEndAllowThreads(__tstate);
16676 if (PyErr_Occurred()) SWIG_fail;
16677 }
16678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16679 return resultobj;
16680 fail:
16681 return NULL;
16682 }
16683
16684
16685 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16686 PyObject *resultobj;
16687 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16688 PyObject *arg2 = (PyObject *) 0 ;
16689 PyObject *arg3 = (PyObject *) 0 ;
16690 PyObject * obj0 = 0 ;
16691 PyObject * obj1 = 0 ;
16692 PyObject * obj2 = 0 ;
16693 char *kwnames[] = {
16694 (char *) "self",(char *) "self",(char *) "_class", NULL
16695 };
16696
16697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16700 arg2 = obj1;
16701 arg3 = obj2;
16702 {
16703 PyThreadState* __tstate = wxPyBeginAllowThreads();
16704 (arg1)->_setCallbackInfo(arg2,arg3);
16705
16706 wxPyEndAllowThreads(__tstate);
16707 if (PyErr_Occurred()) SWIG_fail;
16708 }
16709 Py_INCREF(Py_None); resultobj = Py_None;
16710 return resultobj;
16711 fail:
16712 return NULL;
16713 }
16714
16715
16716 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16717 PyObject *resultobj;
16718 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16719 int arg2 ;
16720 int arg3 ;
16721 int arg4 ;
16722 int arg5 ;
16723 PyObject * obj0 = 0 ;
16724 PyObject * obj1 = 0 ;
16725 PyObject * obj2 = 0 ;
16726 PyObject * obj3 = 0 ;
16727 PyObject * obj4 = 0 ;
16728 char *kwnames[] = {
16729 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16730 };
16731
16732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16735 arg2 = (int) SWIG_AsInt(obj1);
16736 if (PyErr_Occurred()) SWIG_fail;
16737 arg3 = (int) SWIG_AsInt(obj2);
16738 if (PyErr_Occurred()) SWIG_fail;
16739 arg4 = (int) SWIG_AsInt(obj3);
16740 if (PyErr_Occurred()) SWIG_fail;
16741 arg5 = (int) SWIG_AsInt(obj4);
16742 if (PyErr_Occurred()) SWIG_fail;
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
16745 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16746
16747 wxPyEndAllowThreads(__tstate);
16748 if (PyErr_Occurred()) SWIG_fail;
16749 }
16750 Py_INCREF(Py_None); resultobj = Py_None;
16751 return resultobj;
16752 fail:
16753 return NULL;
16754 }
16755
16756
16757 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16758 PyObject *resultobj;
16759 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16760 int arg2 ;
16761 int arg3 ;
16762 int arg4 ;
16763 int arg5 ;
16764 int arg6 = (int) wxSIZE_AUTO ;
16765 PyObject * obj0 = 0 ;
16766 PyObject * obj1 = 0 ;
16767 PyObject * obj2 = 0 ;
16768 PyObject * obj3 = 0 ;
16769 PyObject * obj4 = 0 ;
16770 PyObject * obj5 = 0 ;
16771 char *kwnames[] = {
16772 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16773 };
16774
16775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16778 arg2 = (int) SWIG_AsInt(obj1);
16779 if (PyErr_Occurred()) SWIG_fail;
16780 arg3 = (int) SWIG_AsInt(obj2);
16781 if (PyErr_Occurred()) SWIG_fail;
16782 arg4 = (int) SWIG_AsInt(obj3);
16783 if (PyErr_Occurred()) SWIG_fail;
16784 arg5 = (int) SWIG_AsInt(obj4);
16785 if (PyErr_Occurred()) SWIG_fail;
16786 if (obj5) {
16787 arg6 = (int) SWIG_AsInt(obj5);
16788 if (PyErr_Occurred()) SWIG_fail;
16789 }
16790 {
16791 PyThreadState* __tstate = wxPyBeginAllowThreads();
16792 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16793
16794 wxPyEndAllowThreads(__tstate);
16795 if (PyErr_Occurred()) SWIG_fail;
16796 }
16797 Py_INCREF(Py_None); resultobj = Py_None;
16798 return resultobj;
16799 fail:
16800 return NULL;
16801 }
16802
16803
16804 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16805 PyObject *resultobj;
16806 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16807 int arg2 ;
16808 int arg3 ;
16809 PyObject * obj0 = 0 ;
16810 PyObject * obj1 = 0 ;
16811 PyObject * obj2 = 0 ;
16812 char *kwnames[] = {
16813 (char *) "self",(char *) "width",(char *) "height", NULL
16814 };
16815
16816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16819 arg2 = (int) SWIG_AsInt(obj1);
16820 if (PyErr_Occurred()) SWIG_fail;
16821 arg3 = (int) SWIG_AsInt(obj2);
16822 if (PyErr_Occurred()) SWIG_fail;
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 (arg1)->base_DoSetClientSize(arg2,arg3);
16826
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 Py_INCREF(Py_None); resultobj = Py_None;
16831 return resultobj;
16832 fail:
16833 return NULL;
16834 }
16835
16836
16837 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16838 PyObject *resultobj;
16839 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16840 int arg2 ;
16841 int arg3 ;
16842 PyObject * obj0 = 0 ;
16843 PyObject * obj1 = 0 ;
16844 PyObject * obj2 = 0 ;
16845 char *kwnames[] = {
16846 (char *) "self",(char *) "x",(char *) "y", NULL
16847 };
16848
16849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16852 arg2 = (int) SWIG_AsInt(obj1);
16853 if (PyErr_Occurred()) SWIG_fail;
16854 arg3 = (int) SWIG_AsInt(obj2);
16855 if (PyErr_Occurred()) SWIG_fail;
16856 {
16857 PyThreadState* __tstate = wxPyBeginAllowThreads();
16858 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16859
16860 wxPyEndAllowThreads(__tstate);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 }
16863 Py_INCREF(Py_None); resultobj = Py_None;
16864 return resultobj;
16865 fail:
16866 return NULL;
16867 }
16868
16869
16870 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16871 PyObject *resultobj;
16872 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16873 int *arg2 = (int *) 0 ;
16874 int *arg3 = (int *) 0 ;
16875 int temp2 ;
16876 int temp3 ;
16877 PyObject * obj0 = 0 ;
16878 char *kwnames[] = {
16879 (char *) "self", NULL
16880 };
16881
16882 arg2 = &temp2;
16883 arg3 = &temp3;
16884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16887 {
16888 PyThreadState* __tstate = wxPyBeginAllowThreads();
16889 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16890
16891 wxPyEndAllowThreads(__tstate);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 }
16894 Py_INCREF(Py_None); resultobj = Py_None;
16895 {
16896 PyObject *o = PyInt_FromLong((long) (*arg2));
16897 resultobj = t_output_helper(resultobj,o);
16898 }
16899 {
16900 PyObject *o = PyInt_FromLong((long) (*arg3));
16901 resultobj = t_output_helper(resultobj,o);
16902 }
16903 return resultobj;
16904 fail:
16905 return NULL;
16906 }
16907
16908
16909 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16910 PyObject *resultobj;
16911 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16912 int *arg2 = (int *) 0 ;
16913 int *arg3 = (int *) 0 ;
16914 int temp2 ;
16915 int temp3 ;
16916 PyObject * obj0 = 0 ;
16917 char *kwnames[] = {
16918 (char *) "self", NULL
16919 };
16920
16921 arg2 = &temp2;
16922 arg3 = &temp3;
16923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16926 {
16927 PyThreadState* __tstate = wxPyBeginAllowThreads();
16928 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16929
16930 wxPyEndAllowThreads(__tstate);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 }
16933 Py_INCREF(Py_None); resultobj = Py_None;
16934 {
16935 PyObject *o = PyInt_FromLong((long) (*arg2));
16936 resultobj = t_output_helper(resultobj,o);
16937 }
16938 {
16939 PyObject *o = PyInt_FromLong((long) (*arg3));
16940 resultobj = t_output_helper(resultobj,o);
16941 }
16942 return resultobj;
16943 fail:
16944 return NULL;
16945 }
16946
16947
16948 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16949 PyObject *resultobj;
16950 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16951 int *arg2 = (int *) 0 ;
16952 int *arg3 = (int *) 0 ;
16953 int temp2 ;
16954 int temp3 ;
16955 PyObject * obj0 = 0 ;
16956 char *kwnames[] = {
16957 (char *) "self", NULL
16958 };
16959
16960 arg2 = &temp2;
16961 arg3 = &temp3;
16962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16965 {
16966 PyThreadState* __tstate = wxPyBeginAllowThreads();
16967 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16968
16969 wxPyEndAllowThreads(__tstate);
16970 if (PyErr_Occurred()) SWIG_fail;
16971 }
16972 Py_INCREF(Py_None); resultobj = Py_None;
16973 {
16974 PyObject *o = PyInt_FromLong((long) (*arg2));
16975 resultobj = t_output_helper(resultobj,o);
16976 }
16977 {
16978 PyObject *o = PyInt_FromLong((long) (*arg3));
16979 resultobj = t_output_helper(resultobj,o);
16980 }
16981 return resultobj;
16982 fail:
16983 return NULL;
16984 }
16985
16986
16987 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16988 PyObject *resultobj;
16989 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16990 wxSize result;
16991 PyObject * obj0 = 0 ;
16992 char *kwnames[] = {
16993 (char *) "self", NULL
16994 };
16995
16996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16999 {
17000 PyThreadState* __tstate = wxPyBeginAllowThreads();
17001 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17002
17003 wxPyEndAllowThreads(__tstate);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 {
17007 wxSize * resultptr;
17008 resultptr = new wxSize((wxSize &) result);
17009 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17010 }
17011 return resultobj;
17012 fail:
17013 return NULL;
17014 }
17015
17016
17017 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17018 PyObject *resultobj;
17019 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17020 wxSize result;
17021 PyObject * obj0 = 0 ;
17022 char *kwnames[] = {
17023 (char *) "self", NULL
17024 };
17025
17026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17029 {
17030 PyThreadState* __tstate = wxPyBeginAllowThreads();
17031 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17032
17033 wxPyEndAllowThreads(__tstate);
17034 if (PyErr_Occurred()) SWIG_fail;
17035 }
17036 {
17037 wxSize * resultptr;
17038 resultptr = new wxSize((wxSize &) result);
17039 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17040 }
17041 return resultobj;
17042 fail:
17043 return NULL;
17044 }
17045
17046
17047 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17048 PyObject *resultobj;
17049 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17050 PyObject * obj0 = 0 ;
17051 char *kwnames[] = {
17052 (char *) "self", NULL
17053 };
17054
17055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17058 {
17059 PyThreadState* __tstate = wxPyBeginAllowThreads();
17060 (arg1)->base_InitDialog();
17061
17062 wxPyEndAllowThreads(__tstate);
17063 if (PyErr_Occurred()) SWIG_fail;
17064 }
17065 Py_INCREF(Py_None); resultobj = Py_None;
17066 return resultobj;
17067 fail:
17068 return NULL;
17069 }
17070
17071
17072 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17073 PyObject *resultobj;
17074 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17075 bool result;
17076 PyObject * obj0 = 0 ;
17077 char *kwnames[] = {
17078 (char *) "self", NULL
17079 };
17080
17081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17084 {
17085 PyThreadState* __tstate = wxPyBeginAllowThreads();
17086 result = (bool)(arg1)->base_TransferDataToWindow();
17087
17088 wxPyEndAllowThreads(__tstate);
17089 if (PyErr_Occurred()) SWIG_fail;
17090 }
17091 {
17092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17093 }
17094 return resultobj;
17095 fail:
17096 return NULL;
17097 }
17098
17099
17100 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17101 PyObject *resultobj;
17102 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17103 bool result;
17104 PyObject * obj0 = 0 ;
17105 char *kwnames[] = {
17106 (char *) "self", NULL
17107 };
17108
17109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17112 {
17113 PyThreadState* __tstate = wxPyBeginAllowThreads();
17114 result = (bool)(arg1)->base_TransferDataFromWindow();
17115
17116 wxPyEndAllowThreads(__tstate);
17117 if (PyErr_Occurred()) SWIG_fail;
17118 }
17119 {
17120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17121 }
17122 return resultobj;
17123 fail:
17124 return NULL;
17125 }
17126
17127
17128 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17129 PyObject *resultobj;
17130 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17131 bool result;
17132 PyObject * obj0 = 0 ;
17133 char *kwnames[] = {
17134 (char *) "self", NULL
17135 };
17136
17137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17140 {
17141 PyThreadState* __tstate = wxPyBeginAllowThreads();
17142 result = (bool)(arg1)->base_Validate();
17143
17144 wxPyEndAllowThreads(__tstate);
17145 if (PyErr_Occurred()) SWIG_fail;
17146 }
17147 {
17148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17149 }
17150 return resultobj;
17151 fail:
17152 return NULL;
17153 }
17154
17155
17156 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17157 PyObject *resultobj;
17158 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17159 bool result;
17160 PyObject * obj0 = 0 ;
17161 char *kwnames[] = {
17162 (char *) "self", NULL
17163 };
17164
17165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17168 {
17169 PyThreadState* __tstate = wxPyBeginAllowThreads();
17170 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17171
17172 wxPyEndAllowThreads(__tstate);
17173 if (PyErr_Occurred()) SWIG_fail;
17174 }
17175 {
17176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17177 }
17178 return resultobj;
17179 fail:
17180 return NULL;
17181 }
17182
17183
17184 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17185 PyObject *resultobj;
17186 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17187 bool result;
17188 PyObject * obj0 = 0 ;
17189 char *kwnames[] = {
17190 (char *) "self", NULL
17191 };
17192
17193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17196 {
17197 PyThreadState* __tstate = wxPyBeginAllowThreads();
17198 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17199
17200 wxPyEndAllowThreads(__tstate);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 }
17203 {
17204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17205 }
17206 return resultobj;
17207 fail:
17208 return NULL;
17209 }
17210
17211
17212 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17213 PyObject *resultobj;
17214 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17215 wxSize result;
17216 PyObject * obj0 = 0 ;
17217 char *kwnames[] = {
17218 (char *) "self", NULL
17219 };
17220
17221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17224 {
17225 PyThreadState* __tstate = wxPyBeginAllowThreads();
17226 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17227
17228 wxPyEndAllowThreads(__tstate);
17229 if (PyErr_Occurred()) SWIG_fail;
17230 }
17231 {
17232 wxSize * resultptr;
17233 resultptr = new wxSize((wxSize &) result);
17234 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17235 }
17236 return resultobj;
17237 fail:
17238 return NULL;
17239 }
17240
17241
17242 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17243 PyObject *resultobj;
17244 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17245 wxWindow *arg2 = (wxWindow *) 0 ;
17246 PyObject * obj0 = 0 ;
17247 PyObject * obj1 = 0 ;
17248 char *kwnames[] = {
17249 (char *) "self",(char *) "child", NULL
17250 };
17251
17252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17255 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17257 {
17258 PyThreadState* __tstate = wxPyBeginAllowThreads();
17259 (arg1)->base_AddChild(arg2);
17260
17261 wxPyEndAllowThreads(__tstate);
17262 if (PyErr_Occurred()) SWIG_fail;
17263 }
17264 Py_INCREF(Py_None); resultobj = Py_None;
17265 return resultobj;
17266 fail:
17267 return NULL;
17268 }
17269
17270
17271 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17272 PyObject *resultobj;
17273 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17274 wxWindow *arg2 = (wxWindow *) 0 ;
17275 PyObject * obj0 = 0 ;
17276 PyObject * obj1 = 0 ;
17277 char *kwnames[] = {
17278 (char *) "self",(char *) "child", NULL
17279 };
17280
17281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17284 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17286 {
17287 PyThreadState* __tstate = wxPyBeginAllowThreads();
17288 (arg1)->base_RemoveChild(arg2);
17289
17290 wxPyEndAllowThreads(__tstate);
17291 if (PyErr_Occurred()) SWIG_fail;
17292 }
17293 Py_INCREF(Py_None); resultobj = Py_None;
17294 return resultobj;
17295 fail:
17296 return NULL;
17297 }
17298
17299
17300 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17301 PyObject *resultobj;
17302 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17303 bool result;
17304 PyObject * obj0 = 0 ;
17305 char *kwnames[] = {
17306 (char *) "self", NULL
17307 };
17308
17309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17312 {
17313 PyThreadState* __tstate = wxPyBeginAllowThreads();
17314 result = (bool)(arg1)->base_ShouldInheritColours();
17315
17316 wxPyEndAllowThreads(__tstate);
17317 if (PyErr_Occurred()) SWIG_fail;
17318 }
17319 {
17320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17321 }
17322 return resultobj;
17323 fail:
17324 return NULL;
17325 }
17326
17327
17328 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17329 PyObject *resultobj;
17330 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17331 wxColour *arg2 = 0 ;
17332 wxColour temp2 ;
17333 PyObject * obj0 = 0 ;
17334 PyObject * obj1 = 0 ;
17335 char *kwnames[] = {
17336 (char *) "self",(char *) "c", NULL
17337 };
17338
17339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17342 {
17343 arg2 = &temp2;
17344 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17345 }
17346 {
17347 PyThreadState* __tstate = wxPyBeginAllowThreads();
17348 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17349
17350 wxPyEndAllowThreads(__tstate);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 }
17353 Py_INCREF(Py_None); resultobj = Py_None;
17354 return resultobj;
17355 fail:
17356 return NULL;
17357 }
17358
17359
17360 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17361 PyObject *obj;
17362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17363 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17364 Py_INCREF(obj);
17365 return Py_BuildValue((char *)"");
17366 }
17367 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17368 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17369 return 1;
17370 }
17371
17372
17373 static PyObject *_wrap_PrintoutTitleStr_get() {
17374 PyObject *pyobj;
17375
17376 {
17377 #if wxUSE_UNICODE
17378 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17379 #else
17380 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17381 #endif
17382 }
17383 return pyobj;
17384 }
17385
17386
17387 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17388 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17389 return 1;
17390 }
17391
17392
17393 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17394 PyObject *pyobj;
17395
17396 {
17397 #if wxUSE_UNICODE
17398 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17399 #else
17400 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17401 #endif
17402 }
17403 return pyobj;
17404 }
17405
17406
17407 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17408 PyObject *resultobj;
17409 wxPrintData *result;
17410 char *kwnames[] = {
17411 NULL
17412 };
17413
17414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17415 {
17416 PyThreadState* __tstate = wxPyBeginAllowThreads();
17417 result = (wxPrintData *)new wxPrintData();
17418
17419 wxPyEndAllowThreads(__tstate);
17420 if (PyErr_Occurred()) SWIG_fail;
17421 }
17422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17423 return resultobj;
17424 fail:
17425 return NULL;
17426 }
17427
17428
17429 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17430 PyObject *resultobj;
17431 wxPrintData *arg1 = (wxPrintData *) 0 ;
17432 PyObject * obj0 = 0 ;
17433 char *kwnames[] = {
17434 (char *) "self", NULL
17435 };
17436
17437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17440 {
17441 PyThreadState* __tstate = wxPyBeginAllowThreads();
17442 delete arg1;
17443
17444 wxPyEndAllowThreads(__tstate);
17445 if (PyErr_Occurred()) SWIG_fail;
17446 }
17447 Py_INCREF(Py_None); resultobj = Py_None;
17448 return resultobj;
17449 fail:
17450 return NULL;
17451 }
17452
17453
17454 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17455 PyObject *resultobj;
17456 wxPrintData *arg1 = (wxPrintData *) 0 ;
17457 int result;
17458 PyObject * obj0 = 0 ;
17459 char *kwnames[] = {
17460 (char *) "self", NULL
17461 };
17462
17463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 result = (int)(arg1)->GetNoCopies();
17469
17470 wxPyEndAllowThreads(__tstate);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 resultobj = SWIG_FromInt((int)result);
17474 return resultobj;
17475 fail:
17476 return NULL;
17477 }
17478
17479
17480 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17481 PyObject *resultobj;
17482 wxPrintData *arg1 = (wxPrintData *) 0 ;
17483 bool result;
17484 PyObject * obj0 = 0 ;
17485 char *kwnames[] = {
17486 (char *) "self", NULL
17487 };
17488
17489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17492 {
17493 PyThreadState* __tstate = wxPyBeginAllowThreads();
17494 result = (bool)(arg1)->GetCollate();
17495
17496 wxPyEndAllowThreads(__tstate);
17497 if (PyErr_Occurred()) SWIG_fail;
17498 }
17499 {
17500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17501 }
17502 return resultobj;
17503 fail:
17504 return NULL;
17505 }
17506
17507
17508 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17509 PyObject *resultobj;
17510 wxPrintData *arg1 = (wxPrintData *) 0 ;
17511 int result;
17512 PyObject * obj0 = 0 ;
17513 char *kwnames[] = {
17514 (char *) "self", NULL
17515 };
17516
17517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17520 {
17521 PyThreadState* __tstate = wxPyBeginAllowThreads();
17522 result = (int)(arg1)->GetOrientation();
17523
17524 wxPyEndAllowThreads(__tstate);
17525 if (PyErr_Occurred()) SWIG_fail;
17526 }
17527 resultobj = SWIG_FromInt((int)result);
17528 return resultobj;
17529 fail:
17530 return NULL;
17531 }
17532
17533
17534 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17535 PyObject *resultobj;
17536 wxPrintData *arg1 = (wxPrintData *) 0 ;
17537 bool result;
17538 PyObject * obj0 = 0 ;
17539 char *kwnames[] = {
17540 (char *) "self", NULL
17541 };
17542
17543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17546 {
17547 PyThreadState* __tstate = wxPyBeginAllowThreads();
17548 result = (bool)(arg1)->Ok();
17549
17550 wxPyEndAllowThreads(__tstate);
17551 if (PyErr_Occurred()) SWIG_fail;
17552 }
17553 {
17554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17555 }
17556 return resultobj;
17557 fail:
17558 return NULL;
17559 }
17560
17561
17562 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17563 PyObject *resultobj;
17564 wxPrintData *arg1 = (wxPrintData *) 0 ;
17565 wxString *result;
17566 PyObject * obj0 = 0 ;
17567 char *kwnames[] = {
17568 (char *) "self", NULL
17569 };
17570
17571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17574 {
17575 PyThreadState* __tstate = wxPyBeginAllowThreads();
17576 {
17577 wxString const &_result_ref = (arg1)->GetPrinterName();
17578 result = (wxString *) &_result_ref;
17579 }
17580
17581 wxPyEndAllowThreads(__tstate);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 }
17584 {
17585 #if wxUSE_UNICODE
17586 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17587 #else
17588 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17589 #endif
17590 }
17591 return resultobj;
17592 fail:
17593 return NULL;
17594 }
17595
17596
17597 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17598 PyObject *resultobj;
17599 wxPrintData *arg1 = (wxPrintData *) 0 ;
17600 bool result;
17601 PyObject * obj0 = 0 ;
17602 char *kwnames[] = {
17603 (char *) "self", NULL
17604 };
17605
17606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17609 {
17610 PyThreadState* __tstate = wxPyBeginAllowThreads();
17611 result = (bool)(arg1)->GetColour();
17612
17613 wxPyEndAllowThreads(__tstate);
17614 if (PyErr_Occurred()) SWIG_fail;
17615 }
17616 {
17617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17618 }
17619 return resultobj;
17620 fail:
17621 return NULL;
17622 }
17623
17624
17625 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17626 PyObject *resultobj;
17627 wxPrintData *arg1 = (wxPrintData *) 0 ;
17628 int result;
17629 PyObject * obj0 = 0 ;
17630 char *kwnames[] = {
17631 (char *) "self", NULL
17632 };
17633
17634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17637 {
17638 PyThreadState* __tstate = wxPyBeginAllowThreads();
17639 result = (int)(arg1)->GetDuplex();
17640
17641 wxPyEndAllowThreads(__tstate);
17642 if (PyErr_Occurred()) SWIG_fail;
17643 }
17644 resultobj = SWIG_FromInt((int)result);
17645 return resultobj;
17646 fail:
17647 return NULL;
17648 }
17649
17650
17651 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17652 PyObject *resultobj;
17653 wxPrintData *arg1 = (wxPrintData *) 0 ;
17654 int result;
17655 PyObject * obj0 = 0 ;
17656 char *kwnames[] = {
17657 (char *) "self", NULL
17658 };
17659
17660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17663 {
17664 PyThreadState* __tstate = wxPyBeginAllowThreads();
17665 result = (int)(arg1)->GetPaperId();
17666
17667 wxPyEndAllowThreads(__tstate);
17668 if (PyErr_Occurred()) SWIG_fail;
17669 }
17670 resultobj = SWIG_FromInt((int)result);
17671 return resultobj;
17672 fail:
17673 return NULL;
17674 }
17675
17676
17677 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17678 PyObject *resultobj;
17679 wxPrintData *arg1 = (wxPrintData *) 0 ;
17680 wxSize *result;
17681 PyObject * obj0 = 0 ;
17682 char *kwnames[] = {
17683 (char *) "self", NULL
17684 };
17685
17686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
17687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17689 {
17690 PyThreadState* __tstate = wxPyBeginAllowThreads();
17691 {
17692 wxSize const &_result_ref = (arg1)->GetPaperSize();
17693 result = (wxSize *) &_result_ref;
17694 }
17695
17696 wxPyEndAllowThreads(__tstate);
17697 if (PyErr_Occurred()) SWIG_fail;
17698 }
17699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
17700 return resultobj;
17701 fail:
17702 return NULL;
17703 }
17704
17705
17706 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17707 PyObject *resultobj;
17708 wxPrintData *arg1 = (wxPrintData *) 0 ;
17709 int result;
17710 PyObject * obj0 = 0 ;
17711 char *kwnames[] = {
17712 (char *) "self", NULL
17713 };
17714
17715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
17716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17718 {
17719 PyThreadState* __tstate = wxPyBeginAllowThreads();
17720 result = (int)(arg1)->GetQuality();
17721
17722 wxPyEndAllowThreads(__tstate);
17723 if (PyErr_Occurred()) SWIG_fail;
17724 }
17725 resultobj = SWIG_FromInt((int)result);
17726 return resultobj;
17727 fail:
17728 return NULL;
17729 }
17730
17731
17732 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17733 PyObject *resultobj;
17734 wxPrintData *arg1 = (wxPrintData *) 0 ;
17735 int arg2 ;
17736 PyObject * obj0 = 0 ;
17737 PyObject * obj1 = 0 ;
17738 char *kwnames[] = {
17739 (char *) "self",(char *) "v", NULL
17740 };
17741
17742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
17743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17745 arg2 = (int) SWIG_AsInt(obj1);
17746 if (PyErr_Occurred()) SWIG_fail;
17747 {
17748 PyThreadState* __tstate = wxPyBeginAllowThreads();
17749 (arg1)->SetNoCopies(arg2);
17750
17751 wxPyEndAllowThreads(__tstate);
17752 if (PyErr_Occurred()) SWIG_fail;
17753 }
17754 Py_INCREF(Py_None); resultobj = Py_None;
17755 return resultobj;
17756 fail:
17757 return NULL;
17758 }
17759
17760
17761 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17762 PyObject *resultobj;
17763 wxPrintData *arg1 = (wxPrintData *) 0 ;
17764 bool arg2 ;
17765 PyObject * obj0 = 0 ;
17766 PyObject * obj1 = 0 ;
17767 char *kwnames[] = {
17768 (char *) "self",(char *) "flag", NULL
17769 };
17770
17771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17774 arg2 = (bool) SWIG_AsBool(obj1);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 {
17777 PyThreadState* __tstate = wxPyBeginAllowThreads();
17778 (arg1)->SetCollate(arg2);
17779
17780 wxPyEndAllowThreads(__tstate);
17781 if (PyErr_Occurred()) SWIG_fail;
17782 }
17783 Py_INCREF(Py_None); resultobj = Py_None;
17784 return resultobj;
17785 fail:
17786 return NULL;
17787 }
17788
17789
17790 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17791 PyObject *resultobj;
17792 wxPrintData *arg1 = (wxPrintData *) 0 ;
17793 int arg2 ;
17794 PyObject * obj0 = 0 ;
17795 PyObject * obj1 = 0 ;
17796 char *kwnames[] = {
17797 (char *) "self",(char *) "orient", NULL
17798 };
17799
17800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
17801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17803 arg2 = (int) SWIG_AsInt(obj1);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 {
17806 PyThreadState* __tstate = wxPyBeginAllowThreads();
17807 (arg1)->SetOrientation(arg2);
17808
17809 wxPyEndAllowThreads(__tstate);
17810 if (PyErr_Occurred()) SWIG_fail;
17811 }
17812 Py_INCREF(Py_None); resultobj = Py_None;
17813 return resultobj;
17814 fail:
17815 return NULL;
17816 }
17817
17818
17819 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17820 PyObject *resultobj;
17821 wxPrintData *arg1 = (wxPrintData *) 0 ;
17822 wxString *arg2 = 0 ;
17823 bool temp2 = False ;
17824 PyObject * obj0 = 0 ;
17825 PyObject * obj1 = 0 ;
17826 char *kwnames[] = {
17827 (char *) "self",(char *) "name", NULL
17828 };
17829
17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
17831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17833 {
17834 arg2 = wxString_in_helper(obj1);
17835 if (arg2 == NULL) SWIG_fail;
17836 temp2 = True;
17837 }
17838 {
17839 PyThreadState* __tstate = wxPyBeginAllowThreads();
17840 (arg1)->SetPrinterName((wxString const &)*arg2);
17841
17842 wxPyEndAllowThreads(__tstate);
17843 if (PyErr_Occurred()) SWIG_fail;
17844 }
17845 Py_INCREF(Py_None); resultobj = Py_None;
17846 {
17847 if (temp2)
17848 delete arg2;
17849 }
17850 return resultobj;
17851 fail:
17852 {
17853 if (temp2)
17854 delete arg2;
17855 }
17856 return NULL;
17857 }
17858
17859
17860 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17861 PyObject *resultobj;
17862 wxPrintData *arg1 = (wxPrintData *) 0 ;
17863 bool arg2 ;
17864 PyObject * obj0 = 0 ;
17865 PyObject * obj1 = 0 ;
17866 char *kwnames[] = {
17867 (char *) "self",(char *) "colour", NULL
17868 };
17869
17870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
17871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17873 arg2 = (bool) SWIG_AsBool(obj1);
17874 if (PyErr_Occurred()) SWIG_fail;
17875 {
17876 PyThreadState* __tstate = wxPyBeginAllowThreads();
17877 (arg1)->SetColour(arg2);
17878
17879 wxPyEndAllowThreads(__tstate);
17880 if (PyErr_Occurred()) SWIG_fail;
17881 }
17882 Py_INCREF(Py_None); resultobj = Py_None;
17883 return resultobj;
17884 fail:
17885 return NULL;
17886 }
17887
17888
17889 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17890 PyObject *resultobj;
17891 wxPrintData *arg1 = (wxPrintData *) 0 ;
17892 int arg2 ;
17893 PyObject * obj0 = 0 ;
17894 PyObject * obj1 = 0 ;
17895 char *kwnames[] = {
17896 (char *) "self",(char *) "duplex", NULL
17897 };
17898
17899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
17900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17902 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
17903 if (PyErr_Occurred()) SWIG_fail;
17904 {
17905 PyThreadState* __tstate = wxPyBeginAllowThreads();
17906 (arg1)->SetDuplex((wxDuplexMode )arg2);
17907
17908 wxPyEndAllowThreads(__tstate);
17909 if (PyErr_Occurred()) SWIG_fail;
17910 }
17911 Py_INCREF(Py_None); resultobj = Py_None;
17912 return resultobj;
17913 fail:
17914 return NULL;
17915 }
17916
17917
17918 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17919 PyObject *resultobj;
17920 wxPrintData *arg1 = (wxPrintData *) 0 ;
17921 int arg2 ;
17922 PyObject * obj0 = 0 ;
17923 PyObject * obj1 = 0 ;
17924 char *kwnames[] = {
17925 (char *) "self",(char *) "sizeId", NULL
17926 };
17927
17928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
17929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17931 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
17932 if (PyErr_Occurred()) SWIG_fail;
17933 {
17934 PyThreadState* __tstate = wxPyBeginAllowThreads();
17935 (arg1)->SetPaperId((wxPaperSize )arg2);
17936
17937 wxPyEndAllowThreads(__tstate);
17938 if (PyErr_Occurred()) SWIG_fail;
17939 }
17940 Py_INCREF(Py_None); resultobj = Py_None;
17941 return resultobj;
17942 fail:
17943 return NULL;
17944 }
17945
17946
17947 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17948 PyObject *resultobj;
17949 wxPrintData *arg1 = (wxPrintData *) 0 ;
17950 wxSize *arg2 = 0 ;
17951 wxSize temp2 ;
17952 PyObject * obj0 = 0 ;
17953 PyObject * obj1 = 0 ;
17954 char *kwnames[] = {
17955 (char *) "self",(char *) "sz", NULL
17956 };
17957
17958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17961 {
17962 arg2 = &temp2;
17963 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17964 }
17965 {
17966 PyThreadState* __tstate = wxPyBeginAllowThreads();
17967 (arg1)->SetPaperSize((wxSize const &)*arg2);
17968
17969 wxPyEndAllowThreads(__tstate);
17970 if (PyErr_Occurred()) SWIG_fail;
17971 }
17972 Py_INCREF(Py_None); resultobj = Py_None;
17973 return resultobj;
17974 fail:
17975 return NULL;
17976 }
17977
17978
17979 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17980 PyObject *resultobj;
17981 wxPrintData *arg1 = (wxPrintData *) 0 ;
17982 int arg2 ;
17983 PyObject * obj0 = 0 ;
17984 PyObject * obj1 = 0 ;
17985 char *kwnames[] = {
17986 (char *) "self",(char *) "quality", NULL
17987 };
17988
17989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
17990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17992 arg2 = (int) SWIG_AsInt(obj1);
17993 if (PyErr_Occurred()) SWIG_fail;
17994 {
17995 PyThreadState* __tstate = wxPyBeginAllowThreads();
17996 (arg1)->SetQuality(arg2);
17997
17998 wxPyEndAllowThreads(__tstate);
17999 if (PyErr_Occurred()) SWIG_fail;
18000 }
18001 Py_INCREF(Py_None); resultobj = Py_None;
18002 return resultobj;
18003 fail:
18004 return NULL;
18005 }
18006
18007
18008 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18009 PyObject *resultobj;
18010 wxPrintData *arg1 = (wxPrintData *) 0 ;
18011 wxString *result;
18012 PyObject * obj0 = 0 ;
18013 char *kwnames[] = {
18014 (char *) "self", NULL
18015 };
18016
18017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18020 {
18021 PyThreadState* __tstate = wxPyBeginAllowThreads();
18022 {
18023 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18024 result = (wxString *) &_result_ref;
18025 }
18026
18027 wxPyEndAllowThreads(__tstate);
18028 if (PyErr_Occurred()) SWIG_fail;
18029 }
18030 {
18031 #if wxUSE_UNICODE
18032 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18033 #else
18034 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18035 #endif
18036 }
18037 return resultobj;
18038 fail:
18039 return NULL;
18040 }
18041
18042
18043 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18044 PyObject *resultobj;
18045 wxPrintData *arg1 = (wxPrintData *) 0 ;
18046 wxString *result;
18047 PyObject * obj0 = 0 ;
18048 char *kwnames[] = {
18049 (char *) "self", NULL
18050 };
18051
18052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18055 {
18056 PyThreadState* __tstate = wxPyBeginAllowThreads();
18057 {
18058 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18059 result = (wxString *) &_result_ref;
18060 }
18061
18062 wxPyEndAllowThreads(__tstate);
18063 if (PyErr_Occurred()) SWIG_fail;
18064 }
18065 {
18066 #if wxUSE_UNICODE
18067 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18068 #else
18069 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18070 #endif
18071 }
18072 return resultobj;
18073 fail:
18074 return NULL;
18075 }
18076
18077
18078 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18079 PyObject *resultobj;
18080 wxPrintData *arg1 = (wxPrintData *) 0 ;
18081 wxString *result;
18082 PyObject * obj0 = 0 ;
18083 char *kwnames[] = {
18084 (char *) "self", NULL
18085 };
18086
18087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18090 {
18091 PyThreadState* __tstate = wxPyBeginAllowThreads();
18092 {
18093 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18094 result = (wxString *) &_result_ref;
18095 }
18096
18097 wxPyEndAllowThreads(__tstate);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 {
18101 #if wxUSE_UNICODE
18102 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18103 #else
18104 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18105 #endif
18106 }
18107 return resultobj;
18108 fail:
18109 return NULL;
18110 }
18111
18112
18113 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18114 PyObject *resultobj;
18115 wxPrintData *arg1 = (wxPrintData *) 0 ;
18116 wxString *result;
18117 PyObject * obj0 = 0 ;
18118 char *kwnames[] = {
18119 (char *) "self", NULL
18120 };
18121
18122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18125 {
18126 PyThreadState* __tstate = wxPyBeginAllowThreads();
18127 {
18128 wxString const &_result_ref = (arg1)->GetFilename();
18129 result = (wxString *) &_result_ref;
18130 }
18131
18132 wxPyEndAllowThreads(__tstate);
18133 if (PyErr_Occurred()) SWIG_fail;
18134 }
18135 {
18136 #if wxUSE_UNICODE
18137 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18138 #else
18139 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18140 #endif
18141 }
18142 return resultobj;
18143 fail:
18144 return NULL;
18145 }
18146
18147
18148 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18149 PyObject *resultobj;
18150 wxPrintData *arg1 = (wxPrintData *) 0 ;
18151 wxString *result;
18152 PyObject * obj0 = 0 ;
18153 char *kwnames[] = {
18154 (char *) "self", NULL
18155 };
18156
18157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18160 {
18161 PyThreadState* __tstate = wxPyBeginAllowThreads();
18162 {
18163 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18164 result = (wxString *) &_result_ref;
18165 }
18166
18167 wxPyEndAllowThreads(__tstate);
18168 if (PyErr_Occurred()) SWIG_fail;
18169 }
18170 {
18171 #if wxUSE_UNICODE
18172 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18173 #else
18174 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18175 #endif
18176 }
18177 return resultobj;
18178 fail:
18179 return NULL;
18180 }
18181
18182
18183 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18184 PyObject *resultobj;
18185 wxPrintData *arg1 = (wxPrintData *) 0 ;
18186 double result;
18187 PyObject * obj0 = 0 ;
18188 char *kwnames[] = {
18189 (char *) "self", NULL
18190 };
18191
18192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18195 {
18196 PyThreadState* __tstate = wxPyBeginAllowThreads();
18197 result = (double)(arg1)->GetPrinterScaleX();
18198
18199 wxPyEndAllowThreads(__tstate);
18200 if (PyErr_Occurred()) SWIG_fail;
18201 }
18202 resultobj = SWIG_FromDouble((double)result);
18203 return resultobj;
18204 fail:
18205 return NULL;
18206 }
18207
18208
18209 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18210 PyObject *resultobj;
18211 wxPrintData *arg1 = (wxPrintData *) 0 ;
18212 double result;
18213 PyObject * obj0 = 0 ;
18214 char *kwnames[] = {
18215 (char *) "self", NULL
18216 };
18217
18218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18221 {
18222 PyThreadState* __tstate = wxPyBeginAllowThreads();
18223 result = (double)(arg1)->GetPrinterScaleY();
18224
18225 wxPyEndAllowThreads(__tstate);
18226 if (PyErr_Occurred()) SWIG_fail;
18227 }
18228 resultobj = SWIG_FromDouble((double)result);
18229 return resultobj;
18230 fail:
18231 return NULL;
18232 }
18233
18234
18235 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18236 PyObject *resultobj;
18237 wxPrintData *arg1 = (wxPrintData *) 0 ;
18238 long result;
18239 PyObject * obj0 = 0 ;
18240 char *kwnames[] = {
18241 (char *) "self", NULL
18242 };
18243
18244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18247 {
18248 PyThreadState* __tstate = wxPyBeginAllowThreads();
18249 result = (long)(arg1)->GetPrinterTranslateX();
18250
18251 wxPyEndAllowThreads(__tstate);
18252 if (PyErr_Occurred()) SWIG_fail;
18253 }
18254 resultobj = SWIG_FromLong((long)result);
18255 return resultobj;
18256 fail:
18257 return NULL;
18258 }
18259
18260
18261 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18262 PyObject *resultobj;
18263 wxPrintData *arg1 = (wxPrintData *) 0 ;
18264 long result;
18265 PyObject * obj0 = 0 ;
18266 char *kwnames[] = {
18267 (char *) "self", NULL
18268 };
18269
18270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18273 {
18274 PyThreadState* __tstate = wxPyBeginAllowThreads();
18275 result = (long)(arg1)->GetPrinterTranslateY();
18276
18277 wxPyEndAllowThreads(__tstate);
18278 if (PyErr_Occurred()) SWIG_fail;
18279 }
18280 resultobj = SWIG_FromLong((long)result);
18281 return resultobj;
18282 fail:
18283 return NULL;
18284 }
18285
18286
18287 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18288 PyObject *resultobj;
18289 wxPrintData *arg1 = (wxPrintData *) 0 ;
18290 int result;
18291 PyObject * obj0 = 0 ;
18292 char *kwnames[] = {
18293 (char *) "self", NULL
18294 };
18295
18296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18299 {
18300 PyThreadState* __tstate = wxPyBeginAllowThreads();
18301 result = (int)(arg1)->GetPrintMode();
18302
18303 wxPyEndAllowThreads(__tstate);
18304 if (PyErr_Occurred()) SWIG_fail;
18305 }
18306 resultobj = SWIG_FromInt((int)result);
18307 return resultobj;
18308 fail:
18309 return NULL;
18310 }
18311
18312
18313 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18314 PyObject *resultobj;
18315 wxPrintData *arg1 = (wxPrintData *) 0 ;
18316 wxString *arg2 = 0 ;
18317 bool temp2 = False ;
18318 PyObject * obj0 = 0 ;
18319 PyObject * obj1 = 0 ;
18320 char *kwnames[] = {
18321 (char *) "self",(char *) "command", NULL
18322 };
18323
18324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18327 {
18328 arg2 = wxString_in_helper(obj1);
18329 if (arg2 == NULL) SWIG_fail;
18330 temp2 = True;
18331 }
18332 {
18333 PyThreadState* __tstate = wxPyBeginAllowThreads();
18334 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18335
18336 wxPyEndAllowThreads(__tstate);
18337 if (PyErr_Occurred()) SWIG_fail;
18338 }
18339 Py_INCREF(Py_None); resultobj = Py_None;
18340 {
18341 if (temp2)
18342 delete arg2;
18343 }
18344 return resultobj;
18345 fail:
18346 {
18347 if (temp2)
18348 delete arg2;
18349 }
18350 return NULL;
18351 }
18352
18353
18354 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18355 PyObject *resultobj;
18356 wxPrintData *arg1 = (wxPrintData *) 0 ;
18357 wxString *arg2 = 0 ;
18358 bool temp2 = False ;
18359 PyObject * obj0 = 0 ;
18360 PyObject * obj1 = 0 ;
18361 char *kwnames[] = {
18362 (char *) "self",(char *) "options", NULL
18363 };
18364
18365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18368 {
18369 arg2 = wxString_in_helper(obj1);
18370 if (arg2 == NULL) SWIG_fail;
18371 temp2 = True;
18372 }
18373 {
18374 PyThreadState* __tstate = wxPyBeginAllowThreads();
18375 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18376
18377 wxPyEndAllowThreads(__tstate);
18378 if (PyErr_Occurred()) SWIG_fail;
18379 }
18380 Py_INCREF(Py_None); resultobj = Py_None;
18381 {
18382 if (temp2)
18383 delete arg2;
18384 }
18385 return resultobj;
18386 fail:
18387 {
18388 if (temp2)
18389 delete arg2;
18390 }
18391 return NULL;
18392 }
18393
18394
18395 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18396 PyObject *resultobj;
18397 wxPrintData *arg1 = (wxPrintData *) 0 ;
18398 wxString *arg2 = 0 ;
18399 bool temp2 = False ;
18400 PyObject * obj0 = 0 ;
18401 PyObject * obj1 = 0 ;
18402 char *kwnames[] = {
18403 (char *) "self",(char *) "command", NULL
18404 };
18405
18406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18409 {
18410 arg2 = wxString_in_helper(obj1);
18411 if (arg2 == NULL) SWIG_fail;
18412 temp2 = True;
18413 }
18414 {
18415 PyThreadState* __tstate = wxPyBeginAllowThreads();
18416 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18417
18418 wxPyEndAllowThreads(__tstate);
18419 if (PyErr_Occurred()) SWIG_fail;
18420 }
18421 Py_INCREF(Py_None); resultobj = Py_None;
18422 {
18423 if (temp2)
18424 delete arg2;
18425 }
18426 return resultobj;
18427 fail:
18428 {
18429 if (temp2)
18430 delete arg2;
18431 }
18432 return NULL;
18433 }
18434
18435
18436 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18437 PyObject *resultobj;
18438 wxPrintData *arg1 = (wxPrintData *) 0 ;
18439 wxString *arg2 = 0 ;
18440 bool temp2 = False ;
18441 PyObject * obj0 = 0 ;
18442 PyObject * obj1 = 0 ;
18443 char *kwnames[] = {
18444 (char *) "self",(char *) "filename", NULL
18445 };
18446
18447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18450 {
18451 arg2 = wxString_in_helper(obj1);
18452 if (arg2 == NULL) SWIG_fail;
18453 temp2 = True;
18454 }
18455 {
18456 PyThreadState* __tstate = wxPyBeginAllowThreads();
18457 (arg1)->SetFilename((wxString const &)*arg2);
18458
18459 wxPyEndAllowThreads(__tstate);
18460 if (PyErr_Occurred()) SWIG_fail;
18461 }
18462 Py_INCREF(Py_None); resultobj = Py_None;
18463 {
18464 if (temp2)
18465 delete arg2;
18466 }
18467 return resultobj;
18468 fail:
18469 {
18470 if (temp2)
18471 delete arg2;
18472 }
18473 return NULL;
18474 }
18475
18476
18477 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18478 PyObject *resultobj;
18479 wxPrintData *arg1 = (wxPrintData *) 0 ;
18480 wxString *arg2 = 0 ;
18481 bool temp2 = False ;
18482 PyObject * obj0 = 0 ;
18483 PyObject * obj1 = 0 ;
18484 char *kwnames[] = {
18485 (char *) "self",(char *) "path", NULL
18486 };
18487
18488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18491 {
18492 arg2 = wxString_in_helper(obj1);
18493 if (arg2 == NULL) SWIG_fail;
18494 temp2 = True;
18495 }
18496 {
18497 PyThreadState* __tstate = wxPyBeginAllowThreads();
18498 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18499
18500 wxPyEndAllowThreads(__tstate);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 }
18503 Py_INCREF(Py_None); resultobj = Py_None;
18504 {
18505 if (temp2)
18506 delete arg2;
18507 }
18508 return resultobj;
18509 fail:
18510 {
18511 if (temp2)
18512 delete arg2;
18513 }
18514 return NULL;
18515 }
18516
18517
18518 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18519 PyObject *resultobj;
18520 wxPrintData *arg1 = (wxPrintData *) 0 ;
18521 double arg2 ;
18522 PyObject * obj0 = 0 ;
18523 PyObject * obj1 = 0 ;
18524 char *kwnames[] = {
18525 (char *) "self",(char *) "x", NULL
18526 };
18527
18528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18531 arg2 = (double) SWIG_AsDouble(obj1);
18532 if (PyErr_Occurred()) SWIG_fail;
18533 {
18534 PyThreadState* __tstate = wxPyBeginAllowThreads();
18535 (arg1)->SetPrinterScaleX(arg2);
18536
18537 wxPyEndAllowThreads(__tstate);
18538 if (PyErr_Occurred()) SWIG_fail;
18539 }
18540 Py_INCREF(Py_None); resultobj = Py_None;
18541 return resultobj;
18542 fail:
18543 return NULL;
18544 }
18545
18546
18547 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18548 PyObject *resultobj;
18549 wxPrintData *arg1 = (wxPrintData *) 0 ;
18550 double arg2 ;
18551 PyObject * obj0 = 0 ;
18552 PyObject * obj1 = 0 ;
18553 char *kwnames[] = {
18554 (char *) "self",(char *) "y", NULL
18555 };
18556
18557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18560 arg2 = (double) SWIG_AsDouble(obj1);
18561 if (PyErr_Occurred()) SWIG_fail;
18562 {
18563 PyThreadState* __tstate = wxPyBeginAllowThreads();
18564 (arg1)->SetPrinterScaleY(arg2);
18565
18566 wxPyEndAllowThreads(__tstate);
18567 if (PyErr_Occurred()) SWIG_fail;
18568 }
18569 Py_INCREF(Py_None); resultobj = Py_None;
18570 return resultobj;
18571 fail:
18572 return NULL;
18573 }
18574
18575
18576 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
18577 PyObject *resultobj;
18578 wxPrintData *arg1 = (wxPrintData *) 0 ;
18579 double arg2 ;
18580 double arg3 ;
18581 PyObject * obj0 = 0 ;
18582 PyObject * obj1 = 0 ;
18583 PyObject * obj2 = 0 ;
18584 char *kwnames[] = {
18585 (char *) "self",(char *) "x",(char *) "y", NULL
18586 };
18587
18588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18591 arg2 = (double) SWIG_AsDouble(obj1);
18592 if (PyErr_Occurred()) SWIG_fail;
18593 arg3 = (double) SWIG_AsDouble(obj2);
18594 if (PyErr_Occurred()) SWIG_fail;
18595 {
18596 PyThreadState* __tstate = wxPyBeginAllowThreads();
18597 (arg1)->SetPrinterScaling(arg2,arg3);
18598
18599 wxPyEndAllowThreads(__tstate);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
18602 Py_INCREF(Py_None); resultobj = Py_None;
18603 return resultobj;
18604 fail:
18605 return NULL;
18606 }
18607
18608
18609 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18610 PyObject *resultobj;
18611 wxPrintData *arg1 = (wxPrintData *) 0 ;
18612 long arg2 ;
18613 PyObject * obj0 = 0 ;
18614 PyObject * obj1 = 0 ;
18615 char *kwnames[] = {
18616 (char *) "self",(char *) "x", NULL
18617 };
18618
18619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18622 arg2 = (long) SWIG_AsLong(obj1);
18623 if (PyErr_Occurred()) SWIG_fail;
18624 {
18625 PyThreadState* __tstate = wxPyBeginAllowThreads();
18626 (arg1)->SetPrinterTranslateX(arg2);
18627
18628 wxPyEndAllowThreads(__tstate);
18629 if (PyErr_Occurred()) SWIG_fail;
18630 }
18631 Py_INCREF(Py_None); resultobj = Py_None;
18632 return resultobj;
18633 fail:
18634 return NULL;
18635 }
18636
18637
18638 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18639 PyObject *resultobj;
18640 wxPrintData *arg1 = (wxPrintData *) 0 ;
18641 long arg2 ;
18642 PyObject * obj0 = 0 ;
18643 PyObject * obj1 = 0 ;
18644 char *kwnames[] = {
18645 (char *) "self",(char *) "y", NULL
18646 };
18647
18648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18651 arg2 = (long) SWIG_AsLong(obj1);
18652 if (PyErr_Occurred()) SWIG_fail;
18653 {
18654 PyThreadState* __tstate = wxPyBeginAllowThreads();
18655 (arg1)->SetPrinterTranslateY(arg2);
18656
18657 wxPyEndAllowThreads(__tstate);
18658 if (PyErr_Occurred()) SWIG_fail;
18659 }
18660 Py_INCREF(Py_None); resultobj = Py_None;
18661 return resultobj;
18662 fail:
18663 return NULL;
18664 }
18665
18666
18667 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
18668 PyObject *resultobj;
18669 wxPrintData *arg1 = (wxPrintData *) 0 ;
18670 long arg2 ;
18671 long arg3 ;
18672 PyObject * obj0 = 0 ;
18673 PyObject * obj1 = 0 ;
18674 PyObject * obj2 = 0 ;
18675 char *kwnames[] = {
18676 (char *) "self",(char *) "x",(char *) "y", NULL
18677 };
18678
18679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
18680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18682 arg2 = (long) SWIG_AsLong(obj1);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 arg3 = (long) SWIG_AsLong(obj2);
18685 if (PyErr_Occurred()) SWIG_fail;
18686 {
18687 PyThreadState* __tstate = wxPyBeginAllowThreads();
18688 (arg1)->SetPrinterTranslation(arg2,arg3);
18689
18690 wxPyEndAllowThreads(__tstate);
18691 if (PyErr_Occurred()) SWIG_fail;
18692 }
18693 Py_INCREF(Py_None); resultobj = Py_None;
18694 return resultobj;
18695 fail:
18696 return NULL;
18697 }
18698
18699
18700 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18701 PyObject *resultobj;
18702 wxPrintData *arg1 = (wxPrintData *) 0 ;
18703 int arg2 ;
18704 PyObject * obj0 = 0 ;
18705 PyObject * obj1 = 0 ;
18706 char *kwnames[] = {
18707 (char *) "self",(char *) "printMode", NULL
18708 };
18709
18710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
18711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18713 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18714 if (PyErr_Occurred()) SWIG_fail;
18715 {
18716 PyThreadState* __tstate = wxPyBeginAllowThreads();
18717 (arg1)->SetPrintMode((wxPrintMode )arg2);
18718
18719 wxPyEndAllowThreads(__tstate);
18720 if (PyErr_Occurred()) SWIG_fail;
18721 }
18722 Py_INCREF(Py_None); resultobj = Py_None;
18723 return resultobj;
18724 fail:
18725 return NULL;
18726 }
18727
18728
18729 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18730 PyObject *resultobj;
18731 wxPrintData *arg1 = (wxPrintData *) 0 ;
18732 wxOutputStream *result;
18733 PyObject * obj0 = 0 ;
18734 char *kwnames[] = {
18735 (char *) "self", NULL
18736 };
18737
18738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
18739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18741 {
18742 PyThreadState* __tstate = wxPyBeginAllowThreads();
18743 result = (wxOutputStream *)(arg1)->GetOutputStream();
18744
18745 wxPyEndAllowThreads(__tstate);
18746 if (PyErr_Occurred()) SWIG_fail;
18747 }
18748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
18749 return resultobj;
18750 fail:
18751 return NULL;
18752 }
18753
18754
18755 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18756 PyObject *resultobj;
18757 wxPrintData *arg1 = (wxPrintData *) 0 ;
18758 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18759 PyObject * obj0 = 0 ;
18760 PyObject * obj1 = 0 ;
18761 char *kwnames[] = {
18762 (char *) "self",(char *) "outputstream", NULL
18763 };
18764
18765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
18766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18768 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
18769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18770 {
18771 PyThreadState* __tstate = wxPyBeginAllowThreads();
18772 (arg1)->SetOutputStream(arg2);
18773
18774 wxPyEndAllowThreads(__tstate);
18775 if (PyErr_Occurred()) SWIG_fail;
18776 }
18777 Py_INCREF(Py_None); resultobj = Py_None;
18778 return resultobj;
18779 fail:
18780 return NULL;
18781 }
18782
18783
18784 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
18785 PyObject *obj;
18786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18787 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
18788 Py_INCREF(obj);
18789 return Py_BuildValue((char *)"");
18790 }
18791 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18792 PyObject *resultobj;
18793 wxPageSetupDialogData *result;
18794 char *kwnames[] = {
18795 NULL
18796 };
18797
18798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
18799 {
18800 PyThreadState* __tstate = wxPyBeginAllowThreads();
18801 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
18802
18803 wxPyEndAllowThreads(__tstate);
18804 if (PyErr_Occurred()) SWIG_fail;
18805 }
18806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
18807 return resultobj;
18808 fail:
18809 return NULL;
18810 }
18811
18812
18813 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18814 PyObject *resultobj;
18815 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18816 PyObject * obj0 = 0 ;
18817 char *kwnames[] = {
18818 (char *) "self", NULL
18819 };
18820
18821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
18822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 delete arg1;
18827
18828 wxPyEndAllowThreads(__tstate);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 Py_INCREF(Py_None); resultobj = Py_None;
18832 return resultobj;
18833 fail:
18834 return NULL;
18835 }
18836
18837
18838 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18839 PyObject *resultobj;
18840 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18841 bool arg2 ;
18842 PyObject * obj0 = 0 ;
18843 PyObject * obj1 = 0 ;
18844 char *kwnames[] = {
18845 (char *) "self",(char *) "flag", NULL
18846 };
18847
18848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
18849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18851 arg2 = (bool) SWIG_AsBool(obj1);
18852 if (PyErr_Occurred()) SWIG_fail;
18853 {
18854 PyThreadState* __tstate = wxPyBeginAllowThreads();
18855 (arg1)->EnableHelp(arg2);
18856
18857 wxPyEndAllowThreads(__tstate);
18858 if (PyErr_Occurred()) SWIG_fail;
18859 }
18860 Py_INCREF(Py_None); resultobj = Py_None;
18861 return resultobj;
18862 fail:
18863 return NULL;
18864 }
18865
18866
18867 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18868 PyObject *resultobj;
18869 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18870 bool arg2 ;
18871 PyObject * obj0 = 0 ;
18872 PyObject * obj1 = 0 ;
18873 char *kwnames[] = {
18874 (char *) "self",(char *) "flag", NULL
18875 };
18876
18877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
18878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18880 arg2 = (bool) SWIG_AsBool(obj1);
18881 if (PyErr_Occurred()) SWIG_fail;
18882 {
18883 PyThreadState* __tstate = wxPyBeginAllowThreads();
18884 (arg1)->EnableMargins(arg2);
18885
18886 wxPyEndAllowThreads(__tstate);
18887 if (PyErr_Occurred()) SWIG_fail;
18888 }
18889 Py_INCREF(Py_None); resultobj = Py_None;
18890 return resultobj;
18891 fail:
18892 return NULL;
18893 }
18894
18895
18896 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18897 PyObject *resultobj;
18898 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18899 bool arg2 ;
18900 PyObject * obj0 = 0 ;
18901 PyObject * obj1 = 0 ;
18902 char *kwnames[] = {
18903 (char *) "self",(char *) "flag", NULL
18904 };
18905
18906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
18907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18909 arg2 = (bool) SWIG_AsBool(obj1);
18910 if (PyErr_Occurred()) SWIG_fail;
18911 {
18912 PyThreadState* __tstate = wxPyBeginAllowThreads();
18913 (arg1)->EnableOrientation(arg2);
18914
18915 wxPyEndAllowThreads(__tstate);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 }
18918 Py_INCREF(Py_None); resultobj = Py_None;
18919 return resultobj;
18920 fail:
18921 return NULL;
18922 }
18923
18924
18925 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
18926 PyObject *resultobj;
18927 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18928 bool arg2 ;
18929 PyObject * obj0 = 0 ;
18930 PyObject * obj1 = 0 ;
18931 char *kwnames[] = {
18932 (char *) "self",(char *) "flag", NULL
18933 };
18934
18935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
18936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18938 arg2 = (bool) SWIG_AsBool(obj1);
18939 if (PyErr_Occurred()) SWIG_fail;
18940 {
18941 PyThreadState* __tstate = wxPyBeginAllowThreads();
18942 (arg1)->EnablePaper(arg2);
18943
18944 wxPyEndAllowThreads(__tstate);
18945 if (PyErr_Occurred()) SWIG_fail;
18946 }
18947 Py_INCREF(Py_None); resultobj = Py_None;
18948 return resultobj;
18949 fail:
18950 return NULL;
18951 }
18952
18953
18954 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj;
18956 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18957 bool arg2 ;
18958 PyObject * obj0 = 0 ;
18959 PyObject * obj1 = 0 ;
18960 char *kwnames[] = {
18961 (char *) "self",(char *) "flag", NULL
18962 };
18963
18964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
18965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18967 arg2 = (bool) SWIG_AsBool(obj1);
18968 if (PyErr_Occurred()) SWIG_fail;
18969 {
18970 PyThreadState* __tstate = wxPyBeginAllowThreads();
18971 (arg1)->EnablePrinter(arg2);
18972
18973 wxPyEndAllowThreads(__tstate);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 }
18976 Py_INCREF(Py_None); resultobj = Py_None;
18977 return resultobj;
18978 fail:
18979 return NULL;
18980 }
18981
18982
18983 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18984 PyObject *resultobj;
18985 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18986 bool result;
18987 PyObject * obj0 = 0 ;
18988 char *kwnames[] = {
18989 (char *) "self", NULL
18990 };
18991
18992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
18993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18995 {
18996 PyThreadState* __tstate = wxPyBeginAllowThreads();
18997 result = (bool)(arg1)->GetDefaultMinMargins();
18998
18999 wxPyEndAllowThreads(__tstate);
19000 if (PyErr_Occurred()) SWIG_fail;
19001 }
19002 {
19003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19004 }
19005 return resultobj;
19006 fail:
19007 return NULL;
19008 }
19009
19010
19011 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19012 PyObject *resultobj;
19013 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19014 bool result;
19015 PyObject * obj0 = 0 ;
19016 char *kwnames[] = {
19017 (char *) "self", NULL
19018 };
19019
19020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19023 {
19024 PyThreadState* __tstate = wxPyBeginAllowThreads();
19025 result = (bool)(arg1)->GetEnableMargins();
19026
19027 wxPyEndAllowThreads(__tstate);
19028 if (PyErr_Occurred()) SWIG_fail;
19029 }
19030 {
19031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19032 }
19033 return resultobj;
19034 fail:
19035 return NULL;
19036 }
19037
19038
19039 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19040 PyObject *resultobj;
19041 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19042 bool result;
19043 PyObject * obj0 = 0 ;
19044 char *kwnames[] = {
19045 (char *) "self", NULL
19046 };
19047
19048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19051 {
19052 PyThreadState* __tstate = wxPyBeginAllowThreads();
19053 result = (bool)(arg1)->GetEnableOrientation();
19054
19055 wxPyEndAllowThreads(__tstate);
19056 if (PyErr_Occurred()) SWIG_fail;
19057 }
19058 {
19059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19060 }
19061 return resultobj;
19062 fail:
19063 return NULL;
19064 }
19065
19066
19067 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19068 PyObject *resultobj;
19069 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19070 bool result;
19071 PyObject * obj0 = 0 ;
19072 char *kwnames[] = {
19073 (char *) "self", NULL
19074 };
19075
19076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19079 {
19080 PyThreadState* __tstate = wxPyBeginAllowThreads();
19081 result = (bool)(arg1)->GetEnablePaper();
19082
19083 wxPyEndAllowThreads(__tstate);
19084 if (PyErr_Occurred()) SWIG_fail;
19085 }
19086 {
19087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19088 }
19089 return resultobj;
19090 fail:
19091 return NULL;
19092 }
19093
19094
19095 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19096 PyObject *resultobj;
19097 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19098 bool result;
19099 PyObject * obj0 = 0 ;
19100 char *kwnames[] = {
19101 (char *) "self", NULL
19102 };
19103
19104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19107 {
19108 PyThreadState* __tstate = wxPyBeginAllowThreads();
19109 result = (bool)(arg1)->GetEnablePrinter();
19110
19111 wxPyEndAllowThreads(__tstate);
19112 if (PyErr_Occurred()) SWIG_fail;
19113 }
19114 {
19115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19116 }
19117 return resultobj;
19118 fail:
19119 return NULL;
19120 }
19121
19122
19123 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19124 PyObject *resultobj;
19125 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19126 bool result;
19127 PyObject * obj0 = 0 ;
19128 char *kwnames[] = {
19129 (char *) "self", NULL
19130 };
19131
19132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19135 {
19136 PyThreadState* __tstate = wxPyBeginAllowThreads();
19137 result = (bool)(arg1)->GetEnableHelp();
19138
19139 wxPyEndAllowThreads(__tstate);
19140 if (PyErr_Occurred()) SWIG_fail;
19141 }
19142 {
19143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19144 }
19145 return resultobj;
19146 fail:
19147 return NULL;
19148 }
19149
19150
19151 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19152 PyObject *resultobj;
19153 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19154 bool result;
19155 PyObject * obj0 = 0 ;
19156 char *kwnames[] = {
19157 (char *) "self", NULL
19158 };
19159
19160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19163 {
19164 PyThreadState* __tstate = wxPyBeginAllowThreads();
19165 result = (bool)(arg1)->GetDefaultInfo();
19166
19167 wxPyEndAllowThreads(__tstate);
19168 if (PyErr_Occurred()) SWIG_fail;
19169 }
19170 {
19171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19172 }
19173 return resultobj;
19174 fail:
19175 return NULL;
19176 }
19177
19178
19179 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19180 PyObject *resultobj;
19181 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19182 wxPoint result;
19183 PyObject * obj0 = 0 ;
19184 char *kwnames[] = {
19185 (char *) "self", NULL
19186 };
19187
19188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19191 {
19192 PyThreadState* __tstate = wxPyBeginAllowThreads();
19193 result = (arg1)->GetMarginTopLeft();
19194
19195 wxPyEndAllowThreads(__tstate);
19196 if (PyErr_Occurred()) SWIG_fail;
19197 }
19198 {
19199 wxPoint * resultptr;
19200 resultptr = new wxPoint((wxPoint &) result);
19201 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19202 }
19203 return resultobj;
19204 fail:
19205 return NULL;
19206 }
19207
19208
19209 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19210 PyObject *resultobj;
19211 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19212 wxPoint result;
19213 PyObject * obj0 = 0 ;
19214 char *kwnames[] = {
19215 (char *) "self", NULL
19216 };
19217
19218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19221 {
19222 PyThreadState* __tstate = wxPyBeginAllowThreads();
19223 result = (arg1)->GetMarginBottomRight();
19224
19225 wxPyEndAllowThreads(__tstate);
19226 if (PyErr_Occurred()) SWIG_fail;
19227 }
19228 {
19229 wxPoint * resultptr;
19230 resultptr = new wxPoint((wxPoint &) result);
19231 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19232 }
19233 return resultobj;
19234 fail:
19235 return NULL;
19236 }
19237
19238
19239 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19240 PyObject *resultobj;
19241 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19242 wxPoint result;
19243 PyObject * obj0 = 0 ;
19244 char *kwnames[] = {
19245 (char *) "self", NULL
19246 };
19247
19248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 result = (arg1)->GetMinMarginTopLeft();
19254
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 {
19259 wxPoint * resultptr;
19260 resultptr = new wxPoint((wxPoint &) result);
19261 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19262 }
19263 return resultobj;
19264 fail:
19265 return NULL;
19266 }
19267
19268
19269 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19270 PyObject *resultobj;
19271 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19272 wxPoint result;
19273 PyObject * obj0 = 0 ;
19274 char *kwnames[] = {
19275 (char *) "self", NULL
19276 };
19277
19278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19281 {
19282 PyThreadState* __tstate = wxPyBeginAllowThreads();
19283 result = (arg1)->GetMinMarginBottomRight();
19284
19285 wxPyEndAllowThreads(__tstate);
19286 if (PyErr_Occurred()) SWIG_fail;
19287 }
19288 {
19289 wxPoint * resultptr;
19290 resultptr = new wxPoint((wxPoint &) result);
19291 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19292 }
19293 return resultobj;
19294 fail:
19295 return NULL;
19296 }
19297
19298
19299 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19300 PyObject *resultobj;
19301 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19302 int result;
19303 PyObject * obj0 = 0 ;
19304 char *kwnames[] = {
19305 (char *) "self", NULL
19306 };
19307
19308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19311 {
19312 PyThreadState* __tstate = wxPyBeginAllowThreads();
19313 result = (int)(arg1)->GetPaperId();
19314
19315 wxPyEndAllowThreads(__tstate);
19316 if (PyErr_Occurred()) SWIG_fail;
19317 }
19318 resultobj = SWIG_FromInt((int)result);
19319 return resultobj;
19320 fail:
19321 return NULL;
19322 }
19323
19324
19325 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19326 PyObject *resultobj;
19327 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19328 wxSize result;
19329 PyObject * obj0 = 0 ;
19330 char *kwnames[] = {
19331 (char *) "self", NULL
19332 };
19333
19334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19337 {
19338 PyThreadState* __tstate = wxPyBeginAllowThreads();
19339 result = (arg1)->GetPaperSize();
19340
19341 wxPyEndAllowThreads(__tstate);
19342 if (PyErr_Occurred()) SWIG_fail;
19343 }
19344 {
19345 wxSize * resultptr;
19346 resultptr = new wxSize((wxSize &) result);
19347 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19348 }
19349 return resultobj;
19350 fail:
19351 return NULL;
19352 }
19353
19354
19355 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19356 PyObject *resultobj;
19357 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19358 wxPrintData *result;
19359 PyObject * obj0 = 0 ;
19360 char *kwnames[] = {
19361 (char *) "self", NULL
19362 };
19363
19364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19367 {
19368 PyThreadState* __tstate = wxPyBeginAllowThreads();
19369 {
19370 wxPrintData &_result_ref = (arg1)->GetPrintData();
19371 result = (wxPrintData *) &_result_ref;
19372 }
19373
19374 wxPyEndAllowThreads(__tstate);
19375 if (PyErr_Occurred()) SWIG_fail;
19376 }
19377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19378 return resultobj;
19379 fail:
19380 return NULL;
19381 }
19382
19383
19384 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19385 PyObject *resultobj;
19386 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19387 bool result;
19388 PyObject * obj0 = 0 ;
19389 char *kwnames[] = {
19390 (char *) "self", NULL
19391 };
19392
19393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19396 {
19397 PyThreadState* __tstate = wxPyBeginAllowThreads();
19398 result = (bool)(arg1)->Ok();
19399
19400 wxPyEndAllowThreads(__tstate);
19401 if (PyErr_Occurred()) SWIG_fail;
19402 }
19403 {
19404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19405 }
19406 return resultobj;
19407 fail:
19408 return NULL;
19409 }
19410
19411
19412 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19413 PyObject *resultobj;
19414 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19415 bool arg2 ;
19416 PyObject * obj0 = 0 ;
19417 PyObject * obj1 = 0 ;
19418 char *kwnames[] = {
19419 (char *) "self",(char *) "flag", NULL
19420 };
19421
19422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19425 arg2 = (bool) SWIG_AsBool(obj1);
19426 if (PyErr_Occurred()) SWIG_fail;
19427 {
19428 PyThreadState* __tstate = wxPyBeginAllowThreads();
19429 (arg1)->SetDefaultInfo(arg2);
19430
19431 wxPyEndAllowThreads(__tstate);
19432 if (PyErr_Occurred()) SWIG_fail;
19433 }
19434 Py_INCREF(Py_None); resultobj = Py_None;
19435 return resultobj;
19436 fail:
19437 return NULL;
19438 }
19439
19440
19441 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19442 PyObject *resultobj;
19443 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19444 bool arg2 ;
19445 PyObject * obj0 = 0 ;
19446 PyObject * obj1 = 0 ;
19447 char *kwnames[] = {
19448 (char *) "self",(char *) "flag", NULL
19449 };
19450
19451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19454 arg2 = (bool) SWIG_AsBool(obj1);
19455 if (PyErr_Occurred()) SWIG_fail;
19456 {
19457 PyThreadState* __tstate = wxPyBeginAllowThreads();
19458 (arg1)->SetDefaultMinMargins(arg2);
19459
19460 wxPyEndAllowThreads(__tstate);
19461 if (PyErr_Occurred()) SWIG_fail;
19462 }
19463 Py_INCREF(Py_None); resultobj = Py_None;
19464 return resultobj;
19465 fail:
19466 return NULL;
19467 }
19468
19469
19470 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19471 PyObject *resultobj;
19472 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19473 wxPoint *arg2 = 0 ;
19474 wxPoint temp2 ;
19475 PyObject * obj0 = 0 ;
19476 PyObject * obj1 = 0 ;
19477 char *kwnames[] = {
19478 (char *) "self",(char *) "pt", NULL
19479 };
19480
19481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19484 {
19485 arg2 = &temp2;
19486 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19487 }
19488 {
19489 PyThreadState* __tstate = wxPyBeginAllowThreads();
19490 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19491
19492 wxPyEndAllowThreads(__tstate);
19493 if (PyErr_Occurred()) SWIG_fail;
19494 }
19495 Py_INCREF(Py_None); resultobj = Py_None;
19496 return resultobj;
19497 fail:
19498 return NULL;
19499 }
19500
19501
19502 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19503 PyObject *resultobj;
19504 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19505 wxPoint *arg2 = 0 ;
19506 wxPoint temp2 ;
19507 PyObject * obj0 = 0 ;
19508 PyObject * obj1 = 0 ;
19509 char *kwnames[] = {
19510 (char *) "self",(char *) "pt", NULL
19511 };
19512
19513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19516 {
19517 arg2 = &temp2;
19518 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19519 }
19520 {
19521 PyThreadState* __tstate = wxPyBeginAllowThreads();
19522 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19523
19524 wxPyEndAllowThreads(__tstate);
19525 if (PyErr_Occurred()) SWIG_fail;
19526 }
19527 Py_INCREF(Py_None); resultobj = Py_None;
19528 return resultobj;
19529 fail:
19530 return NULL;
19531 }
19532
19533
19534 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19535 PyObject *resultobj;
19536 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19537 wxPoint *arg2 = 0 ;
19538 wxPoint temp2 ;
19539 PyObject * obj0 = 0 ;
19540 PyObject * obj1 = 0 ;
19541 char *kwnames[] = {
19542 (char *) "self",(char *) "pt", NULL
19543 };
19544
19545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19548 {
19549 arg2 = &temp2;
19550 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19551 }
19552 {
19553 PyThreadState* __tstate = wxPyBeginAllowThreads();
19554 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19555
19556 wxPyEndAllowThreads(__tstate);
19557 if (PyErr_Occurred()) SWIG_fail;
19558 }
19559 Py_INCREF(Py_None); resultobj = Py_None;
19560 return resultobj;
19561 fail:
19562 return NULL;
19563 }
19564
19565
19566 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19567 PyObject *resultobj;
19568 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19569 wxPoint *arg2 = 0 ;
19570 wxPoint temp2 ;
19571 PyObject * obj0 = 0 ;
19572 PyObject * obj1 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "self",(char *) "pt", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19580 {
19581 arg2 = &temp2;
19582 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19583 }
19584 {
19585 PyThreadState* __tstate = wxPyBeginAllowThreads();
19586 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19587
19588 wxPyEndAllowThreads(__tstate);
19589 if (PyErr_Occurred()) SWIG_fail;
19590 }
19591 Py_INCREF(Py_None); resultobj = Py_None;
19592 return resultobj;
19593 fail:
19594 return NULL;
19595 }
19596
19597
19598 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19599 PyObject *resultobj;
19600 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19601 int arg2 ;
19602 PyObject * obj0 = 0 ;
19603 PyObject * obj1 = 0 ;
19604 char *kwnames[] = {
19605 (char *) "self",(char *) "id", NULL
19606 };
19607
19608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19611 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19612 if (PyErr_Occurred()) SWIG_fail;
19613 {
19614 PyThreadState* __tstate = wxPyBeginAllowThreads();
19615 (arg1)->SetPaperId((wxPaperSize )arg2);
19616
19617 wxPyEndAllowThreads(__tstate);
19618 if (PyErr_Occurred()) SWIG_fail;
19619 }
19620 Py_INCREF(Py_None); resultobj = Py_None;
19621 return resultobj;
19622 fail:
19623 return NULL;
19624 }
19625
19626
19627 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19628 PyObject *resultobj;
19629 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19630 wxSize *arg2 = 0 ;
19631 wxSize temp2 ;
19632 PyObject * obj0 = 0 ;
19633 PyObject * obj1 = 0 ;
19634 char *kwnames[] = {
19635 (char *) "self",(char *) "size", NULL
19636 };
19637
19638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19641 {
19642 arg2 = &temp2;
19643 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19644 }
19645 {
19646 PyThreadState* __tstate = wxPyBeginAllowThreads();
19647 (arg1)->SetPaperSize((wxSize const &)*arg2);
19648
19649 wxPyEndAllowThreads(__tstate);
19650 if (PyErr_Occurred()) SWIG_fail;
19651 }
19652 Py_INCREF(Py_None); resultobj = Py_None;
19653 return resultobj;
19654 fail:
19655 return NULL;
19656 }
19657
19658
19659 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19660 PyObject *resultobj;
19661 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19662 wxPrintData *arg2 = 0 ;
19663 PyObject * obj0 = 0 ;
19664 PyObject * obj1 = 0 ;
19665 char *kwnames[] = {
19666 (char *) "self",(char *) "printData", NULL
19667 };
19668
19669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19672 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19673 SWIG_POINTER_EXCEPTION | 0)) == -1)
19674 SWIG_fail;
19675 if (arg2 == NULL) {
19676 PyErr_SetString(PyExc_TypeError,"null reference");
19677 SWIG_fail;
19678 }
19679 {
19680 PyThreadState* __tstate = wxPyBeginAllowThreads();
19681 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19682
19683 wxPyEndAllowThreads(__tstate);
19684 if (PyErr_Occurred()) SWIG_fail;
19685 }
19686 Py_INCREF(Py_None); resultobj = Py_None;
19687 return resultobj;
19688 fail:
19689 return NULL;
19690 }
19691
19692
19693 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
19694 PyObject *obj;
19695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19696 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19697 Py_INCREF(obj);
19698 return Py_BuildValue((char *)"");
19699 }
19700 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19701 PyObject *resultobj;
19702 wxWindow *arg1 = (wxWindow *) 0 ;
19703 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19704 wxPageSetupDialog *result;
19705 PyObject * obj0 = 0 ;
19706 PyObject * obj1 = 0 ;
19707 char *kwnames[] = {
19708 (char *) "parent",(char *) "data", NULL
19709 };
19710
19711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19714 if (obj1) {
19715 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19717 }
19718 {
19719 PyThreadState* __tstate = wxPyBeginAllowThreads();
19720 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19721
19722 wxPyEndAllowThreads(__tstate);
19723 if (PyErr_Occurred()) SWIG_fail;
19724 }
19725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
19726 return resultobj;
19727 fail:
19728 return NULL;
19729 }
19730
19731
19732 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
19733 PyObject *resultobj;
19734 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19735 wxPageSetupDialogData *result;
19736 PyObject * obj0 = 0 ;
19737 char *kwnames[] = {
19738 (char *) "self", NULL
19739 };
19740
19741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
19742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19744 {
19745 PyThreadState* __tstate = wxPyBeginAllowThreads();
19746 {
19747 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19748 result = (wxPageSetupDialogData *) &_result_ref;
19749 }
19750
19751 wxPyEndAllowThreads(__tstate);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 }
19754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
19755 return resultobj;
19756 fail:
19757 return NULL;
19758 }
19759
19760
19761 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19762 PyObject *resultobj;
19763 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19764 int result;
19765 PyObject * obj0 = 0 ;
19766 char *kwnames[] = {
19767 (char *) "self", NULL
19768 };
19769
19770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
19771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19773 {
19774 PyThreadState* __tstate = wxPyBeginAllowThreads();
19775 result = (int)(arg1)->ShowModal();
19776
19777 wxPyEndAllowThreads(__tstate);
19778 if (PyErr_Occurred()) SWIG_fail;
19779 }
19780 resultobj = SWIG_FromInt((int)result);
19781 return resultobj;
19782 fail:
19783 return NULL;
19784 }
19785
19786
19787 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
19788 PyObject *obj;
19789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19790 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
19791 Py_INCREF(obj);
19792 return Py_BuildValue((char *)"");
19793 }
19794 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
19795 PyObject *resultobj;
19796 wxPrintDialogData *result;
19797
19798 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
19799 {
19800 PyThreadState* __tstate = wxPyBeginAllowThreads();
19801 result = (wxPrintDialogData *)new wxPrintDialogData();
19802
19803 wxPyEndAllowThreads(__tstate);
19804 if (PyErr_Occurred()) SWIG_fail;
19805 }
19806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19807 return resultobj;
19808 fail:
19809 return NULL;
19810 }
19811
19812
19813 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
19814 PyObject *resultobj;
19815 wxPrintData *arg1 = 0 ;
19816 wxPrintDialogData *result;
19817 PyObject * obj0 = 0 ;
19818
19819 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
19820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19821 SWIG_POINTER_EXCEPTION | 0)) == -1)
19822 SWIG_fail;
19823 if (arg1 == NULL) {
19824 PyErr_SetString(PyExc_TypeError,"null reference");
19825 SWIG_fail;
19826 }
19827 {
19828 PyThreadState* __tstate = wxPyBeginAllowThreads();
19829 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
19830
19831 wxPyEndAllowThreads(__tstate);
19832 if (PyErr_Occurred()) SWIG_fail;
19833 }
19834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19835 return resultobj;
19836 fail:
19837 return NULL;
19838 }
19839
19840
19841 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
19842 int argc;
19843 PyObject *argv[2];
19844 int ii;
19845
19846 argc = PyObject_Length(args);
19847 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19848 argv[ii] = PyTuple_GetItem(args,ii);
19849 }
19850 if (argc == 0) {
19851 return _wrap_new_PrintDialogData__SWIG_0(self,args);
19852 }
19853 if (argc == 1) {
19854 int _v;
19855 {
19856 void *ptr;
19857 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
19858 _v = 0;
19859 PyErr_Clear();
19860 } else {
19861 _v = 1;
19862 }
19863 }
19864 if (_v) {
19865 return _wrap_new_PrintDialogData__SWIG_1(self,args);
19866 }
19867 }
19868
19869 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
19870 return NULL;
19871 }
19872
19873
19874 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19875 PyObject *resultobj;
19876 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19877 PyObject * obj0 = 0 ;
19878 char *kwnames[] = {
19879 (char *) "self", NULL
19880 };
19881
19882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
19883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19885 {
19886 PyThreadState* __tstate = wxPyBeginAllowThreads();
19887 delete arg1;
19888
19889 wxPyEndAllowThreads(__tstate);
19890 if (PyErr_Occurred()) SWIG_fail;
19891 }
19892 Py_INCREF(Py_None); resultobj = Py_None;
19893 return resultobj;
19894 fail:
19895 return NULL;
19896 }
19897
19898
19899 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19900 PyObject *resultobj;
19901 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19902 int result;
19903 PyObject * obj0 = 0 ;
19904 char *kwnames[] = {
19905 (char *) "self", NULL
19906 };
19907
19908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
19909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19911 {
19912 PyThreadState* __tstate = wxPyBeginAllowThreads();
19913 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
19914
19915 wxPyEndAllowThreads(__tstate);
19916 if (PyErr_Occurred()) SWIG_fail;
19917 }
19918 resultobj = SWIG_FromInt((int)result);
19919 return resultobj;
19920 fail:
19921 return NULL;
19922 }
19923
19924
19925 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19926 PyObject *resultobj;
19927 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19928 int result;
19929 PyObject * obj0 = 0 ;
19930 char *kwnames[] = {
19931 (char *) "self", NULL
19932 };
19933
19934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
19935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19937 {
19938 PyThreadState* __tstate = wxPyBeginAllowThreads();
19939 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
19940
19941 wxPyEndAllowThreads(__tstate);
19942 if (PyErr_Occurred()) SWIG_fail;
19943 }
19944 resultobj = SWIG_FromInt((int)result);
19945 return resultobj;
19946 fail:
19947 return NULL;
19948 }
19949
19950
19951 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19952 PyObject *resultobj;
19953 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19954 int result;
19955 PyObject * obj0 = 0 ;
19956 char *kwnames[] = {
19957 (char *) "self", NULL
19958 };
19959
19960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
19961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19963 {
19964 PyThreadState* __tstate = wxPyBeginAllowThreads();
19965 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
19966
19967 wxPyEndAllowThreads(__tstate);
19968 if (PyErr_Occurred()) SWIG_fail;
19969 }
19970 resultobj = SWIG_FromInt((int)result);
19971 return resultobj;
19972 fail:
19973 return NULL;
19974 }
19975
19976
19977 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19978 PyObject *resultobj;
19979 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19980 int result;
19981 PyObject * obj0 = 0 ;
19982 char *kwnames[] = {
19983 (char *) "self", NULL
19984 };
19985
19986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
19987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19989 {
19990 PyThreadState* __tstate = wxPyBeginAllowThreads();
19991 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
19992
19993 wxPyEndAllowThreads(__tstate);
19994 if (PyErr_Occurred()) SWIG_fail;
19995 }
19996 resultobj = SWIG_FromInt((int)result);
19997 return resultobj;
19998 fail:
19999 return NULL;
20000 }
20001
20002
20003 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20004 PyObject *resultobj;
20005 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20006 int result;
20007 PyObject * obj0 = 0 ;
20008 char *kwnames[] = {
20009 (char *) "self", NULL
20010 };
20011
20012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20015 {
20016 PyThreadState* __tstate = wxPyBeginAllowThreads();
20017 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20018
20019 wxPyEndAllowThreads(__tstate);
20020 if (PyErr_Occurred()) SWIG_fail;
20021 }
20022 resultobj = SWIG_FromInt((int)result);
20023 return resultobj;
20024 fail:
20025 return NULL;
20026 }
20027
20028
20029 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20030 PyObject *resultobj;
20031 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20032 bool result;
20033 PyObject * obj0 = 0 ;
20034 char *kwnames[] = {
20035 (char *) "self", NULL
20036 };
20037
20038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20041 {
20042 PyThreadState* __tstate = wxPyBeginAllowThreads();
20043 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20044
20045 wxPyEndAllowThreads(__tstate);
20046 if (PyErr_Occurred()) SWIG_fail;
20047 }
20048 {
20049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20050 }
20051 return resultobj;
20052 fail:
20053 return NULL;
20054 }
20055
20056
20057 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20058 PyObject *resultobj;
20059 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20060 bool result;
20061 PyObject * obj0 = 0 ;
20062 char *kwnames[] = {
20063 (char *) "self", NULL
20064 };
20065
20066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20069 {
20070 PyThreadState* __tstate = wxPyBeginAllowThreads();
20071 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20072
20073 wxPyEndAllowThreads(__tstate);
20074 if (PyErr_Occurred()) SWIG_fail;
20075 }
20076 {
20077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20078 }
20079 return resultobj;
20080 fail:
20081 return NULL;
20082 }
20083
20084
20085 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20086 PyObject *resultobj;
20087 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20088 bool result;
20089 PyObject * obj0 = 0 ;
20090 char *kwnames[] = {
20091 (char *) "self", NULL
20092 };
20093
20094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20097 {
20098 PyThreadState* __tstate = wxPyBeginAllowThreads();
20099 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20100
20101 wxPyEndAllowThreads(__tstate);
20102 if (PyErr_Occurred()) SWIG_fail;
20103 }
20104 {
20105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20106 }
20107 return resultobj;
20108 fail:
20109 return NULL;
20110 }
20111
20112
20113 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20114 PyObject *resultobj;
20115 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20116 bool result;
20117 PyObject * obj0 = 0 ;
20118 char *kwnames[] = {
20119 (char *) "self", NULL
20120 };
20121
20122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20125 {
20126 PyThreadState* __tstate = wxPyBeginAllowThreads();
20127 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20128
20129 wxPyEndAllowThreads(__tstate);
20130 if (PyErr_Occurred()) SWIG_fail;
20131 }
20132 {
20133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20134 }
20135 return resultobj;
20136 fail:
20137 return NULL;
20138 }
20139
20140
20141 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20142 PyObject *resultobj;
20143 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20144 bool result;
20145 PyObject * obj0 = 0 ;
20146 char *kwnames[] = {
20147 (char *) "self", NULL
20148 };
20149
20150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20153 {
20154 PyThreadState* __tstate = wxPyBeginAllowThreads();
20155 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20156
20157 wxPyEndAllowThreads(__tstate);
20158 if (PyErr_Occurred()) SWIG_fail;
20159 }
20160 {
20161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20162 }
20163 return resultobj;
20164 fail:
20165 return NULL;
20166 }
20167
20168
20169 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20170 PyObject *resultobj;
20171 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20172 int arg2 ;
20173 PyObject * obj0 = 0 ;
20174 PyObject * obj1 = 0 ;
20175 char *kwnames[] = {
20176 (char *) "self",(char *) "v", NULL
20177 };
20178
20179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20182 arg2 = (int) SWIG_AsInt(obj1);
20183 if (PyErr_Occurred()) SWIG_fail;
20184 {
20185 PyThreadState* __tstate = wxPyBeginAllowThreads();
20186 (arg1)->SetFromPage(arg2);
20187
20188 wxPyEndAllowThreads(__tstate);
20189 if (PyErr_Occurred()) SWIG_fail;
20190 }
20191 Py_INCREF(Py_None); resultobj = Py_None;
20192 return resultobj;
20193 fail:
20194 return NULL;
20195 }
20196
20197
20198 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20199 PyObject *resultobj;
20200 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20201 int arg2 ;
20202 PyObject * obj0 = 0 ;
20203 PyObject * obj1 = 0 ;
20204 char *kwnames[] = {
20205 (char *) "self",(char *) "v", NULL
20206 };
20207
20208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20211 arg2 = (int) SWIG_AsInt(obj1);
20212 if (PyErr_Occurred()) SWIG_fail;
20213 {
20214 PyThreadState* __tstate = wxPyBeginAllowThreads();
20215 (arg1)->SetToPage(arg2);
20216
20217 wxPyEndAllowThreads(__tstate);
20218 if (PyErr_Occurred()) SWIG_fail;
20219 }
20220 Py_INCREF(Py_None); resultobj = Py_None;
20221 return resultobj;
20222 fail:
20223 return NULL;
20224 }
20225
20226
20227 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20228 PyObject *resultobj;
20229 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20230 int arg2 ;
20231 PyObject * obj0 = 0 ;
20232 PyObject * obj1 = 0 ;
20233 char *kwnames[] = {
20234 (char *) "self",(char *) "v", NULL
20235 };
20236
20237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20240 arg2 = (int) SWIG_AsInt(obj1);
20241 if (PyErr_Occurred()) SWIG_fail;
20242 {
20243 PyThreadState* __tstate = wxPyBeginAllowThreads();
20244 (arg1)->SetMinPage(arg2);
20245
20246 wxPyEndAllowThreads(__tstate);
20247 if (PyErr_Occurred()) SWIG_fail;
20248 }
20249 Py_INCREF(Py_None); resultobj = Py_None;
20250 return resultobj;
20251 fail:
20252 return NULL;
20253 }
20254
20255
20256 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20257 PyObject *resultobj;
20258 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20259 int arg2 ;
20260 PyObject * obj0 = 0 ;
20261 PyObject * obj1 = 0 ;
20262 char *kwnames[] = {
20263 (char *) "self",(char *) "v", NULL
20264 };
20265
20266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20269 arg2 = (int) SWIG_AsInt(obj1);
20270 if (PyErr_Occurred()) SWIG_fail;
20271 {
20272 PyThreadState* __tstate = wxPyBeginAllowThreads();
20273 (arg1)->SetMaxPage(arg2);
20274
20275 wxPyEndAllowThreads(__tstate);
20276 if (PyErr_Occurred()) SWIG_fail;
20277 }
20278 Py_INCREF(Py_None); resultobj = Py_None;
20279 return resultobj;
20280 fail:
20281 return NULL;
20282 }
20283
20284
20285 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20286 PyObject *resultobj;
20287 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20288 int arg2 ;
20289 PyObject * obj0 = 0 ;
20290 PyObject * obj1 = 0 ;
20291 char *kwnames[] = {
20292 (char *) "self",(char *) "v", NULL
20293 };
20294
20295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20298 arg2 = (int) SWIG_AsInt(obj1);
20299 if (PyErr_Occurred()) SWIG_fail;
20300 {
20301 PyThreadState* __tstate = wxPyBeginAllowThreads();
20302 (arg1)->SetNoCopies(arg2);
20303
20304 wxPyEndAllowThreads(__tstate);
20305 if (PyErr_Occurred()) SWIG_fail;
20306 }
20307 Py_INCREF(Py_None); resultobj = Py_None;
20308 return resultobj;
20309 fail:
20310 return NULL;
20311 }
20312
20313
20314 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20315 PyObject *resultobj;
20316 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20317 bool arg2 ;
20318 PyObject * obj0 = 0 ;
20319 PyObject * obj1 = 0 ;
20320 char *kwnames[] = {
20321 (char *) "self",(char *) "flag", NULL
20322 };
20323
20324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20327 arg2 = (bool) SWIG_AsBool(obj1);
20328 if (PyErr_Occurred()) SWIG_fail;
20329 {
20330 PyThreadState* __tstate = wxPyBeginAllowThreads();
20331 (arg1)->SetAllPages(arg2);
20332
20333 wxPyEndAllowThreads(__tstate);
20334 if (PyErr_Occurred()) SWIG_fail;
20335 }
20336 Py_INCREF(Py_None); resultobj = Py_None;
20337 return resultobj;
20338 fail:
20339 return NULL;
20340 }
20341
20342
20343 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20344 PyObject *resultobj;
20345 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20346 bool arg2 ;
20347 PyObject * obj0 = 0 ;
20348 PyObject * obj1 = 0 ;
20349 char *kwnames[] = {
20350 (char *) "self",(char *) "flag", NULL
20351 };
20352
20353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20356 arg2 = (bool) SWIG_AsBool(obj1);
20357 if (PyErr_Occurred()) SWIG_fail;
20358 {
20359 PyThreadState* __tstate = wxPyBeginAllowThreads();
20360 (arg1)->SetSelection(arg2);
20361
20362 wxPyEndAllowThreads(__tstate);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 }
20365 Py_INCREF(Py_None); resultobj = Py_None;
20366 return resultobj;
20367 fail:
20368 return NULL;
20369 }
20370
20371
20372 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20373 PyObject *resultobj;
20374 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20375 bool arg2 ;
20376 PyObject * obj0 = 0 ;
20377 PyObject * obj1 = 0 ;
20378 char *kwnames[] = {
20379 (char *) "self",(char *) "flag", NULL
20380 };
20381
20382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20385 arg2 = (bool) SWIG_AsBool(obj1);
20386 if (PyErr_Occurred()) SWIG_fail;
20387 {
20388 PyThreadState* __tstate = wxPyBeginAllowThreads();
20389 (arg1)->SetCollate(arg2);
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_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20402 PyObject *resultobj;
20403 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20404 bool arg2 ;
20405 PyObject * obj0 = 0 ;
20406 PyObject * obj1 = 0 ;
20407 char *kwnames[] = {
20408 (char *) "self",(char *) "flag", NULL
20409 };
20410
20411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20414 arg2 = (bool) SWIG_AsBool(obj1);
20415 if (PyErr_Occurred()) SWIG_fail;
20416 {
20417 PyThreadState* __tstate = wxPyBeginAllowThreads();
20418 (arg1)->SetPrintToFile(arg2);
20419
20420 wxPyEndAllowThreads(__tstate);
20421 if (PyErr_Occurred()) SWIG_fail;
20422 }
20423 Py_INCREF(Py_None); resultobj = Py_None;
20424 return resultobj;
20425 fail:
20426 return NULL;
20427 }
20428
20429
20430 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20431 PyObject *resultobj;
20432 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20433 bool arg2 ;
20434 PyObject * obj0 = 0 ;
20435 PyObject * obj1 = 0 ;
20436 char *kwnames[] = {
20437 (char *) "self",(char *) "flag", NULL
20438 };
20439
20440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20443 arg2 = (bool) SWIG_AsBool(obj1);
20444 if (PyErr_Occurred()) SWIG_fail;
20445 {
20446 PyThreadState* __tstate = wxPyBeginAllowThreads();
20447 (arg1)->SetSetupDialog(arg2);
20448
20449 wxPyEndAllowThreads(__tstate);
20450 if (PyErr_Occurred()) SWIG_fail;
20451 }
20452 Py_INCREF(Py_None); resultobj = Py_None;
20453 return resultobj;
20454 fail:
20455 return NULL;
20456 }
20457
20458
20459 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20460 PyObject *resultobj;
20461 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20462 bool arg2 ;
20463 PyObject * obj0 = 0 ;
20464 PyObject * obj1 = 0 ;
20465 char *kwnames[] = {
20466 (char *) "self",(char *) "flag", NULL
20467 };
20468
20469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20472 arg2 = (bool) SWIG_AsBool(obj1);
20473 if (PyErr_Occurred()) SWIG_fail;
20474 {
20475 PyThreadState* __tstate = wxPyBeginAllowThreads();
20476 (arg1)->EnablePrintToFile(arg2);
20477
20478 wxPyEndAllowThreads(__tstate);
20479 if (PyErr_Occurred()) SWIG_fail;
20480 }
20481 Py_INCREF(Py_None); resultobj = Py_None;
20482 return resultobj;
20483 fail:
20484 return NULL;
20485 }
20486
20487
20488 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20489 PyObject *resultobj;
20490 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20491 bool arg2 ;
20492 PyObject * obj0 = 0 ;
20493 PyObject * obj1 = 0 ;
20494 char *kwnames[] = {
20495 (char *) "self",(char *) "flag", NULL
20496 };
20497
20498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20501 arg2 = (bool) SWIG_AsBool(obj1);
20502 if (PyErr_Occurred()) SWIG_fail;
20503 {
20504 PyThreadState* __tstate = wxPyBeginAllowThreads();
20505 (arg1)->EnableSelection(arg2);
20506
20507 wxPyEndAllowThreads(__tstate);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 }
20510 Py_INCREF(Py_None); resultobj = Py_None;
20511 return resultobj;
20512 fail:
20513 return NULL;
20514 }
20515
20516
20517 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20518 PyObject *resultobj;
20519 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20520 bool arg2 ;
20521 PyObject * obj0 = 0 ;
20522 PyObject * obj1 = 0 ;
20523 char *kwnames[] = {
20524 (char *) "self",(char *) "flag", NULL
20525 };
20526
20527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20530 arg2 = (bool) SWIG_AsBool(obj1);
20531 if (PyErr_Occurred()) SWIG_fail;
20532 {
20533 PyThreadState* __tstate = wxPyBeginAllowThreads();
20534 (arg1)->EnablePageNumbers(arg2);
20535
20536 wxPyEndAllowThreads(__tstate);
20537 if (PyErr_Occurred()) SWIG_fail;
20538 }
20539 Py_INCREF(Py_None); resultobj = Py_None;
20540 return resultobj;
20541 fail:
20542 return NULL;
20543 }
20544
20545
20546 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20547 PyObject *resultobj;
20548 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20549 bool arg2 ;
20550 PyObject * obj0 = 0 ;
20551 PyObject * obj1 = 0 ;
20552 char *kwnames[] = {
20553 (char *) "self",(char *) "flag", NULL
20554 };
20555
20556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20559 arg2 = (bool) SWIG_AsBool(obj1);
20560 if (PyErr_Occurred()) SWIG_fail;
20561 {
20562 PyThreadState* __tstate = wxPyBeginAllowThreads();
20563 (arg1)->EnableHelp(arg2);
20564
20565 wxPyEndAllowThreads(__tstate);
20566 if (PyErr_Occurred()) SWIG_fail;
20567 }
20568 Py_INCREF(Py_None); resultobj = Py_None;
20569 return resultobj;
20570 fail:
20571 return NULL;
20572 }
20573
20574
20575 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20576 PyObject *resultobj;
20577 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20578 bool result;
20579 PyObject * obj0 = 0 ;
20580 char *kwnames[] = {
20581 (char *) "self", NULL
20582 };
20583
20584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20587 {
20588 PyThreadState* __tstate = wxPyBeginAllowThreads();
20589 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20590
20591 wxPyEndAllowThreads(__tstate);
20592 if (PyErr_Occurred()) SWIG_fail;
20593 }
20594 {
20595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20596 }
20597 return resultobj;
20598 fail:
20599 return NULL;
20600 }
20601
20602
20603 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20604 PyObject *resultobj;
20605 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20606 bool result;
20607 PyObject * obj0 = 0 ;
20608 char *kwnames[] = {
20609 (char *) "self", NULL
20610 };
20611
20612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20615 {
20616 PyThreadState* __tstate = wxPyBeginAllowThreads();
20617 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20618
20619 wxPyEndAllowThreads(__tstate);
20620 if (PyErr_Occurred()) SWIG_fail;
20621 }
20622 {
20623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20624 }
20625 return resultobj;
20626 fail:
20627 return NULL;
20628 }
20629
20630
20631 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20632 PyObject *resultobj;
20633 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20634 bool result;
20635 PyObject * obj0 = 0 ;
20636 char *kwnames[] = {
20637 (char *) "self", NULL
20638 };
20639
20640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20643 {
20644 PyThreadState* __tstate = wxPyBeginAllowThreads();
20645 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20646
20647 wxPyEndAllowThreads(__tstate);
20648 if (PyErr_Occurred()) SWIG_fail;
20649 }
20650 {
20651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20652 }
20653 return resultobj;
20654 fail:
20655 return NULL;
20656 }
20657
20658
20659 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20660 PyObject *resultobj;
20661 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20662 bool result;
20663 PyObject * obj0 = 0 ;
20664 char *kwnames[] = {
20665 (char *) "self", NULL
20666 };
20667
20668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20671 {
20672 PyThreadState* __tstate = wxPyBeginAllowThreads();
20673 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20674
20675 wxPyEndAllowThreads(__tstate);
20676 if (PyErr_Occurred()) SWIG_fail;
20677 }
20678 {
20679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20680 }
20681 return resultobj;
20682 fail:
20683 return NULL;
20684 }
20685
20686
20687 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20688 PyObject *resultobj;
20689 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20690 bool result;
20691 PyObject * obj0 = 0 ;
20692 char *kwnames[] = {
20693 (char *) "self", NULL
20694 };
20695
20696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
20697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20699 {
20700 PyThreadState* __tstate = wxPyBeginAllowThreads();
20701 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20702
20703 wxPyEndAllowThreads(__tstate);
20704 if (PyErr_Occurred()) SWIG_fail;
20705 }
20706 {
20707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20708 }
20709 return resultobj;
20710 fail:
20711 return NULL;
20712 }
20713
20714
20715 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20716 PyObject *resultobj;
20717 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20718 wxPrintData *result;
20719 PyObject * obj0 = 0 ;
20720 char *kwnames[] = {
20721 (char *) "self", NULL
20722 };
20723
20724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20727 {
20728 PyThreadState* __tstate = wxPyBeginAllowThreads();
20729 {
20730 wxPrintData &_result_ref = (arg1)->GetPrintData();
20731 result = (wxPrintData *) &_result_ref;
20732 }
20733
20734 wxPyEndAllowThreads(__tstate);
20735 if (PyErr_Occurred()) SWIG_fail;
20736 }
20737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20738 return resultobj;
20739 fail:
20740 return NULL;
20741 }
20742
20743
20744 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20745 PyObject *resultobj;
20746 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20747 wxPrintData *arg2 = 0 ;
20748 PyObject * obj0 = 0 ;
20749 PyObject * obj1 = 0 ;
20750 char *kwnames[] = {
20751 (char *) "self",(char *) "printData", NULL
20752 };
20753
20754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20758 SWIG_POINTER_EXCEPTION | 0)) == -1)
20759 SWIG_fail;
20760 if (arg2 == NULL) {
20761 PyErr_SetString(PyExc_TypeError,"null reference");
20762 SWIG_fail;
20763 }
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20767
20768 wxPyEndAllowThreads(__tstate);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
20771 Py_INCREF(Py_None); resultobj = Py_None;
20772 return resultobj;
20773 fail:
20774 return NULL;
20775 }
20776
20777
20778 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
20779 PyObject *obj;
20780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20781 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
20782 Py_INCREF(obj);
20783 return Py_BuildValue((char *)"");
20784 }
20785 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20786 PyObject *resultobj;
20787 wxWindow *arg1 = (wxWindow *) 0 ;
20788 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
20789 wxPrintDialog *result;
20790 PyObject * obj0 = 0 ;
20791 PyObject * obj1 = 0 ;
20792 char *kwnames[] = {
20793 (char *) "parent",(char *) "data", NULL
20794 };
20795
20796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20799 if (obj1) {
20800 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
20801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20802 }
20803 {
20804 PyThreadState* __tstate = wxPyBeginAllowThreads();
20805 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
20806
20807 wxPyEndAllowThreads(__tstate);
20808 if (PyErr_Occurred()) SWIG_fail;
20809 }
20810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
20811 return resultobj;
20812 fail:
20813 return NULL;
20814 }
20815
20816
20817 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20818 PyObject *resultobj;
20819 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20820 wxPrintDialogData *result;
20821 PyObject * obj0 = 0 ;
20822 char *kwnames[] = {
20823 (char *) "self", NULL
20824 };
20825
20826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
20827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20829 {
20830 PyThreadState* __tstate = wxPyBeginAllowThreads();
20831 {
20832 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20833 result = (wxPrintDialogData *) &_result_ref;
20834 }
20835
20836 wxPyEndAllowThreads(__tstate);
20837 if (PyErr_Occurred()) SWIG_fail;
20838 }
20839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20840 return resultobj;
20841 fail:
20842 return NULL;
20843 }
20844
20845
20846 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20847 PyObject *resultobj;
20848 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20849 wxDC *result;
20850 PyObject * obj0 = 0 ;
20851 char *kwnames[] = {
20852 (char *) "self", NULL
20853 };
20854
20855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
20856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20858 {
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 result = (wxDC *)(arg1)->GetPrintDC();
20861
20862 wxPyEndAllowThreads(__tstate);
20863 if (PyErr_Occurred()) SWIG_fail;
20864 }
20865 {
20866 resultobj = wxPyMake_wxObject(result);
20867 }
20868 return resultobj;
20869 fail:
20870 return NULL;
20871 }
20872
20873
20874 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20875 PyObject *resultobj;
20876 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20877 int result;
20878 PyObject * obj0 = 0 ;
20879 char *kwnames[] = {
20880 (char *) "self", NULL
20881 };
20882
20883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
20884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20886 {
20887 PyThreadState* __tstate = wxPyBeginAllowThreads();
20888 result = (int)(arg1)->ShowModal();
20889
20890 wxPyEndAllowThreads(__tstate);
20891 if (PyErr_Occurred()) SWIG_fail;
20892 }
20893 resultobj = SWIG_FromInt((int)result);
20894 return resultobj;
20895 fail:
20896 return NULL;
20897 }
20898
20899
20900 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
20901 PyObject *obj;
20902 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20903 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
20904 Py_INCREF(obj);
20905 return Py_BuildValue((char *)"");
20906 }
20907 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20908 PyObject *resultobj;
20909 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
20910 wxPrinter *result;
20911 PyObject * obj0 = 0 ;
20912 char *kwnames[] = {
20913 (char *) "data", NULL
20914 };
20915
20916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
20917 if (obj0) {
20918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20920 }
20921 {
20922 PyThreadState* __tstate = wxPyBeginAllowThreads();
20923 result = (wxPrinter *)new wxPrinter(arg1);
20924
20925 wxPyEndAllowThreads(__tstate);
20926 if (PyErr_Occurred()) SWIG_fail;
20927 }
20928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
20929 return resultobj;
20930 fail:
20931 return NULL;
20932 }
20933
20934
20935 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20936 PyObject *resultobj;
20937 wxPrinter *arg1 = (wxPrinter *) 0 ;
20938 PyObject * obj0 = 0 ;
20939 char *kwnames[] = {
20940 (char *) "self", NULL
20941 };
20942
20943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
20944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20946 {
20947 PyThreadState* __tstate = wxPyBeginAllowThreads();
20948 delete arg1;
20949
20950 wxPyEndAllowThreads(__tstate);
20951 if (PyErr_Occurred()) SWIG_fail;
20952 }
20953 Py_INCREF(Py_None); resultobj = Py_None;
20954 return resultobj;
20955 fail:
20956 return NULL;
20957 }
20958
20959
20960 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20961 PyObject *resultobj;
20962 wxPrinter *arg1 = (wxPrinter *) 0 ;
20963 wxWindow *arg2 = (wxWindow *) 0 ;
20964 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20965 PyObject * obj0 = 0 ;
20966 PyObject * obj1 = 0 ;
20967 PyObject * obj2 = 0 ;
20968 char *kwnames[] = {
20969 (char *) "self",(char *) "parent",(char *) "printout", NULL
20970 };
20971
20972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
20973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20977 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20979 {
20980 PyThreadState* __tstate = wxPyBeginAllowThreads();
20981 (arg1)->CreateAbortWindow(arg2,arg3);
20982
20983 wxPyEndAllowThreads(__tstate);
20984 if (PyErr_Occurred()) SWIG_fail;
20985 }
20986 Py_INCREF(Py_None); resultobj = Py_None;
20987 return resultobj;
20988 fail:
20989 return NULL;
20990 }
20991
20992
20993 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20994 PyObject *resultobj;
20995 wxPrinter *arg1 = (wxPrinter *) 0 ;
20996 wxPrintDialogData *result;
20997 PyObject * obj0 = 0 ;
20998 char *kwnames[] = {
20999 (char *) "self", NULL
21000 };
21001
21002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21005 {
21006 PyThreadState* __tstate = wxPyBeginAllowThreads();
21007 {
21008 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21009 result = (wxPrintDialogData *) &_result_ref;
21010 }
21011
21012 wxPyEndAllowThreads(__tstate);
21013 if (PyErr_Occurred()) SWIG_fail;
21014 }
21015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21016 return resultobj;
21017 fail:
21018 return NULL;
21019 }
21020
21021
21022 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21023 PyObject *resultobj;
21024 wxPrinter *arg1 = (wxPrinter *) 0 ;
21025 wxWindow *arg2 = (wxWindow *) 0 ;
21026 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21027 int arg4 = (int) True ;
21028 bool result;
21029 PyObject * obj0 = 0 ;
21030 PyObject * obj1 = 0 ;
21031 PyObject * obj2 = 0 ;
21032 PyObject * obj3 = 0 ;
21033 char *kwnames[] = {
21034 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21035 };
21036
21037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21040 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21042 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21044 if (obj3) {
21045 arg4 = (int) SWIG_AsInt(obj3);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 }
21048 {
21049 PyThreadState* __tstate = wxPyBeginAllowThreads();
21050 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21051
21052 wxPyEndAllowThreads(__tstate);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 }
21055 {
21056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21057 }
21058 return resultobj;
21059 fail:
21060 return NULL;
21061 }
21062
21063
21064 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21065 PyObject *resultobj;
21066 wxPrinter *arg1 = (wxPrinter *) 0 ;
21067 wxWindow *arg2 = (wxWindow *) 0 ;
21068 wxDC *result;
21069 PyObject * obj0 = 0 ;
21070 PyObject * obj1 = 0 ;
21071 char *kwnames[] = {
21072 (char *) "self",(char *) "parent", NULL
21073 };
21074
21075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21080 {
21081 PyThreadState* __tstate = wxPyBeginAllowThreads();
21082 result = (wxDC *)(arg1)->PrintDialog(arg2);
21083
21084 wxPyEndAllowThreads(__tstate);
21085 if (PyErr_Occurred()) SWIG_fail;
21086 }
21087 {
21088 resultobj = wxPyMake_wxObject(result);
21089 }
21090 return resultobj;
21091 fail:
21092 return NULL;
21093 }
21094
21095
21096 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21097 PyObject *resultobj;
21098 wxPrinter *arg1 = (wxPrinter *) 0 ;
21099 wxWindow *arg2 = (wxWindow *) 0 ;
21100 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21101 wxString *arg4 = 0 ;
21102 bool temp4 = False ;
21103 PyObject * obj0 = 0 ;
21104 PyObject * obj1 = 0 ;
21105 PyObject * obj2 = 0 ;
21106 PyObject * obj3 = 0 ;
21107 char *kwnames[] = {
21108 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21109 };
21110
21111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21114 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21116 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21118 {
21119 arg4 = wxString_in_helper(obj3);
21120 if (arg4 == NULL) SWIG_fail;
21121 temp4 = True;
21122 }
21123 {
21124 PyThreadState* __tstate = wxPyBeginAllowThreads();
21125 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21126
21127 wxPyEndAllowThreads(__tstate);
21128 if (PyErr_Occurred()) SWIG_fail;
21129 }
21130 Py_INCREF(Py_None); resultobj = Py_None;
21131 {
21132 if (temp4)
21133 delete arg4;
21134 }
21135 return resultobj;
21136 fail:
21137 {
21138 if (temp4)
21139 delete arg4;
21140 }
21141 return NULL;
21142 }
21143
21144
21145 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21146 PyObject *resultobj;
21147 wxPrinter *arg1 = (wxPrinter *) 0 ;
21148 wxWindow *arg2 = (wxWindow *) 0 ;
21149 bool result;
21150 PyObject * obj0 = 0 ;
21151 PyObject * obj1 = 0 ;
21152 char *kwnames[] = {
21153 (char *) "self",(char *) "parent", NULL
21154 };
21155
21156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21159 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21161 {
21162 PyThreadState* __tstate = wxPyBeginAllowThreads();
21163 result = (bool)(arg1)->Setup(arg2);
21164
21165 wxPyEndAllowThreads(__tstate);
21166 if (PyErr_Occurred()) SWIG_fail;
21167 }
21168 {
21169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21170 }
21171 return resultobj;
21172 fail:
21173 return NULL;
21174 }
21175
21176
21177 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21178 PyObject *resultobj;
21179 wxPrinter *arg1 = (wxPrinter *) 0 ;
21180 bool result;
21181 PyObject * obj0 = 0 ;
21182 char *kwnames[] = {
21183 (char *) "self", NULL
21184 };
21185
21186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21189 {
21190 PyThreadState* __tstate = wxPyBeginAllowThreads();
21191 result = (bool)(arg1)->GetAbort();
21192
21193 wxPyEndAllowThreads(__tstate);
21194 if (PyErr_Occurred()) SWIG_fail;
21195 }
21196 {
21197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21198 }
21199 return resultobj;
21200 fail:
21201 return NULL;
21202 }
21203
21204
21205 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21206 PyObject *resultobj;
21207 int result;
21208 char *kwnames[] = {
21209 NULL
21210 };
21211
21212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21213 {
21214 PyThreadState* __tstate = wxPyBeginAllowThreads();
21215 result = (int)wxPrinter::GetLastError();
21216
21217 wxPyEndAllowThreads(__tstate);
21218 if (PyErr_Occurred()) SWIG_fail;
21219 }
21220 resultobj = SWIG_FromInt((int)result);
21221 return resultobj;
21222 fail:
21223 return NULL;
21224 }
21225
21226
21227 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21228 PyObject *obj;
21229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21230 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21231 Py_INCREF(obj);
21232 return Py_BuildValue((char *)"");
21233 }
21234 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21235 PyObject *resultobj;
21236 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21237 wxString *arg1 = (wxString *) &arg1_defvalue ;
21238 wxPyPrintout *result;
21239 bool temp1 = False ;
21240 PyObject * obj0 = 0 ;
21241 char *kwnames[] = {
21242 (char *) "title", NULL
21243 };
21244
21245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21246 if (obj0) {
21247 {
21248 arg1 = wxString_in_helper(obj0);
21249 if (arg1 == NULL) SWIG_fail;
21250 temp1 = True;
21251 }
21252 }
21253 {
21254 PyThreadState* __tstate = wxPyBeginAllowThreads();
21255 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21256
21257 wxPyEndAllowThreads(__tstate);
21258 if (PyErr_Occurred()) SWIG_fail;
21259 }
21260 {
21261 resultobj = wxPyMake_wxObject(result);
21262 }
21263 {
21264 if (temp1)
21265 delete arg1;
21266 }
21267 return resultobj;
21268 fail:
21269 {
21270 if (temp1)
21271 delete arg1;
21272 }
21273 return NULL;
21274 }
21275
21276
21277 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21278 PyObject *resultobj;
21279 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21280 PyObject *arg2 = (PyObject *) 0 ;
21281 PyObject *arg3 = (PyObject *) 0 ;
21282 PyObject * obj0 = 0 ;
21283 PyObject * obj1 = 0 ;
21284 PyObject * obj2 = 0 ;
21285 char *kwnames[] = {
21286 (char *) "self",(char *) "self",(char *) "_class", NULL
21287 };
21288
21289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21292 arg2 = obj1;
21293 arg3 = obj2;
21294 {
21295 PyThreadState* __tstate = wxPyBeginAllowThreads();
21296 (arg1)->_setCallbackInfo(arg2,arg3);
21297
21298 wxPyEndAllowThreads(__tstate);
21299 if (PyErr_Occurred()) SWIG_fail;
21300 }
21301 Py_INCREF(Py_None); resultobj = Py_None;
21302 return resultobj;
21303 fail:
21304 return NULL;
21305 }
21306
21307
21308 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21309 PyObject *resultobj;
21310 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21311 wxString result;
21312 PyObject * obj0 = 0 ;
21313 char *kwnames[] = {
21314 (char *) "self", NULL
21315 };
21316
21317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21320 {
21321 PyThreadState* __tstate = wxPyBeginAllowThreads();
21322 result = ((wxPyPrintout const *)arg1)->GetTitle();
21323
21324 wxPyEndAllowThreads(__tstate);
21325 if (PyErr_Occurred()) SWIG_fail;
21326 }
21327 {
21328 #if wxUSE_UNICODE
21329 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21330 #else
21331 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21332 #endif
21333 }
21334 return resultobj;
21335 fail:
21336 return NULL;
21337 }
21338
21339
21340 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21341 PyObject *resultobj;
21342 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21343 wxDC *result;
21344 PyObject * obj0 = 0 ;
21345 char *kwnames[] = {
21346 (char *) "self", NULL
21347 };
21348
21349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21352 {
21353 PyThreadState* __tstate = wxPyBeginAllowThreads();
21354 result = (wxDC *)(arg1)->GetDC();
21355
21356 wxPyEndAllowThreads(__tstate);
21357 if (PyErr_Occurred()) SWIG_fail;
21358 }
21359 {
21360 resultobj = wxPyMake_wxObject(result);
21361 }
21362 return resultobj;
21363 fail:
21364 return NULL;
21365 }
21366
21367
21368 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21369 PyObject *resultobj;
21370 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21371 wxDC *arg2 = (wxDC *) 0 ;
21372 PyObject * obj0 = 0 ;
21373 PyObject * obj1 = 0 ;
21374 char *kwnames[] = {
21375 (char *) "self",(char *) "dc", NULL
21376 };
21377
21378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21381 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21383 {
21384 PyThreadState* __tstate = wxPyBeginAllowThreads();
21385 (arg1)->SetDC(arg2);
21386
21387 wxPyEndAllowThreads(__tstate);
21388 if (PyErr_Occurred()) SWIG_fail;
21389 }
21390 Py_INCREF(Py_None); resultobj = Py_None;
21391 return resultobj;
21392 fail:
21393 return NULL;
21394 }
21395
21396
21397 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21398 PyObject *resultobj;
21399 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21400 int arg2 ;
21401 int arg3 ;
21402 PyObject * obj0 = 0 ;
21403 PyObject * obj1 = 0 ;
21404 PyObject * obj2 = 0 ;
21405 char *kwnames[] = {
21406 (char *) "self",(char *) "w",(char *) "h", NULL
21407 };
21408
21409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21412 arg2 = (int) SWIG_AsInt(obj1);
21413 if (PyErr_Occurred()) SWIG_fail;
21414 arg3 = (int) SWIG_AsInt(obj2);
21415 if (PyErr_Occurred()) SWIG_fail;
21416 {
21417 PyThreadState* __tstate = wxPyBeginAllowThreads();
21418 (arg1)->SetPageSizePixels(arg2,arg3);
21419
21420 wxPyEndAllowThreads(__tstate);
21421 if (PyErr_Occurred()) SWIG_fail;
21422 }
21423 Py_INCREF(Py_None); resultobj = Py_None;
21424 return resultobj;
21425 fail:
21426 return NULL;
21427 }
21428
21429
21430 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21431 PyObject *resultobj;
21432 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21433 int *arg2 = (int *) 0 ;
21434 int *arg3 = (int *) 0 ;
21435 int temp2 ;
21436 int temp3 ;
21437 PyObject * obj0 = 0 ;
21438 char *kwnames[] = {
21439 (char *) "self", NULL
21440 };
21441
21442 arg2 = &temp2;
21443 arg3 = &temp3;
21444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21447 {
21448 PyThreadState* __tstate = wxPyBeginAllowThreads();
21449 (arg1)->GetPageSizePixels(arg2,arg3);
21450
21451 wxPyEndAllowThreads(__tstate);
21452 if (PyErr_Occurred()) SWIG_fail;
21453 }
21454 Py_INCREF(Py_None); resultobj = Py_None;
21455 {
21456 PyObject *o = PyInt_FromLong((long) (*arg2));
21457 resultobj = t_output_helper(resultobj,o);
21458 }
21459 {
21460 PyObject *o = PyInt_FromLong((long) (*arg3));
21461 resultobj = t_output_helper(resultobj,o);
21462 }
21463 return resultobj;
21464 fail:
21465 return NULL;
21466 }
21467
21468
21469 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21470 PyObject *resultobj;
21471 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21472 int arg2 ;
21473 int arg3 ;
21474 PyObject * obj0 = 0 ;
21475 PyObject * obj1 = 0 ;
21476 PyObject * obj2 = 0 ;
21477 char *kwnames[] = {
21478 (char *) "self",(char *) "w",(char *) "h", NULL
21479 };
21480
21481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21484 arg2 = (int) SWIG_AsInt(obj1);
21485 if (PyErr_Occurred()) SWIG_fail;
21486 arg3 = (int) SWIG_AsInt(obj2);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 {
21489 PyThreadState* __tstate = wxPyBeginAllowThreads();
21490 (arg1)->SetPageSizeMM(arg2,arg3);
21491
21492 wxPyEndAllowThreads(__tstate);
21493 if (PyErr_Occurred()) SWIG_fail;
21494 }
21495 Py_INCREF(Py_None); resultobj = Py_None;
21496 return resultobj;
21497 fail:
21498 return NULL;
21499 }
21500
21501
21502 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21503 PyObject *resultobj;
21504 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21505 int *arg2 = (int *) 0 ;
21506 int *arg3 = (int *) 0 ;
21507 int temp2 ;
21508 int temp3 ;
21509 PyObject * obj0 = 0 ;
21510 char *kwnames[] = {
21511 (char *) "self", NULL
21512 };
21513
21514 arg2 = &temp2;
21515 arg3 = &temp3;
21516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21519 {
21520 PyThreadState* __tstate = wxPyBeginAllowThreads();
21521 (arg1)->GetPageSizeMM(arg2,arg3);
21522
21523 wxPyEndAllowThreads(__tstate);
21524 if (PyErr_Occurred()) SWIG_fail;
21525 }
21526 Py_INCREF(Py_None); resultobj = Py_None;
21527 {
21528 PyObject *o = PyInt_FromLong((long) (*arg2));
21529 resultobj = t_output_helper(resultobj,o);
21530 }
21531 {
21532 PyObject *o = PyInt_FromLong((long) (*arg3));
21533 resultobj = t_output_helper(resultobj,o);
21534 }
21535 return resultobj;
21536 fail:
21537 return NULL;
21538 }
21539
21540
21541 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21542 PyObject *resultobj;
21543 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21544 int arg2 ;
21545 int arg3 ;
21546 PyObject * obj0 = 0 ;
21547 PyObject * obj1 = 0 ;
21548 PyObject * obj2 = 0 ;
21549 char *kwnames[] = {
21550 (char *) "self",(char *) "x",(char *) "y", NULL
21551 };
21552
21553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21556 arg2 = (int) SWIG_AsInt(obj1);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 arg3 = (int) SWIG_AsInt(obj2);
21559 if (PyErr_Occurred()) SWIG_fail;
21560 {
21561 PyThreadState* __tstate = wxPyBeginAllowThreads();
21562 (arg1)->SetPPIScreen(arg2,arg3);
21563
21564 wxPyEndAllowThreads(__tstate);
21565 if (PyErr_Occurred()) SWIG_fail;
21566 }
21567 Py_INCREF(Py_None); resultobj = Py_None;
21568 return resultobj;
21569 fail:
21570 return NULL;
21571 }
21572
21573
21574 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21575 PyObject *resultobj;
21576 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21577 int *arg2 = (int *) 0 ;
21578 int *arg3 = (int *) 0 ;
21579 int temp2 ;
21580 int temp3 ;
21581 PyObject * obj0 = 0 ;
21582 char *kwnames[] = {
21583 (char *) "self", NULL
21584 };
21585
21586 arg2 = &temp2;
21587 arg3 = &temp3;
21588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21591 {
21592 PyThreadState* __tstate = wxPyBeginAllowThreads();
21593 (arg1)->GetPPIScreen(arg2,arg3);
21594
21595 wxPyEndAllowThreads(__tstate);
21596 if (PyErr_Occurred()) SWIG_fail;
21597 }
21598 Py_INCREF(Py_None); resultobj = Py_None;
21599 {
21600 PyObject *o = PyInt_FromLong((long) (*arg2));
21601 resultobj = t_output_helper(resultobj,o);
21602 }
21603 {
21604 PyObject *o = PyInt_FromLong((long) (*arg3));
21605 resultobj = t_output_helper(resultobj,o);
21606 }
21607 return resultobj;
21608 fail:
21609 return NULL;
21610 }
21611
21612
21613 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21614 PyObject *resultobj;
21615 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21616 int arg2 ;
21617 int arg3 ;
21618 PyObject * obj0 = 0 ;
21619 PyObject * obj1 = 0 ;
21620 PyObject * obj2 = 0 ;
21621 char *kwnames[] = {
21622 (char *) "self",(char *) "x",(char *) "y", NULL
21623 };
21624
21625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21628 arg2 = (int) SWIG_AsInt(obj1);
21629 if (PyErr_Occurred()) SWIG_fail;
21630 arg3 = (int) SWIG_AsInt(obj2);
21631 if (PyErr_Occurred()) SWIG_fail;
21632 {
21633 PyThreadState* __tstate = wxPyBeginAllowThreads();
21634 (arg1)->SetPPIPrinter(arg2,arg3);
21635
21636 wxPyEndAllowThreads(__tstate);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 }
21639 Py_INCREF(Py_None); resultobj = Py_None;
21640 return resultobj;
21641 fail:
21642 return NULL;
21643 }
21644
21645
21646 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21647 PyObject *resultobj;
21648 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21649 int *arg2 = (int *) 0 ;
21650 int *arg3 = (int *) 0 ;
21651 int temp2 ;
21652 int temp3 ;
21653 PyObject * obj0 = 0 ;
21654 char *kwnames[] = {
21655 (char *) "self", NULL
21656 };
21657
21658 arg2 = &temp2;
21659 arg3 = &temp3;
21660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21663 {
21664 PyThreadState* __tstate = wxPyBeginAllowThreads();
21665 (arg1)->GetPPIPrinter(arg2,arg3);
21666
21667 wxPyEndAllowThreads(__tstate);
21668 if (PyErr_Occurred()) SWIG_fail;
21669 }
21670 Py_INCREF(Py_None); resultobj = Py_None;
21671 {
21672 PyObject *o = PyInt_FromLong((long) (*arg2));
21673 resultobj = t_output_helper(resultobj,o);
21674 }
21675 {
21676 PyObject *o = PyInt_FromLong((long) (*arg3));
21677 resultobj = t_output_helper(resultobj,o);
21678 }
21679 return resultobj;
21680 fail:
21681 return NULL;
21682 }
21683
21684
21685 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21686 PyObject *resultobj;
21687 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21688 bool result;
21689 PyObject * obj0 = 0 ;
21690 char *kwnames[] = {
21691 (char *) "self", NULL
21692 };
21693
21694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
21695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21697 {
21698 PyThreadState* __tstate = wxPyBeginAllowThreads();
21699 result = (bool)(arg1)->IsPreview();
21700
21701 wxPyEndAllowThreads(__tstate);
21702 if (PyErr_Occurred()) SWIG_fail;
21703 }
21704 {
21705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21706 }
21707 return resultobj;
21708 fail:
21709 return NULL;
21710 }
21711
21712
21713 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21714 PyObject *resultobj;
21715 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21716 bool arg2 ;
21717 PyObject * obj0 = 0 ;
21718 PyObject * obj1 = 0 ;
21719 char *kwnames[] = {
21720 (char *) "self",(char *) "p", NULL
21721 };
21722
21723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
21724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21726 arg2 = (bool) SWIG_AsBool(obj1);
21727 if (PyErr_Occurred()) SWIG_fail;
21728 {
21729 PyThreadState* __tstate = wxPyBeginAllowThreads();
21730 (arg1)->SetIsPreview(arg2);
21731
21732 wxPyEndAllowThreads(__tstate);
21733 if (PyErr_Occurred()) SWIG_fail;
21734 }
21735 Py_INCREF(Py_None); resultobj = Py_None;
21736 return resultobj;
21737 fail:
21738 return NULL;
21739 }
21740
21741
21742 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21743 PyObject *resultobj;
21744 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21745 int arg2 ;
21746 int arg3 ;
21747 bool result;
21748 PyObject * obj0 = 0 ;
21749 PyObject * obj1 = 0 ;
21750 PyObject * obj2 = 0 ;
21751 char *kwnames[] = {
21752 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21753 };
21754
21755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
21756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21758 arg2 = (int) SWIG_AsInt(obj1);
21759 if (PyErr_Occurred()) SWIG_fail;
21760 arg3 = (int) SWIG_AsInt(obj2);
21761 if (PyErr_Occurred()) SWIG_fail;
21762 {
21763 PyThreadState* __tstate = wxPyBeginAllowThreads();
21764 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21765
21766 wxPyEndAllowThreads(__tstate);
21767 if (PyErr_Occurred()) SWIG_fail;
21768 }
21769 {
21770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21771 }
21772 return resultobj;
21773 fail:
21774 return NULL;
21775 }
21776
21777
21778 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21779 PyObject *resultobj;
21780 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21781 PyObject * obj0 = 0 ;
21782 char *kwnames[] = {
21783 (char *) "self", NULL
21784 };
21785
21786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
21787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21789 {
21790 PyThreadState* __tstate = wxPyBeginAllowThreads();
21791 (arg1)->base_OnEndDocument();
21792
21793 wxPyEndAllowThreads(__tstate);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 }
21796 Py_INCREF(Py_None); resultobj = Py_None;
21797 return resultobj;
21798 fail:
21799 return NULL;
21800 }
21801
21802
21803 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21804 PyObject *resultobj;
21805 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21806 PyObject * obj0 = 0 ;
21807 char *kwnames[] = {
21808 (char *) "self", NULL
21809 };
21810
21811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
21812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21814 {
21815 PyThreadState* __tstate = wxPyBeginAllowThreads();
21816 (arg1)->base_OnBeginPrinting();
21817
21818 wxPyEndAllowThreads(__tstate);
21819 if (PyErr_Occurred()) SWIG_fail;
21820 }
21821 Py_INCREF(Py_None); resultobj = Py_None;
21822 return resultobj;
21823 fail:
21824 return NULL;
21825 }
21826
21827
21828 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21829 PyObject *resultobj;
21830 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21831 PyObject * obj0 = 0 ;
21832 char *kwnames[] = {
21833 (char *) "self", NULL
21834 };
21835
21836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
21837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21839 {
21840 PyThreadState* __tstate = wxPyBeginAllowThreads();
21841 (arg1)->base_OnEndPrinting();
21842
21843 wxPyEndAllowThreads(__tstate);
21844 if (PyErr_Occurred()) SWIG_fail;
21845 }
21846 Py_INCREF(Py_None); resultobj = Py_None;
21847 return resultobj;
21848 fail:
21849 return NULL;
21850 }
21851
21852
21853 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21854 PyObject *resultobj;
21855 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21856 PyObject * obj0 = 0 ;
21857 char *kwnames[] = {
21858 (char *) "self", NULL
21859 };
21860
21861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
21862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21864 {
21865 PyThreadState* __tstate = wxPyBeginAllowThreads();
21866 (arg1)->base_OnPreparePrinting();
21867
21868 wxPyEndAllowThreads(__tstate);
21869 if (PyErr_Occurred()) SWIG_fail;
21870 }
21871 Py_INCREF(Py_None); resultobj = Py_None;
21872 return resultobj;
21873 fail:
21874 return NULL;
21875 }
21876
21877
21878 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21879 PyObject *resultobj;
21880 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21881 int arg2 ;
21882 bool result;
21883 PyObject * obj0 = 0 ;
21884 PyObject * obj1 = 0 ;
21885 char *kwnames[] = {
21886 (char *) "self",(char *) "page", NULL
21887 };
21888
21889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
21890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21892 arg2 = (int) SWIG_AsInt(obj1);
21893 if (PyErr_Occurred()) SWIG_fail;
21894 {
21895 PyThreadState* __tstate = wxPyBeginAllowThreads();
21896 result = (bool)(arg1)->base_HasPage(arg2);
21897
21898 wxPyEndAllowThreads(__tstate);
21899 if (PyErr_Occurred()) SWIG_fail;
21900 }
21901 {
21902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21903 }
21904 return resultobj;
21905 fail:
21906 return NULL;
21907 }
21908
21909
21910 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21911 PyObject *resultobj;
21912 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21913 int *arg2 = (int *) 0 ;
21914 int *arg3 = (int *) 0 ;
21915 int *arg4 = (int *) 0 ;
21916 int *arg5 = (int *) 0 ;
21917 int temp2 ;
21918 int temp3 ;
21919 int temp4 ;
21920 int temp5 ;
21921 PyObject * obj0 = 0 ;
21922 char *kwnames[] = {
21923 (char *) "self", NULL
21924 };
21925
21926 arg2 = &temp2;
21927 arg3 = &temp3;
21928 arg4 = &temp4;
21929 arg5 = &temp5;
21930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
21931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21933 {
21934 PyThreadState* __tstate = wxPyBeginAllowThreads();
21935 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
21936
21937 wxPyEndAllowThreads(__tstate);
21938 if (PyErr_Occurred()) SWIG_fail;
21939 }
21940 Py_INCREF(Py_None); resultobj = Py_None;
21941 {
21942 PyObject *o = PyInt_FromLong((long) (*arg2));
21943 resultobj = t_output_helper(resultobj,o);
21944 }
21945 {
21946 PyObject *o = PyInt_FromLong((long) (*arg3));
21947 resultobj = t_output_helper(resultobj,o);
21948 }
21949 {
21950 PyObject *o = PyInt_FromLong((long) (*arg4));
21951 resultobj = t_output_helper(resultobj,o);
21952 }
21953 {
21954 PyObject *o = PyInt_FromLong((long) (*arg5));
21955 resultobj = t_output_helper(resultobj,o);
21956 }
21957 return resultobj;
21958 fail:
21959 return NULL;
21960 }
21961
21962
21963 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
21964 PyObject *obj;
21965 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21966 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
21967 Py_INCREF(obj);
21968 return Py_BuildValue((char *)"");
21969 }
21970 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21971 PyObject *resultobj;
21972 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21973 wxWindow *arg2 = (wxWindow *) 0 ;
21974 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21975 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21976 wxSize const &arg4_defvalue = wxDefaultSize ;
21977 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21978 long arg5 = (long) 0 ;
21979 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
21980 wxString *arg6 = (wxString *) &arg6_defvalue ;
21981 wxPreviewCanvas *result;
21982 wxPoint temp3 ;
21983 wxSize temp4 ;
21984 bool temp6 = False ;
21985 PyObject * obj0 = 0 ;
21986 PyObject * obj1 = 0 ;
21987 PyObject * obj2 = 0 ;
21988 PyObject * obj3 = 0 ;
21989 PyObject * obj4 = 0 ;
21990 PyObject * obj5 = 0 ;
21991 char *kwnames[] = {
21992 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21993 };
21994
21995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21998 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22000 if (obj2) {
22001 {
22002 arg3 = &temp3;
22003 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22004 }
22005 }
22006 if (obj3) {
22007 {
22008 arg4 = &temp4;
22009 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22010 }
22011 }
22012 if (obj4) {
22013 arg5 = (long) SWIG_AsLong(obj4);
22014 if (PyErr_Occurred()) SWIG_fail;
22015 }
22016 if (obj5) {
22017 {
22018 arg6 = wxString_in_helper(obj5);
22019 if (arg6 == NULL) SWIG_fail;
22020 temp6 = True;
22021 }
22022 }
22023 {
22024 PyThreadState* __tstate = wxPyBeginAllowThreads();
22025 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22026
22027 wxPyEndAllowThreads(__tstate);
22028 if (PyErr_Occurred()) SWIG_fail;
22029 }
22030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22031 {
22032 if (temp6)
22033 delete arg6;
22034 }
22035 return resultobj;
22036 fail:
22037 {
22038 if (temp6)
22039 delete arg6;
22040 }
22041 return NULL;
22042 }
22043
22044
22045 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22046 PyObject *obj;
22047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22048 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22049 Py_INCREF(obj);
22050 return Py_BuildValue((char *)"");
22051 }
22052 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22053 PyObject *resultobj;
22054 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22055 wxFrame *arg2 = (wxFrame *) 0 ;
22056 wxString *arg3 = 0 ;
22057 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22058 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22059 wxSize const &arg5_defvalue = wxDefaultSize ;
22060 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22061 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22062 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22063 wxString *arg7 = (wxString *) &arg7_defvalue ;
22064 wxPreviewFrame *result;
22065 bool temp3 = False ;
22066 wxPoint temp4 ;
22067 wxSize temp5 ;
22068 bool temp7 = False ;
22069 PyObject * obj0 = 0 ;
22070 PyObject * obj1 = 0 ;
22071 PyObject * obj2 = 0 ;
22072 PyObject * obj3 = 0 ;
22073 PyObject * obj4 = 0 ;
22074 PyObject * obj5 = 0 ;
22075 PyObject * obj6 = 0 ;
22076 char *kwnames[] = {
22077 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22078 };
22079
22080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22085 {
22086 arg3 = wxString_in_helper(obj2);
22087 if (arg3 == NULL) SWIG_fail;
22088 temp3 = True;
22089 }
22090 if (obj3) {
22091 {
22092 arg4 = &temp4;
22093 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22094 }
22095 }
22096 if (obj4) {
22097 {
22098 arg5 = &temp5;
22099 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22100 }
22101 }
22102 if (obj5) {
22103 arg6 = (long) SWIG_AsLong(obj5);
22104 if (PyErr_Occurred()) SWIG_fail;
22105 }
22106 if (obj6) {
22107 {
22108 arg7 = wxString_in_helper(obj6);
22109 if (arg7 == NULL) SWIG_fail;
22110 temp7 = True;
22111 }
22112 }
22113 {
22114 PyThreadState* __tstate = wxPyBeginAllowThreads();
22115 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22116
22117 wxPyEndAllowThreads(__tstate);
22118 if (PyErr_Occurred()) SWIG_fail;
22119 }
22120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22121 {
22122 if (temp3)
22123 delete arg3;
22124 }
22125 {
22126 if (temp7)
22127 delete arg7;
22128 }
22129 return resultobj;
22130 fail:
22131 {
22132 if (temp3)
22133 delete arg3;
22134 }
22135 {
22136 if (temp7)
22137 delete arg7;
22138 }
22139 return NULL;
22140 }
22141
22142
22143 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22144 PyObject *resultobj;
22145 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22146 PyObject * obj0 = 0 ;
22147 char *kwnames[] = {
22148 (char *) "self", NULL
22149 };
22150
22151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22154 {
22155 PyThreadState* __tstate = wxPyBeginAllowThreads();
22156 (arg1)->Initialize();
22157
22158 wxPyEndAllowThreads(__tstate);
22159 if (PyErr_Occurred()) SWIG_fail;
22160 }
22161 Py_INCREF(Py_None); resultobj = Py_None;
22162 return resultobj;
22163 fail:
22164 return NULL;
22165 }
22166
22167
22168 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22169 PyObject *resultobj;
22170 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22171 PyObject * obj0 = 0 ;
22172 char *kwnames[] = {
22173 (char *) "self", NULL
22174 };
22175
22176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22179 {
22180 PyThreadState* __tstate = wxPyBeginAllowThreads();
22181 (arg1)->CreateControlBar();
22182
22183 wxPyEndAllowThreads(__tstate);
22184 if (PyErr_Occurred()) SWIG_fail;
22185 }
22186 Py_INCREF(Py_None); resultobj = Py_None;
22187 return resultobj;
22188 fail:
22189 return NULL;
22190 }
22191
22192
22193 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22194 PyObject *resultobj;
22195 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22196 PyObject * obj0 = 0 ;
22197 char *kwnames[] = {
22198 (char *) "self", NULL
22199 };
22200
22201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22204 {
22205 PyThreadState* __tstate = wxPyBeginAllowThreads();
22206 (arg1)->CreateCanvas();
22207
22208 wxPyEndAllowThreads(__tstate);
22209 if (PyErr_Occurred()) SWIG_fail;
22210 }
22211 Py_INCREF(Py_None); resultobj = Py_None;
22212 return resultobj;
22213 fail:
22214 return NULL;
22215 }
22216
22217
22218 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22219 PyObject *resultobj;
22220 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22221 wxPreviewControlBar *result;
22222 PyObject * obj0 = 0 ;
22223 char *kwnames[] = {
22224 (char *) "self", NULL
22225 };
22226
22227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22230 {
22231 PyThreadState* __tstate = wxPyBeginAllowThreads();
22232 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22233
22234 wxPyEndAllowThreads(__tstate);
22235 if (PyErr_Occurred()) SWIG_fail;
22236 }
22237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22238 return resultobj;
22239 fail:
22240 return NULL;
22241 }
22242
22243
22244 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22245 PyObject *obj;
22246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22247 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22248 Py_INCREF(obj);
22249 return Py_BuildValue((char *)"");
22250 }
22251 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22252 PyObject *resultobj;
22253 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22254 long arg2 ;
22255 wxWindow *arg3 = (wxWindow *) 0 ;
22256 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22257 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22258 wxSize const &arg5_defvalue = wxDefaultSize ;
22259 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22260 long arg6 = (long) wxTAB_TRAVERSAL ;
22261 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22262 wxString *arg7 = (wxString *) &arg7_defvalue ;
22263 wxPreviewControlBar *result;
22264 wxPoint temp4 ;
22265 wxSize temp5 ;
22266 bool temp7 = False ;
22267 PyObject * obj0 = 0 ;
22268 PyObject * obj1 = 0 ;
22269 PyObject * obj2 = 0 ;
22270 PyObject * obj3 = 0 ;
22271 PyObject * obj4 = 0 ;
22272 PyObject * obj5 = 0 ;
22273 PyObject * obj6 = 0 ;
22274 char *kwnames[] = {
22275 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22276 };
22277
22278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22281 arg2 = (long) SWIG_AsLong(obj1);
22282 if (PyErr_Occurred()) SWIG_fail;
22283 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22285 if (obj3) {
22286 {
22287 arg4 = &temp4;
22288 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22289 }
22290 }
22291 if (obj4) {
22292 {
22293 arg5 = &temp5;
22294 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22295 }
22296 }
22297 if (obj5) {
22298 arg6 = (long) SWIG_AsLong(obj5);
22299 if (PyErr_Occurred()) SWIG_fail;
22300 }
22301 if (obj6) {
22302 {
22303 arg7 = wxString_in_helper(obj6);
22304 if (arg7 == NULL) SWIG_fail;
22305 temp7 = True;
22306 }
22307 }
22308 {
22309 PyThreadState* __tstate = wxPyBeginAllowThreads();
22310 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22311
22312 wxPyEndAllowThreads(__tstate);
22313 if (PyErr_Occurred()) SWIG_fail;
22314 }
22315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22316 {
22317 if (temp7)
22318 delete arg7;
22319 }
22320 return resultobj;
22321 fail:
22322 {
22323 if (temp7)
22324 delete arg7;
22325 }
22326 return NULL;
22327 }
22328
22329
22330 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22331 PyObject *resultobj;
22332 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22333 int result;
22334 PyObject * obj0 = 0 ;
22335 char *kwnames[] = {
22336 (char *) "self", NULL
22337 };
22338
22339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22342 {
22343 PyThreadState* __tstate = wxPyBeginAllowThreads();
22344 result = (int)(arg1)->GetZoomControl();
22345
22346 wxPyEndAllowThreads(__tstate);
22347 if (PyErr_Occurred()) SWIG_fail;
22348 }
22349 resultobj = SWIG_FromInt((int)result);
22350 return resultobj;
22351 fail:
22352 return NULL;
22353 }
22354
22355
22356 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22357 PyObject *resultobj;
22358 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22359 int arg2 ;
22360 PyObject * obj0 = 0 ;
22361 PyObject * obj1 = 0 ;
22362 char *kwnames[] = {
22363 (char *) "self",(char *) "zoom", NULL
22364 };
22365
22366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22369 arg2 = (int) SWIG_AsInt(obj1);
22370 if (PyErr_Occurred()) SWIG_fail;
22371 {
22372 PyThreadState* __tstate = wxPyBeginAllowThreads();
22373 (arg1)->SetZoomControl(arg2);
22374
22375 wxPyEndAllowThreads(__tstate);
22376 if (PyErr_Occurred()) SWIG_fail;
22377 }
22378 Py_INCREF(Py_None); resultobj = Py_None;
22379 return resultobj;
22380 fail:
22381 return NULL;
22382 }
22383
22384
22385 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22386 PyObject *resultobj;
22387 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22388 wxPrintPreview *result;
22389 PyObject * obj0 = 0 ;
22390 char *kwnames[] = {
22391 (char *) "self", NULL
22392 };
22393
22394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22397 {
22398 PyThreadState* __tstate = wxPyBeginAllowThreads();
22399 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22400
22401 wxPyEndAllowThreads(__tstate);
22402 if (PyErr_Occurred()) SWIG_fail;
22403 }
22404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22405 return resultobj;
22406 fail:
22407 return NULL;
22408 }
22409
22410
22411 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22412 PyObject *resultobj;
22413 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22414 PyObject * obj0 = 0 ;
22415 char *kwnames[] = {
22416 (char *) "self", NULL
22417 };
22418
22419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22422 {
22423 PyThreadState* __tstate = wxPyBeginAllowThreads();
22424 (arg1)->OnNext();
22425
22426 wxPyEndAllowThreads(__tstate);
22427 if (PyErr_Occurred()) SWIG_fail;
22428 }
22429 Py_INCREF(Py_None); resultobj = Py_None;
22430 return resultobj;
22431 fail:
22432 return NULL;
22433 }
22434
22435
22436 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22437 PyObject *resultobj;
22438 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22439 PyObject * obj0 = 0 ;
22440 char *kwnames[] = {
22441 (char *) "self", NULL
22442 };
22443
22444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22447 {
22448 PyThreadState* __tstate = wxPyBeginAllowThreads();
22449 (arg1)->OnPrevious();
22450
22451 wxPyEndAllowThreads(__tstate);
22452 if (PyErr_Occurred()) SWIG_fail;
22453 }
22454 Py_INCREF(Py_None); resultobj = Py_None;
22455 return resultobj;
22456 fail:
22457 return NULL;
22458 }
22459
22460
22461 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22462 PyObject *resultobj;
22463 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22464 PyObject * obj0 = 0 ;
22465 char *kwnames[] = {
22466 (char *) "self", NULL
22467 };
22468
22469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22472 {
22473 PyThreadState* __tstate = wxPyBeginAllowThreads();
22474 (arg1)->OnFirst();
22475
22476 wxPyEndAllowThreads(__tstate);
22477 if (PyErr_Occurred()) SWIG_fail;
22478 }
22479 Py_INCREF(Py_None); resultobj = Py_None;
22480 return resultobj;
22481 fail:
22482 return NULL;
22483 }
22484
22485
22486 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22487 PyObject *resultobj;
22488 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22489 PyObject * obj0 = 0 ;
22490 char *kwnames[] = {
22491 (char *) "self", NULL
22492 };
22493
22494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22497 {
22498 PyThreadState* __tstate = wxPyBeginAllowThreads();
22499 (arg1)->OnLast();
22500
22501 wxPyEndAllowThreads(__tstate);
22502 if (PyErr_Occurred()) SWIG_fail;
22503 }
22504 Py_INCREF(Py_None); resultobj = Py_None;
22505 return resultobj;
22506 fail:
22507 return NULL;
22508 }
22509
22510
22511 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22512 PyObject *resultobj;
22513 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22514 PyObject * obj0 = 0 ;
22515 char *kwnames[] = {
22516 (char *) "self", NULL
22517 };
22518
22519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22522 {
22523 PyThreadState* __tstate = wxPyBeginAllowThreads();
22524 (arg1)->OnGoto();
22525
22526 wxPyEndAllowThreads(__tstate);
22527 if (PyErr_Occurred()) SWIG_fail;
22528 }
22529 Py_INCREF(Py_None); resultobj = Py_None;
22530 return resultobj;
22531 fail:
22532 return NULL;
22533 }
22534
22535
22536 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22537 PyObject *obj;
22538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22539 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22540 Py_INCREF(obj);
22541 return Py_BuildValue((char *)"");
22542 }
22543 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22544 PyObject *resultobj;
22545 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22546 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22547 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22548 wxPrintPreview *result;
22549 PyObject * obj0 = 0 ;
22550 PyObject * obj1 = 0 ;
22551 PyObject * obj2 = 0 ;
22552
22553 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22556 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22558 if (obj2) {
22559 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22561 }
22562 {
22563 PyThreadState* __tstate = wxPyBeginAllowThreads();
22564 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22565
22566 wxPyEndAllowThreads(__tstate);
22567 if (PyErr_Occurred()) SWIG_fail;
22568 }
22569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22570 return resultobj;
22571 fail:
22572 return NULL;
22573 }
22574
22575
22576 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22577 PyObject *resultobj;
22578 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22579 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22580 wxPrintData *arg3 = (wxPrintData *) 0 ;
22581 wxPrintPreview *result;
22582 PyObject * obj0 = 0 ;
22583 PyObject * obj1 = 0 ;
22584 PyObject * obj2 = 0 ;
22585
22586 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22591 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22593 {
22594 PyThreadState* __tstate = wxPyBeginAllowThreads();
22595 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22596
22597 wxPyEndAllowThreads(__tstate);
22598 if (PyErr_Occurred()) SWIG_fail;
22599 }
22600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22601 return resultobj;
22602 fail:
22603 return NULL;
22604 }
22605
22606
22607 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22608 int argc;
22609 PyObject *argv[4];
22610 int ii;
22611
22612 argc = PyObject_Length(args);
22613 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22614 argv[ii] = PyTuple_GetItem(args,ii);
22615 }
22616 if ((argc >= 2) && (argc <= 3)) {
22617 int _v;
22618 {
22619 void *ptr;
22620 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22621 _v = 0;
22622 PyErr_Clear();
22623 } else {
22624 _v = 1;
22625 }
22626 }
22627 if (_v) {
22628 {
22629 void *ptr;
22630 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22631 _v = 0;
22632 PyErr_Clear();
22633 } else {
22634 _v = 1;
22635 }
22636 }
22637 if (_v) {
22638 if (argc <= 2) {
22639 return _wrap_new_PrintPreview__SWIG_0(self,args);
22640 }
22641 {
22642 void *ptr;
22643 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22644 _v = 0;
22645 PyErr_Clear();
22646 } else {
22647 _v = 1;
22648 }
22649 }
22650 if (_v) {
22651 return _wrap_new_PrintPreview__SWIG_0(self,args);
22652 }
22653 }
22654 }
22655 }
22656 if (argc == 3) {
22657 int _v;
22658 {
22659 void *ptr;
22660 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22661 _v = 0;
22662 PyErr_Clear();
22663 } else {
22664 _v = 1;
22665 }
22666 }
22667 if (_v) {
22668 {
22669 void *ptr;
22670 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22671 _v = 0;
22672 PyErr_Clear();
22673 } else {
22674 _v = 1;
22675 }
22676 }
22677 if (_v) {
22678 {
22679 void *ptr;
22680 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22681 _v = 0;
22682 PyErr_Clear();
22683 } else {
22684 _v = 1;
22685 }
22686 }
22687 if (_v) {
22688 return _wrap_new_PrintPreview__SWIG_1(self,args);
22689 }
22690 }
22691 }
22692 }
22693
22694 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22695 return NULL;
22696 }
22697
22698
22699 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22700 PyObject *resultobj;
22701 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22702 int arg2 ;
22703 bool result;
22704 PyObject * obj0 = 0 ;
22705 PyObject * obj1 = 0 ;
22706 char *kwnames[] = {
22707 (char *) "self",(char *) "pageNum", NULL
22708 };
22709
22710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22713 arg2 = (int) SWIG_AsInt(obj1);
22714 if (PyErr_Occurred()) SWIG_fail;
22715 {
22716 PyThreadState* __tstate = wxPyBeginAllowThreads();
22717 result = (bool)(arg1)->SetCurrentPage(arg2);
22718
22719 wxPyEndAllowThreads(__tstate);
22720 if (PyErr_Occurred()) SWIG_fail;
22721 }
22722 {
22723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22724 }
22725 return resultobj;
22726 fail:
22727 return NULL;
22728 }
22729
22730
22731 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22732 PyObject *resultobj;
22733 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22734 int result;
22735 PyObject * obj0 = 0 ;
22736 char *kwnames[] = {
22737 (char *) "self", NULL
22738 };
22739
22740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
22741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22743 {
22744 PyThreadState* __tstate = wxPyBeginAllowThreads();
22745 result = (int)(arg1)->GetCurrentPage();
22746
22747 wxPyEndAllowThreads(__tstate);
22748 if (PyErr_Occurred()) SWIG_fail;
22749 }
22750 resultobj = SWIG_FromInt((int)result);
22751 return resultobj;
22752 fail:
22753 return NULL;
22754 }
22755
22756
22757 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22758 PyObject *resultobj;
22759 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22760 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22761 PyObject * obj0 = 0 ;
22762 PyObject * obj1 = 0 ;
22763 char *kwnames[] = {
22764 (char *) "self",(char *) "printout", NULL
22765 };
22766
22767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
22768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22770 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22772 {
22773 PyThreadState* __tstate = wxPyBeginAllowThreads();
22774 (arg1)->SetPrintout(arg2);
22775
22776 wxPyEndAllowThreads(__tstate);
22777 if (PyErr_Occurred()) SWIG_fail;
22778 }
22779 Py_INCREF(Py_None); resultobj = Py_None;
22780 return resultobj;
22781 fail:
22782 return NULL;
22783 }
22784
22785
22786 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22787 PyObject *resultobj;
22788 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22789 wxPyPrintout *result;
22790 PyObject * obj0 = 0 ;
22791 char *kwnames[] = {
22792 (char *) "self", NULL
22793 };
22794
22795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
22796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22798 {
22799 PyThreadState* __tstate = wxPyBeginAllowThreads();
22800 result = (wxPyPrintout *)(arg1)->GetPrintout();
22801
22802 wxPyEndAllowThreads(__tstate);
22803 if (PyErr_Occurred()) SWIG_fail;
22804 }
22805 {
22806 resultobj = wxPyMake_wxObject(result);
22807 }
22808 return resultobj;
22809 fail:
22810 return NULL;
22811 }
22812
22813
22814 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj;
22816 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22817 wxPyPrintout *result;
22818 PyObject * obj0 = 0 ;
22819 char *kwnames[] = {
22820 (char *) "self", NULL
22821 };
22822
22823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
22824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22826 {
22827 PyThreadState* __tstate = wxPyBeginAllowThreads();
22828 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
22829
22830 wxPyEndAllowThreads(__tstate);
22831 if (PyErr_Occurred()) SWIG_fail;
22832 }
22833 {
22834 resultobj = wxPyMake_wxObject(result);
22835 }
22836 return resultobj;
22837 fail:
22838 return NULL;
22839 }
22840
22841
22842 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22843 PyObject *resultobj;
22844 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22845 wxFrame *arg2 = (wxFrame *) 0 ;
22846 PyObject * obj0 = 0 ;
22847 PyObject * obj1 = 0 ;
22848 char *kwnames[] = {
22849 (char *) "self",(char *) "frame", NULL
22850 };
22851
22852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
22853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22857 {
22858 PyThreadState* __tstate = wxPyBeginAllowThreads();
22859 (arg1)->SetFrame(arg2);
22860
22861 wxPyEndAllowThreads(__tstate);
22862 if (PyErr_Occurred()) SWIG_fail;
22863 }
22864 Py_INCREF(Py_None); resultobj = Py_None;
22865 return resultobj;
22866 fail:
22867 return NULL;
22868 }
22869
22870
22871 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22872 PyObject *resultobj;
22873 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22874 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22875 PyObject * obj0 = 0 ;
22876 PyObject * obj1 = 0 ;
22877 char *kwnames[] = {
22878 (char *) "self",(char *) "canvas", NULL
22879 };
22880
22881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
22882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22886 {
22887 PyThreadState* __tstate = wxPyBeginAllowThreads();
22888 (arg1)->SetCanvas(arg2);
22889
22890 wxPyEndAllowThreads(__tstate);
22891 if (PyErr_Occurred()) SWIG_fail;
22892 }
22893 Py_INCREF(Py_None); resultobj = Py_None;
22894 return resultobj;
22895 fail:
22896 return NULL;
22897 }
22898
22899
22900 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22901 PyObject *resultobj;
22902 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22903 wxFrame *result;
22904 PyObject * obj0 = 0 ;
22905 char *kwnames[] = {
22906 (char *) "self", NULL
22907 };
22908
22909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
22910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22912 {
22913 PyThreadState* __tstate = wxPyBeginAllowThreads();
22914 result = (wxFrame *)(arg1)->GetFrame();
22915
22916 wxPyEndAllowThreads(__tstate);
22917 if (PyErr_Occurred()) SWIG_fail;
22918 }
22919 {
22920 resultobj = wxPyMake_wxObject(result);
22921 }
22922 return resultobj;
22923 fail:
22924 return NULL;
22925 }
22926
22927
22928 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22929 PyObject *resultobj;
22930 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22931 wxPreviewCanvas *result;
22932 PyObject * obj0 = 0 ;
22933 char *kwnames[] = {
22934 (char *) "self", NULL
22935 };
22936
22937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
22938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22940 {
22941 PyThreadState* __tstate = wxPyBeginAllowThreads();
22942 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
22943
22944 wxPyEndAllowThreads(__tstate);
22945 if (PyErr_Occurred()) SWIG_fail;
22946 }
22947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
22948 return resultobj;
22949 fail:
22950 return NULL;
22951 }
22952
22953
22954 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22955 PyObject *resultobj;
22956 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22957 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22958 wxDC *arg3 = 0 ;
22959 bool result;
22960 PyObject * obj0 = 0 ;
22961 PyObject * obj1 = 0 ;
22962 PyObject * obj2 = 0 ;
22963 char *kwnames[] = {
22964 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22965 };
22966
22967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22970 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22972 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22973 SWIG_POINTER_EXCEPTION | 0)) == -1)
22974 SWIG_fail;
22975 if (arg3 == NULL) {
22976 PyErr_SetString(PyExc_TypeError,"null reference");
22977 SWIG_fail;
22978 }
22979 {
22980 PyThreadState* __tstate = wxPyBeginAllowThreads();
22981 result = (bool)(arg1)->PaintPage(arg2,*arg3);
22982
22983 wxPyEndAllowThreads(__tstate);
22984 if (PyErr_Occurred()) SWIG_fail;
22985 }
22986 {
22987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22988 }
22989 return resultobj;
22990 fail:
22991 return NULL;
22992 }
22993
22994
22995 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22996 PyObject *resultobj;
22997 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22998 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22999 wxDC *arg3 = 0 ;
23000 bool result;
23001 PyObject * obj0 = 0 ;
23002 PyObject * obj1 = 0 ;
23003 PyObject * obj2 = 0 ;
23004 char *kwnames[] = {
23005 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23006 };
23007
23008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23013 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23014 SWIG_POINTER_EXCEPTION | 0)) == -1)
23015 SWIG_fail;
23016 if (arg3 == NULL) {
23017 PyErr_SetString(PyExc_TypeError,"null reference");
23018 SWIG_fail;
23019 }
23020 {
23021 PyThreadState* __tstate = wxPyBeginAllowThreads();
23022 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23023
23024 wxPyEndAllowThreads(__tstate);
23025 if (PyErr_Occurred()) SWIG_fail;
23026 }
23027 {
23028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23029 }
23030 return resultobj;
23031 fail:
23032 return NULL;
23033 }
23034
23035
23036 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23037 PyObject *resultobj;
23038 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23039 int arg2 ;
23040 bool result;
23041 PyObject * obj0 = 0 ;
23042 PyObject * obj1 = 0 ;
23043 char *kwnames[] = {
23044 (char *) "self",(char *) "pageNum", NULL
23045 };
23046
23047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23050 arg2 = (int) SWIG_AsInt(obj1);
23051 if (PyErr_Occurred()) SWIG_fail;
23052 {
23053 PyThreadState* __tstate = wxPyBeginAllowThreads();
23054 result = (bool)(arg1)->RenderPage(arg2);
23055
23056 wxPyEndAllowThreads(__tstate);
23057 if (PyErr_Occurred()) SWIG_fail;
23058 }
23059 {
23060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23061 }
23062 return resultobj;
23063 fail:
23064 return NULL;
23065 }
23066
23067
23068 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23069 PyObject *resultobj;
23070 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23071 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23072 PyObject * obj0 = 0 ;
23073 PyObject * obj1 = 0 ;
23074 char *kwnames[] = {
23075 (char *) "self",(char *) "canvas", NULL
23076 };
23077
23078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23083 {
23084 PyThreadState* __tstate = wxPyBeginAllowThreads();
23085 (arg1)->AdjustScrollbars(arg2);
23086
23087 wxPyEndAllowThreads(__tstate);
23088 if (PyErr_Occurred()) SWIG_fail;
23089 }
23090 Py_INCREF(Py_None); resultobj = Py_None;
23091 return resultobj;
23092 fail:
23093 return NULL;
23094 }
23095
23096
23097 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23098 PyObject *resultobj;
23099 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23100 wxPrintDialogData *result;
23101 PyObject * obj0 = 0 ;
23102 char *kwnames[] = {
23103 (char *) "self", NULL
23104 };
23105
23106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23109 {
23110 PyThreadState* __tstate = wxPyBeginAllowThreads();
23111 {
23112 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23113 result = (wxPrintDialogData *) &_result_ref;
23114 }
23115
23116 wxPyEndAllowThreads(__tstate);
23117 if (PyErr_Occurred()) SWIG_fail;
23118 }
23119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23120 return resultobj;
23121 fail:
23122 return NULL;
23123 }
23124
23125
23126 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23127 PyObject *resultobj;
23128 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23129 int arg2 ;
23130 PyObject * obj0 = 0 ;
23131 PyObject * obj1 = 0 ;
23132 char *kwnames[] = {
23133 (char *) "self",(char *) "percent", NULL
23134 };
23135
23136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23139 arg2 = (int) SWIG_AsInt(obj1);
23140 if (PyErr_Occurred()) SWIG_fail;
23141 {
23142 PyThreadState* __tstate = wxPyBeginAllowThreads();
23143 (arg1)->SetZoom(arg2);
23144
23145 wxPyEndAllowThreads(__tstate);
23146 if (PyErr_Occurred()) SWIG_fail;
23147 }
23148 Py_INCREF(Py_None); resultobj = Py_None;
23149 return resultobj;
23150 fail:
23151 return NULL;
23152 }
23153
23154
23155 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23156 PyObject *resultobj;
23157 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23158 int result;
23159 PyObject * obj0 = 0 ;
23160 char *kwnames[] = {
23161 (char *) "self", NULL
23162 };
23163
23164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 result = (int)(arg1)->GetZoom();
23170
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 resultobj = SWIG_FromInt((int)result);
23175 return resultobj;
23176 fail:
23177 return NULL;
23178 }
23179
23180
23181 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23182 PyObject *resultobj;
23183 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23184 int result;
23185 PyObject * obj0 = 0 ;
23186 char *kwnames[] = {
23187 (char *) "self", NULL
23188 };
23189
23190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23193 {
23194 PyThreadState* __tstate = wxPyBeginAllowThreads();
23195 result = (int)(arg1)->GetMaxPage();
23196
23197 wxPyEndAllowThreads(__tstate);
23198 if (PyErr_Occurred()) SWIG_fail;
23199 }
23200 resultobj = SWIG_FromInt((int)result);
23201 return resultobj;
23202 fail:
23203 return NULL;
23204 }
23205
23206
23207 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23208 PyObject *resultobj;
23209 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23210 int result;
23211 PyObject * obj0 = 0 ;
23212 char *kwnames[] = {
23213 (char *) "self", NULL
23214 };
23215
23216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23219 {
23220 PyThreadState* __tstate = wxPyBeginAllowThreads();
23221 result = (int)(arg1)->GetMinPage();
23222
23223 wxPyEndAllowThreads(__tstate);
23224 if (PyErr_Occurred()) SWIG_fail;
23225 }
23226 resultobj = SWIG_FromInt((int)result);
23227 return resultobj;
23228 fail:
23229 return NULL;
23230 }
23231
23232
23233 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23234 PyObject *resultobj;
23235 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23236 bool result;
23237 PyObject * obj0 = 0 ;
23238 char *kwnames[] = {
23239 (char *) "self", NULL
23240 };
23241
23242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23245 {
23246 PyThreadState* __tstate = wxPyBeginAllowThreads();
23247 result = (bool)(arg1)->Ok();
23248
23249 wxPyEndAllowThreads(__tstate);
23250 if (PyErr_Occurred()) SWIG_fail;
23251 }
23252 {
23253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23254 }
23255 return resultobj;
23256 fail:
23257 return NULL;
23258 }
23259
23260
23261 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23262 PyObject *resultobj;
23263 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23264 bool arg2 ;
23265 PyObject * obj0 = 0 ;
23266 PyObject * obj1 = 0 ;
23267 char *kwnames[] = {
23268 (char *) "self",(char *) "ok", NULL
23269 };
23270
23271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23274 arg2 = (bool) SWIG_AsBool(obj1);
23275 if (PyErr_Occurred()) SWIG_fail;
23276 {
23277 PyThreadState* __tstate = wxPyBeginAllowThreads();
23278 (arg1)->SetOk(arg2);
23279
23280 wxPyEndAllowThreads(__tstate);
23281 if (PyErr_Occurred()) SWIG_fail;
23282 }
23283 Py_INCREF(Py_None); resultobj = Py_None;
23284 return resultobj;
23285 fail:
23286 return NULL;
23287 }
23288
23289
23290 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23291 PyObject *resultobj;
23292 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23293 bool arg2 ;
23294 bool result;
23295 PyObject * obj0 = 0 ;
23296 PyObject * obj1 = 0 ;
23297 char *kwnames[] = {
23298 (char *) "self",(char *) "interactive", NULL
23299 };
23300
23301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23304 arg2 = (bool) SWIG_AsBool(obj1);
23305 if (PyErr_Occurred()) SWIG_fail;
23306 {
23307 PyThreadState* __tstate = wxPyBeginAllowThreads();
23308 result = (bool)(arg1)->Print(arg2);
23309
23310 wxPyEndAllowThreads(__tstate);
23311 if (PyErr_Occurred()) SWIG_fail;
23312 }
23313 {
23314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23315 }
23316 return resultobj;
23317 fail:
23318 return NULL;
23319 }
23320
23321
23322 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23323 PyObject *resultobj;
23324 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23325 PyObject * obj0 = 0 ;
23326 char *kwnames[] = {
23327 (char *) "self", NULL
23328 };
23329
23330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23333 {
23334 PyThreadState* __tstate = wxPyBeginAllowThreads();
23335 (arg1)->DetermineScaling();
23336
23337 wxPyEndAllowThreads(__tstate);
23338 if (PyErr_Occurred()) SWIG_fail;
23339 }
23340 Py_INCREF(Py_None); resultobj = Py_None;
23341 return resultobj;
23342 fail:
23343 return NULL;
23344 }
23345
23346
23347 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23348 PyObject *obj;
23349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23350 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23351 Py_INCREF(obj);
23352 return Py_BuildValue((char *)"");
23353 }
23354 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23355 PyObject *resultobj;
23356 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23357 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23358 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23359 wxPyPrintPreview *result;
23360 PyObject * obj0 = 0 ;
23361 PyObject * obj1 = 0 ;
23362 PyObject * obj2 = 0 ;
23363
23364 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23367 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23369 if (obj2) {
23370 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23372 }
23373 {
23374 PyThreadState* __tstate = wxPyBeginAllowThreads();
23375 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23376
23377 wxPyEndAllowThreads(__tstate);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
23380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23381 return resultobj;
23382 fail:
23383 return NULL;
23384 }
23385
23386
23387 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23388 PyObject *resultobj;
23389 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23390 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23391 wxPrintData *arg3 = (wxPrintData *) 0 ;
23392 wxPyPrintPreview *result;
23393 PyObject * obj0 = 0 ;
23394 PyObject * obj1 = 0 ;
23395 PyObject * obj2 = 0 ;
23396
23397 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23402 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23404 {
23405 PyThreadState* __tstate = wxPyBeginAllowThreads();
23406 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23407
23408 wxPyEndAllowThreads(__tstate);
23409 if (PyErr_Occurred()) SWIG_fail;
23410 }
23411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23412 return resultobj;
23413 fail:
23414 return NULL;
23415 }
23416
23417
23418 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23419 int argc;
23420 PyObject *argv[4];
23421 int ii;
23422
23423 argc = PyObject_Length(args);
23424 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23425 argv[ii] = PyTuple_GetItem(args,ii);
23426 }
23427 if ((argc >= 2) && (argc <= 3)) {
23428 int _v;
23429 {
23430 void *ptr;
23431 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23432 _v = 0;
23433 PyErr_Clear();
23434 } else {
23435 _v = 1;
23436 }
23437 }
23438 if (_v) {
23439 {
23440 void *ptr;
23441 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23442 _v = 0;
23443 PyErr_Clear();
23444 } else {
23445 _v = 1;
23446 }
23447 }
23448 if (_v) {
23449 if (argc <= 2) {
23450 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23451 }
23452 {
23453 void *ptr;
23454 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23455 _v = 0;
23456 PyErr_Clear();
23457 } else {
23458 _v = 1;
23459 }
23460 }
23461 if (_v) {
23462 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23463 }
23464 }
23465 }
23466 }
23467 if (argc == 3) {
23468 int _v;
23469 {
23470 void *ptr;
23471 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23472 _v = 0;
23473 PyErr_Clear();
23474 } else {
23475 _v = 1;
23476 }
23477 }
23478 if (_v) {
23479 {
23480 void *ptr;
23481 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23482 _v = 0;
23483 PyErr_Clear();
23484 } else {
23485 _v = 1;
23486 }
23487 }
23488 if (_v) {
23489 {
23490 void *ptr;
23491 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23492 _v = 0;
23493 PyErr_Clear();
23494 } else {
23495 _v = 1;
23496 }
23497 }
23498 if (_v) {
23499 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23500 }
23501 }
23502 }
23503 }
23504
23505 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23506 return NULL;
23507 }
23508
23509
23510 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23511 PyObject *resultobj;
23512 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23513 PyObject *arg2 = (PyObject *) 0 ;
23514 PyObject *arg3 = (PyObject *) 0 ;
23515 PyObject * obj0 = 0 ;
23516 PyObject * obj1 = 0 ;
23517 PyObject * obj2 = 0 ;
23518 char *kwnames[] = {
23519 (char *) "self",(char *) "self",(char *) "_class", NULL
23520 };
23521
23522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23525 arg2 = obj1;
23526 arg3 = obj2;
23527 {
23528 PyThreadState* __tstate = wxPyBeginAllowThreads();
23529 (arg1)->_setCallbackInfo(arg2,arg3);
23530
23531 wxPyEndAllowThreads(__tstate);
23532 if (PyErr_Occurred()) SWIG_fail;
23533 }
23534 Py_INCREF(Py_None); resultobj = Py_None;
23535 return resultobj;
23536 fail:
23537 return NULL;
23538 }
23539
23540
23541 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23542 PyObject *resultobj;
23543 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23544 int arg2 ;
23545 bool result;
23546 PyObject * obj0 = 0 ;
23547 PyObject * obj1 = 0 ;
23548 char *kwnames[] = {
23549 (char *) "self",(char *) "pageNum", NULL
23550 };
23551
23552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23555 arg2 = (int) SWIG_AsInt(obj1);
23556 if (PyErr_Occurred()) SWIG_fail;
23557 {
23558 PyThreadState* __tstate = wxPyBeginAllowThreads();
23559 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23560
23561 wxPyEndAllowThreads(__tstate);
23562 if (PyErr_Occurred()) SWIG_fail;
23563 }
23564 {
23565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23566 }
23567 return resultobj;
23568 fail:
23569 return NULL;
23570 }
23571
23572
23573 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23574 PyObject *resultobj;
23575 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23576 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23577 wxDC *arg3 = 0 ;
23578 bool result;
23579 PyObject * obj0 = 0 ;
23580 PyObject * obj1 = 0 ;
23581 PyObject * obj2 = 0 ;
23582 char *kwnames[] = {
23583 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23584 };
23585
23586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23591 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23592 SWIG_POINTER_EXCEPTION | 0)) == -1)
23593 SWIG_fail;
23594 if (arg3 == NULL) {
23595 PyErr_SetString(PyExc_TypeError,"null reference");
23596 SWIG_fail;
23597 }
23598 {
23599 PyThreadState* __tstate = wxPyBeginAllowThreads();
23600 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23601
23602 wxPyEndAllowThreads(__tstate);
23603 if (PyErr_Occurred()) SWIG_fail;
23604 }
23605 {
23606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23607 }
23608 return resultobj;
23609 fail:
23610 return NULL;
23611 }
23612
23613
23614 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23615 PyObject *resultobj;
23616 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23617 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23618 wxDC *arg3 = 0 ;
23619 bool result;
23620 PyObject * obj0 = 0 ;
23621 PyObject * obj1 = 0 ;
23622 PyObject * obj2 = 0 ;
23623 char *kwnames[] = {
23624 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23625 };
23626
23627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23632 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23633 SWIG_POINTER_EXCEPTION | 0)) == -1)
23634 SWIG_fail;
23635 if (arg3 == NULL) {
23636 PyErr_SetString(PyExc_TypeError,"null reference");
23637 SWIG_fail;
23638 }
23639 {
23640 PyThreadState* __tstate = wxPyBeginAllowThreads();
23641 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23642
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 {
23647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23648 }
23649 return resultobj;
23650 fail:
23651 return NULL;
23652 }
23653
23654
23655 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23656 PyObject *resultobj;
23657 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23658 int arg2 ;
23659 bool result;
23660 PyObject * obj0 = 0 ;
23661 PyObject * obj1 = 0 ;
23662 char *kwnames[] = {
23663 (char *) "self",(char *) "pageNum", NULL
23664 };
23665
23666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23669 arg2 = (int) SWIG_AsInt(obj1);
23670 if (PyErr_Occurred()) SWIG_fail;
23671 {
23672 PyThreadState* __tstate = wxPyBeginAllowThreads();
23673 result = (bool)(arg1)->base_RenderPage(arg2);
23674
23675 wxPyEndAllowThreads(__tstate);
23676 if (PyErr_Occurred()) SWIG_fail;
23677 }
23678 {
23679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23680 }
23681 return resultobj;
23682 fail:
23683 return NULL;
23684 }
23685
23686
23687 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23688 PyObject *resultobj;
23689 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23690 int arg2 ;
23691 PyObject * obj0 = 0 ;
23692 PyObject * obj1 = 0 ;
23693 char *kwnames[] = {
23694 (char *) "self",(char *) "percent", NULL
23695 };
23696
23697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23700 arg2 = (int) SWIG_AsInt(obj1);
23701 if (PyErr_Occurred()) SWIG_fail;
23702 {
23703 PyThreadState* __tstate = wxPyBeginAllowThreads();
23704 (arg1)->base_SetZoom(arg2);
23705
23706 wxPyEndAllowThreads(__tstate);
23707 if (PyErr_Occurred()) SWIG_fail;
23708 }
23709 Py_INCREF(Py_None); resultobj = Py_None;
23710 return resultobj;
23711 fail:
23712 return NULL;
23713 }
23714
23715
23716 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23717 PyObject *resultobj;
23718 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23719 bool arg2 ;
23720 bool result;
23721 PyObject * obj0 = 0 ;
23722 PyObject * obj1 = 0 ;
23723 char *kwnames[] = {
23724 (char *) "self",(char *) "interactive", NULL
23725 };
23726
23727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
23728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23730 arg2 = (bool) SWIG_AsBool(obj1);
23731 if (PyErr_Occurred()) SWIG_fail;
23732 {
23733 PyThreadState* __tstate = wxPyBeginAllowThreads();
23734 result = (bool)(arg1)->base_Print(arg2);
23735
23736 wxPyEndAllowThreads(__tstate);
23737 if (PyErr_Occurred()) SWIG_fail;
23738 }
23739 {
23740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23741 }
23742 return resultobj;
23743 fail:
23744 return NULL;
23745 }
23746
23747
23748 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23749 PyObject *resultobj;
23750 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23751 PyObject * obj0 = 0 ;
23752 char *kwnames[] = {
23753 (char *) "self", NULL
23754 };
23755
23756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
23757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 (arg1)->base_DetermineScaling();
23762
23763 wxPyEndAllowThreads(__tstate);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
23766 Py_INCREF(Py_None); resultobj = Py_None;
23767 return resultobj;
23768 fail:
23769 return NULL;
23770 }
23771
23772
23773 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
23774 PyObject *obj;
23775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23776 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
23777 Py_INCREF(obj);
23778 return Py_BuildValue((char *)"");
23779 }
23780 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23781 PyObject *resultobj;
23782 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23783 wxFrame *arg2 = (wxFrame *) 0 ;
23784 wxString *arg3 = 0 ;
23785 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23786 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23787 wxSize const &arg5_defvalue = wxDefaultSize ;
23788 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23789 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23790 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23791 wxString *arg7 = (wxString *) &arg7_defvalue ;
23792 wxPyPreviewFrame *result;
23793 bool temp3 = False ;
23794 wxPoint temp4 ;
23795 wxSize temp5 ;
23796 bool temp7 = False ;
23797 PyObject * obj0 = 0 ;
23798 PyObject * obj1 = 0 ;
23799 PyObject * obj2 = 0 ;
23800 PyObject * obj3 = 0 ;
23801 PyObject * obj4 = 0 ;
23802 PyObject * obj5 = 0 ;
23803 PyObject * obj6 = 0 ;
23804 char *kwnames[] = {
23805 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23806 };
23807
23808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23813 {
23814 arg3 = wxString_in_helper(obj2);
23815 if (arg3 == NULL) SWIG_fail;
23816 temp3 = True;
23817 }
23818 if (obj3) {
23819 {
23820 arg4 = &temp4;
23821 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23822 }
23823 }
23824 if (obj4) {
23825 {
23826 arg5 = &temp5;
23827 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23828 }
23829 }
23830 if (obj5) {
23831 arg6 = (long) SWIG_AsLong(obj5);
23832 if (PyErr_Occurred()) SWIG_fail;
23833 }
23834 if (obj6) {
23835 {
23836 arg7 = wxString_in_helper(obj6);
23837 if (arg7 == NULL) SWIG_fail;
23838 temp7 = True;
23839 }
23840 }
23841 {
23842 PyThreadState* __tstate = wxPyBeginAllowThreads();
23843 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23844
23845 wxPyEndAllowThreads(__tstate);
23846 if (PyErr_Occurred()) SWIG_fail;
23847 }
23848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
23849 {
23850 if (temp3)
23851 delete arg3;
23852 }
23853 {
23854 if (temp7)
23855 delete arg7;
23856 }
23857 return resultobj;
23858 fail:
23859 {
23860 if (temp3)
23861 delete arg3;
23862 }
23863 {
23864 if (temp7)
23865 delete arg7;
23866 }
23867 return NULL;
23868 }
23869
23870
23871 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23872 PyObject *resultobj;
23873 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23874 PyObject *arg2 = (PyObject *) 0 ;
23875 PyObject *arg3 = (PyObject *) 0 ;
23876 PyObject * obj0 = 0 ;
23877 PyObject * obj1 = 0 ;
23878 PyObject * obj2 = 0 ;
23879 char *kwnames[] = {
23880 (char *) "self",(char *) "self",(char *) "_class", NULL
23881 };
23882
23883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23886 arg2 = obj1;
23887 arg3 = obj2;
23888 {
23889 PyThreadState* __tstate = wxPyBeginAllowThreads();
23890 (arg1)->_setCallbackInfo(arg2,arg3);
23891
23892 wxPyEndAllowThreads(__tstate);
23893 if (PyErr_Occurred()) SWIG_fail;
23894 }
23895 Py_INCREF(Py_None); resultobj = Py_None;
23896 return resultobj;
23897 fail:
23898 return NULL;
23899 }
23900
23901
23902 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23903 PyObject *resultobj;
23904 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23905 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23906 PyObject * obj0 = 0 ;
23907 PyObject * obj1 = 0 ;
23908 char *kwnames[] = {
23909 (char *) "self",(char *) "canvas", NULL
23910 };
23911
23912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
23913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23917 {
23918 PyThreadState* __tstate = wxPyBeginAllowThreads();
23919 (arg1)->SetPreviewCanvas(arg2);
23920
23921 wxPyEndAllowThreads(__tstate);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 }
23924 Py_INCREF(Py_None); resultobj = Py_None;
23925 return resultobj;
23926 fail:
23927 return NULL;
23928 }
23929
23930
23931 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23932 PyObject *resultobj;
23933 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23934 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
23935 PyObject * obj0 = 0 ;
23936 PyObject * obj1 = 0 ;
23937 char *kwnames[] = {
23938 (char *) "self",(char *) "bar", NULL
23939 };
23940
23941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
23942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23944 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
23945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23946 {
23947 PyThreadState* __tstate = wxPyBeginAllowThreads();
23948 (arg1)->SetControlBar(arg2);
23949
23950 wxPyEndAllowThreads(__tstate);
23951 if (PyErr_Occurred()) SWIG_fail;
23952 }
23953 Py_INCREF(Py_None); resultobj = Py_None;
23954 return resultobj;
23955 fail:
23956 return NULL;
23957 }
23958
23959
23960 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
23961 PyObject *resultobj;
23962 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23963 PyObject * obj0 = 0 ;
23964 char *kwnames[] = {
23965 (char *) "self", NULL
23966 };
23967
23968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
23969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23971 {
23972 PyThreadState* __tstate = wxPyBeginAllowThreads();
23973 (arg1)->base_Initialize();
23974
23975 wxPyEndAllowThreads(__tstate);
23976 if (PyErr_Occurred()) SWIG_fail;
23977 }
23978 Py_INCREF(Py_None); resultobj = Py_None;
23979 return resultobj;
23980 fail:
23981 return NULL;
23982 }
23983
23984
23985 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23986 PyObject *resultobj;
23987 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23988 PyObject * obj0 = 0 ;
23989 char *kwnames[] = {
23990 (char *) "self", NULL
23991 };
23992
23993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
23994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23996 {
23997 PyThreadState* __tstate = wxPyBeginAllowThreads();
23998 (arg1)->base_CreateCanvas();
23999
24000 wxPyEndAllowThreads(__tstate);
24001 if (PyErr_Occurred()) SWIG_fail;
24002 }
24003 Py_INCREF(Py_None); resultobj = Py_None;
24004 return resultobj;
24005 fail:
24006 return NULL;
24007 }
24008
24009
24010 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24011 PyObject *resultobj;
24012 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24013 PyObject * obj0 = 0 ;
24014 char *kwnames[] = {
24015 (char *) "self", NULL
24016 };
24017
24018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24021 {
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 (arg1)->base_CreateControlBar();
24024
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 Py_INCREF(Py_None); resultobj = Py_None;
24029 return resultobj;
24030 fail:
24031 return NULL;
24032 }
24033
24034
24035 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24036 PyObject *obj;
24037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24038 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24039 Py_INCREF(obj);
24040 return Py_BuildValue((char *)"");
24041 }
24042 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24043 PyObject *resultobj;
24044 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24045 long arg2 ;
24046 wxWindow *arg3 = (wxWindow *) 0 ;
24047 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24048 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24049 wxSize const &arg5_defvalue = wxDefaultSize ;
24050 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24051 long arg6 = (long) 0 ;
24052 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24053 wxString *arg7 = (wxString *) &arg7_defvalue ;
24054 wxPyPreviewControlBar *result;
24055 wxPoint temp4 ;
24056 wxSize temp5 ;
24057 bool temp7 = False ;
24058 PyObject * obj0 = 0 ;
24059 PyObject * obj1 = 0 ;
24060 PyObject * obj2 = 0 ;
24061 PyObject * obj3 = 0 ;
24062 PyObject * obj4 = 0 ;
24063 PyObject * obj5 = 0 ;
24064 PyObject * obj6 = 0 ;
24065 char *kwnames[] = {
24066 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24067 };
24068
24069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24072 arg2 = (long) SWIG_AsLong(obj1);
24073 if (PyErr_Occurred()) SWIG_fail;
24074 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24076 if (obj3) {
24077 {
24078 arg4 = &temp4;
24079 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24080 }
24081 }
24082 if (obj4) {
24083 {
24084 arg5 = &temp5;
24085 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24086 }
24087 }
24088 if (obj5) {
24089 arg6 = (long) SWIG_AsLong(obj5);
24090 if (PyErr_Occurred()) SWIG_fail;
24091 }
24092 if (obj6) {
24093 {
24094 arg7 = wxString_in_helper(obj6);
24095 if (arg7 == NULL) SWIG_fail;
24096 temp7 = True;
24097 }
24098 }
24099 {
24100 PyThreadState* __tstate = wxPyBeginAllowThreads();
24101 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24102
24103 wxPyEndAllowThreads(__tstate);
24104 if (PyErr_Occurred()) SWIG_fail;
24105 }
24106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24107 {
24108 if (temp7)
24109 delete arg7;
24110 }
24111 return resultobj;
24112 fail:
24113 {
24114 if (temp7)
24115 delete arg7;
24116 }
24117 return NULL;
24118 }
24119
24120
24121 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24122 PyObject *resultobj;
24123 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24124 PyObject *arg2 = (PyObject *) 0 ;
24125 PyObject *arg3 = (PyObject *) 0 ;
24126 PyObject * obj0 = 0 ;
24127 PyObject * obj1 = 0 ;
24128 PyObject * obj2 = 0 ;
24129 char *kwnames[] = {
24130 (char *) "self",(char *) "self",(char *) "_class", NULL
24131 };
24132
24133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24136 arg2 = obj1;
24137 arg3 = obj2;
24138 {
24139 PyThreadState* __tstate = wxPyBeginAllowThreads();
24140 (arg1)->_setCallbackInfo(arg2,arg3);
24141
24142 wxPyEndAllowThreads(__tstate);
24143 if (PyErr_Occurred()) SWIG_fail;
24144 }
24145 Py_INCREF(Py_None); resultobj = Py_None;
24146 return resultobj;
24147 fail:
24148 return NULL;
24149 }
24150
24151
24152 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24153 PyObject *resultobj;
24154 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24155 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24156 PyObject * obj0 = 0 ;
24157 PyObject * obj1 = 0 ;
24158 char *kwnames[] = {
24159 (char *) "self",(char *) "preview", NULL
24160 };
24161
24162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24165 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24167 {
24168 PyThreadState* __tstate = wxPyBeginAllowThreads();
24169 (arg1)->SetPrintPreview(arg2);
24170
24171 wxPyEndAllowThreads(__tstate);
24172 if (PyErr_Occurred()) SWIG_fail;
24173 }
24174 Py_INCREF(Py_None); resultobj = Py_None;
24175 return resultobj;
24176 fail:
24177 return NULL;
24178 }
24179
24180
24181 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24182 PyObject *resultobj;
24183 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24184 PyObject * obj0 = 0 ;
24185 char *kwnames[] = {
24186 (char *) "self", NULL
24187 };
24188
24189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24192 {
24193 PyThreadState* __tstate = wxPyBeginAllowThreads();
24194 (arg1)->base_CreateButtons();
24195
24196 wxPyEndAllowThreads(__tstate);
24197 if (PyErr_Occurred()) SWIG_fail;
24198 }
24199 Py_INCREF(Py_None); resultobj = Py_None;
24200 return resultobj;
24201 fail:
24202 return NULL;
24203 }
24204
24205
24206 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24207 PyObject *resultobj;
24208 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24209 int arg2 ;
24210 PyObject * obj0 = 0 ;
24211 PyObject * obj1 = 0 ;
24212 char *kwnames[] = {
24213 (char *) "self",(char *) "zoom", NULL
24214 };
24215
24216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24219 arg2 = (int) SWIG_AsInt(obj1);
24220 if (PyErr_Occurred()) SWIG_fail;
24221 {
24222 PyThreadState* __tstate = wxPyBeginAllowThreads();
24223 (arg1)->base_SetZoomControl(arg2);
24224
24225 wxPyEndAllowThreads(__tstate);
24226 if (PyErr_Occurred()) SWIG_fail;
24227 }
24228 Py_INCREF(Py_None); resultobj = Py_None;
24229 return resultobj;
24230 fail:
24231 return NULL;
24232 }
24233
24234
24235 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24236 PyObject *obj;
24237 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24238 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24239 Py_INCREF(obj);
24240 return Py_BuildValue((char *)"");
24241 }
24242 static PyMethodDef SwigMethods[] = {
24243 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24244 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24245 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24246 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24247 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24248 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24249 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24250 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24251 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24252 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24253 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24254 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24255 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24256 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24257 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24258 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24259 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24260 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24261 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24262 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24263 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24264 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24265 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24266 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24267 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24268 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24269 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24270 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24271 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24272 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24273 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24274 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24275 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24276 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24277 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24278 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24279 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24280 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24281 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24282 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24283 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24284 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24285 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24286 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24287 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24288 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24289 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24290 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24291 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24292 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24293 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24294 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24295 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24296 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24297 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24298 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24299 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24300 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24301 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24302 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24303 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24304 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24305 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24306 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24307 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24308 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24309 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24310 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24311 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24312 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24313 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24314 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24315 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24316 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24317 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24318 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24319 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24320 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24321 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24322 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24323 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24324 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24325 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24326 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24327 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24328 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24329 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24330 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24331 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24332 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24333 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24334 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24335 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24336 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24337 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24338 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24339 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24340 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24341 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24342 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24343 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24344 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24345 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24346 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24347 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24348 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24349 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24350 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24351 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24352 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24353 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24354 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24355 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24356 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24357 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24358 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24359 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24360 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24361 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24362 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24363 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24364 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24365 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24366 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24367 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24368 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24369 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24370 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24371 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24372 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24373 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24374 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24375 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24376 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24377 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24378 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24379 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24380 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24381 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24382 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24383 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24384 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24385 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24386 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24387 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24388 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24389 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24390 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24391 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24392 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24393 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24394 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24395 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24396 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24397 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24398 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24399 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24400 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24401 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24402 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24403 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24404 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24405 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24406 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24407 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24408 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24409 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24410 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24411 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24412 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24413 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24414 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24415 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24416 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24417 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24418 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24419 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24420 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24421 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24422 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24423 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24424 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24425 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24426 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24428 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24429 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24431 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24432 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24433 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24434 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24436 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24437 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24438 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24439 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24440 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24441 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24442 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24443 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24444 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24445 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
24446 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
24447 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24448 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24449 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
24452 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
24453 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24454 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24456 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24458 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24462 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24465 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24466 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24467 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24468 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24469 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24470 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24471 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24472 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24473 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24474 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24475 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24476 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24480 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24486 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24502 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24509 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
24516 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24518 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24520 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24522 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24529 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24532 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24539 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24557 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24561 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
24566 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
24570 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
24586 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
24589 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
24591 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
24595 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
24604 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
24613 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
24619 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
24631 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
24638 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
24642 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
24666 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
24690 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
24714 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
24760 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
24792 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
24796 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
24797 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
24830 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
24835 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
24846 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
24869 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
24871 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
24877 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
24887 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
24888 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
24911 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
24912 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
24921 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
24929 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
24935 { NULL, NULL }
24936 };
24937
24938
24939 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24940
24941 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
24942 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24943 }
24944 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
24945 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
24946 }
24947 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
24948 return (void *)((wxEvent *) ((wxMenuEvent *) x));
24949 }
24950 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
24951 return (void *)((wxEvent *) ((wxCloseEvent *) x));
24952 }
24953 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
24954 return (void *)((wxEvent *) ((wxMouseEvent *) x));
24955 }
24956 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
24957 return (void *)((wxEvent *) ((wxEraseEvent *) x));
24958 }
24959 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
24960 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
24961 }
24962 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
24963 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
24964 }
24965 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
24966 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
24967 }
24968 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
24969 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
24970 }
24971 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
24972 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
24973 }
24974 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
24975 return (void *)((wxEvent *) ((wxPyEvent *) x));
24976 }
24977 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
24978 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
24979 }
24980 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
24981 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
24982 }
24983 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
24984 return (void *)((wxEvent *) ((wxIdleEvent *) x));
24985 }
24986 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
24987 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
24988 }
24989 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
24990 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
24991 }
24992 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
24993 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
24994 }
24995 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
24996 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
24997 }
24998 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
24999 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25000 }
25001 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25002 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25003 }
25004 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25005 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25006 }
25007 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25008 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25009 }
25010 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25011 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25012 }
25013 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25014 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25015 }
25016 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25017 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25018 }
25019 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25020 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25021 }
25022 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25023 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25024 }
25025 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25026 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25027 }
25028 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25029 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25030 }
25031 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25032 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25033 }
25034 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25035 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25036 }
25037 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25038 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25039 }
25040 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25041 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25042 }
25043 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25044 return (void *)((wxEvent *) ((wxShowEvent *) x));
25045 }
25046 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25047 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25048 }
25049 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25050 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25051 }
25052 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25053 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25054 }
25055 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25056 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25057 }
25058 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25059 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25060 }
25061 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25062 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25063 }
25064 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25065 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25066 }
25067 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25068 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25069 }
25070 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25071 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25072 }
25073 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25074 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25075 }
25076 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25077 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25078 }
25079 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25080 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25081 }
25082 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25083 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25084 }
25085 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25086 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25087 }
25088 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25089 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25090 }
25091 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25092 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25093 }
25094 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25095 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25096 }
25097 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25098 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25099 }
25100 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25101 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25102 }
25103 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25104 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25105 }
25106 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25107 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25108 }
25109 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25110 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25111 }
25112 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25113 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25114 }
25115 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25116 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25117 }
25118 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25119 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25120 }
25121 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25122 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25123 }
25124 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25125 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25126 }
25127 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25128 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25129 }
25130 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25131 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25132 }
25133 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25134 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25135 }
25136 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25137 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25138 }
25139 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25140 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25141 }
25142 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25143 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25144 }
25145 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25146 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25147 }
25148 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25149 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25150 }
25151 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25152 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25153 }
25154 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25155 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25156 }
25157 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25158 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25159 }
25160 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25161 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25162 }
25163 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25164 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25165 }
25166 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25167 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25168 }
25169 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25170 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25171 }
25172 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25173 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25174 }
25175 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25176 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25177 }
25178 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25179 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25180 }
25181 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25182 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25183 }
25184 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25185 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25186 }
25187 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25188 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25189 }
25190 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25191 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25192 }
25193 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25194 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25195 }
25196 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25197 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25198 }
25199 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25200 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25201 }
25202 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25203 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25204 }
25205 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25206 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25207 }
25208 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25209 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25210 }
25211 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25212 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25213 }
25214 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25215 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25216 }
25217 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25218 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25219 }
25220 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25221 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25222 }
25223 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25224 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25225 }
25226 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25227 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25228 }
25229 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25230 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25231 }
25232 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25233 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25234 }
25235 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25236 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25237 }
25238 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25239 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25240 }
25241 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25242 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25243 }
25244 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25245 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25246 }
25247 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25248 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25249 }
25250 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25252 }
25253 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25254 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25255 }
25256 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25257 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25258 }
25259 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25260 return (void *)((wxObject *) ((wxSizerItem *) x));
25261 }
25262 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25263 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25264 }
25265 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25266 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25267 }
25268 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25269 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25270 }
25271 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25272 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25273 }
25274 static void *_p_wxSizerTo_p_wxObject(void *x) {
25275 return (void *)((wxObject *) ((wxSizer *) x));
25276 }
25277 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25278 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25279 }
25280 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25281 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25282 }
25283 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25285 }
25286 static void *_p_wxEventTo_p_wxObject(void *x) {
25287 return (void *)((wxObject *) ((wxEvent *) x));
25288 }
25289 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25290 return (void *)((wxObject *) ((wxFontData *) x));
25291 }
25292 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25293 return (void *)((wxObject *) ((wxPrintData *) x));
25294 }
25295 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25296 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25297 }
25298 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25299 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25300 }
25301 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25302 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25303 }
25304 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25305 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25306 }
25307 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25308 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25309 }
25310 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25311 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25312 }
25313 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25314 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25315 }
25316 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25317 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25318 }
25319 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25320 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25321 }
25322 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25323 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25324 }
25325 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25326 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25327 }
25328 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25329 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25330 }
25331 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25333 }
25334 static void *_p_wxControlTo_p_wxObject(void *x) {
25335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25336 }
25337 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25338 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25339 }
25340 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25341 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25342 }
25343 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25344 return (void *)((wxObject *) ((wxFSFile *) x));
25345 }
25346 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25347 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25348 }
25349 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25350 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25351 }
25352 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25354 }
25355 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25356 return (void *)((wxObject *) ((wxColourData *) x));
25357 }
25358 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25359 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25360 }
25361 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25362 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25363 }
25364 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25366 }
25367 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25369 }
25370 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25372 }
25373 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25375 }
25376 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25378 }
25379 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25381 }
25382 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25384 }
25385 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25387 }
25388 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25390 }
25391 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25392 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25393 }
25394 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25395 return (void *)((wxObject *) ((wxPrinter *) x));
25396 }
25397 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25398 return (void *)((wxObject *) ((wxMenuItem *) x));
25399 }
25400 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25401 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25402 }
25403 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25404 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25405 }
25406 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25407 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25408 }
25409 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25410 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25411 }
25412 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25413 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25414 }
25415 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25416 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25417 }
25418 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25419 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25420 }
25421 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25422 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25423 }
25424 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25425 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25426 }
25427 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25428 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25429 }
25430 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25431 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25432 }
25433 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25434 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25435 }
25436 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25437 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25438 }
25439 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25440 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25441 }
25442 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25443 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25444 }
25445 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25446 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25447 }
25448 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25449 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25450 }
25451 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25452 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25453 }
25454 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25455 return (void *)((wxObject *) ((wxImageHandler *) x));
25456 }
25457 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25458 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25459 }
25460 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25461 return (void *)((wxObject *) ((wxEvtHandler *) x));
25462 }
25463 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25464 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25465 }
25466 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25468 }
25469 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25470 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25471 }
25472 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25473 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25474 }
25475 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25476 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25477 }
25478 static void *_p_wxImageTo_p_wxObject(void *x) {
25479 return (void *)((wxObject *) ((wxImage *) x));
25480 }
25481 static void *_p_wxFrameTo_p_wxObject(void *x) {
25482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25483 }
25484 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25485 return (void *)((wxObject *) ((wxPyPrintout *) x));
25486 }
25487 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25488 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25489 }
25490 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25491 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25492 }
25493 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25494 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25495 }
25496 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25497 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25498 }
25499 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25500 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25501 }
25502 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25503 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25504 }
25505 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25506 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25507 }
25508 static void *_p_wxWindowTo_p_wxObject(void *x) {
25509 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25510 }
25511 static void *_p_wxMenuTo_p_wxObject(void *x) {
25512 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25513 }
25514 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25516 }
25517 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25519 }
25520 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25522 }
25523 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25524 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25525 }
25526 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25528 }
25529 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25531 }
25532 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25533 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25534 }
25535 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25536 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25537 }
25538 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25539 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25540 }
25541 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25542 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25543 }
25544 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25545 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25546 }
25547 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25548 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25549 }
25550 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25551 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25552 }
25553 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25554 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25555 }
25556 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25557 return (void *)((wxObject *) ((wxPrintPreview *) x));
25558 }
25559 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25560 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25561 }
25562 static void *_p_wxPanelTo_p_wxObject(void *x) {
25563 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25564 }
25565 static void *_p_wxDialogTo_p_wxObject(void *x) {
25566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25567 }
25568 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25570 }
25571 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25573 }
25574 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25576 }
25577 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25579 }
25580 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25581 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25582 }
25583 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25584 return (void *)((wxObject *) ((wxFileSystem *) x));
25585 }
25586 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25587 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25588 }
25589 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25590 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25591 }
25592 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25593 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25594 }
25595 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25596 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25597 }
25598 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25599 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25600 }
25601 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25602 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25603 }
25604 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25605 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25606 }
25607 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25608 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25609 }
25610 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25612 }
25613 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25615 }
25616 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25617 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25618 }
25619 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25620 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25621 }
25622 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25623 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25624 }
25625 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25627 }
25628 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25629 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25630 }
25631 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25632 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25633 }
25634 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25635 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25636 }
25637 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25638 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25639 }
25640 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25641 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25642 }
25643 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25644 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25645 }
25646 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
25647 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25648 }
25649 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25650 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25651 }
25652 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
25653 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25654 }
25655 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25656 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25657 }
25658 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25659 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25660 }
25661 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25662 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25663 }
25664 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25665 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25666 }
25667 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25668 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25669 }
25670 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25671 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25672 }
25673 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25674 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25675 }
25676 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25677 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25678 }
25679 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25680 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25681 }
25682 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25683 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25684 }
25685 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25686 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25687 }
25688 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25689 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25690 }
25691 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25692 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25693 }
25694 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25695 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25696 }
25697 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25698 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25699 }
25700 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25701 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25702 }
25703 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25704 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25705 }
25706 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25707 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25708 }
25709 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25710 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25711 }
25712 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25713 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25714 }
25715 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25716 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25717 }
25718 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25719 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25720 }
25721 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25722 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25723 }
25724 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25725 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25726 }
25727 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25728 return (void *)((wxWindow *) ((wxMenuBar *) x));
25729 }
25730 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25731 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25732 }
25733 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25734 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25735 }
25736 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25737 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25738 }
25739 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25740 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25741 }
25742 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25743 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25744 }
25745 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25746 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25747 }
25748 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25749 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25750 }
25751 static void *_p_wxPanelTo_p_wxWindow(void *x) {
25752 return (void *)((wxWindow *) ((wxPanel *) x));
25753 }
25754 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25755 return (void *)((wxWindow *) ((wxStatusBar *) x));
25756 }
25757 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25758 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25759 }
25760 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25761 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
25762 }
25763 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
25764 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25765 }
25766 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
25767 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25768 }
25769 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
25770 return (void *)((wxWindow *) ((wxPopupWindow *) x));
25771 }
25772 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
25773 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
25774 }
25775 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
25776 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
25777 }
25778 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
25779 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
25780 }
25781 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
25782 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
25783 }
25784 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
25785 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
25786 }
25787 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
25788 return (void *)((wxWindow *) ((wxSashWindow *) x));
25789 }
25790 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
25791 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25792 }
25793 static void *_p_wxControlTo_p_wxWindow(void *x) {
25794 return (void *)((wxWindow *) ((wxControl *) x));
25795 }
25796 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
25797 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25798 }
25799 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
25800 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25801 }
25802 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
25803 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25804 }
25805 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25806 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25807 }
25808 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
25809 return (void *)((wxWindow *) ((wxPyWindow *) x));
25810 }
25811 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
25812 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25813 }
25814 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
25815 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25816 }
25817 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
25818 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25819 }
25820 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
25821 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
25822 }
25823 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
25824 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25825 }
25826 static void *_p_wxFrameTo_p_wxWindow(void *x) {
25827 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
25828 }
25829 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
25830 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25831 }
25832 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
25833 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25834 }
25835 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
25836 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25837 }
25838 static void *_p_wxDialogTo_p_wxWindow(void *x) {
25839 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
25840 }
25841 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
25842 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25843 }
25844 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
25845 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25846 }
25847 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
25848 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25849 }
25850 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
25851 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25852 }
25853 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
25854 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
25855 }
25856 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
25857 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
25858 }
25859 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
25860 return (void *)((wxDialog *) ((wxColourDialog *) x));
25861 }
25862 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
25863 return (void *)((wxDialog *) ((wxDirDialog *) x));
25864 }
25865 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
25866 return (void *)((wxDialog *) ((wxFontDialog *) x));
25867 }
25868 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
25869 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
25870 }
25871 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
25872 return (void *)((wxDialog *) ((wxPrintDialog *) x));
25873 }
25874 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
25875 return (void *)((wxDialog *) ((wxFileDialog *) x));
25876 }
25877 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
25878 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
25879 }
25880 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
25881 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
25882 }
25883 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
25884 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
25885 }
25886 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
25887 return (void *)((wxDialog *) ((wxMessageDialog *) x));
25888 }
25889 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
25890 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
25891 }
25892 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
25893 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
25894 }
25895 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
25896 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
25897 }
25898 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
25899 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25900 }
25901 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
25902 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25903 }
25904 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
25905 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25906 }
25907 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
25908 return (void *)((wxPanel *) ((wxPyPanel *) x));
25909 }
25910 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
25911 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
25912 }
25913 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
25914 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
25915 }
25916 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
25917 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25918 }
25919 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
25920 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
25921 }
25922 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
25923 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
25924 }
25925 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
25926 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
25927 }
25928 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
25929 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
25930 }
25931 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
25932 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
25933 }
25934 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
25935 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25936 }
25937 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
25938 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
25939 }
25940 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
25941 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
25942 }
25943 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
25944 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
25945 }
25946 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
25947 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
25948 }
25949 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
25950 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
25951 }
25952 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
25953 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25954 }
25955 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}};
25956 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}};
25957 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}};
25958 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}};
25959 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}};
25960 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}};
25961 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}};
25962 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}};
25963 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}};
25964 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}};
25965 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}};
25966 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}};
25967 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}};
25968 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}};
25969 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}};
25970 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}};
25971 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}};
25972 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}};
25973 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}};
25974 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}};
25975 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}};
25976 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}};
25977 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}};
25978 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}};
25979 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}};
25980 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}};
25981 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}};
25982 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}};
25983 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}};
25984 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}};
25985 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}};
25986 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}};
25987 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}};
25988 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}};
25989 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}};
25990 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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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_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_wxColourDialog", _p_wxColourDialogTo_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}};
25991 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}};
25992 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}};
25993 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}};
25994 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}};
25995 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}};
25996 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}};
25997 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}};
25998 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}};
25999 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}};
26000 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}};
26001 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}};
26002 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}};
26003 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}};
26004 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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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}};
26005 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}};
26006 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}};
26007 static swig_type_info _swigt__p_wxPyScrolledWindow[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26008 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}};
26009 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}};
26010 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}};
26011 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}};
26012 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}};
26013 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}};
26014 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}};
26015 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}};
26016 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}};
26017 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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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}};
26018 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26019 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}};
26020 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}};
26021 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}};
26022 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}};
26023 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}};
26024 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}};
26025 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}};
26026 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}};
26027 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}};
26028 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}};
26029 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_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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}};
26030 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}};
26031 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}};
26032 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}};
26033 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}};
26034 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}};
26035 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}};
26036 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}};
26037 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}};
26038 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}};
26039 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}};
26040
26041 static swig_type_info *swig_types_initial[] = {
26042 _swigt__p_wxQueryLayoutInfoEvent,
26043 _swigt__p_wxPreviewFrame,
26044 _swigt__p_wxPyPreviewFrame,
26045 _swigt__p_wxPyPanel,
26046 _swigt__p_wxMenu,
26047 _swigt__p_wxPrintData,
26048 _swigt__p_wxFontData,
26049 _swigt__p_wxEvent,
26050 _swigt__p_wxTaskBarIcon,
26051 _swigt__p_wxIconBundle,
26052 _swigt__p_wxLayoutAlgorithm,
26053 _swigt__p_wxFindDialogEvent,
26054 _swigt__p_wxPreviewCanvas,
26055 _swigt__p_wxFont,
26056 _swigt__p_wxSplitterEvent,
26057 _swigt__p_wxRegion,
26058 _swigt__p_wxFindReplaceData,
26059 _swigt__p_int,
26060 _swigt__p_wxSize,
26061 _swigt__p_wxDC,
26062 _swigt__p_wxIcon,
26063 _swigt__p_wxMDIChildFrame,
26064 _swigt__p_wxColourData,
26065 _swigt__p_wxNotifyEvent,
26066 _swigt__p_wxPyWindow,
26067 _swigt__p_wxSplashScreen,
26068 _swigt__p_wxFindReplaceDialog,
26069 _swigt__p_wxProgressDialog,
26070 _swigt__p_wxMessageDialog,
26071 _swigt__p_wxTextEntryDialog,
26072 _swigt__p_wxSingleChoiceDialog,
26073 _swigt__p_wxMultiChoiceDialog,
26074 _swigt__p_wxFileDialog,
26075 _swigt__p_wxPrinter,
26076 _swigt__p_wxArrayInt,
26077 _swigt__p_wxEvtHandler,
26078 _swigt__p_wxCalculateLayoutEvent,
26079 _swigt__p_wxPyHtmlListBox,
26080 _swigt__p_wxPyVListBox,
26081 _swigt__p_wxRect,
26082 _swigt__p_char,
26083 _swigt__p_wxMiniFrame,
26084 _swigt__p_wxFrame,
26085 _swigt__p_wxPyPrintout,
26086 _swigt__p_wxTaskBarIconEvent,
26087 _swigt__p_wxScrollWinEvent,
26088 _swigt__p_wxStatusBar,
26089 _swigt__p_wxMDIParentFrame,
26090 _swigt__p_wxPoint,
26091 _swigt__p_wxObject,
26092 _swigt__p_wxOutputStream,
26093 _swigt__p_unsigned_long,
26094 _swigt__p_wxPyScrolledWindow,
26095 _swigt__p_wxMDIClientWindow,
26096 _swigt__p_wxTipWindow,
26097 _swigt__p_wxSashLayoutWindow,
26098 _swigt__p_wxSplitterWindow,
26099 _swigt__p_wxPyVScrolledWindow,
26100 _swigt__p_wxPyPopupTransientWindow,
26101 _swigt__p_wxPopupWindow,
26102 _swigt__p_wxSashWindow,
26103 _swigt__p_wxTopLevelWindow,
26104 _swigt__p_wxWindow,
26105 _swigt__p_wxScrolledWindow,
26106 _swigt__p_wxSplashScreenWindow,
26107 _swigt__p_wxMenuBar,
26108 _swigt__p_wxPrintPreview,
26109 _swigt__p_wxSashEvent,
26110 _swigt__p_wxString,
26111 _swigt__p_wxPyPrintPreview,
26112 _swigt__p_wxFontDialog,
26113 _swigt__p_wxDirDialog,
26114 _swigt__p_wxColourDialog,
26115 _swigt__p_wxDialog,
26116 _swigt__p_wxPanel,
26117 _swigt__p_wxPageSetupDialog,
26118 _swigt__p_wxPrintDialog,
26119 _swigt__p_wxBitmap,
26120 _swigt__p_wxCommandEvent,
26121 _swigt__p_wxPreviewControlBar,
26122 _swigt__p_wxPyPreviewControlBar,
26123 _swigt__p_wxColour,
26124 _swigt__p_wxToolBar,
26125 _swigt__p_wxPageSetupDialogData,
26126 _swigt__p_wxPrintDialogData,
26127 0
26128 };
26129
26130
26131 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26132
26133 static swig_const_info swig_const_table[] = {
26134 {0}};
26135
26136 #ifdef __cplusplus
26137 }
26138 #endif
26139
26140 #ifdef __cplusplus
26141 extern "C"
26142 #endif
26143 SWIGEXPORT(void) SWIG_init(void) {
26144 static PyObject *SWIG_globals = 0;
26145 static int typeinit = 0;
26146 PyObject *m, *d;
26147 int i;
26148 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26149 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26150 d = PyModule_GetDict(m);
26151
26152 if (!typeinit) {
26153 for (i = 0; swig_types_initial[i]; i++) {
26154 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26155 }
26156 typeinit = 1;
26157 }
26158 SWIG_InstallConstants(d,swig_const_table);
26159
26160 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26161 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26162 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26163 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26164 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26165 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26166 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26167 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26168 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26169 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26170 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26171 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26172 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26173 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26174 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26175 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26176 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26177 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26178 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26179 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26180 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26181 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26182 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26183 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26184 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26185 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26186 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26187 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26188 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26189 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
26190 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26191 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26192 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26193 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26194 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26195 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26196 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26197 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26198 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26199 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26200 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26201 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26202 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26203 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26204 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26205 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26206 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26207 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26208 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26209 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26210 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26211 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26212 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26213 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26214 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26215 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26216 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26217 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26218 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26219 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26220 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26221 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26222 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26223 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26224 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26225 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26226 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26227 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26228 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26229 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26230 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26231 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26232 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26233 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26234 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26235 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26236 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26237 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26238 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26239 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26240 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26241 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26242 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26243 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26244 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26245 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26246 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26247 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26248 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26249 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26250 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26251 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26252 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26253
26254 // Map renamed classes back to their common name for OOR
26255 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26256 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26257 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26258
26259 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26260 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26261 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26262 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26263 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26264 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26265 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26266 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26267 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26268 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26269 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26270 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26271 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26272 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26273 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26274 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26275 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26276 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26277 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26278 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26279 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26280 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26281 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26282 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26283 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26284 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26285 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26286 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26287 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26288 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26289 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26290 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26291 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26292 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26293 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26294 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26295 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26296 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26297 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26298 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26299 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26300 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26301 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26302 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26303 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26304 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26305 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26306 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26307 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26308 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26309 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26310 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26311 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26312 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26313 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26314 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26315 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26316 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26317 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26318 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26319
26320 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26321
26322 }
26323