]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
little tweaks
[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_wxFontData swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxPrintData 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_wxVisualAttributes swig_types[21]
231 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
232 #define SWIGTYPE_p_wxColourData swig_types[23]
233 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
234 #define SWIGTYPE_p_wxPyWindow swig_types[25]
235 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
236 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
237 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
238 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
239 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
240 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
242 #define SWIGTYPE_p_wxFileDialog swig_types[33]
243 #define SWIGTYPE_p_wxPrinter swig_types[34]
244 #define SWIGTYPE_p_wxArrayInt swig_types[35]
245 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
246 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
248 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
249 #define SWIGTYPE_p_wxRect swig_types[40]
250 #define SWIGTYPE_p_char swig_types[41]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
252 #define SWIGTYPE_p_wxFrame swig_types[43]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
256 #define SWIGTYPE_p_wxStatusBar swig_types[47]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
258 #define SWIGTYPE_p_wxPoint swig_types[49]
259 #define SWIGTYPE_p_wxObject swig_types[50]
260 #define SWIGTYPE_p_wxOutputStream 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_wxSplashScreenWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
268 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
269 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
270 #define SWIGTYPE_p_wxSashWindow swig_types[61]
271 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
272 #define SWIGTYPE_p_wxWindow swig_types[63]
273 #define SWIGTYPE_p_wxScrolledWindow 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_wxFileSystem swig_types[77]
287 #define SWIGTYPE_p_wxBitmap swig_types[78]
288 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
289 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxToolBar swig_types[83]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
294 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
295 static swig_type_info *swig_types[87];
296
297 /* -------- TYPES TABLE (END) -------- */
298
299
300 /*-----------------------------------------------
301 @(target):= _windows_.so
302 ------------------------------------------------*/
303 #define SWIG_init init_windows_
304
305 #define SWIG_name "_windows_"
306
307 /* Auxiliar swig macros */
308
309 #ifdef __cplusplus
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #else
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
322 #endif
323
324 #else /* C case */
325
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
334
335 #endif /* __cplusplus */
336
337
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
348
349
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
352
353
354 static const wxString wxPyEmptyString(wxEmptyString);
355 static const wxString wxPyPanelNameStr(wxPanelNameStr);
356
357
358
359 #include <limits.h>
360
361
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value, const char* type,
364 long min_value, long max_value)
365 {
366 if (!PyErr_Occurred()) {
367 if (value < min_value) {
368 PyObject *err =
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value, type, min_value);
371
372 PyErr_SetObject(PyExc_OverflowError, err);
373 Py_DECREF(err);
374 } else if (value > max_value) {
375 PyObject *err =
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value, type, max_value);
378 PyErr_SetObject(PyExc_OverflowError, err);
379 Py_DECREF(err);
380 }
381 }
382 return value;
383 }
384
385
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject * obj)
388 {
389 if (PyNumber_Check(obj))
390 return PyInt_AsLong(obj);
391 else {
392 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
393 obj->ob_type->tp_name);
394 PyErr_SetObject(PyExc_TypeError, errmsg);
395 Py_DECREF(errmsg);
396 return 0;
397 }
398 }
399
400
401 #if INT_MAX != LONG_MAX
402 SWIGSTATICINLINE(int)
403 SWIG_AsInt(PyObject *obj)
404 {
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj),
407 "int", INT_MIN, INT_MAX));
408 }
409 #else
410 #define SWIG_AsInt SWIG_AsLong
411 #endif
412
413
414 SWIGSTATICINLINE(int)
415 SWIG_CheckInt(PyObject* obj)
416 {
417 SWIG_AsInt(obj);
418 if (PyErr_Occurred()) {
419 PyErr_Clear();
420 return 0;
421 } else {
422 return 1;
423 }
424 }
425
426
427 SWIGSTATICINLINE(int)
428 SWIG_CheckLong(PyObject* obj)
429 {
430 SWIG_AsLong(obj);
431 if (PyErr_Occurred()) {
432 PyErr_Clear();
433 return 0;
434 } else {
435 return 1;
436 }
437 }
438
439
440 SWIGSTATICINLINE(bool)
441 SWIG_AsBool(PyObject *obj)
442 {
443 return PyObject_IsTrue(obj) ? true : false;
444 }
445
446
447 SWIGSTATICINLINE(int)
448 SWIG_CheckBool(PyObject* obj)
449 {
450 SWIG_AsBool(obj);
451 if (PyErr_Occurred()) {
452 PyErr_Clear();
453 return 0;
454 } else {
455 return 1;
456 }
457 }
458
459
460 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
461 PyObject* o2;
462 PyObject* o3;
463
464 if (!target) {
465 target = o;
466 } else if (target == Py_None) {
467 Py_DECREF(Py_None);
468 target = o;
469 } else {
470 if (!PyTuple_Check(target)) {
471 o2 = target;
472 target = PyTuple_New(1);
473 PyTuple_SetItem(target, 0, o2);
474 }
475 o3 = PyTuple_New(1);
476 PyTuple_SetItem(o3, 0, o);
477
478 o2 = target;
479 target = PySequence_Concat(o2, o3);
480 Py_DECREF(o2);
481 Py_DECREF(o3);
482 }
483 return target;
484 }
485
486
487 SWIGSTATICINLINE(double)
488 SWIG_AsDouble(PyObject *obj)
489 {
490 if (PyNumber_Check(obj))
491 return PyFloat_AsDouble(obj);
492 else {
493 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
494 obj->ob_type->tp_name);
495 PyErr_SetObject(PyExc_TypeError, errmsg);
496 Py_DECREF(errmsg);
497 return 0;
498 }
499 }
500
501
502 SWIGSTATICINLINE(int)
503 SWIG_CheckDouble(PyObject* obj)
504 {
505 SWIG_AsDouble(obj);
506 if (PyErr_Occurred()) {
507 PyErr_Clear();
508 return 0;
509 } else {
510 return 1;
511 }
512 }
513
514 static const wxString wxPyFrameNameStr(wxFrameNameStr);
515 static const wxString wxPyDialogNameStr(wxDialogNameStr);
516 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
517 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
518
519
520 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
521 wxRect r;
522 self->GetFieldRect(i, r);
523 return r;
524 }
525 static const wxString wxPySplitterNameStr(wxT("splitter"));
526 static const wxString wxPySashNameStr(wxT("sashWindow"));
527 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
528
529 #include <wx/popupwin.h>
530
531
532 class wxPyPopupTransientWindow : public wxPopupTransientWindow
533 {
534 public:
535 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
536 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
537 : wxPopupTransientWindow(parent, style) {}
538
539 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
540 DEC_PYCALLBACK__(OnDismiss);
541 DEC_PYCALLBACK_BOOL_(CanDismiss);
542 PYPRIVATE;
543 };
544
545
546 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
547 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
548 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
549
550
551 #include <wx/tipwin.h>
552
553 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
554 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
555 }
556
557 #include <wx/tipwin.h>
558
559
560 #include <wx/vscroll.h>
561
562
563 class wxPyVScrolledWindow : public wxVScrolledWindow
564 {
565 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
566 public:
567 wxPyVScrolledWindow() : wxVScrolledWindow() {}
568
569 wxPyVScrolledWindow(wxWindow *parent,
570 wxWindowID id = wxID_ANY,
571 const wxPoint& pos = wxDefaultPosition,
572 const wxSize& size = wxDefaultSize,
573 long style = 0,
574 const wxString& name = wxPyPanelNameStr)
575 : wxVScrolledWindow(parent, id, pos, size, style, name)
576 {}
577
578 // Overridable virtuals
579
580 // this function must be overridden in the derived class and it should
581 // return the height of the given line in pixels
582 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
583
584
585 // this function doesn't have to be overridden but it may be useful to do
586 // it if calculating the lines heights is a relatively expensive operation
587 // as it gives the user code a possibility to calculate several of them at
588 // once
589 //
590 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
591 // shouldn't rely on the latter being called for all lines in the interval
592 // specified here. It is also possible that OnGetLineHeight() will be
593 // called for the lines outside of this interval, so this is really just a
594 // hint, not a promise.
595 //
596 // finally note that lineMin is inclusive, while lineMax is exclusive, as
597 // usual
598 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
599
600
601 // when the number of lines changes, we try to estimate the total height
602 // of all lines which is a rather expensive operation in terms of lines
603 // access, so if the user code may estimate the average height
604 // better/faster than we do, it should override this function to implement
605 // its own logic
606 //
607 // this function should return the best guess for the total height it may
608 // make
609 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
610
611
612 // Also expose some other interesting protected methods
613
614
615 // find the index of the line we need to show at the top of the window such
616 // that the last (fully or partially) visible line is the given one
617 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
618 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
619
620 // get the total height of the lines between lineMin (inclusive) and
621 // lineMax (exclusive)
622 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
623 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
624
625
626 PYPRIVATE;
627 };
628
629 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
630
631 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
632 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
633 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
634
635
636 SWIGSTATICINLINE(unsigned long)
637 SWIG_AsUnsignedLong(PyObject * obj)
638 {
639 if (PyLong_Check(obj)) {
640 return PyLong_AsUnsignedLong(obj);
641 } else {
642 long i = SWIG_AsLong(obj);
643 if ( !PyErr_Occurred() && (i < 0)) {
644 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
645 }
646 return i;
647 }
648 }
649
650
651 SWIGSTATICINLINE(int)
652 SWIG_CheckUnsignedLong(PyObject* obj)
653 {
654 SWIG_AsUnsignedLong(obj);
655 if (PyErr_Occurred()) {
656 PyErr_Clear();
657 return 0;
658 } else {
659 return 1;
660 }
661 }
662
663
664 SWIGSTATICINLINE(PyObject* )
665 SWIG_FromUnsignedLong(unsigned long value)
666 {
667 return (value > LONG_MAX) ?
668 PyLong_FromUnsignedLong(value)
669 : PyInt_FromLong(swig_numeric_cast(long,value));
670 }
671
672
673 #include <wx/vlbox.h>
674
675 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
676
677 class wxPyVListBox : public wxVListBox
678 {
679 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
680 public:
681 wxPyVListBox() : wxVListBox() {}
682
683 wxPyVListBox(wxWindow *parent,
684 wxWindowID id = wxID_ANY,
685 const wxPoint& pos = wxDefaultPosition,
686 const wxSize& size = wxDefaultSize,
687 long style = 0,
688 const wxString& name = wxPyVListBoxNameStr)
689 : wxVListBox(parent, id, pos, size, style, name)
690 {}
691
692 // Overridable virtuals
693
694 // the derived class must implement this function to actually draw the item
695 // with the given index on the provided DC
696 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
697 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
698
699
700 // the derived class must implement this method to return the height of the
701 // specified item
702 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
703 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
704
705
706 // this method may be used to draw separators between the lines; note that
707 // the rectangle may be modified, typically to deflate it a bit before
708 // passing to OnDrawItem()
709 //
710 // the base class version doesn't do anything
711 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
712 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
713
714
715 // this method is used to draw the items background and, maybe, a border
716 // around it
717 //
718 // the base class version implements a reasonable default behaviour which
719 // consists in drawing the selected item with the standard background
720 // colour and drawing a border around the item if it is either selected or
721 // current
722 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
723 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
724
725
726 PYPRIVATE;
727 };
728
729 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
730
731 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
732 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
733 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
734 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
735
736
737 PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
738 unsigned long cookie = 0;
739 int selected = self->GetFirstSelected(cookie);
740 bool blocked = wxPyBeginBlockThreads();
741 PyObject* tup = PyTuple_New(2);
742 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
743 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
744 wxPyEndBlockThreads(blocked);
745 return tup;
746 }
747 PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
748 int selected = self->GetNextSelected(cookie);
749 bool blocked = wxPyBeginBlockThreads();
750 PyObject* tup = PyTuple_New(2);
751 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
752 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
753 wxPyEndBlockThreads(blocked);
754 return tup;
755 }
756
757 #include <wx/htmllbox.h>
758
759
760 class wxPyHtmlListBox : public wxHtmlListBox
761 {
762 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
763 public:
764 wxPyHtmlListBox() : wxHtmlListBox() {}
765
766 wxPyHtmlListBox(wxWindow *parent,
767 wxWindowID id = wxID_ANY,
768 const wxPoint& pos = wxDefaultPosition,
769 const wxSize& size = wxDefaultSize,
770 long style = 0,
771 const wxString& name = wxPyVListBoxNameStr)
772 : wxHtmlListBox(parent, id, pos, size, style, name)
773 {}
774
775 // Overridable virtuals
776
777 // this method must be implemented in the derived class and should return
778 // the body (i.e. without <html>) of the HTML for the given item
779 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
780
781 // this function may be overridden to decorate HTML returned by OnGetItem()
782 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
783
784 // TODO:
785 // // this method allows to customize the selection appearance: it may be used
786 // // to specify the colour of the text which normally has the given colour
787 // // colFg when it is inside the selection
788 // //
789 // // by default, the original colour is not used at all and all text has the
790 // // same (default for this system) colour inside selection
791 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
792
793 // // this is the same as GetSelectedTextColour() but allows to customize the
794 // // background colour -- this is even more rarely used as you can change it
795 // // globally using SetSelectionBackground()
796 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
797
798
799 PYPRIVATE;
800 };
801
802
803 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
804
805 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
806 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
807
808
809
810
811
812 #ifdef __WXMAC__
813 // implement dummy classes and such for wxMac
814
815 class wxTaskBarIcon : public wxEvtHandler
816 {
817 public:
818 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
819 };
820
821
822 class wxTaskBarIconEvent : public wxEvent
823 {
824 public:
825 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
826 { wxPyRaiseNotImplemented(); }
827 virtual wxEvent* Clone() const { return NULL; }
828 };
829
830 enum {
831 wxEVT_TASKBAR_MOVE = 0,
832 wxEVT_TASKBAR_LEFT_DOWN = 0,
833 wxEVT_TASKBAR_LEFT_UP = 0,
834 wxEVT_TASKBAR_RIGHT_DOWN = 0,
835 wxEVT_TASKBAR_RIGHT_UP = 0,
836 wxEVT_TASKBAR_LEFT_DCLICK = 0,
837 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
838 };
839
840
841 #else
842 // // Otherwise make a class that can virtualize CreatePopupMenu
843 // class wxPyTaskBarIcon : public wxTaskBarIcon
844 // {
845 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
846 // public:
847 // wxPyTaskBarIcon() : wxTaskBarIcon()
848 // {}
849
850 // wxMenu* CreatePopupMenu() {
851 // wxMenu *rval = NULL;
852 // bool found;
853 // bool blocked = wxPyBeginBlockThreads();
854 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
855 // PyObject* ro;
856 // wxMenu* ptr;
857 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
858 // if (ro) {
859 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
860 // rval = ptr;
861 // Py_DECREF(ro);
862 // }
863 // }
864 // wxPyEndBlockThreads(blocked);
865 // if (! found)
866 // rval = wxTaskBarIcon::CreatePopupMenu();
867 // return rval;
868 // }
869
870 // PYPRIVATE;
871 // };
872
873 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
874
875 #endif
876
877 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
878
879 self->RemoveIcon();
880
881 }
882 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
883 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
884 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
885 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
886 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
887 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
888 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
889 wxArrayString arr;
890 self->GetFilenames(arr);
891 return wxArrayString2PyList_helper(arr);
892 }
893 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
894 wxArrayString arr;
895 self->GetPaths(arr);
896 return wxArrayString2PyList_helper(arr);
897 }
898 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
899 return wxArrayInt2PyList_helper(self->GetSelections());
900 }
901 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
902 return new wxSingleChoiceDialog(parent, message, caption,
903 choices, choices_array, NULL, style, pos);
904 }
905
906 #include <wx/mdi.h>
907
908 // C++ version of Python aware wxWindow
909 class wxPyWindow : public wxWindow
910 {
911 DECLARE_DYNAMIC_CLASS(wxPyWindow)
912 public:
913 wxPyWindow() : wxWindow() {}
914 wxPyWindow(wxWindow* parent, const wxWindowID id,
915 const wxPoint& pos = wxDefaultPosition,
916 const wxSize& size = wxDefaultSize,
917 long style = 0,
918 const wxString& name = wxPyPanelNameStr)
919 : wxWindow(parent, id, pos, size, style, name) {}
920
921 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
922
923 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
924 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
925 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
926 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
927
928 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
929 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
930 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
931
932 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
933 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
934
935 DEC_PYCALLBACK__(InitDialog);
936 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
937 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
938 DEC_PYCALLBACK_BOOL_(Validate);
939
940 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
941 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
942 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
943
944 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
945 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
946
947 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
948 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
949 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
950
951 PYPRIVATE;
952 };
953
954 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
955
956 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
957 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
958 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
959 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
960
961 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
962 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
963 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
964
965 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
966 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
967
968 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
969 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
970 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
971 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
972
973 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
974 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
975 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
976
977 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
978 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
979
980 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
981 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
982 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
983
984
985 // C++ version of Python aware wxPanel
986 class wxPyPanel : public wxPanel
987 {
988 DECLARE_DYNAMIC_CLASS(wxPyPanel)
989 public:
990 wxPyPanel() : wxPanel() {}
991 wxPyPanel(wxWindow* parent, const wxWindowID id,
992 const wxPoint& pos = wxDefaultPosition,
993 const wxSize& size = wxDefaultSize,
994 long style = 0,
995 const wxString& name = wxPyPanelNameStr)
996 : wxPanel(parent, id, pos, size, style, name) {}
997
998 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
999
1000
1001 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1002 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1003 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1004 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1005
1006 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1007 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1008 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1009
1010 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1011 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1012
1013 DEC_PYCALLBACK__(InitDialog);
1014 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1015 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1016 DEC_PYCALLBACK_BOOL_(Validate);
1017
1018 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1019 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1020 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1021
1022 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1023 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1024
1025 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1026 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1027 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1028
1029 PYPRIVATE;
1030 };
1031
1032 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1033
1034 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1035 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1036 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1037 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1038
1039 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1040 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1041 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1042
1043 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1044 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1045
1046 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1047 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1048 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1049 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1050
1051 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1052 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1053 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1054
1055 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1056 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1057
1058 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1059 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1060 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1061
1062
1063 // C++ version of Python aware wxScrolledWindow
1064 class wxPyScrolledWindow : public wxScrolledWindow
1065 {
1066 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1067 public:
1068 wxPyScrolledWindow() : wxScrolledWindow() {}
1069 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1070 const wxPoint& pos = wxDefaultPosition,
1071 const wxSize& size = wxDefaultSize,
1072 long style = 0,
1073 const wxString& name = wxPyPanelNameStr)
1074 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1075
1076 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1077
1078 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1079 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1080 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1081 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1082
1083 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1084 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1085 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1086
1087 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1088 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1089
1090 DEC_PYCALLBACK__(InitDialog);
1091 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1092 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1093 DEC_PYCALLBACK_BOOL_(Validate);
1094
1095 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1096 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1097 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1098
1099 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1100 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1101
1102 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1103 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1104 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1105
1106 PYPRIVATE;
1107 };
1108
1109 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1110
1111 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1112 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1113 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1114 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1115
1116 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1117 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1118 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1119
1120 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1121 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1122
1123 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1124 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1125 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1126 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1127
1128 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1129 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1130 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1131
1132 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1133 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1134
1135 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1136 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1137 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1138
1139
1140
1141 #include "wx/wxPython/printfw.h"
1142
1143
1144 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1145 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1146
1147
1148
1149 // Since this one would be tough and ugly to do with the Macros...
1150 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1151 bool hadErr = False;
1152 bool found;
1153
1154 bool blocked = wxPyBeginBlockThreads();
1155 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1156 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1157 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1158 PyObject* val;
1159
1160 val = PyTuple_GetItem(result, 0);
1161 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1162 else hadErr = True;
1163
1164 val = PyTuple_GetItem(result, 1);
1165 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1166 else hadErr = True;
1167
1168 val = PyTuple_GetItem(result, 2);
1169 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1170 else hadErr = True;
1171
1172 val = PyTuple_GetItem(result, 3);
1173 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1174 else hadErr = True;
1175 }
1176 else
1177 hadErr = True;
1178
1179 if (hadErr) {
1180 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1181 PyErr_Print();
1182 }
1183 Py_DECREF(result);
1184 }
1185 wxPyEndBlockThreads(blocked);
1186 if (! found)
1187 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1188 }
1189
1190 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1191 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1192 }
1193
1194
1195 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1196 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1197 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1198 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1199 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1200 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1201 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1202
1203
1204
1205
1206
1207 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1208 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1209 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1210
1211
1212 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1213 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1214 bool rval=False; \
1215 bool found; \
1216 bool blocked = wxPyBeginBlockThreads(); \
1217 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1218 PyObject* win = wxPyMake_wxObject(a,false); \
1219 PyObject* dc = wxPyMake_wxObject(&b,false); \
1220 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1221 Py_DECREF(win); \
1222 Py_DECREF(dc); \
1223 } \
1224 wxPyEndBlockThreads(blocked); \
1225 if (! found) \
1226 rval = PCLASS::CBNAME(a, b); \
1227 return rval; \
1228 } \
1229 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1230 return PCLASS::CBNAME(a, b); \
1231 }
1232
1233
1234
1235
1236 class wxPyPrintPreview : public wxPrintPreview
1237 {
1238 DECLARE_CLASS(wxPyPrintPreview)
1239 public:
1240 wxPyPrintPreview(wxPyPrintout* printout,
1241 wxPyPrintout* printoutForPrinting,
1242 wxPrintDialogData* data=NULL)
1243 : wxPrintPreview(printout, printoutForPrinting, data)
1244 {}
1245 wxPyPrintPreview(wxPyPrintout* printout,
1246 wxPyPrintout* printoutForPrinting,
1247 wxPrintData* data=NULL)
1248 : wxPrintPreview(printout, printoutForPrinting, data)
1249 {}
1250
1251 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1252 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1253 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1254 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1255 DEC_PYCALLBACK_VOID_INT(SetZoom);
1256 DEC_PYCALLBACK_BOOL_BOOL(Print);
1257 DEC_PYCALLBACK_VOID_(DetermineScaling);
1258
1259 PYPRIVATE;
1260 };
1261
1262 // Stupid renamed classes... Fix this in 2.5...
1263 #if defined(__WXMSW__)
1264 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1265 #elif defined(__WXMAC__)
1266 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1267 #else
1268 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1269 #endif
1270
1271 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1272 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1273 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1274 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1275 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1276 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1277 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1278
1279
1280 class wxPyPreviewFrame : public wxPreviewFrame
1281 {
1282 DECLARE_CLASS(wxPyPreviewFrame);
1283 public:
1284 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1285 const wxString& title,
1286 const wxPoint& pos = wxDefaultPosition,
1287 const wxSize& size = wxDefaultSize,
1288 long style = wxDEFAULT_FRAME_STYLE,
1289 const wxString& name = wxPyFrameNameStr)
1290 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1291 {}
1292
1293 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1294 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1295
1296 DEC_PYCALLBACK_VOID_(Initialize);
1297 DEC_PYCALLBACK_VOID_(CreateCanvas);
1298 DEC_PYCALLBACK_VOID_(CreateControlBar);
1299
1300 PYPRIVATE;
1301 };
1302
1303 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1304
1305 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1306 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1307 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1308
1309
1310 class wxPyPreviewControlBar : public wxPreviewControlBar
1311 {
1312 DECLARE_CLASS(wxPyPreviewControlBar);
1313 public:
1314 wxPyPreviewControlBar(wxPrintPreview *preview,
1315 long buttons,
1316 wxWindow *parent,
1317 const wxPoint& pos = wxDefaultPosition,
1318 const wxSize& size = wxDefaultSize,
1319 long style = 0,
1320 const wxString& name = wxPyPanelNameStr)
1321 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1322 {}
1323
1324 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1325
1326 DEC_PYCALLBACK_VOID_(CreateButtons);
1327 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1328
1329 PYPRIVATE;
1330 };
1331
1332 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1333 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1334 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1335
1336 #ifdef __cplusplus
1337 extern "C" {
1338 #endif
1339 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1340 PyObject *resultobj;
1341 wxWindow *arg1 = (wxWindow *) 0 ;
1342 int arg2 = (int) (int)-1 ;
1343 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1344 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1345 wxSize const &arg4_defvalue = wxDefaultSize ;
1346 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1347 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1348 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1349 wxString *arg6 = (wxString *) &arg6_defvalue ;
1350 wxPanel *result;
1351 wxPoint temp3 ;
1352 wxSize temp4 ;
1353 bool temp6 = False ;
1354 PyObject * obj0 = 0 ;
1355 PyObject * obj1 = 0 ;
1356 PyObject * obj2 = 0 ;
1357 PyObject * obj3 = 0 ;
1358 PyObject * obj4 = 0 ;
1359 PyObject * obj5 = 0 ;
1360 char *kwnames[] = {
1361 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1362 };
1363
1364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1367 if (obj1) {
1368 arg2 = (int const) SWIG_AsInt(obj1);
1369 if (PyErr_Occurred()) SWIG_fail;
1370 }
1371 if (obj2) {
1372 {
1373 arg3 = &temp3;
1374 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1375 }
1376 }
1377 if (obj3) {
1378 {
1379 arg4 = &temp4;
1380 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1381 }
1382 }
1383 if (obj4) {
1384 arg5 = (long) SWIG_AsLong(obj4);
1385 if (PyErr_Occurred()) SWIG_fail;
1386 }
1387 if (obj5) {
1388 {
1389 arg6 = wxString_in_helper(obj5);
1390 if (arg6 == NULL) SWIG_fail;
1391 temp6 = True;
1392 }
1393 }
1394 {
1395 if (!wxPyCheckForApp()) SWIG_fail;
1396 PyThreadState* __tstate = wxPyBeginAllowThreads();
1397 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1398
1399 wxPyEndAllowThreads(__tstate);
1400 if (PyErr_Occurred()) SWIG_fail;
1401 }
1402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1403 {
1404 if (temp6)
1405 delete arg6;
1406 }
1407 return resultobj;
1408 fail:
1409 {
1410 if (temp6)
1411 delete arg6;
1412 }
1413 return NULL;
1414 }
1415
1416
1417 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1418 PyObject *resultobj;
1419 wxPanel *result;
1420 char *kwnames[] = {
1421 NULL
1422 };
1423
1424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1425 {
1426 if (!wxPyCheckForApp()) SWIG_fail;
1427 PyThreadState* __tstate = wxPyBeginAllowThreads();
1428 result = (wxPanel *)new wxPanel();
1429
1430 wxPyEndAllowThreads(__tstate);
1431 if (PyErr_Occurred()) SWIG_fail;
1432 }
1433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1434 return resultobj;
1435 fail:
1436 return NULL;
1437 }
1438
1439
1440 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1441 PyObject *resultobj;
1442 wxPanel *arg1 = (wxPanel *) 0 ;
1443 wxWindow *arg2 = (wxWindow *) 0 ;
1444 int arg3 = (int) (int)-1 ;
1445 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1446 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1447 wxSize const &arg5_defvalue = wxDefaultSize ;
1448 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1449 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1450 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1451 wxString *arg7 = (wxString *) &arg7_defvalue ;
1452 bool result;
1453 wxPoint temp4 ;
1454 wxSize temp5 ;
1455 bool temp7 = False ;
1456 PyObject * obj0 = 0 ;
1457 PyObject * obj1 = 0 ;
1458 PyObject * obj2 = 0 ;
1459 PyObject * obj3 = 0 ;
1460 PyObject * obj4 = 0 ;
1461 PyObject * obj5 = 0 ;
1462 PyObject * obj6 = 0 ;
1463 char *kwnames[] = {
1464 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1465 };
1466
1467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1470 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1472 if (obj2) {
1473 arg3 = (int const) SWIG_AsInt(obj2);
1474 if (PyErr_Occurred()) SWIG_fail;
1475 }
1476 if (obj3) {
1477 {
1478 arg4 = &temp4;
1479 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1480 }
1481 }
1482 if (obj4) {
1483 {
1484 arg5 = &temp5;
1485 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1486 }
1487 }
1488 if (obj5) {
1489 arg6 = (long) SWIG_AsLong(obj5);
1490 if (PyErr_Occurred()) SWIG_fail;
1491 }
1492 if (obj6) {
1493 {
1494 arg7 = wxString_in_helper(obj6);
1495 if (arg7 == NULL) SWIG_fail;
1496 temp7 = True;
1497 }
1498 }
1499 {
1500 PyThreadState* __tstate = wxPyBeginAllowThreads();
1501 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1502
1503 wxPyEndAllowThreads(__tstate);
1504 if (PyErr_Occurred()) SWIG_fail;
1505 }
1506 {
1507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1508 }
1509 {
1510 if (temp7)
1511 delete arg7;
1512 }
1513 return resultobj;
1514 fail:
1515 {
1516 if (temp7)
1517 delete arg7;
1518 }
1519 return NULL;
1520 }
1521
1522
1523 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1524 PyObject *resultobj;
1525 wxPanel *arg1 = (wxPanel *) 0 ;
1526 PyObject * obj0 = 0 ;
1527 char *kwnames[] = {
1528 (char *) "self", NULL
1529 };
1530
1531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1534 {
1535 PyThreadState* __tstate = wxPyBeginAllowThreads();
1536 (arg1)->InitDialog();
1537
1538 wxPyEndAllowThreads(__tstate);
1539 if (PyErr_Occurred()) SWIG_fail;
1540 }
1541 Py_INCREF(Py_None); resultobj = Py_None;
1542 return resultobj;
1543 fail:
1544 return NULL;
1545 }
1546
1547
1548 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1549 PyObject *resultobj;
1550 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1551 wxVisualAttributes result;
1552 PyObject * obj0 = 0 ;
1553 char *kwnames[] = {
1554 (char *) "variant", NULL
1555 };
1556
1557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1558 if (obj0) {
1559 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1560 if (PyErr_Occurred()) SWIG_fail;
1561 }
1562 {
1563 if (!wxPyCheckForApp()) SWIG_fail;
1564 PyThreadState* __tstate = wxPyBeginAllowThreads();
1565 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1566
1567 wxPyEndAllowThreads(__tstate);
1568 if (PyErr_Occurred()) SWIG_fail;
1569 }
1570 {
1571 wxVisualAttributes * resultptr;
1572 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1574 }
1575 return resultobj;
1576 fail:
1577 return NULL;
1578 }
1579
1580
1581 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1582 PyObject *obj;
1583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1584 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1585 Py_INCREF(obj);
1586 return Py_BuildValue((char *)"");
1587 }
1588 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1589 PyObject *resultobj;
1590 wxWindow *arg1 = (wxWindow *) 0 ;
1591 int arg2 = (int) (int)-1 ;
1592 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1593 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1594 wxSize const &arg4_defvalue = wxDefaultSize ;
1595 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1596 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1597 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1598 wxString *arg6 = (wxString *) &arg6_defvalue ;
1599 wxScrolledWindow *result;
1600 wxPoint temp3 ;
1601 wxSize temp4 ;
1602 bool temp6 = False ;
1603 PyObject * obj0 = 0 ;
1604 PyObject * obj1 = 0 ;
1605 PyObject * obj2 = 0 ;
1606 PyObject * obj3 = 0 ;
1607 PyObject * obj4 = 0 ;
1608 PyObject * obj5 = 0 ;
1609 char *kwnames[] = {
1610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1611 };
1612
1613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1616 if (obj1) {
1617 arg2 = (int const) SWIG_AsInt(obj1);
1618 if (PyErr_Occurred()) SWIG_fail;
1619 }
1620 if (obj2) {
1621 {
1622 arg3 = &temp3;
1623 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1624 }
1625 }
1626 if (obj3) {
1627 {
1628 arg4 = &temp4;
1629 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1630 }
1631 }
1632 if (obj4) {
1633 arg5 = (long) SWIG_AsLong(obj4);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 if (obj5) {
1637 {
1638 arg6 = wxString_in_helper(obj5);
1639 if (arg6 == NULL) SWIG_fail;
1640 temp6 = True;
1641 }
1642 }
1643 {
1644 if (!wxPyCheckForApp()) SWIG_fail;
1645 PyThreadState* __tstate = wxPyBeginAllowThreads();
1646 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1647
1648 wxPyEndAllowThreads(__tstate);
1649 if (PyErr_Occurred()) SWIG_fail;
1650 }
1651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1652 {
1653 if (temp6)
1654 delete arg6;
1655 }
1656 return resultobj;
1657 fail:
1658 {
1659 if (temp6)
1660 delete arg6;
1661 }
1662 return NULL;
1663 }
1664
1665
1666 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1667 PyObject *resultobj;
1668 wxScrolledWindow *result;
1669 char *kwnames[] = {
1670 NULL
1671 };
1672
1673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1674 {
1675 if (!wxPyCheckForApp()) SWIG_fail;
1676 PyThreadState* __tstate = wxPyBeginAllowThreads();
1677 result = (wxScrolledWindow *)new wxScrolledWindow();
1678
1679 wxPyEndAllowThreads(__tstate);
1680 if (PyErr_Occurred()) SWIG_fail;
1681 }
1682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1683 return resultobj;
1684 fail:
1685 return NULL;
1686 }
1687
1688
1689 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1690 PyObject *resultobj;
1691 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1692 wxWindow *arg2 = (wxWindow *) 0 ;
1693 int arg3 = (int) (int)-1 ;
1694 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1695 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1696 wxSize const &arg5_defvalue = wxDefaultSize ;
1697 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1698 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1699 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1700 wxString *arg7 = (wxString *) &arg7_defvalue ;
1701 bool result;
1702 wxPoint temp4 ;
1703 wxSize temp5 ;
1704 bool temp7 = False ;
1705 PyObject * obj0 = 0 ;
1706 PyObject * obj1 = 0 ;
1707 PyObject * obj2 = 0 ;
1708 PyObject * obj3 = 0 ;
1709 PyObject * obj4 = 0 ;
1710 PyObject * obj5 = 0 ;
1711 PyObject * obj6 = 0 ;
1712 char *kwnames[] = {
1713 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1714 };
1715
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1721 if (obj2) {
1722 arg3 = (int const) SWIG_AsInt(obj2);
1723 if (PyErr_Occurred()) SWIG_fail;
1724 }
1725 if (obj3) {
1726 {
1727 arg4 = &temp4;
1728 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1729 }
1730 }
1731 if (obj4) {
1732 {
1733 arg5 = &temp5;
1734 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1735 }
1736 }
1737 if (obj5) {
1738 arg6 = (long) SWIG_AsLong(obj5);
1739 if (PyErr_Occurred()) SWIG_fail;
1740 }
1741 if (obj6) {
1742 {
1743 arg7 = wxString_in_helper(obj6);
1744 if (arg7 == NULL) SWIG_fail;
1745 temp7 = True;
1746 }
1747 }
1748 {
1749 PyThreadState* __tstate = wxPyBeginAllowThreads();
1750 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1751
1752 wxPyEndAllowThreads(__tstate);
1753 if (PyErr_Occurred()) SWIG_fail;
1754 }
1755 {
1756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1757 }
1758 {
1759 if (temp7)
1760 delete arg7;
1761 }
1762 return resultobj;
1763 fail:
1764 {
1765 if (temp7)
1766 delete arg7;
1767 }
1768 return NULL;
1769 }
1770
1771
1772 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1773 PyObject *resultobj;
1774 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1775 int arg2 ;
1776 int arg3 ;
1777 int arg4 ;
1778 int arg5 ;
1779 int arg6 = (int) 0 ;
1780 int arg7 = (int) 0 ;
1781 bool arg8 = (bool) False ;
1782 PyObject * obj0 = 0 ;
1783 PyObject * obj1 = 0 ;
1784 PyObject * obj2 = 0 ;
1785 PyObject * obj3 = 0 ;
1786 PyObject * obj4 = 0 ;
1787 PyObject * obj5 = 0 ;
1788 PyObject * obj6 = 0 ;
1789 PyObject * obj7 = 0 ;
1790 char *kwnames[] = {
1791 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1792 };
1793
1794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1797 arg2 = (int) SWIG_AsInt(obj1);
1798 if (PyErr_Occurred()) SWIG_fail;
1799 arg3 = (int) SWIG_AsInt(obj2);
1800 if (PyErr_Occurred()) SWIG_fail;
1801 arg4 = (int) SWIG_AsInt(obj3);
1802 if (PyErr_Occurred()) SWIG_fail;
1803 arg5 = (int) SWIG_AsInt(obj4);
1804 if (PyErr_Occurred()) SWIG_fail;
1805 if (obj5) {
1806 arg6 = (int) SWIG_AsInt(obj5);
1807 if (PyErr_Occurred()) SWIG_fail;
1808 }
1809 if (obj6) {
1810 arg7 = (int) SWIG_AsInt(obj6);
1811 if (PyErr_Occurred()) SWIG_fail;
1812 }
1813 if (obj7) {
1814 arg8 = (bool) SWIG_AsBool(obj7);
1815 if (PyErr_Occurred()) SWIG_fail;
1816 }
1817 {
1818 PyThreadState* __tstate = wxPyBeginAllowThreads();
1819 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1820
1821 wxPyEndAllowThreads(__tstate);
1822 if (PyErr_Occurred()) SWIG_fail;
1823 }
1824 Py_INCREF(Py_None); resultobj = Py_None;
1825 return resultobj;
1826 fail:
1827 return NULL;
1828 }
1829
1830
1831 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1832 PyObject *resultobj;
1833 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1834 int arg2 ;
1835 int arg3 ;
1836 PyObject * obj0 = 0 ;
1837 PyObject * obj1 = 0 ;
1838 PyObject * obj2 = 0 ;
1839 char *kwnames[] = {
1840 (char *) "self",(char *) "x",(char *) "y", NULL
1841 };
1842
1843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1846 arg2 = (int) SWIG_AsInt(obj1);
1847 if (PyErr_Occurred()) SWIG_fail;
1848 arg3 = (int) SWIG_AsInt(obj2);
1849 if (PyErr_Occurred()) SWIG_fail;
1850 {
1851 PyThreadState* __tstate = wxPyBeginAllowThreads();
1852 (arg1)->Scroll(arg2,arg3);
1853
1854 wxPyEndAllowThreads(__tstate);
1855 if (PyErr_Occurred()) SWIG_fail;
1856 }
1857 Py_INCREF(Py_None); resultobj = Py_None;
1858 return resultobj;
1859 fail:
1860 return NULL;
1861 }
1862
1863
1864 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1865 PyObject *resultobj;
1866 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1867 int arg2 ;
1868 int result;
1869 PyObject * obj0 = 0 ;
1870 PyObject * obj1 = 0 ;
1871 char *kwnames[] = {
1872 (char *) "self",(char *) "orient", NULL
1873 };
1874
1875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1878 arg2 = (int) SWIG_AsInt(obj1);
1879 if (PyErr_Occurred()) SWIG_fail;
1880 {
1881 PyThreadState* __tstate = wxPyBeginAllowThreads();
1882 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1883
1884 wxPyEndAllowThreads(__tstate);
1885 if (PyErr_Occurred()) SWIG_fail;
1886 }
1887 resultobj = SWIG_FromInt((int)result);
1888 return resultobj;
1889 fail:
1890 return NULL;
1891 }
1892
1893
1894 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1895 PyObject *resultobj;
1896 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1897 int arg2 ;
1898 int arg3 ;
1899 PyObject * obj0 = 0 ;
1900 PyObject * obj1 = 0 ;
1901 PyObject * obj2 = 0 ;
1902 char *kwnames[] = {
1903 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1904 };
1905
1906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",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 = (int) SWIG_AsInt(obj1);
1910 if (PyErr_Occurred()) SWIG_fail;
1911 arg3 = (int) SWIG_AsInt(obj2);
1912 if (PyErr_Occurred()) SWIG_fail;
1913 {
1914 PyThreadState* __tstate = wxPyBeginAllowThreads();
1915 (arg1)->SetScrollPageSize(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_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1928 PyObject *resultobj;
1929 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1930 int arg2 ;
1931 int arg3 ;
1932 PyObject * obj0 = 0 ;
1933 PyObject * obj1 = 0 ;
1934 PyObject * obj2 = 0 ;
1935 char *kwnames[] = {
1936 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1937 };
1938
1939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1942 arg2 = (int) SWIG_AsInt(obj1);
1943 if (PyErr_Occurred()) SWIG_fail;
1944 arg3 = (int) SWIG_AsInt(obj2);
1945 if (PyErr_Occurred()) SWIG_fail;
1946 {
1947 PyThreadState* __tstate = wxPyBeginAllowThreads();
1948 (arg1)->SetScrollRate(arg2,arg3);
1949
1950 wxPyEndAllowThreads(__tstate);
1951 if (PyErr_Occurred()) SWIG_fail;
1952 }
1953 Py_INCREF(Py_None); resultobj = Py_None;
1954 return resultobj;
1955 fail:
1956 return NULL;
1957 }
1958
1959
1960 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1961 PyObject *resultobj;
1962 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1963 int *arg2 = (int *) 0 ;
1964 int *arg3 = (int *) 0 ;
1965 int temp2 ;
1966 int temp3 ;
1967 PyObject * obj0 = 0 ;
1968 char *kwnames[] = {
1969 (char *) "self", NULL
1970 };
1971
1972 arg2 = &temp2;
1973 arg3 = &temp3;
1974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1977 {
1978 PyThreadState* __tstate = wxPyBeginAllowThreads();
1979 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1980
1981 wxPyEndAllowThreads(__tstate);
1982 if (PyErr_Occurred()) SWIG_fail;
1983 }
1984 Py_INCREF(Py_None); resultobj = Py_None;
1985 {
1986 PyObject *o = PyInt_FromLong((long) (*arg2));
1987 resultobj = t_output_helper(resultobj,o);
1988 }
1989 {
1990 PyObject *o = PyInt_FromLong((long) (*arg3));
1991 resultobj = t_output_helper(resultobj,o);
1992 }
1993 return resultobj;
1994 fail:
1995 return NULL;
1996 }
1997
1998
1999 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
2000 PyObject *resultobj;
2001 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2002 bool arg2 ;
2003 bool arg3 ;
2004 PyObject * obj0 = 0 ;
2005 PyObject * obj1 = 0 ;
2006 PyObject * obj2 = 0 ;
2007 char *kwnames[] = {
2008 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2009 };
2010
2011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2014 arg2 = (bool) SWIG_AsBool(obj1);
2015 if (PyErr_Occurred()) SWIG_fail;
2016 arg3 = (bool) SWIG_AsBool(obj2);
2017 if (PyErr_Occurred()) SWIG_fail;
2018 {
2019 PyThreadState* __tstate = wxPyBeginAllowThreads();
2020 (arg1)->EnableScrolling(arg2,arg3);
2021
2022 wxPyEndAllowThreads(__tstate);
2023 if (PyErr_Occurred()) SWIG_fail;
2024 }
2025 Py_INCREF(Py_None); resultobj = Py_None;
2026 return resultobj;
2027 fail:
2028 return NULL;
2029 }
2030
2031
2032 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
2033 PyObject *resultobj;
2034 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2035 int *arg2 = (int *) 0 ;
2036 int *arg3 = (int *) 0 ;
2037 int temp2 ;
2038 int temp3 ;
2039 PyObject * obj0 = 0 ;
2040 char *kwnames[] = {
2041 (char *) "self", NULL
2042 };
2043
2044 arg2 = &temp2;
2045 arg3 = &temp3;
2046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2049 {
2050 PyThreadState* __tstate = wxPyBeginAllowThreads();
2051 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2052
2053 wxPyEndAllowThreads(__tstate);
2054 if (PyErr_Occurred()) SWIG_fail;
2055 }
2056 Py_INCREF(Py_None); resultobj = Py_None;
2057 {
2058 PyObject *o = PyInt_FromLong((long) (*arg2));
2059 resultobj = t_output_helper(resultobj,o);
2060 }
2061 {
2062 PyObject *o = PyInt_FromLong((long) (*arg3));
2063 resultobj = t_output_helper(resultobj,o);
2064 }
2065 return resultobj;
2066 fail:
2067 return NULL;
2068 }
2069
2070
2071 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
2072 PyObject *resultobj;
2073 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2074 double arg2 ;
2075 double arg3 ;
2076 PyObject * obj0 = 0 ;
2077 PyObject * obj1 = 0 ;
2078 PyObject * obj2 = 0 ;
2079 char *kwnames[] = {
2080 (char *) "self",(char *) "xs",(char *) "ys", NULL
2081 };
2082
2083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2086 arg2 = (double) SWIG_AsDouble(obj1);
2087 if (PyErr_Occurred()) SWIG_fail;
2088 arg3 = (double) SWIG_AsDouble(obj2);
2089 if (PyErr_Occurred()) SWIG_fail;
2090 {
2091 PyThreadState* __tstate = wxPyBeginAllowThreads();
2092 (arg1)->SetScale(arg2,arg3);
2093
2094 wxPyEndAllowThreads(__tstate);
2095 if (PyErr_Occurred()) SWIG_fail;
2096 }
2097 Py_INCREF(Py_None); resultobj = Py_None;
2098 return resultobj;
2099 fail:
2100 return NULL;
2101 }
2102
2103
2104 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2105 PyObject *resultobj;
2106 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2107 double result;
2108 PyObject * obj0 = 0 ;
2109 char *kwnames[] = {
2110 (char *) "self", NULL
2111 };
2112
2113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 resultobj = SWIG_FromDouble((double)result);
2124 return resultobj;
2125 fail:
2126 return NULL;
2127 }
2128
2129
2130 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2131 PyObject *resultobj;
2132 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2133 double result;
2134 PyObject * obj0 = 0 ;
2135 char *kwnames[] = {
2136 (char *) "self", NULL
2137 };
2138
2139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2142 {
2143 PyThreadState* __tstate = wxPyBeginAllowThreads();
2144 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2145
2146 wxPyEndAllowThreads(__tstate);
2147 if (PyErr_Occurred()) SWIG_fail;
2148 }
2149 resultobj = SWIG_FromDouble((double)result);
2150 return resultobj;
2151 fail:
2152 return NULL;
2153 }
2154
2155
2156 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2157 PyObject *resultobj;
2158 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2159 wxPoint *arg2 = 0 ;
2160 wxPoint result;
2161 wxPoint temp2 ;
2162 PyObject * obj0 = 0 ;
2163 PyObject * obj1 = 0 ;
2164
2165 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2168 {
2169 arg2 = &temp2;
2170 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2171 }
2172 {
2173 PyThreadState* __tstate = wxPyBeginAllowThreads();
2174 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2175
2176 wxPyEndAllowThreads(__tstate);
2177 if (PyErr_Occurred()) SWIG_fail;
2178 }
2179 {
2180 wxPoint * resultptr;
2181 resultptr = new wxPoint((wxPoint &) result);
2182 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2183 }
2184 return resultobj;
2185 fail:
2186 return NULL;
2187 }
2188
2189
2190 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2191 PyObject *resultobj;
2192 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2193 int arg2 ;
2194 int arg3 ;
2195 int *arg4 = (int *) 0 ;
2196 int *arg5 = (int *) 0 ;
2197 int temp4 ;
2198 int temp5 ;
2199 PyObject * obj0 = 0 ;
2200 PyObject * obj1 = 0 ;
2201 PyObject * obj2 = 0 ;
2202
2203 arg4 = &temp4;
2204 arg5 = &temp5;
2205 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2208 arg2 = (int) SWIG_AsInt(obj1);
2209 if (PyErr_Occurred()) SWIG_fail;
2210 arg3 = (int) SWIG_AsInt(obj2);
2211 if (PyErr_Occurred()) SWIG_fail;
2212 {
2213 PyThreadState* __tstate = wxPyBeginAllowThreads();
2214 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2215
2216 wxPyEndAllowThreads(__tstate);
2217 if (PyErr_Occurred()) SWIG_fail;
2218 }
2219 Py_INCREF(Py_None); resultobj = Py_None;
2220 {
2221 PyObject *o = PyInt_FromLong((long) (*arg4));
2222 resultobj = t_output_helper(resultobj,o);
2223 }
2224 {
2225 PyObject *o = PyInt_FromLong((long) (*arg5));
2226 resultobj = t_output_helper(resultobj,o);
2227 }
2228 return resultobj;
2229 fail:
2230 return NULL;
2231 }
2232
2233
2234 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2235 int argc;
2236 PyObject *argv[4];
2237 int ii;
2238
2239 argc = PyObject_Length(args);
2240 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2241 argv[ii] = PyTuple_GetItem(args,ii);
2242 }
2243 if (argc == 2) {
2244 int _v;
2245 {
2246 void *ptr;
2247 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2248 _v = 0;
2249 PyErr_Clear();
2250 } else {
2251 _v = 1;
2252 }
2253 }
2254 if (_v) {
2255 {
2256 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2257 }
2258 if (_v) {
2259 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2260 }
2261 }
2262 }
2263 if (argc == 3) {
2264 int _v;
2265 {
2266 void *ptr;
2267 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2268 _v = 0;
2269 PyErr_Clear();
2270 } else {
2271 _v = 1;
2272 }
2273 }
2274 if (_v) {
2275 _v = SWIG_CheckInt(argv[1]);
2276 if (_v) {
2277 _v = SWIG_CheckInt(argv[2]);
2278 if (_v) {
2279 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2280 }
2281 }
2282 }
2283 }
2284
2285 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2286 return NULL;
2287 }
2288
2289
2290 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2291 PyObject *resultobj;
2292 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2293 wxPoint *arg2 = 0 ;
2294 wxPoint result;
2295 wxPoint temp2 ;
2296 PyObject * obj0 = 0 ;
2297 PyObject * obj1 = 0 ;
2298
2299 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2302 {
2303 arg2 = &temp2;
2304 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2305 }
2306 {
2307 PyThreadState* __tstate = wxPyBeginAllowThreads();
2308 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2309
2310 wxPyEndAllowThreads(__tstate);
2311 if (PyErr_Occurred()) SWIG_fail;
2312 }
2313 {
2314 wxPoint * resultptr;
2315 resultptr = new wxPoint((wxPoint &) result);
2316 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2317 }
2318 return resultobj;
2319 fail:
2320 return NULL;
2321 }
2322
2323
2324 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2325 PyObject *resultobj;
2326 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2327 int arg2 ;
2328 int arg3 ;
2329 int *arg4 = (int *) 0 ;
2330 int *arg5 = (int *) 0 ;
2331 int temp4 ;
2332 int temp5 ;
2333 PyObject * obj0 = 0 ;
2334 PyObject * obj1 = 0 ;
2335 PyObject * obj2 = 0 ;
2336
2337 arg4 = &temp4;
2338 arg5 = &temp5;
2339 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2342 arg2 = (int) SWIG_AsInt(obj1);
2343 if (PyErr_Occurred()) SWIG_fail;
2344 arg3 = (int) SWIG_AsInt(obj2);
2345 if (PyErr_Occurred()) SWIG_fail;
2346 {
2347 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2349
2350 wxPyEndAllowThreads(__tstate);
2351 if (PyErr_Occurred()) SWIG_fail;
2352 }
2353 Py_INCREF(Py_None); resultobj = Py_None;
2354 {
2355 PyObject *o = PyInt_FromLong((long) (*arg4));
2356 resultobj = t_output_helper(resultobj,o);
2357 }
2358 {
2359 PyObject *o = PyInt_FromLong((long) (*arg5));
2360 resultobj = t_output_helper(resultobj,o);
2361 }
2362 return resultobj;
2363 fail:
2364 return NULL;
2365 }
2366
2367
2368 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2369 int argc;
2370 PyObject *argv[4];
2371 int ii;
2372
2373 argc = PyObject_Length(args);
2374 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2375 argv[ii] = PyTuple_GetItem(args,ii);
2376 }
2377 if (argc == 2) {
2378 int _v;
2379 {
2380 void *ptr;
2381 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2382 _v = 0;
2383 PyErr_Clear();
2384 } else {
2385 _v = 1;
2386 }
2387 }
2388 if (_v) {
2389 {
2390 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2391 }
2392 if (_v) {
2393 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2394 }
2395 }
2396 }
2397 if (argc == 3) {
2398 int _v;
2399 {
2400 void *ptr;
2401 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2402 _v = 0;
2403 PyErr_Clear();
2404 } else {
2405 _v = 1;
2406 }
2407 }
2408 if (_v) {
2409 _v = SWIG_CheckInt(argv[1]);
2410 if (_v) {
2411 _v = SWIG_CheckInt(argv[2]);
2412 if (_v) {
2413 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2414 }
2415 }
2416 }
2417 }
2418
2419 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2420 return NULL;
2421 }
2422
2423
2424 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2425 PyObject *resultobj;
2426 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2427 PyObject * obj0 = 0 ;
2428 char *kwnames[] = {
2429 (char *) "self", NULL
2430 };
2431
2432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2435 {
2436 PyThreadState* __tstate = wxPyBeginAllowThreads();
2437 (arg1)->AdjustScrollbars();
2438
2439 wxPyEndAllowThreads(__tstate);
2440 if (PyErr_Occurred()) SWIG_fail;
2441 }
2442 Py_INCREF(Py_None); resultobj = Py_None;
2443 return resultobj;
2444 fail:
2445 return NULL;
2446 }
2447
2448
2449 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2450 PyObject *resultobj;
2451 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2452 wxScrollWinEvent *arg2 = 0 ;
2453 int result;
2454 PyObject * obj0 = 0 ;
2455 PyObject * obj1 = 0 ;
2456 char *kwnames[] = {
2457 (char *) "self",(char *) "event", NULL
2458 };
2459
2460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2464 SWIG_POINTER_EXCEPTION | 0)) == -1)
2465 SWIG_fail;
2466 if (arg2 == NULL) {
2467 PyErr_SetString(PyExc_TypeError,"null reference");
2468 SWIG_fail;
2469 }
2470 {
2471 PyThreadState* __tstate = wxPyBeginAllowThreads();
2472 result = (int)(arg1)->CalcScrollInc(*arg2);
2473
2474 wxPyEndAllowThreads(__tstate);
2475 if (PyErr_Occurred()) SWIG_fail;
2476 }
2477 resultobj = SWIG_FromInt((int)result);
2478 return resultobj;
2479 fail:
2480 return NULL;
2481 }
2482
2483
2484 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2485 PyObject *resultobj;
2486 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2487 wxWindow *arg2 = (wxWindow *) 0 ;
2488 PyObject * obj0 = 0 ;
2489 PyObject * obj1 = 0 ;
2490 char *kwnames[] = {
2491 (char *) "self",(char *) "target", NULL
2492 };
2493
2494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2499 {
2500 PyThreadState* __tstate = wxPyBeginAllowThreads();
2501 (arg1)->SetTargetWindow(arg2);
2502
2503 wxPyEndAllowThreads(__tstate);
2504 if (PyErr_Occurred()) SWIG_fail;
2505 }
2506 Py_INCREF(Py_None); resultobj = Py_None;
2507 return resultobj;
2508 fail:
2509 return NULL;
2510 }
2511
2512
2513 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2514 PyObject *resultobj;
2515 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2516 wxWindow *result;
2517 PyObject * obj0 = 0 ;
2518 char *kwnames[] = {
2519 (char *) "self", NULL
2520 };
2521
2522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2525 {
2526 PyThreadState* __tstate = wxPyBeginAllowThreads();
2527 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2528
2529 wxPyEndAllowThreads(__tstate);
2530 if (PyErr_Occurred()) SWIG_fail;
2531 }
2532 {
2533 resultobj = wxPyMake_wxObject(result, 0);
2534 }
2535 return resultobj;
2536 fail:
2537 return NULL;
2538 }
2539
2540
2541 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
2542 PyObject *resultobj;
2543 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2544 wxDC *arg2 = 0 ;
2545 PyObject * obj0 = 0 ;
2546 PyObject * obj1 = 0 ;
2547 char *kwnames[] = {
2548 (char *) "self",(char *) "dc", NULL
2549 };
2550
2551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
2552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2554 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
2555 SWIG_POINTER_EXCEPTION | 0)) == -1)
2556 SWIG_fail;
2557 if (arg2 == NULL) {
2558 PyErr_SetString(PyExc_TypeError,"null reference");
2559 SWIG_fail;
2560 }
2561 {
2562 PyThreadState* __tstate = wxPyBeginAllowThreads();
2563 (arg1)->DoPrepareDC(*arg2);
2564
2565 wxPyEndAllowThreads(__tstate);
2566 if (PyErr_Occurred()) SWIG_fail;
2567 }
2568 Py_INCREF(Py_None); resultobj = Py_None;
2569 return resultobj;
2570 fail:
2571 return NULL;
2572 }
2573
2574
2575 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2576 PyObject *resultobj;
2577 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2578 wxVisualAttributes result;
2579 PyObject * obj0 = 0 ;
2580 char *kwnames[] = {
2581 (char *) "variant", NULL
2582 };
2583
2584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2585 if (obj0) {
2586 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2587 if (PyErr_Occurred()) SWIG_fail;
2588 }
2589 {
2590 if (!wxPyCheckForApp()) SWIG_fail;
2591 PyThreadState* __tstate = wxPyBeginAllowThreads();
2592 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2593
2594 wxPyEndAllowThreads(__tstate);
2595 if (PyErr_Occurred()) SWIG_fail;
2596 }
2597 {
2598 wxVisualAttributes * resultptr;
2599 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2600 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2601 }
2602 return resultobj;
2603 fail:
2604 return NULL;
2605 }
2606
2607
2608 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2609 PyObject *obj;
2610 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2611 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2612 Py_INCREF(obj);
2613 return Py_BuildValue((char *)"");
2614 }
2615 static int _wrap_FrameNameStr_set(PyObject *_val) {
2616 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2617 return 1;
2618 }
2619
2620
2621 static PyObject *_wrap_FrameNameStr_get() {
2622 PyObject *pyobj;
2623
2624 {
2625 #if wxUSE_UNICODE
2626 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2627 #else
2628 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2629 #endif
2630 }
2631 return pyobj;
2632 }
2633
2634
2635 static int _wrap_DialogNameStr_set(PyObject *_val) {
2636 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2637 return 1;
2638 }
2639
2640
2641 static PyObject *_wrap_DialogNameStr_get() {
2642 PyObject *pyobj;
2643
2644 {
2645 #if wxUSE_UNICODE
2646 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2647 #else
2648 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2649 #endif
2650 }
2651 return pyobj;
2652 }
2653
2654
2655 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2656 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2657 return 1;
2658 }
2659
2660
2661 static PyObject *_wrap_StatusLineNameStr_get() {
2662 PyObject *pyobj;
2663
2664 {
2665 #if wxUSE_UNICODE
2666 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2667 #else
2668 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2669 #endif
2670 }
2671 return pyobj;
2672 }
2673
2674
2675 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2676 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2677 return 1;
2678 }
2679
2680
2681 static PyObject *_wrap_ToolBarNameStr_get() {
2682 PyObject *pyobj;
2683
2684 {
2685 #if wxUSE_UNICODE
2686 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2687 #else
2688 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2689 #endif
2690 }
2691 return pyobj;
2692 }
2693
2694
2695 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2696 PyObject *resultobj;
2697 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2698 bool arg2 = (bool) True ;
2699 PyObject * obj0 = 0 ;
2700 PyObject * obj1 = 0 ;
2701 char *kwnames[] = {
2702 (char *) "self",(char *) "maximize", NULL
2703 };
2704
2705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2708 if (obj1) {
2709 arg2 = (bool) SWIG_AsBool(obj1);
2710 if (PyErr_Occurred()) SWIG_fail;
2711 }
2712 {
2713 PyThreadState* __tstate = wxPyBeginAllowThreads();
2714 (arg1)->Maximize(arg2);
2715
2716 wxPyEndAllowThreads(__tstate);
2717 if (PyErr_Occurred()) SWIG_fail;
2718 }
2719 Py_INCREF(Py_None); resultobj = Py_None;
2720 return resultobj;
2721 fail:
2722 return NULL;
2723 }
2724
2725
2726 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2727 PyObject *resultobj;
2728 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2729 PyObject * obj0 = 0 ;
2730 char *kwnames[] = {
2731 (char *) "self", NULL
2732 };
2733
2734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2737 {
2738 PyThreadState* __tstate = wxPyBeginAllowThreads();
2739 (arg1)->Restore();
2740
2741 wxPyEndAllowThreads(__tstate);
2742 if (PyErr_Occurred()) SWIG_fail;
2743 }
2744 Py_INCREF(Py_None); resultobj = Py_None;
2745 return resultobj;
2746 fail:
2747 return NULL;
2748 }
2749
2750
2751 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2752 PyObject *resultobj;
2753 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2754 bool arg2 = (bool) True ;
2755 PyObject * obj0 = 0 ;
2756 PyObject * obj1 = 0 ;
2757 char *kwnames[] = {
2758 (char *) "self",(char *) "iconize", NULL
2759 };
2760
2761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2764 if (obj1) {
2765 arg2 = (bool) SWIG_AsBool(obj1);
2766 if (PyErr_Occurred()) SWIG_fail;
2767 }
2768 {
2769 PyThreadState* __tstate = wxPyBeginAllowThreads();
2770 (arg1)->Iconize(arg2);
2771
2772 wxPyEndAllowThreads(__tstate);
2773 if (PyErr_Occurred()) SWIG_fail;
2774 }
2775 Py_INCREF(Py_None); resultobj = Py_None;
2776 return resultobj;
2777 fail:
2778 return NULL;
2779 }
2780
2781
2782 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2783 PyObject *resultobj;
2784 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2785 bool result;
2786 PyObject * obj0 = 0 ;
2787 char *kwnames[] = {
2788 (char *) "self", NULL
2789 };
2790
2791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2794 {
2795 PyThreadState* __tstate = wxPyBeginAllowThreads();
2796 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2797
2798 wxPyEndAllowThreads(__tstate);
2799 if (PyErr_Occurred()) SWIG_fail;
2800 }
2801 {
2802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2803 }
2804 return resultobj;
2805 fail:
2806 return NULL;
2807 }
2808
2809
2810 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2811 PyObject *resultobj;
2812 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2813 bool result;
2814 PyObject * obj0 = 0 ;
2815 char *kwnames[] = {
2816 (char *) "self", NULL
2817 };
2818
2819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2822 {
2823 PyThreadState* __tstate = wxPyBeginAllowThreads();
2824 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2825
2826 wxPyEndAllowThreads(__tstate);
2827 if (PyErr_Occurred()) SWIG_fail;
2828 }
2829 {
2830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2831 }
2832 return resultobj;
2833 fail:
2834 return NULL;
2835 }
2836
2837
2838 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2839 PyObject *resultobj;
2840 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2841 wxIcon result;
2842 PyObject * obj0 = 0 ;
2843 char *kwnames[] = {
2844 (char *) "self", NULL
2845 };
2846
2847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2850 {
2851 PyThreadState* __tstate = wxPyBeginAllowThreads();
2852 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2853
2854 wxPyEndAllowThreads(__tstate);
2855 if (PyErr_Occurred()) SWIG_fail;
2856 }
2857 {
2858 wxIcon * resultptr;
2859 resultptr = new wxIcon((wxIcon &) result);
2860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2861 }
2862 return resultobj;
2863 fail:
2864 return NULL;
2865 }
2866
2867
2868 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2869 PyObject *resultobj;
2870 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2871 wxIcon *arg2 = 0 ;
2872 PyObject * obj0 = 0 ;
2873 PyObject * obj1 = 0 ;
2874 char *kwnames[] = {
2875 (char *) "self",(char *) "icon", NULL
2876 };
2877
2878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2881 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2882 SWIG_POINTER_EXCEPTION | 0)) == -1)
2883 SWIG_fail;
2884 if (arg2 == NULL) {
2885 PyErr_SetString(PyExc_TypeError,"null reference");
2886 SWIG_fail;
2887 }
2888 {
2889 PyThreadState* __tstate = wxPyBeginAllowThreads();
2890 (arg1)->SetIcon((wxIcon const &)*arg2);
2891
2892 wxPyEndAllowThreads(__tstate);
2893 if (PyErr_Occurred()) SWIG_fail;
2894 }
2895 Py_INCREF(Py_None); resultobj = Py_None;
2896 return resultobj;
2897 fail:
2898 return NULL;
2899 }
2900
2901
2902 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2903 PyObject *resultobj;
2904 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2905 wxIconBundle *arg2 = 0 ;
2906 PyObject * obj0 = 0 ;
2907 PyObject * obj1 = 0 ;
2908 char *kwnames[] = {
2909 (char *) "self",(char *) "icons", NULL
2910 };
2911
2912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2916 SWIG_POINTER_EXCEPTION | 0)) == -1)
2917 SWIG_fail;
2918 if (arg2 == NULL) {
2919 PyErr_SetString(PyExc_TypeError,"null reference");
2920 SWIG_fail;
2921 }
2922 {
2923 PyThreadState* __tstate = wxPyBeginAllowThreads();
2924 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2925
2926 wxPyEndAllowThreads(__tstate);
2927 if (PyErr_Occurred()) SWIG_fail;
2928 }
2929 Py_INCREF(Py_None); resultobj = Py_None;
2930 return resultobj;
2931 fail:
2932 return NULL;
2933 }
2934
2935
2936 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2937 PyObject *resultobj;
2938 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2939 bool arg2 ;
2940 long arg3 = (long) wxFULLSCREEN_ALL ;
2941 bool result;
2942 PyObject * obj0 = 0 ;
2943 PyObject * obj1 = 0 ;
2944 PyObject * obj2 = 0 ;
2945 char *kwnames[] = {
2946 (char *) "self",(char *) "show",(char *) "style", NULL
2947 };
2948
2949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2952 arg2 = (bool) SWIG_AsBool(obj1);
2953 if (PyErr_Occurred()) SWIG_fail;
2954 if (obj2) {
2955 arg3 = (long) SWIG_AsLong(obj2);
2956 if (PyErr_Occurred()) SWIG_fail;
2957 }
2958 {
2959 PyThreadState* __tstate = wxPyBeginAllowThreads();
2960 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2961
2962 wxPyEndAllowThreads(__tstate);
2963 if (PyErr_Occurred()) SWIG_fail;
2964 }
2965 {
2966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2967 }
2968 return resultobj;
2969 fail:
2970 return NULL;
2971 }
2972
2973
2974 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2975 PyObject *resultobj;
2976 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2977 bool result;
2978 PyObject * obj0 = 0 ;
2979 char *kwnames[] = {
2980 (char *) "self", NULL
2981 };
2982
2983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2986 {
2987 PyThreadState* __tstate = wxPyBeginAllowThreads();
2988 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2989
2990 wxPyEndAllowThreads(__tstate);
2991 if (PyErr_Occurred()) SWIG_fail;
2992 }
2993 {
2994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2995 }
2996 return resultobj;
2997 fail:
2998 return NULL;
2999 }
3000
3001
3002 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3003 PyObject *resultobj;
3004 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3005 wxString *arg2 = 0 ;
3006 bool temp2 = False ;
3007 PyObject * obj0 = 0 ;
3008 PyObject * obj1 = 0 ;
3009 char *kwnames[] = {
3010 (char *) "self",(char *) "title", NULL
3011 };
3012
3013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
3014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3016 {
3017 arg2 = wxString_in_helper(obj1);
3018 if (arg2 == NULL) SWIG_fail;
3019 temp2 = True;
3020 }
3021 {
3022 PyThreadState* __tstate = wxPyBeginAllowThreads();
3023 (arg1)->SetTitle((wxString const &)*arg2);
3024
3025 wxPyEndAllowThreads(__tstate);
3026 if (PyErr_Occurred()) SWIG_fail;
3027 }
3028 Py_INCREF(Py_None); resultobj = Py_None;
3029 {
3030 if (temp2)
3031 delete arg2;
3032 }
3033 return resultobj;
3034 fail:
3035 {
3036 if (temp2)
3037 delete arg2;
3038 }
3039 return NULL;
3040 }
3041
3042
3043 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3044 PyObject *resultobj;
3045 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3046 wxString result;
3047 PyObject * obj0 = 0 ;
3048 char *kwnames[] = {
3049 (char *) "self", NULL
3050 };
3051
3052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3055 {
3056 PyThreadState* __tstate = wxPyBeginAllowThreads();
3057 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3058
3059 wxPyEndAllowThreads(__tstate);
3060 if (PyErr_Occurred()) SWIG_fail;
3061 }
3062 {
3063 #if wxUSE_UNICODE
3064 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3065 #else
3066 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3067 #endif
3068 }
3069 return resultobj;
3070 fail:
3071 return NULL;
3072 }
3073
3074
3075 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
3076 PyObject *resultobj;
3077 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3078 wxRegion *arg2 = 0 ;
3079 bool result;
3080 PyObject * obj0 = 0 ;
3081 PyObject * obj1 = 0 ;
3082 char *kwnames[] = {
3083 (char *) "self",(char *) "region", NULL
3084 };
3085
3086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3090 SWIG_POINTER_EXCEPTION | 0)) == -1)
3091 SWIG_fail;
3092 if (arg2 == NULL) {
3093 PyErr_SetString(PyExc_TypeError,"null reference");
3094 SWIG_fail;
3095 }
3096 {
3097 PyThreadState* __tstate = wxPyBeginAllowThreads();
3098 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3099
3100 wxPyEndAllowThreads(__tstate);
3101 if (PyErr_Occurred()) SWIG_fail;
3102 }
3103 {
3104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3105 }
3106 return resultobj;
3107 fail:
3108 return NULL;
3109 }
3110
3111
3112 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3113 PyObject *obj;
3114 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3115 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3116 Py_INCREF(obj);
3117 return Py_BuildValue((char *)"");
3118 }
3119 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3120 PyObject *resultobj;
3121 wxWindow *arg1 = (wxWindow *) 0 ;
3122 int arg2 = (int) (int)-1 ;
3123 wxString const &arg3_defvalue = wxPyEmptyString ;
3124 wxString *arg3 = (wxString *) &arg3_defvalue ;
3125 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3126 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3127 wxSize const &arg5_defvalue = wxDefaultSize ;
3128 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3129 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3130 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3131 wxString *arg7 = (wxString *) &arg7_defvalue ;
3132 wxFrame *result;
3133 bool temp3 = False ;
3134 wxPoint temp4 ;
3135 wxSize temp5 ;
3136 bool temp7 = False ;
3137 PyObject * obj0 = 0 ;
3138 PyObject * obj1 = 0 ;
3139 PyObject * obj2 = 0 ;
3140 PyObject * obj3 = 0 ;
3141 PyObject * obj4 = 0 ;
3142 PyObject * obj5 = 0 ;
3143 PyObject * obj6 = 0 ;
3144 char *kwnames[] = {
3145 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3146 };
3147
3148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3151 if (obj1) {
3152 arg2 = (int const) SWIG_AsInt(obj1);
3153 if (PyErr_Occurred()) SWIG_fail;
3154 }
3155 if (obj2) {
3156 {
3157 arg3 = wxString_in_helper(obj2);
3158 if (arg3 == NULL) SWIG_fail;
3159 temp3 = True;
3160 }
3161 }
3162 if (obj3) {
3163 {
3164 arg4 = &temp4;
3165 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3166 }
3167 }
3168 if (obj4) {
3169 {
3170 arg5 = &temp5;
3171 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3172 }
3173 }
3174 if (obj5) {
3175 arg6 = (long) SWIG_AsLong(obj5);
3176 if (PyErr_Occurred()) SWIG_fail;
3177 }
3178 if (obj6) {
3179 {
3180 arg7 = wxString_in_helper(obj6);
3181 if (arg7 == NULL) SWIG_fail;
3182 temp7 = True;
3183 }
3184 }
3185 {
3186 if (!wxPyCheckForApp()) SWIG_fail;
3187 PyThreadState* __tstate = wxPyBeginAllowThreads();
3188 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3189
3190 wxPyEndAllowThreads(__tstate);
3191 if (PyErr_Occurred()) SWIG_fail;
3192 }
3193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3194 {
3195 if (temp3)
3196 delete arg3;
3197 }
3198 {
3199 if (temp7)
3200 delete arg7;
3201 }
3202 return resultobj;
3203 fail:
3204 {
3205 if (temp3)
3206 delete arg3;
3207 }
3208 {
3209 if (temp7)
3210 delete arg7;
3211 }
3212 return NULL;
3213 }
3214
3215
3216 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3217 PyObject *resultobj;
3218 wxFrame *result;
3219 char *kwnames[] = {
3220 NULL
3221 };
3222
3223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3224 {
3225 if (!wxPyCheckForApp()) SWIG_fail;
3226 PyThreadState* __tstate = wxPyBeginAllowThreads();
3227 result = (wxFrame *)new wxFrame();
3228
3229 wxPyEndAllowThreads(__tstate);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
3232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
3233 return resultobj;
3234 fail:
3235 return NULL;
3236 }
3237
3238
3239 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3240 PyObject *resultobj;
3241 wxFrame *arg1 = (wxFrame *) 0 ;
3242 wxWindow *arg2 = (wxWindow *) 0 ;
3243 int arg3 = (int) (int)-1 ;
3244 wxString const &arg4_defvalue = wxPyEmptyString ;
3245 wxString *arg4 = (wxString *) &arg4_defvalue ;
3246 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3247 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3248 wxSize const &arg6_defvalue = wxDefaultSize ;
3249 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3250 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3251 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3252 wxString *arg8 = (wxString *) &arg8_defvalue ;
3253 bool result;
3254 bool temp4 = False ;
3255 wxPoint temp5 ;
3256 wxSize temp6 ;
3257 bool temp8 = False ;
3258 PyObject * obj0 = 0 ;
3259 PyObject * obj1 = 0 ;
3260 PyObject * obj2 = 0 ;
3261 PyObject * obj3 = 0 ;
3262 PyObject * obj4 = 0 ;
3263 PyObject * obj5 = 0 ;
3264 PyObject * obj6 = 0 ;
3265 PyObject * obj7 = 0 ;
3266 char *kwnames[] = {
3267 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3268 };
3269
3270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3275 if (obj2) {
3276 arg3 = (int const) SWIG_AsInt(obj2);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 if (obj3) {
3280 {
3281 arg4 = wxString_in_helper(obj3);
3282 if (arg4 == NULL) SWIG_fail;
3283 temp4 = True;
3284 }
3285 }
3286 if (obj4) {
3287 {
3288 arg5 = &temp5;
3289 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3290 }
3291 }
3292 if (obj5) {
3293 {
3294 arg6 = &temp6;
3295 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3296 }
3297 }
3298 if (obj6) {
3299 arg7 = (long) SWIG_AsLong(obj6);
3300 if (PyErr_Occurred()) SWIG_fail;
3301 }
3302 if (obj7) {
3303 {
3304 arg8 = wxString_in_helper(obj7);
3305 if (arg8 == NULL) SWIG_fail;
3306 temp8 = True;
3307 }
3308 }
3309 {
3310 PyThreadState* __tstate = wxPyBeginAllowThreads();
3311 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3312
3313 wxPyEndAllowThreads(__tstate);
3314 if (PyErr_Occurred()) SWIG_fail;
3315 }
3316 {
3317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3318 }
3319 {
3320 if (temp4)
3321 delete arg4;
3322 }
3323 {
3324 if (temp8)
3325 delete arg8;
3326 }
3327 return resultobj;
3328 fail:
3329 {
3330 if (temp4)
3331 delete arg4;
3332 }
3333 {
3334 if (temp8)
3335 delete arg8;
3336 }
3337 return NULL;
3338 }
3339
3340
3341 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3342 PyObject *resultobj;
3343 wxFrame *arg1 = (wxFrame *) 0 ;
3344 wxPoint result;
3345 PyObject * obj0 = 0 ;
3346 char *kwnames[] = {
3347 (char *) "self", NULL
3348 };
3349
3350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3353 {
3354 PyThreadState* __tstate = wxPyBeginAllowThreads();
3355 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3356
3357 wxPyEndAllowThreads(__tstate);
3358 if (PyErr_Occurred()) SWIG_fail;
3359 }
3360 {
3361 wxPoint * resultptr;
3362 resultptr = new wxPoint((wxPoint &) result);
3363 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3364 }
3365 return resultobj;
3366 fail:
3367 return NULL;
3368 }
3369
3370
3371 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3372 PyObject *resultobj;
3373 wxFrame *arg1 = (wxFrame *) 0 ;
3374 PyObject * obj0 = 0 ;
3375 char *kwnames[] = {
3376 (char *) "self", NULL
3377 };
3378
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",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 (arg1)->SendSizeEvent();
3385
3386 wxPyEndAllowThreads(__tstate);
3387 if (PyErr_Occurred()) SWIG_fail;
3388 }
3389 Py_INCREF(Py_None); resultobj = Py_None;
3390 return resultobj;
3391 fail:
3392 return NULL;
3393 }
3394
3395
3396 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3397 PyObject *resultobj;
3398 wxFrame *arg1 = (wxFrame *) 0 ;
3399 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3400 PyObject * obj0 = 0 ;
3401 PyObject * obj1 = 0 ;
3402 char *kwnames[] = {
3403 (char *) "self",(char *) "menubar", NULL
3404 };
3405
3406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3411 {
3412 PyThreadState* __tstate = wxPyBeginAllowThreads();
3413 (arg1)->SetMenuBar(arg2);
3414
3415 wxPyEndAllowThreads(__tstate);
3416 if (PyErr_Occurred()) SWIG_fail;
3417 }
3418 Py_INCREF(Py_None); resultobj = Py_None;
3419 return resultobj;
3420 fail:
3421 return NULL;
3422 }
3423
3424
3425 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3426 PyObject *resultobj;
3427 wxFrame *arg1 = (wxFrame *) 0 ;
3428 wxMenuBar *result;
3429 PyObject * obj0 = 0 ;
3430 char *kwnames[] = {
3431 (char *) "self", NULL
3432 };
3433
3434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3437 {
3438 PyThreadState* __tstate = wxPyBeginAllowThreads();
3439 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3440
3441 wxPyEndAllowThreads(__tstate);
3442 if (PyErr_Occurred()) SWIG_fail;
3443 }
3444 {
3445 resultobj = wxPyMake_wxObject(result, 0);
3446 }
3447 return resultobj;
3448 fail:
3449 return NULL;
3450 }
3451
3452
3453 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3454 PyObject *resultobj;
3455 wxFrame *arg1 = (wxFrame *) 0 ;
3456 int arg2 ;
3457 bool result;
3458 PyObject * obj0 = 0 ;
3459 PyObject * obj1 = 0 ;
3460 char *kwnames[] = {
3461 (char *) "self",(char *) "winid", NULL
3462 };
3463
3464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3467 arg2 = (int) SWIG_AsInt(obj1);
3468 if (PyErr_Occurred()) SWIG_fail;
3469 {
3470 PyThreadState* __tstate = wxPyBeginAllowThreads();
3471 result = (bool)(arg1)->ProcessCommand(arg2);
3472
3473 wxPyEndAllowThreads(__tstate);
3474 if (PyErr_Occurred()) SWIG_fail;
3475 }
3476 {
3477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3478 }
3479 return resultobj;
3480 fail:
3481 return NULL;
3482 }
3483
3484
3485 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3486 PyObject *resultobj;
3487 wxFrame *arg1 = (wxFrame *) 0 ;
3488 int arg2 = (int) 1 ;
3489 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
3490 int arg4 = (int) 0 ;
3491 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3492 wxString *arg5 = (wxString *) &arg5_defvalue ;
3493 wxStatusBar *result;
3494 bool temp5 = False ;
3495 PyObject * obj0 = 0 ;
3496 PyObject * obj1 = 0 ;
3497 PyObject * obj2 = 0 ;
3498 PyObject * obj3 = 0 ;
3499 PyObject * obj4 = 0 ;
3500 char *kwnames[] = {
3501 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3502 };
3503
3504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3507 if (obj1) {
3508 arg2 = (int) SWIG_AsInt(obj1);
3509 if (PyErr_Occurred()) SWIG_fail;
3510 }
3511 if (obj2) {
3512 arg3 = (long) SWIG_AsLong(obj2);
3513 if (PyErr_Occurred()) SWIG_fail;
3514 }
3515 if (obj3) {
3516 arg4 = (int) SWIG_AsInt(obj3);
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 if (obj4) {
3520 {
3521 arg5 = wxString_in_helper(obj4);
3522 if (arg5 == NULL) SWIG_fail;
3523 temp5 = True;
3524 }
3525 }
3526 {
3527 PyThreadState* __tstate = wxPyBeginAllowThreads();
3528 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3529
3530 wxPyEndAllowThreads(__tstate);
3531 if (PyErr_Occurred()) SWIG_fail;
3532 }
3533 {
3534 resultobj = wxPyMake_wxObject(result, 0);
3535 }
3536 {
3537 if (temp5)
3538 delete arg5;
3539 }
3540 return resultobj;
3541 fail:
3542 {
3543 if (temp5)
3544 delete arg5;
3545 }
3546 return NULL;
3547 }
3548
3549
3550 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3551 PyObject *resultobj;
3552 wxFrame *arg1 = (wxFrame *) 0 ;
3553 wxStatusBar *result;
3554 PyObject * obj0 = 0 ;
3555 char *kwnames[] = {
3556 (char *) "self", NULL
3557 };
3558
3559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3562 {
3563 PyThreadState* __tstate = wxPyBeginAllowThreads();
3564 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3565
3566 wxPyEndAllowThreads(__tstate);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 {
3570 resultobj = wxPyMake_wxObject(result, 0);
3571 }
3572 return resultobj;
3573 fail:
3574 return NULL;
3575 }
3576
3577
3578 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3579 PyObject *resultobj;
3580 wxFrame *arg1 = (wxFrame *) 0 ;
3581 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3582 PyObject * obj0 = 0 ;
3583 PyObject * obj1 = 0 ;
3584 char *kwnames[] = {
3585 (char *) "self",(char *) "statBar", NULL
3586 };
3587
3588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3593 {
3594 PyThreadState* __tstate = wxPyBeginAllowThreads();
3595 (arg1)->SetStatusBar(arg2);
3596
3597 wxPyEndAllowThreads(__tstate);
3598 if (PyErr_Occurred()) SWIG_fail;
3599 }
3600 Py_INCREF(Py_None); resultobj = Py_None;
3601 return resultobj;
3602 fail:
3603 return NULL;
3604 }
3605
3606
3607 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3608 PyObject *resultobj;
3609 wxFrame *arg1 = (wxFrame *) 0 ;
3610 wxString *arg2 = 0 ;
3611 int arg3 = (int) 0 ;
3612 bool temp2 = False ;
3613 PyObject * obj0 = 0 ;
3614 PyObject * obj1 = 0 ;
3615 PyObject * obj2 = 0 ;
3616 char *kwnames[] = {
3617 (char *) "self",(char *) "text",(char *) "number", NULL
3618 };
3619
3620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3623 {
3624 arg2 = wxString_in_helper(obj1);
3625 if (arg2 == NULL) SWIG_fail;
3626 temp2 = True;
3627 }
3628 if (obj2) {
3629 arg3 = (int) SWIG_AsInt(obj2);
3630 if (PyErr_Occurred()) SWIG_fail;
3631 }
3632 {
3633 PyThreadState* __tstate = wxPyBeginAllowThreads();
3634 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3635
3636 wxPyEndAllowThreads(__tstate);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 Py_INCREF(Py_None); resultobj = Py_None;
3640 {
3641 if (temp2)
3642 delete arg2;
3643 }
3644 return resultobj;
3645 fail:
3646 {
3647 if (temp2)
3648 delete arg2;
3649 }
3650 return NULL;
3651 }
3652
3653
3654 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3655 PyObject *resultobj;
3656 wxFrame *arg1 = (wxFrame *) 0 ;
3657 int arg2 ;
3658 int *arg3 = (int *) 0 ;
3659 PyObject * obj0 = 0 ;
3660 PyObject * obj1 = 0 ;
3661 char *kwnames[] = {
3662 (char *) "self",(char *) "widths", NULL
3663 };
3664
3665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3668 {
3669 arg2 = PyList_Size(obj1);
3670 arg3 = int_LIST_helper(obj1);
3671 if (arg3 == NULL) SWIG_fail;
3672 }
3673 {
3674 PyThreadState* __tstate = wxPyBeginAllowThreads();
3675 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3676
3677 wxPyEndAllowThreads(__tstate);
3678 if (PyErr_Occurred()) SWIG_fail;
3679 }
3680 Py_INCREF(Py_None); resultobj = Py_None;
3681 {
3682 if (arg3) delete [] arg3;
3683 }
3684 return resultobj;
3685 fail:
3686 {
3687 if (arg3) delete [] arg3;
3688 }
3689 return NULL;
3690 }
3691
3692
3693 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3694 PyObject *resultobj;
3695 wxFrame *arg1 = (wxFrame *) 0 ;
3696 wxString *arg2 = 0 ;
3697 int arg3 = (int) 0 ;
3698 bool temp2 = False ;
3699 PyObject * obj0 = 0 ;
3700 PyObject * obj1 = 0 ;
3701 PyObject * obj2 = 0 ;
3702 char *kwnames[] = {
3703 (char *) "self",(char *) "text",(char *) "number", NULL
3704 };
3705
3706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3709 {
3710 arg2 = wxString_in_helper(obj1);
3711 if (arg2 == NULL) SWIG_fail;
3712 temp2 = True;
3713 }
3714 if (obj2) {
3715 arg3 = (int) SWIG_AsInt(obj2);
3716 if (PyErr_Occurred()) SWIG_fail;
3717 }
3718 {
3719 PyThreadState* __tstate = wxPyBeginAllowThreads();
3720 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3721
3722 wxPyEndAllowThreads(__tstate);
3723 if (PyErr_Occurred()) SWIG_fail;
3724 }
3725 Py_INCREF(Py_None); resultobj = Py_None;
3726 {
3727 if (temp2)
3728 delete arg2;
3729 }
3730 return resultobj;
3731 fail:
3732 {
3733 if (temp2)
3734 delete arg2;
3735 }
3736 return NULL;
3737 }
3738
3739
3740 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3741 PyObject *resultobj;
3742 wxFrame *arg1 = (wxFrame *) 0 ;
3743 int arg2 = (int) 0 ;
3744 PyObject * obj0 = 0 ;
3745 PyObject * obj1 = 0 ;
3746 char *kwnames[] = {
3747 (char *) "self",(char *) "number", NULL
3748 };
3749
3750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3753 if (obj1) {
3754 arg2 = (int) SWIG_AsInt(obj1);
3755 if (PyErr_Occurred()) SWIG_fail;
3756 }
3757 {
3758 PyThreadState* __tstate = wxPyBeginAllowThreads();
3759 (arg1)->PopStatusText(arg2);
3760
3761 wxPyEndAllowThreads(__tstate);
3762 if (PyErr_Occurred()) SWIG_fail;
3763 }
3764 Py_INCREF(Py_None); resultobj = Py_None;
3765 return resultobj;
3766 fail:
3767 return NULL;
3768 }
3769
3770
3771 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3772 PyObject *resultobj;
3773 wxFrame *arg1 = (wxFrame *) 0 ;
3774 int arg2 ;
3775 PyObject * obj0 = 0 ;
3776 PyObject * obj1 = 0 ;
3777 char *kwnames[] = {
3778 (char *) "self",(char *) "n", NULL
3779 };
3780
3781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3784 arg2 = (int) SWIG_AsInt(obj1);
3785 if (PyErr_Occurred()) SWIG_fail;
3786 {
3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
3788 (arg1)->SetStatusBarPane(arg2);
3789
3790 wxPyEndAllowThreads(__tstate);
3791 if (PyErr_Occurred()) SWIG_fail;
3792 }
3793 Py_INCREF(Py_None); resultobj = Py_None;
3794 return resultobj;
3795 fail:
3796 return NULL;
3797 }
3798
3799
3800 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3801 PyObject *resultobj;
3802 wxFrame *arg1 = (wxFrame *) 0 ;
3803 int result;
3804 PyObject * obj0 = 0 ;
3805 char *kwnames[] = {
3806 (char *) "self", NULL
3807 };
3808
3809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3812 {
3813 PyThreadState* __tstate = wxPyBeginAllowThreads();
3814 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3815
3816 wxPyEndAllowThreads(__tstate);
3817 if (PyErr_Occurred()) SWIG_fail;
3818 }
3819 resultobj = SWIG_FromInt((int)result);
3820 return resultobj;
3821 fail:
3822 return NULL;
3823 }
3824
3825
3826 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3827 PyObject *resultobj;
3828 wxFrame *arg1 = (wxFrame *) 0 ;
3829 long arg2 = (long) -1 ;
3830 int arg3 = (int) -1 ;
3831 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3832 wxString *arg4 = (wxString *) &arg4_defvalue ;
3833 wxToolBar *result;
3834 bool temp4 = False ;
3835 PyObject * obj0 = 0 ;
3836 PyObject * obj1 = 0 ;
3837 PyObject * obj2 = 0 ;
3838 PyObject * obj3 = 0 ;
3839 char *kwnames[] = {
3840 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3841 };
3842
3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3846 if (obj1) {
3847 arg2 = (long) SWIG_AsLong(obj1);
3848 if (PyErr_Occurred()) SWIG_fail;
3849 }
3850 if (obj2) {
3851 arg3 = (int) SWIG_AsInt(obj2);
3852 if (PyErr_Occurred()) SWIG_fail;
3853 }
3854 if (obj3) {
3855 {
3856 arg4 = wxString_in_helper(obj3);
3857 if (arg4 == NULL) SWIG_fail;
3858 temp4 = True;
3859 }
3860 }
3861 {
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3863 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3864
3865 wxPyEndAllowThreads(__tstate);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
3868 {
3869 resultobj = wxPyMake_wxObject(result, 0);
3870 }
3871 {
3872 if (temp4)
3873 delete arg4;
3874 }
3875 return resultobj;
3876 fail:
3877 {
3878 if (temp4)
3879 delete arg4;
3880 }
3881 return NULL;
3882 }
3883
3884
3885 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3886 PyObject *resultobj;
3887 wxFrame *arg1 = (wxFrame *) 0 ;
3888 wxToolBar *result;
3889 PyObject * obj0 = 0 ;
3890 char *kwnames[] = {
3891 (char *) "self", NULL
3892 };
3893
3894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3897 {
3898 PyThreadState* __tstate = wxPyBeginAllowThreads();
3899 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3900
3901 wxPyEndAllowThreads(__tstate);
3902 if (PyErr_Occurred()) SWIG_fail;
3903 }
3904 {
3905 resultobj = wxPyMake_wxObject(result, 0);
3906 }
3907 return resultobj;
3908 fail:
3909 return NULL;
3910 }
3911
3912
3913 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3914 PyObject *resultobj;
3915 wxFrame *arg1 = (wxFrame *) 0 ;
3916 wxToolBar *arg2 = (wxToolBar *) 0 ;
3917 PyObject * obj0 = 0 ;
3918 PyObject * obj1 = 0 ;
3919 char *kwnames[] = {
3920 (char *) "self",(char *) "toolbar", NULL
3921 };
3922
3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3926 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3928 {
3929 PyThreadState* __tstate = wxPyBeginAllowThreads();
3930 (arg1)->SetToolBar(arg2);
3931
3932 wxPyEndAllowThreads(__tstate);
3933 if (PyErr_Occurred()) SWIG_fail;
3934 }
3935 Py_INCREF(Py_None); resultobj = Py_None;
3936 return resultobj;
3937 fail:
3938 return NULL;
3939 }
3940
3941
3942 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3943 PyObject *resultobj;
3944 wxFrame *arg1 = (wxFrame *) 0 ;
3945 wxString *arg2 = 0 ;
3946 bool arg3 ;
3947 bool temp2 = False ;
3948 PyObject * obj0 = 0 ;
3949 PyObject * obj1 = 0 ;
3950 PyObject * obj2 = 0 ;
3951 char *kwnames[] = {
3952 (char *) "self",(char *) "text",(char *) "show", NULL
3953 };
3954
3955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3958 {
3959 arg2 = wxString_in_helper(obj1);
3960 if (arg2 == NULL) SWIG_fail;
3961 temp2 = True;
3962 }
3963 arg3 = (bool) SWIG_AsBool(obj2);
3964 if (PyErr_Occurred()) SWIG_fail;
3965 {
3966 PyThreadState* __tstate = wxPyBeginAllowThreads();
3967 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3968
3969 wxPyEndAllowThreads(__tstate);
3970 if (PyErr_Occurred()) SWIG_fail;
3971 }
3972 Py_INCREF(Py_None); resultobj = Py_None;
3973 {
3974 if (temp2)
3975 delete arg2;
3976 }
3977 return resultobj;
3978 fail:
3979 {
3980 if (temp2)
3981 delete arg2;
3982 }
3983 return NULL;
3984 }
3985
3986
3987 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3988 PyObject *resultobj;
3989 wxFrame *arg1 = (wxFrame *) 0 ;
3990 wxMenu *arg2 = (wxMenu *) NULL ;
3991 PyObject * obj0 = 0 ;
3992 PyObject * obj1 = 0 ;
3993 char *kwnames[] = {
3994 (char *) "self",(char *) "menu", NULL
3995 };
3996
3997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4000 if (obj1) {
4001 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
4002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4003 }
4004 {
4005 PyThreadState* __tstate = wxPyBeginAllowThreads();
4006 (arg1)->DoMenuUpdates(arg2);
4007
4008 wxPyEndAllowThreads(__tstate);
4009 if (PyErr_Occurred()) SWIG_fail;
4010 }
4011 Py_INCREF(Py_None); resultobj = Py_None;
4012 return resultobj;
4013 fail:
4014 return NULL;
4015 }
4016
4017
4018 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4019 PyObject *resultobj;
4020 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4021 wxVisualAttributes result;
4022 PyObject * obj0 = 0 ;
4023 char *kwnames[] = {
4024 (char *) "variant", NULL
4025 };
4026
4027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4028 if (obj0) {
4029 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 {
4033 if (!wxPyCheckForApp()) SWIG_fail;
4034 PyThreadState* __tstate = wxPyBeginAllowThreads();
4035 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4036
4037 wxPyEndAllowThreads(__tstate);
4038 if (PyErr_Occurred()) SWIG_fail;
4039 }
4040 {
4041 wxVisualAttributes * resultptr;
4042 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4043 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4044 }
4045 return resultobj;
4046 fail:
4047 return NULL;
4048 }
4049
4050
4051 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
4052 PyObject *obj;
4053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4054 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4055 Py_INCREF(obj);
4056 return Py_BuildValue((char *)"");
4057 }
4058 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4059 PyObject *resultobj;
4060 wxWindow *arg1 = (wxWindow *) 0 ;
4061 int arg2 = (int) (int)-1 ;
4062 wxString const &arg3_defvalue = wxPyEmptyString ;
4063 wxString *arg3 = (wxString *) &arg3_defvalue ;
4064 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4065 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4066 wxSize const &arg5_defvalue = wxDefaultSize ;
4067 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4068 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4069 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4070 wxString *arg7 = (wxString *) &arg7_defvalue ;
4071 wxDialog *result;
4072 bool temp3 = False ;
4073 wxPoint temp4 ;
4074 wxSize temp5 ;
4075 bool temp7 = False ;
4076 PyObject * obj0 = 0 ;
4077 PyObject * obj1 = 0 ;
4078 PyObject * obj2 = 0 ;
4079 PyObject * obj3 = 0 ;
4080 PyObject * obj4 = 0 ;
4081 PyObject * obj5 = 0 ;
4082 PyObject * obj6 = 0 ;
4083 char *kwnames[] = {
4084 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4085 };
4086
4087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4090 if (obj1) {
4091 arg2 = (int const) SWIG_AsInt(obj1);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 if (obj2) {
4095 {
4096 arg3 = wxString_in_helper(obj2);
4097 if (arg3 == NULL) SWIG_fail;
4098 temp3 = True;
4099 }
4100 }
4101 if (obj3) {
4102 {
4103 arg4 = &temp4;
4104 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4105 }
4106 }
4107 if (obj4) {
4108 {
4109 arg5 = &temp5;
4110 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4111 }
4112 }
4113 if (obj5) {
4114 arg6 = (long) SWIG_AsLong(obj5);
4115 if (PyErr_Occurred()) SWIG_fail;
4116 }
4117 if (obj6) {
4118 {
4119 arg7 = wxString_in_helper(obj6);
4120 if (arg7 == NULL) SWIG_fail;
4121 temp7 = True;
4122 }
4123 }
4124 {
4125 if (!wxPyCheckForApp()) SWIG_fail;
4126 PyThreadState* __tstate = wxPyBeginAllowThreads();
4127 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4128
4129 wxPyEndAllowThreads(__tstate);
4130 if (PyErr_Occurred()) SWIG_fail;
4131 }
4132 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4133 {
4134 if (temp3)
4135 delete arg3;
4136 }
4137 {
4138 if (temp7)
4139 delete arg7;
4140 }
4141 return resultobj;
4142 fail:
4143 {
4144 if (temp3)
4145 delete arg3;
4146 }
4147 {
4148 if (temp7)
4149 delete arg7;
4150 }
4151 return NULL;
4152 }
4153
4154
4155 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4156 PyObject *resultobj;
4157 wxDialog *result;
4158 char *kwnames[] = {
4159 NULL
4160 };
4161
4162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4163 {
4164 if (!wxPyCheckForApp()) SWIG_fail;
4165 PyThreadState* __tstate = wxPyBeginAllowThreads();
4166 result = (wxDialog *)new wxDialog();
4167
4168 wxPyEndAllowThreads(__tstate);
4169 if (PyErr_Occurred()) SWIG_fail;
4170 }
4171 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4172 return resultobj;
4173 fail:
4174 return NULL;
4175 }
4176
4177
4178 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4179 PyObject *resultobj;
4180 wxDialog *arg1 = (wxDialog *) 0 ;
4181 wxWindow *arg2 = (wxWindow *) 0 ;
4182 int arg3 = (int) (int)-1 ;
4183 wxString const &arg4_defvalue = wxPyEmptyString ;
4184 wxString *arg4 = (wxString *) &arg4_defvalue ;
4185 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4186 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4187 wxSize const &arg6_defvalue = wxDefaultSize ;
4188 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4189 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4190 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4191 wxString *arg8 = (wxString *) &arg8_defvalue ;
4192 bool result;
4193 bool temp4 = False ;
4194 wxPoint temp5 ;
4195 wxSize temp6 ;
4196 bool temp8 = False ;
4197 PyObject * obj0 = 0 ;
4198 PyObject * obj1 = 0 ;
4199 PyObject * obj2 = 0 ;
4200 PyObject * obj3 = 0 ;
4201 PyObject * obj4 = 0 ;
4202 PyObject * obj5 = 0 ;
4203 PyObject * obj6 = 0 ;
4204 PyObject * obj7 = 0 ;
4205 char *kwnames[] = {
4206 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4207 };
4208
4209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4214 if (obj2) {
4215 arg3 = (int const) SWIG_AsInt(obj2);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 }
4218 if (obj3) {
4219 {
4220 arg4 = wxString_in_helper(obj3);
4221 if (arg4 == NULL) SWIG_fail;
4222 temp4 = True;
4223 }
4224 }
4225 if (obj4) {
4226 {
4227 arg5 = &temp5;
4228 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4229 }
4230 }
4231 if (obj5) {
4232 {
4233 arg6 = &temp6;
4234 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4235 }
4236 }
4237 if (obj6) {
4238 arg7 = (long) SWIG_AsLong(obj6);
4239 if (PyErr_Occurred()) SWIG_fail;
4240 }
4241 if (obj7) {
4242 {
4243 arg8 = wxString_in_helper(obj7);
4244 if (arg8 == NULL) SWIG_fail;
4245 temp8 = True;
4246 }
4247 }
4248 {
4249 PyThreadState* __tstate = wxPyBeginAllowThreads();
4250 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4251
4252 wxPyEndAllowThreads(__tstate);
4253 if (PyErr_Occurred()) SWIG_fail;
4254 }
4255 {
4256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4257 }
4258 {
4259 if (temp4)
4260 delete arg4;
4261 }
4262 {
4263 if (temp8)
4264 delete arg8;
4265 }
4266 return resultobj;
4267 fail:
4268 {
4269 if (temp4)
4270 delete arg4;
4271 }
4272 {
4273 if (temp8)
4274 delete arg8;
4275 }
4276 return NULL;
4277 }
4278
4279
4280 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4281 PyObject *resultobj;
4282 wxDialog *arg1 = (wxDialog *) 0 ;
4283 int arg2 ;
4284 PyObject * obj0 = 0 ;
4285 PyObject * obj1 = 0 ;
4286 char *kwnames[] = {
4287 (char *) "self",(char *) "returnCode", NULL
4288 };
4289
4290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4293 arg2 = (int) SWIG_AsInt(obj1);
4294 if (PyErr_Occurred()) SWIG_fail;
4295 {
4296 PyThreadState* __tstate = wxPyBeginAllowThreads();
4297 (arg1)->SetReturnCode(arg2);
4298
4299 wxPyEndAllowThreads(__tstate);
4300 if (PyErr_Occurred()) SWIG_fail;
4301 }
4302 Py_INCREF(Py_None); resultobj = Py_None;
4303 return resultobj;
4304 fail:
4305 return NULL;
4306 }
4307
4308
4309 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4310 PyObject *resultobj;
4311 wxDialog *arg1 = (wxDialog *) 0 ;
4312 int result;
4313 PyObject * obj0 = 0 ;
4314 char *kwnames[] = {
4315 (char *) "self", NULL
4316 };
4317
4318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4321 {
4322 PyThreadState* __tstate = wxPyBeginAllowThreads();
4323 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4324
4325 wxPyEndAllowThreads(__tstate);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4328 resultobj = SWIG_FromInt((int)result);
4329 return resultobj;
4330 fail:
4331 return NULL;
4332 }
4333
4334
4335 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4336 PyObject *resultobj;
4337 wxDialog *arg1 = (wxDialog *) 0 ;
4338 wxString *arg2 = 0 ;
4339 wxSizer *result;
4340 bool temp2 = False ;
4341 PyObject * obj0 = 0 ;
4342 PyObject * obj1 = 0 ;
4343 char *kwnames[] = {
4344 (char *) "self",(char *) "message", NULL
4345 };
4346
4347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4350 {
4351 arg2 = wxString_in_helper(obj1);
4352 if (arg2 == NULL) SWIG_fail;
4353 temp2 = True;
4354 }
4355 {
4356 PyThreadState* __tstate = wxPyBeginAllowThreads();
4357 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4358
4359 wxPyEndAllowThreads(__tstate);
4360 if (PyErr_Occurred()) SWIG_fail;
4361 }
4362 {
4363 resultobj = wxPyMake_wxSizer(result, 0);
4364 }
4365 {
4366 if (temp2)
4367 delete arg2;
4368 }
4369 return resultobj;
4370 fail:
4371 {
4372 if (temp2)
4373 delete arg2;
4374 }
4375 return NULL;
4376 }
4377
4378
4379 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4380 PyObject *resultobj;
4381 wxDialog *arg1 = (wxDialog *) 0 ;
4382 long arg2 ;
4383 wxSizer *result;
4384 PyObject * obj0 = 0 ;
4385 PyObject * obj1 = 0 ;
4386 char *kwnames[] = {
4387 (char *) "self",(char *) "flags", NULL
4388 };
4389
4390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4393 arg2 = (long) SWIG_AsLong(obj1);
4394 if (PyErr_Occurred()) SWIG_fail;
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4398
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
4402 {
4403 resultobj = wxPyMake_wxSizer(result, 0);
4404 }
4405 return resultobj;
4406 fail:
4407 return NULL;
4408 }
4409
4410
4411 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4412 PyObject *resultobj;
4413 wxDialog *arg1 = (wxDialog *) 0 ;
4414 bool result;
4415 PyObject * obj0 = 0 ;
4416 char *kwnames[] = {
4417 (char *) "self", NULL
4418 };
4419
4420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4423 {
4424 PyThreadState* __tstate = wxPyBeginAllowThreads();
4425 result = (bool)((wxDialog const *)arg1)->IsModal();
4426
4427 wxPyEndAllowThreads(__tstate);
4428 if (PyErr_Occurred()) SWIG_fail;
4429 }
4430 {
4431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4432 }
4433 return resultobj;
4434 fail:
4435 return NULL;
4436 }
4437
4438
4439 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4440 PyObject *resultobj;
4441 wxDialog *arg1 = (wxDialog *) 0 ;
4442 int result;
4443 PyObject * obj0 = 0 ;
4444 char *kwnames[] = {
4445 (char *) "self", NULL
4446 };
4447
4448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4451 {
4452 PyThreadState* __tstate = wxPyBeginAllowThreads();
4453 result = (int)(arg1)->ShowModal();
4454
4455 wxPyEndAllowThreads(__tstate);
4456 if (PyErr_Occurred()) SWIG_fail;
4457 }
4458 resultobj = SWIG_FromInt((int)result);
4459 return resultobj;
4460 fail:
4461 return NULL;
4462 }
4463
4464
4465 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4466 PyObject *resultobj;
4467 wxDialog *arg1 = (wxDialog *) 0 ;
4468 int arg2 ;
4469 PyObject * obj0 = 0 ;
4470 PyObject * obj1 = 0 ;
4471 char *kwnames[] = {
4472 (char *) "self",(char *) "retCode", NULL
4473 };
4474
4475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4478 arg2 = (int) SWIG_AsInt(obj1);
4479 if (PyErr_Occurred()) SWIG_fail;
4480 {
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 (arg1)->EndModal(arg2);
4483
4484 wxPyEndAllowThreads(__tstate);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
4487 Py_INCREF(Py_None); resultobj = Py_None;
4488 return resultobj;
4489 fail:
4490 return NULL;
4491 }
4492
4493
4494 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4495 PyObject *resultobj;
4496 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4497 wxVisualAttributes result;
4498 PyObject * obj0 = 0 ;
4499 char *kwnames[] = {
4500 (char *) "variant", NULL
4501 };
4502
4503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4504 if (obj0) {
4505 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4506 if (PyErr_Occurred()) SWIG_fail;
4507 }
4508 {
4509 if (!wxPyCheckForApp()) SWIG_fail;
4510 PyThreadState* __tstate = wxPyBeginAllowThreads();
4511 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4512
4513 wxPyEndAllowThreads(__tstate);
4514 if (PyErr_Occurred()) SWIG_fail;
4515 }
4516 {
4517 wxVisualAttributes * resultptr;
4518 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4519 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4520 }
4521 return resultobj;
4522 fail:
4523 return NULL;
4524 }
4525
4526
4527 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4528 PyObject *obj;
4529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4530 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4531 Py_INCREF(obj);
4532 return Py_BuildValue((char *)"");
4533 }
4534 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4535 PyObject *resultobj;
4536 wxWindow *arg1 = (wxWindow *) 0 ;
4537 int arg2 = (int) (int)-1 ;
4538 wxString const &arg3_defvalue = wxPyEmptyString ;
4539 wxString *arg3 = (wxString *) &arg3_defvalue ;
4540 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4541 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4542 wxSize const &arg5_defvalue = wxDefaultSize ;
4543 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4544 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4545 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4546 wxString *arg7 = (wxString *) &arg7_defvalue ;
4547 wxMiniFrame *result;
4548 bool temp3 = False ;
4549 wxPoint temp4 ;
4550 wxSize temp5 ;
4551 bool temp7 = False ;
4552 PyObject * obj0 = 0 ;
4553 PyObject * obj1 = 0 ;
4554 PyObject * obj2 = 0 ;
4555 PyObject * obj3 = 0 ;
4556 PyObject * obj4 = 0 ;
4557 PyObject * obj5 = 0 ;
4558 PyObject * obj6 = 0 ;
4559 char *kwnames[] = {
4560 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4561 };
4562
4563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4566 if (obj1) {
4567 arg2 = (int const) SWIG_AsInt(obj1);
4568 if (PyErr_Occurred()) SWIG_fail;
4569 }
4570 if (obj2) {
4571 {
4572 arg3 = wxString_in_helper(obj2);
4573 if (arg3 == NULL) SWIG_fail;
4574 temp3 = True;
4575 }
4576 }
4577 if (obj3) {
4578 {
4579 arg4 = &temp4;
4580 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4581 }
4582 }
4583 if (obj4) {
4584 {
4585 arg5 = &temp5;
4586 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4587 }
4588 }
4589 if (obj5) {
4590 arg6 = (long) SWIG_AsLong(obj5);
4591 if (PyErr_Occurred()) SWIG_fail;
4592 }
4593 if (obj6) {
4594 {
4595 arg7 = wxString_in_helper(obj6);
4596 if (arg7 == NULL) SWIG_fail;
4597 temp7 = True;
4598 }
4599 }
4600 {
4601 if (!wxPyCheckForApp()) SWIG_fail;
4602 PyThreadState* __tstate = wxPyBeginAllowThreads();
4603 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4604
4605 wxPyEndAllowThreads(__tstate);
4606 if (PyErr_Occurred()) SWIG_fail;
4607 }
4608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4609 {
4610 if (temp3)
4611 delete arg3;
4612 }
4613 {
4614 if (temp7)
4615 delete arg7;
4616 }
4617 return resultobj;
4618 fail:
4619 {
4620 if (temp3)
4621 delete arg3;
4622 }
4623 {
4624 if (temp7)
4625 delete arg7;
4626 }
4627 return NULL;
4628 }
4629
4630
4631 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4632 PyObject *resultobj;
4633 wxMiniFrame *result;
4634 char *kwnames[] = {
4635 NULL
4636 };
4637
4638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4639 {
4640 if (!wxPyCheckForApp()) SWIG_fail;
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 result = (wxMiniFrame *)new wxMiniFrame();
4643
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4648 return resultobj;
4649 fail:
4650 return NULL;
4651 }
4652
4653
4654 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4655 PyObject *resultobj;
4656 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4657 wxWindow *arg2 = (wxWindow *) 0 ;
4658 int arg3 = (int) (int)-1 ;
4659 wxString const &arg4_defvalue = wxPyEmptyString ;
4660 wxString *arg4 = (wxString *) &arg4_defvalue ;
4661 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4662 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4663 wxSize const &arg6_defvalue = wxDefaultSize ;
4664 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4665 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4666 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4667 wxString *arg8 = (wxString *) &arg8_defvalue ;
4668 bool result;
4669 bool temp4 = False ;
4670 wxPoint temp5 ;
4671 wxSize temp6 ;
4672 bool temp8 = False ;
4673 PyObject * obj0 = 0 ;
4674 PyObject * obj1 = 0 ;
4675 PyObject * obj2 = 0 ;
4676 PyObject * obj3 = 0 ;
4677 PyObject * obj4 = 0 ;
4678 PyObject * obj5 = 0 ;
4679 PyObject * obj6 = 0 ;
4680 PyObject * obj7 = 0 ;
4681 char *kwnames[] = {
4682 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4683 };
4684
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4688 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4690 if (obj2) {
4691 arg3 = (int const) SWIG_AsInt(obj2);
4692 if (PyErr_Occurred()) SWIG_fail;
4693 }
4694 if (obj3) {
4695 {
4696 arg4 = wxString_in_helper(obj3);
4697 if (arg4 == NULL) SWIG_fail;
4698 temp4 = True;
4699 }
4700 }
4701 if (obj4) {
4702 {
4703 arg5 = &temp5;
4704 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4705 }
4706 }
4707 if (obj5) {
4708 {
4709 arg6 = &temp6;
4710 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4711 }
4712 }
4713 if (obj6) {
4714 arg7 = (long) SWIG_AsLong(obj6);
4715 if (PyErr_Occurred()) SWIG_fail;
4716 }
4717 if (obj7) {
4718 {
4719 arg8 = wxString_in_helper(obj7);
4720 if (arg8 == NULL) SWIG_fail;
4721 temp8 = True;
4722 }
4723 }
4724 {
4725 PyThreadState* __tstate = wxPyBeginAllowThreads();
4726 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4727
4728 wxPyEndAllowThreads(__tstate);
4729 if (PyErr_Occurred()) SWIG_fail;
4730 }
4731 {
4732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4733 }
4734 {
4735 if (temp4)
4736 delete arg4;
4737 }
4738 {
4739 if (temp8)
4740 delete arg8;
4741 }
4742 return resultobj;
4743 fail:
4744 {
4745 if (temp4)
4746 delete arg4;
4747 }
4748 {
4749 if (temp8)
4750 delete arg8;
4751 }
4752 return NULL;
4753 }
4754
4755
4756 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4757 PyObject *obj;
4758 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4759 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4760 Py_INCREF(obj);
4761 return Py_BuildValue((char *)"");
4762 }
4763 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4764 PyObject *resultobj;
4765 wxBitmap *arg1 = 0 ;
4766 wxWindow *arg2 = (wxWindow *) 0 ;
4767 int arg3 ;
4768 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4769 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4770 wxSize const &arg5_defvalue = wxDefaultSize ;
4771 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4772 long arg6 = (long) wxNO_BORDER ;
4773 wxSplashScreenWindow *result;
4774 wxPoint temp4 ;
4775 wxSize temp5 ;
4776 PyObject * obj0 = 0 ;
4777 PyObject * obj1 = 0 ;
4778 PyObject * obj2 = 0 ;
4779 PyObject * obj3 = 0 ;
4780 PyObject * obj4 = 0 ;
4781 PyObject * obj5 = 0 ;
4782 char *kwnames[] = {
4783 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4784 };
4785
4786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4788 SWIG_POINTER_EXCEPTION | 0)) == -1)
4789 SWIG_fail;
4790 if (arg1 == NULL) {
4791 PyErr_SetString(PyExc_TypeError,"null reference");
4792 SWIG_fail;
4793 }
4794 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4796 arg3 = (int) SWIG_AsInt(obj2);
4797 if (PyErr_Occurred()) SWIG_fail;
4798 if (obj3) {
4799 {
4800 arg4 = &temp4;
4801 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4802 }
4803 }
4804 if (obj4) {
4805 {
4806 arg5 = &temp5;
4807 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4808 }
4809 }
4810 if (obj5) {
4811 arg6 = (long) SWIG_AsLong(obj5);
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 {
4815 if (!wxPyCheckForApp()) SWIG_fail;
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4818
4819 wxPyEndAllowThreads(__tstate);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
4822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4823 return resultobj;
4824 fail:
4825 return NULL;
4826 }
4827
4828
4829 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4830 PyObject *resultobj;
4831 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4832 wxBitmap *arg2 = 0 ;
4833 PyObject * obj0 = 0 ;
4834 PyObject * obj1 = 0 ;
4835 char *kwnames[] = {
4836 (char *) "self",(char *) "bitmap", NULL
4837 };
4838
4839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4842 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4843 SWIG_POINTER_EXCEPTION | 0)) == -1)
4844 SWIG_fail;
4845 if (arg2 == NULL) {
4846 PyErr_SetString(PyExc_TypeError,"null reference");
4847 SWIG_fail;
4848 }
4849 {
4850 PyThreadState* __tstate = wxPyBeginAllowThreads();
4851 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4852
4853 wxPyEndAllowThreads(__tstate);
4854 if (PyErr_Occurred()) SWIG_fail;
4855 }
4856 Py_INCREF(Py_None); resultobj = Py_None;
4857 return resultobj;
4858 fail:
4859 return NULL;
4860 }
4861
4862
4863 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4864 PyObject *resultobj;
4865 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4866 wxBitmap *result;
4867 PyObject * obj0 = 0 ;
4868 char *kwnames[] = {
4869 (char *) "self", NULL
4870 };
4871
4872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4875 {
4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
4877 {
4878 wxBitmap &_result_ref = (arg1)->GetBitmap();
4879 result = (wxBitmap *) &_result_ref;
4880 }
4881
4882 wxPyEndAllowThreads(__tstate);
4883 if (PyErr_Occurred()) SWIG_fail;
4884 }
4885 {
4886 wxBitmap* resultptr = new wxBitmap(*result);
4887 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4888 }
4889 return resultobj;
4890 fail:
4891 return NULL;
4892 }
4893
4894
4895 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4896 PyObject *obj;
4897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4898 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4899 Py_INCREF(obj);
4900 return Py_BuildValue((char *)"");
4901 }
4902 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4903 PyObject *resultobj;
4904 wxBitmap *arg1 = 0 ;
4905 long arg2 ;
4906 int arg3 ;
4907 wxWindow *arg4 = (wxWindow *) 0 ;
4908 int arg5 = (int) -1 ;
4909 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4910 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4911 wxSize const &arg7_defvalue = wxDefaultSize ;
4912 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4913 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4914 wxSplashScreen *result;
4915 wxPoint temp6 ;
4916 wxSize temp7 ;
4917 PyObject * obj0 = 0 ;
4918 PyObject * obj1 = 0 ;
4919 PyObject * obj2 = 0 ;
4920 PyObject * obj3 = 0 ;
4921 PyObject * obj4 = 0 ;
4922 PyObject * obj5 = 0 ;
4923 PyObject * obj6 = 0 ;
4924 PyObject * obj7 = 0 ;
4925 char *kwnames[] = {
4926 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4927 };
4928
4929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4931 SWIG_POINTER_EXCEPTION | 0)) == -1)
4932 SWIG_fail;
4933 if (arg1 == NULL) {
4934 PyErr_SetString(PyExc_TypeError,"null reference");
4935 SWIG_fail;
4936 }
4937 arg2 = (long) SWIG_AsLong(obj1);
4938 if (PyErr_Occurred()) SWIG_fail;
4939 arg3 = (int) SWIG_AsInt(obj2);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4943 if (obj4) {
4944 arg5 = (int) SWIG_AsInt(obj4);
4945 if (PyErr_Occurred()) SWIG_fail;
4946 }
4947 if (obj5) {
4948 {
4949 arg6 = &temp6;
4950 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4951 }
4952 }
4953 if (obj6) {
4954 {
4955 arg7 = &temp7;
4956 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4957 }
4958 }
4959 if (obj7) {
4960 arg8 = (long) SWIG_AsLong(obj7);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 {
4964 if (!wxPyCheckForApp()) SWIG_fail;
4965 PyThreadState* __tstate = wxPyBeginAllowThreads();
4966 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4967
4968 wxPyEndAllowThreads(__tstate);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
4971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4972 return resultobj;
4973 fail:
4974 return NULL;
4975 }
4976
4977
4978 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4979 PyObject *resultobj;
4980 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4981 long result;
4982 PyObject * obj0 = 0 ;
4983 char *kwnames[] = {
4984 (char *) "self", NULL
4985 };
4986
4987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4990 {
4991 PyThreadState* __tstate = wxPyBeginAllowThreads();
4992 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4993
4994 wxPyEndAllowThreads(__tstate);
4995 if (PyErr_Occurred()) SWIG_fail;
4996 }
4997 resultobj = SWIG_FromLong((long)result);
4998 return resultobj;
4999 fail:
5000 return NULL;
5001 }
5002
5003
5004 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5005 PyObject *resultobj;
5006 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5007 wxSplashScreenWindow *result;
5008 PyObject * obj0 = 0 ;
5009 char *kwnames[] = {
5010 (char *) "self", NULL
5011 };
5012
5013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
5014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5016 {
5017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5018 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5019
5020 wxPyEndAllowThreads(__tstate);
5021 if (PyErr_Occurred()) SWIG_fail;
5022 }
5023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5024 return resultobj;
5025 fail:
5026 return NULL;
5027 }
5028
5029
5030 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
5031 PyObject *resultobj;
5032 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5033 int result;
5034 PyObject * obj0 = 0 ;
5035 char *kwnames[] = {
5036 (char *) "self", NULL
5037 };
5038
5039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5042 {
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5045
5046 wxPyEndAllowThreads(__tstate);
5047 if (PyErr_Occurred()) SWIG_fail;
5048 }
5049 resultobj = SWIG_FromInt((int)result);
5050 return resultobj;
5051 fail:
5052 return NULL;
5053 }
5054
5055
5056 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
5057 PyObject *obj;
5058 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5059 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5060 Py_INCREF(obj);
5061 return Py_BuildValue((char *)"");
5062 }
5063 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5064 PyObject *resultobj;
5065 wxWindow *arg1 = (wxWindow *) 0 ;
5066 int arg2 = (int) -1 ;
5067 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
5068 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5069 wxString *arg4 = (wxString *) &arg4_defvalue ;
5070 wxStatusBar *result;
5071 bool temp4 = False ;
5072 PyObject * obj0 = 0 ;
5073 PyObject * obj1 = 0 ;
5074 PyObject * obj2 = 0 ;
5075 PyObject * obj3 = 0 ;
5076 char *kwnames[] = {
5077 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5078 };
5079
5080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5083 if (obj1) {
5084 arg2 = (int) SWIG_AsInt(obj1);
5085 if (PyErr_Occurred()) SWIG_fail;
5086 }
5087 if (obj2) {
5088 arg3 = (long) SWIG_AsLong(obj2);
5089 if (PyErr_Occurred()) SWIG_fail;
5090 }
5091 if (obj3) {
5092 {
5093 arg4 = wxString_in_helper(obj3);
5094 if (arg4 == NULL) SWIG_fail;
5095 temp4 = True;
5096 }
5097 }
5098 {
5099 if (!wxPyCheckForApp()) SWIG_fail;
5100 PyThreadState* __tstate = wxPyBeginAllowThreads();
5101 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5102
5103 wxPyEndAllowThreads(__tstate);
5104 if (PyErr_Occurred()) SWIG_fail;
5105 }
5106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5107 {
5108 if (temp4)
5109 delete arg4;
5110 }
5111 return resultobj;
5112 fail:
5113 {
5114 if (temp4)
5115 delete arg4;
5116 }
5117 return NULL;
5118 }
5119
5120
5121 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5122 PyObject *resultobj;
5123 wxStatusBar *result;
5124 char *kwnames[] = {
5125 NULL
5126 };
5127
5128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5129 {
5130 if (!wxPyCheckForApp()) SWIG_fail;
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 result = (wxStatusBar *)new wxStatusBar();
5133
5134 wxPyEndAllowThreads(__tstate);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 }
5137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
5138 return resultobj;
5139 fail:
5140 return NULL;
5141 }
5142
5143
5144 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5145 PyObject *resultobj;
5146 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5147 wxWindow *arg2 = (wxWindow *) 0 ;
5148 int arg3 = (int) -1 ;
5149 long arg4 = (long) wxST_SIZEGRIP ;
5150 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5151 wxString *arg5 = (wxString *) &arg5_defvalue ;
5152 bool result;
5153 bool temp5 = False ;
5154 PyObject * obj0 = 0 ;
5155 PyObject * obj1 = 0 ;
5156 PyObject * obj2 = 0 ;
5157 PyObject * obj3 = 0 ;
5158 PyObject * obj4 = 0 ;
5159 char *kwnames[] = {
5160 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5161 };
5162
5163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5166 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5168 if (obj2) {
5169 arg3 = (int) SWIG_AsInt(obj2);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 }
5172 if (obj3) {
5173 arg4 = (long) SWIG_AsLong(obj3);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 if (obj4) {
5177 {
5178 arg5 = wxString_in_helper(obj4);
5179 if (arg5 == NULL) SWIG_fail;
5180 temp5 = True;
5181 }
5182 }
5183 {
5184 PyThreadState* __tstate = wxPyBeginAllowThreads();
5185 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5186
5187 wxPyEndAllowThreads(__tstate);
5188 if (PyErr_Occurred()) SWIG_fail;
5189 }
5190 {
5191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5192 }
5193 {
5194 if (temp5)
5195 delete arg5;
5196 }
5197 return resultobj;
5198 fail:
5199 {
5200 if (temp5)
5201 delete arg5;
5202 }
5203 return NULL;
5204 }
5205
5206
5207 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5208 PyObject *resultobj;
5209 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5210 int arg2 = (int) 1 ;
5211 PyObject * obj0 = 0 ;
5212 PyObject * obj1 = 0 ;
5213 char *kwnames[] = {
5214 (char *) "self",(char *) "number", NULL
5215 };
5216
5217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5220 if (obj1) {
5221 arg2 = (int) SWIG_AsInt(obj1);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 {
5225 PyThreadState* __tstate = wxPyBeginAllowThreads();
5226 (arg1)->SetFieldsCount(arg2);
5227
5228 wxPyEndAllowThreads(__tstate);
5229 if (PyErr_Occurred()) SWIG_fail;
5230 }
5231 Py_INCREF(Py_None); resultobj = Py_None;
5232 return resultobj;
5233 fail:
5234 return NULL;
5235 }
5236
5237
5238 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5239 PyObject *resultobj;
5240 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5241 int result;
5242 PyObject * obj0 = 0 ;
5243 char *kwnames[] = {
5244 (char *) "self", NULL
5245 };
5246
5247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5250 {
5251 PyThreadState* __tstate = wxPyBeginAllowThreads();
5252 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5253
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 resultobj = SWIG_FromInt((int)result);
5258 return resultobj;
5259 fail:
5260 return NULL;
5261 }
5262
5263
5264 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5265 PyObject *resultobj;
5266 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5267 wxString *arg2 = 0 ;
5268 int arg3 = (int) 0 ;
5269 bool temp2 = False ;
5270 PyObject * obj0 = 0 ;
5271 PyObject * obj1 = 0 ;
5272 PyObject * obj2 = 0 ;
5273 char *kwnames[] = {
5274 (char *) "self",(char *) "text",(char *) "number", NULL
5275 };
5276
5277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5280 {
5281 arg2 = wxString_in_helper(obj1);
5282 if (arg2 == NULL) SWIG_fail;
5283 temp2 = True;
5284 }
5285 if (obj2) {
5286 arg3 = (int) SWIG_AsInt(obj2);
5287 if (PyErr_Occurred()) SWIG_fail;
5288 }
5289 {
5290 PyThreadState* __tstate = wxPyBeginAllowThreads();
5291 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5292
5293 wxPyEndAllowThreads(__tstate);
5294 if (PyErr_Occurred()) SWIG_fail;
5295 }
5296 Py_INCREF(Py_None); resultobj = Py_None;
5297 {
5298 if (temp2)
5299 delete arg2;
5300 }
5301 return resultobj;
5302 fail:
5303 {
5304 if (temp2)
5305 delete arg2;
5306 }
5307 return NULL;
5308 }
5309
5310
5311 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5312 PyObject *resultobj;
5313 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5314 int arg2 = (int) 0 ;
5315 wxString result;
5316 PyObject * obj0 = 0 ;
5317 PyObject * obj1 = 0 ;
5318 char *kwnames[] = {
5319 (char *) "self",(char *) "number", NULL
5320 };
5321
5322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5325 if (obj1) {
5326 arg2 = (int) SWIG_AsInt(obj1);
5327 if (PyErr_Occurred()) SWIG_fail;
5328 }
5329 {
5330 PyThreadState* __tstate = wxPyBeginAllowThreads();
5331 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5332
5333 wxPyEndAllowThreads(__tstate);
5334 if (PyErr_Occurred()) SWIG_fail;
5335 }
5336 {
5337 #if wxUSE_UNICODE
5338 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5339 #else
5340 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5341 #endif
5342 }
5343 return resultobj;
5344 fail:
5345 return NULL;
5346 }
5347
5348
5349 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5350 PyObject *resultobj;
5351 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5352 wxString *arg2 = 0 ;
5353 int arg3 = (int) 0 ;
5354 bool temp2 = False ;
5355 PyObject * obj0 = 0 ;
5356 PyObject * obj1 = 0 ;
5357 PyObject * obj2 = 0 ;
5358 char *kwnames[] = {
5359 (char *) "self",(char *) "text",(char *) "number", NULL
5360 };
5361
5362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5365 {
5366 arg2 = wxString_in_helper(obj1);
5367 if (arg2 == NULL) SWIG_fail;
5368 temp2 = True;
5369 }
5370 if (obj2) {
5371 arg3 = (int) SWIG_AsInt(obj2);
5372 if (PyErr_Occurred()) SWIG_fail;
5373 }
5374 {
5375 PyThreadState* __tstate = wxPyBeginAllowThreads();
5376 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5377
5378 wxPyEndAllowThreads(__tstate);
5379 if (PyErr_Occurred()) SWIG_fail;
5380 }
5381 Py_INCREF(Py_None); resultobj = Py_None;
5382 {
5383 if (temp2)
5384 delete arg2;
5385 }
5386 return resultobj;
5387 fail:
5388 {
5389 if (temp2)
5390 delete arg2;
5391 }
5392 return NULL;
5393 }
5394
5395
5396 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5397 PyObject *resultobj;
5398 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5399 int arg2 = (int) 0 ;
5400 PyObject * obj0 = 0 ;
5401 PyObject * obj1 = 0 ;
5402 char *kwnames[] = {
5403 (char *) "self",(char *) "number", NULL
5404 };
5405
5406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5409 if (obj1) {
5410 arg2 = (int) SWIG_AsInt(obj1);
5411 if (PyErr_Occurred()) SWIG_fail;
5412 }
5413 {
5414 PyThreadState* __tstate = wxPyBeginAllowThreads();
5415 (arg1)->PopStatusText(arg2);
5416
5417 wxPyEndAllowThreads(__tstate);
5418 if (PyErr_Occurred()) SWIG_fail;
5419 }
5420 Py_INCREF(Py_None); resultobj = Py_None;
5421 return resultobj;
5422 fail:
5423 return NULL;
5424 }
5425
5426
5427 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5428 PyObject *resultobj;
5429 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5430 int arg2 ;
5431 int *arg3 = (int *) 0 ;
5432 PyObject * obj0 = 0 ;
5433 PyObject * obj1 = 0 ;
5434 char *kwnames[] = {
5435 (char *) "self",(char *) "widths", NULL
5436 };
5437
5438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5441 {
5442 arg2 = PyList_Size(obj1);
5443 arg3 = int_LIST_helper(obj1);
5444 if (arg3 == NULL) SWIG_fail;
5445 }
5446 {
5447 PyThreadState* __tstate = wxPyBeginAllowThreads();
5448 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5449
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 Py_INCREF(Py_None); resultobj = Py_None;
5454 {
5455 if (arg3) delete [] arg3;
5456 }
5457 return resultobj;
5458 fail:
5459 {
5460 if (arg3) delete [] arg3;
5461 }
5462 return NULL;
5463 }
5464
5465
5466 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *self, PyObject *args, PyObject *kwargs) {
5467 PyObject *resultobj;
5468 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5469 int arg2 ;
5470 int *arg3 = (int *) 0 ;
5471 PyObject * obj0 = 0 ;
5472 PyObject * obj1 = 0 ;
5473 char *kwnames[] = {
5474 (char *) "self",(char *) "styles", NULL
5475 };
5476
5477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
5478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5480 {
5481 arg2 = PyList_Size(obj1);
5482 arg3 = int_LIST_helper(obj1);
5483 if (arg3 == NULL) SWIG_fail;
5484 }
5485 {
5486 PyThreadState* __tstate = wxPyBeginAllowThreads();
5487 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
5488
5489 wxPyEndAllowThreads(__tstate);
5490 if (PyErr_Occurred()) SWIG_fail;
5491 }
5492 Py_INCREF(Py_None); resultobj = Py_None;
5493 {
5494 if (arg3) delete [] arg3;
5495 }
5496 return resultobj;
5497 fail:
5498 {
5499 if (arg3) delete [] arg3;
5500 }
5501 return NULL;
5502 }
5503
5504
5505 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5506 PyObject *resultobj;
5507 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5508 int arg2 ;
5509 wxRect result;
5510 PyObject * obj0 = 0 ;
5511 PyObject * obj1 = 0 ;
5512 char *kwnames[] = {
5513 (char *) "self",(char *) "i", NULL
5514 };
5515
5516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5519 arg2 = (int) SWIG_AsInt(obj1);
5520 if (PyErr_Occurred()) SWIG_fail;
5521 {
5522 PyThreadState* __tstate = wxPyBeginAllowThreads();
5523 result = wxStatusBar_GetFieldRect(arg1,arg2);
5524
5525 wxPyEndAllowThreads(__tstate);
5526 if (PyErr_Occurred()) SWIG_fail;
5527 }
5528 {
5529 wxRect * resultptr;
5530 resultptr = new wxRect((wxRect &) result);
5531 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5532 }
5533 return resultobj;
5534 fail:
5535 return NULL;
5536 }
5537
5538
5539 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5540 PyObject *resultobj;
5541 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5542 int arg2 ;
5543 PyObject * obj0 = 0 ;
5544 PyObject * obj1 = 0 ;
5545 char *kwnames[] = {
5546 (char *) "self",(char *) "height", NULL
5547 };
5548
5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5552 arg2 = (int) SWIG_AsInt(obj1);
5553 if (PyErr_Occurred()) SWIG_fail;
5554 {
5555 PyThreadState* __tstate = wxPyBeginAllowThreads();
5556 (arg1)->SetMinHeight(arg2);
5557
5558 wxPyEndAllowThreads(__tstate);
5559 if (PyErr_Occurred()) SWIG_fail;
5560 }
5561 Py_INCREF(Py_None); resultobj = Py_None;
5562 return resultobj;
5563 fail:
5564 return NULL;
5565 }
5566
5567
5568 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5569 PyObject *resultobj;
5570 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5571 int result;
5572 PyObject * obj0 = 0 ;
5573 char *kwnames[] = {
5574 (char *) "self", NULL
5575 };
5576
5577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5580 {
5581 PyThreadState* __tstate = wxPyBeginAllowThreads();
5582 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5583
5584 wxPyEndAllowThreads(__tstate);
5585 if (PyErr_Occurred()) SWIG_fail;
5586 }
5587 resultobj = SWIG_FromInt((int)result);
5588 return resultobj;
5589 fail:
5590 return NULL;
5591 }
5592
5593
5594 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5595 PyObject *resultobj;
5596 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5597 int result;
5598 PyObject * obj0 = 0 ;
5599 char *kwnames[] = {
5600 (char *) "self", NULL
5601 };
5602
5603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5606 {
5607 PyThreadState* __tstate = wxPyBeginAllowThreads();
5608 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5609
5610 wxPyEndAllowThreads(__tstate);
5611 if (PyErr_Occurred()) SWIG_fail;
5612 }
5613 resultobj = SWIG_FromInt((int)result);
5614 return resultobj;
5615 fail:
5616 return NULL;
5617 }
5618
5619
5620 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5621 PyObject *resultobj;
5622 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5623 wxVisualAttributes result;
5624 PyObject * obj0 = 0 ;
5625 char *kwnames[] = {
5626 (char *) "variant", NULL
5627 };
5628
5629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5630 if (obj0) {
5631 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 {
5635 if (!wxPyCheckForApp()) SWIG_fail;
5636 PyThreadState* __tstate = wxPyBeginAllowThreads();
5637 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5638
5639 wxPyEndAllowThreads(__tstate);
5640 if (PyErr_Occurred()) SWIG_fail;
5641 }
5642 {
5643 wxVisualAttributes * resultptr;
5644 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5645 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5646 }
5647 return resultobj;
5648 fail:
5649 return NULL;
5650 }
5651
5652
5653 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5654 PyObject *obj;
5655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5656 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5657 Py_INCREF(obj);
5658 return Py_BuildValue((char *)"");
5659 }
5660 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5661 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5662 return 1;
5663 }
5664
5665
5666 static PyObject *_wrap_SplitterNameStr_get() {
5667 PyObject *pyobj;
5668
5669 {
5670 #if wxUSE_UNICODE
5671 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5672 #else
5673 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5674 #endif
5675 }
5676 return pyobj;
5677 }
5678
5679
5680 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5681 PyObject *resultobj;
5682 wxWindow *arg1 = (wxWindow *) 0 ;
5683 int arg2 = (int) -1 ;
5684 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5685 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5686 wxSize const &arg4_defvalue = wxDefaultSize ;
5687 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5688 long arg5 = (long) wxSP_3D ;
5689 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5690 wxString *arg6 = (wxString *) &arg6_defvalue ;
5691 wxSplitterWindow *result;
5692 wxPoint temp3 ;
5693 wxSize temp4 ;
5694 bool temp6 = False ;
5695 PyObject * obj0 = 0 ;
5696 PyObject * obj1 = 0 ;
5697 PyObject * obj2 = 0 ;
5698 PyObject * obj3 = 0 ;
5699 PyObject * obj4 = 0 ;
5700 PyObject * obj5 = 0 ;
5701 char *kwnames[] = {
5702 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5703 };
5704
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5708 if (obj1) {
5709 arg2 = (int) SWIG_AsInt(obj1);
5710 if (PyErr_Occurred()) SWIG_fail;
5711 }
5712 if (obj2) {
5713 {
5714 arg3 = &temp3;
5715 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5716 }
5717 }
5718 if (obj3) {
5719 {
5720 arg4 = &temp4;
5721 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5722 }
5723 }
5724 if (obj4) {
5725 arg5 = (long) SWIG_AsLong(obj4);
5726 if (PyErr_Occurred()) SWIG_fail;
5727 }
5728 if (obj5) {
5729 {
5730 arg6 = wxString_in_helper(obj5);
5731 if (arg6 == NULL) SWIG_fail;
5732 temp6 = True;
5733 }
5734 }
5735 {
5736 if (!wxPyCheckForApp()) SWIG_fail;
5737 PyThreadState* __tstate = wxPyBeginAllowThreads();
5738 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5739
5740 wxPyEndAllowThreads(__tstate);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 }
5743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5744 {
5745 if (temp6)
5746 delete arg6;
5747 }
5748 return resultobj;
5749 fail:
5750 {
5751 if (temp6)
5752 delete arg6;
5753 }
5754 return NULL;
5755 }
5756
5757
5758 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5759 PyObject *resultobj;
5760 wxSplitterWindow *result;
5761 char *kwnames[] = {
5762 NULL
5763 };
5764
5765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5766 {
5767 if (!wxPyCheckForApp()) SWIG_fail;
5768 PyThreadState* __tstate = wxPyBeginAllowThreads();
5769 result = (wxSplitterWindow *)new wxSplitterWindow();
5770
5771 wxPyEndAllowThreads(__tstate);
5772 if (PyErr_Occurred()) SWIG_fail;
5773 }
5774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5775 return resultobj;
5776 fail:
5777 return NULL;
5778 }
5779
5780
5781 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5782 PyObject *resultobj;
5783 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5784 wxWindow *arg2 = (wxWindow *) 0 ;
5785 int arg3 = (int) -1 ;
5786 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5787 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5788 wxSize const &arg5_defvalue = wxDefaultSize ;
5789 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5790 long arg6 = (long) wxSP_3D ;
5791 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5792 wxString *arg7 = (wxString *) &arg7_defvalue ;
5793 bool result;
5794 wxPoint temp4 ;
5795 wxSize temp5 ;
5796 bool temp7 = False ;
5797 PyObject * obj0 = 0 ;
5798 PyObject * obj1 = 0 ;
5799 PyObject * obj2 = 0 ;
5800 PyObject * obj3 = 0 ;
5801 PyObject * obj4 = 0 ;
5802 PyObject * obj5 = 0 ;
5803 PyObject * obj6 = 0 ;
5804 char *kwnames[] = {
5805 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5806 };
5807
5808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5813 if (obj2) {
5814 arg3 = (int) SWIG_AsInt(obj2);
5815 if (PyErr_Occurred()) SWIG_fail;
5816 }
5817 if (obj3) {
5818 {
5819 arg4 = &temp4;
5820 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5821 }
5822 }
5823 if (obj4) {
5824 {
5825 arg5 = &temp5;
5826 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5827 }
5828 }
5829 if (obj5) {
5830 arg6 = (long) SWIG_AsLong(obj5);
5831 if (PyErr_Occurred()) SWIG_fail;
5832 }
5833 if (obj6) {
5834 {
5835 arg7 = wxString_in_helper(obj6);
5836 if (arg7 == NULL) SWIG_fail;
5837 temp7 = True;
5838 }
5839 }
5840 {
5841 PyThreadState* __tstate = wxPyBeginAllowThreads();
5842 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5843
5844 wxPyEndAllowThreads(__tstate);
5845 if (PyErr_Occurred()) SWIG_fail;
5846 }
5847 {
5848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5849 }
5850 {
5851 if (temp7)
5852 delete arg7;
5853 }
5854 return resultobj;
5855 fail:
5856 {
5857 if (temp7)
5858 delete arg7;
5859 }
5860 return NULL;
5861 }
5862
5863
5864 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5865 PyObject *resultobj;
5866 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5867 wxWindow *result;
5868 PyObject * obj0 = 0 ;
5869 char *kwnames[] = {
5870 (char *) "self", NULL
5871 };
5872
5873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5876 {
5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
5878 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5879
5880 wxPyEndAllowThreads(__tstate);
5881 if (PyErr_Occurred()) SWIG_fail;
5882 }
5883 {
5884 resultobj = wxPyMake_wxObject(result, 0);
5885 }
5886 return resultobj;
5887 fail:
5888 return NULL;
5889 }
5890
5891
5892 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5893 PyObject *resultobj;
5894 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5895 wxWindow *result;
5896 PyObject * obj0 = 0 ;
5897 char *kwnames[] = {
5898 (char *) "self", NULL
5899 };
5900
5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5904 {
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5907
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
5911 {
5912 resultobj = wxPyMake_wxObject(result, 0);
5913 }
5914 return resultobj;
5915 fail:
5916 return NULL;
5917 }
5918
5919
5920 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5921 PyObject *resultobj;
5922 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5923 int arg2 ;
5924 PyObject * obj0 = 0 ;
5925 PyObject * obj1 = 0 ;
5926 char *kwnames[] = {
5927 (char *) "self",(char *) "mode", NULL
5928 };
5929
5930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5933 arg2 = (int) SWIG_AsInt(obj1);
5934 if (PyErr_Occurred()) SWIG_fail;
5935 {
5936 PyThreadState* __tstate = wxPyBeginAllowThreads();
5937 (arg1)->SetSplitMode(arg2);
5938
5939 wxPyEndAllowThreads(__tstate);
5940 if (PyErr_Occurred()) SWIG_fail;
5941 }
5942 Py_INCREF(Py_None); resultobj = Py_None;
5943 return resultobj;
5944 fail:
5945 return NULL;
5946 }
5947
5948
5949 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5950 PyObject *resultobj;
5951 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5952 int result;
5953 PyObject * obj0 = 0 ;
5954 char *kwnames[] = {
5955 (char *) "self", NULL
5956 };
5957
5958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5961 {
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
5963 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5964
5965 wxPyEndAllowThreads(__tstate);
5966 if (PyErr_Occurred()) SWIG_fail;
5967 }
5968 resultobj = SWIG_FromInt((int)result);
5969 return resultobj;
5970 fail:
5971 return NULL;
5972 }
5973
5974
5975 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5976 PyObject *resultobj;
5977 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5978 wxWindow *arg2 = (wxWindow *) 0 ;
5979 PyObject * obj0 = 0 ;
5980 PyObject * obj1 = 0 ;
5981 char *kwnames[] = {
5982 (char *) "self",(char *) "window", NULL
5983 };
5984
5985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5988 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5990 {
5991 PyThreadState* __tstate = wxPyBeginAllowThreads();
5992 (arg1)->Initialize(arg2);
5993
5994 wxPyEndAllowThreads(__tstate);
5995 if (PyErr_Occurred()) SWIG_fail;
5996 }
5997 Py_INCREF(Py_None); resultobj = Py_None;
5998 return resultobj;
5999 fail:
6000 return NULL;
6001 }
6002
6003
6004 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
6005 PyObject *resultobj;
6006 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6007 wxWindow *arg2 = (wxWindow *) 0 ;
6008 wxWindow *arg3 = (wxWindow *) 0 ;
6009 int arg4 = (int) 0 ;
6010 bool result;
6011 PyObject * obj0 = 0 ;
6012 PyObject * obj1 = 0 ;
6013 PyObject * obj2 = 0 ;
6014 PyObject * obj3 = 0 ;
6015 char *kwnames[] = {
6016 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6017 };
6018
6019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6022 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6024 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6026 if (obj3) {
6027 arg4 = (int) SWIG_AsInt(obj3);
6028 if (PyErr_Occurred()) SWIG_fail;
6029 }
6030 {
6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6032 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
6033
6034 wxPyEndAllowThreads(__tstate);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 }
6037 {
6038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6039 }
6040 return resultobj;
6041 fail:
6042 return NULL;
6043 }
6044
6045
6046 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
6047 PyObject *resultobj;
6048 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6049 wxWindow *arg2 = (wxWindow *) 0 ;
6050 wxWindow *arg3 = (wxWindow *) 0 ;
6051 int arg4 = (int) 0 ;
6052 bool result;
6053 PyObject * obj0 = 0 ;
6054 PyObject * obj1 = 0 ;
6055 PyObject * obj2 = 0 ;
6056 PyObject * obj3 = 0 ;
6057 char *kwnames[] = {
6058 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6059 };
6060
6061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6064 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6066 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6068 if (obj3) {
6069 arg4 = (int) SWIG_AsInt(obj3);
6070 if (PyErr_Occurred()) SWIG_fail;
6071 }
6072 {
6073 PyThreadState* __tstate = wxPyBeginAllowThreads();
6074 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6075
6076 wxPyEndAllowThreads(__tstate);
6077 if (PyErr_Occurred()) SWIG_fail;
6078 }
6079 {
6080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6081 }
6082 return resultobj;
6083 fail:
6084 return NULL;
6085 }
6086
6087
6088 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6089 PyObject *resultobj;
6090 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6091 wxWindow *arg2 = (wxWindow *) NULL ;
6092 bool result;
6093 PyObject * obj0 = 0 ;
6094 PyObject * obj1 = 0 ;
6095 char *kwnames[] = {
6096 (char *) "self",(char *) "toRemove", NULL
6097 };
6098
6099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6102 if (obj1) {
6103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6105 }
6106 {
6107 PyThreadState* __tstate = wxPyBeginAllowThreads();
6108 result = (bool)(arg1)->Unsplit(arg2);
6109
6110 wxPyEndAllowThreads(__tstate);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 }
6113 {
6114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6115 }
6116 return resultobj;
6117 fail:
6118 return NULL;
6119 }
6120
6121
6122 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6123 PyObject *resultobj;
6124 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6125 wxWindow *arg2 = (wxWindow *) 0 ;
6126 wxWindow *arg3 = (wxWindow *) 0 ;
6127 bool result;
6128 PyObject * obj0 = 0 ;
6129 PyObject * obj1 = 0 ;
6130 PyObject * obj2 = 0 ;
6131 char *kwnames[] = {
6132 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6133 };
6134
6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6138 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6140 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6142 {
6143 PyThreadState* __tstate = wxPyBeginAllowThreads();
6144 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6145
6146 wxPyEndAllowThreads(__tstate);
6147 if (PyErr_Occurred()) SWIG_fail;
6148 }
6149 {
6150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6151 }
6152 return resultobj;
6153 fail:
6154 return NULL;
6155 }
6156
6157
6158 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6159 PyObject *resultobj;
6160 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6161 PyObject * obj0 = 0 ;
6162 char *kwnames[] = {
6163 (char *) "self", NULL
6164 };
6165
6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6169 {
6170 PyThreadState* __tstate = wxPyBeginAllowThreads();
6171 (arg1)->UpdateSize();
6172
6173 wxPyEndAllowThreads(__tstate);
6174 if (PyErr_Occurred()) SWIG_fail;
6175 }
6176 Py_INCREF(Py_None); resultobj = Py_None;
6177 return resultobj;
6178 fail:
6179 return NULL;
6180 }
6181
6182
6183 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6184 PyObject *resultobj;
6185 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6186 bool result;
6187 PyObject * obj0 = 0 ;
6188 char *kwnames[] = {
6189 (char *) "self", NULL
6190 };
6191
6192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6198
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 {
6203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6204 }
6205 return resultobj;
6206 fail:
6207 return NULL;
6208 }
6209
6210
6211 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6212 PyObject *resultobj;
6213 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6214 int arg2 ;
6215 PyObject * obj0 = 0 ;
6216 PyObject * obj1 = 0 ;
6217 char *kwnames[] = {
6218 (char *) "self",(char *) "width", NULL
6219 };
6220
6221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6224 arg2 = (int) SWIG_AsInt(obj1);
6225 if (PyErr_Occurred()) SWIG_fail;
6226 {
6227 PyThreadState* __tstate = wxPyBeginAllowThreads();
6228 (arg1)->SetSashSize(arg2);
6229
6230 wxPyEndAllowThreads(__tstate);
6231 if (PyErr_Occurred()) SWIG_fail;
6232 }
6233 Py_INCREF(Py_None); resultobj = Py_None;
6234 return resultobj;
6235 fail:
6236 return NULL;
6237 }
6238
6239
6240 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6241 PyObject *resultobj;
6242 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6243 int arg2 ;
6244 PyObject * obj0 = 0 ;
6245 PyObject * obj1 = 0 ;
6246 char *kwnames[] = {
6247 (char *) "self",(char *) "width", NULL
6248 };
6249
6250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6253 arg2 = (int) SWIG_AsInt(obj1);
6254 if (PyErr_Occurred()) SWIG_fail;
6255 {
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 (arg1)->SetBorderSize(arg2);
6258
6259 wxPyEndAllowThreads(__tstate);
6260 if (PyErr_Occurred()) SWIG_fail;
6261 }
6262 Py_INCREF(Py_None); resultobj = Py_None;
6263 return resultobj;
6264 fail:
6265 return NULL;
6266 }
6267
6268
6269 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6270 PyObject *resultobj;
6271 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6272 int result;
6273 PyObject * obj0 = 0 ;
6274 char *kwnames[] = {
6275 (char *) "self", NULL
6276 };
6277
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6281 {
6282 PyThreadState* __tstate = wxPyBeginAllowThreads();
6283 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6284
6285 wxPyEndAllowThreads(__tstate);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 }
6288 resultobj = SWIG_FromInt((int)result);
6289 return resultobj;
6290 fail:
6291 return NULL;
6292 }
6293
6294
6295 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6296 PyObject *resultobj;
6297 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6298 int result;
6299 PyObject * obj0 = 0 ;
6300 char *kwnames[] = {
6301 (char *) "self", NULL
6302 };
6303
6304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6307 {
6308 PyThreadState* __tstate = wxPyBeginAllowThreads();
6309 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6310
6311 wxPyEndAllowThreads(__tstate);
6312 if (PyErr_Occurred()) SWIG_fail;
6313 }
6314 resultobj = SWIG_FromInt((int)result);
6315 return resultobj;
6316 fail:
6317 return NULL;
6318 }
6319
6320
6321 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6322 PyObject *resultobj;
6323 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6324 int arg2 ;
6325 bool arg3 = (bool) True ;
6326 PyObject * obj0 = 0 ;
6327 PyObject * obj1 = 0 ;
6328 PyObject * obj2 = 0 ;
6329 char *kwnames[] = {
6330 (char *) "self",(char *) "position",(char *) "redraw", NULL
6331 };
6332
6333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6336 arg2 = (int) SWIG_AsInt(obj1);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 if (obj2) {
6339 arg3 = (bool) SWIG_AsBool(obj2);
6340 if (PyErr_Occurred()) SWIG_fail;
6341 }
6342 {
6343 PyThreadState* __tstate = wxPyBeginAllowThreads();
6344 (arg1)->SetSashPosition(arg2,arg3);
6345
6346 wxPyEndAllowThreads(__tstate);
6347 if (PyErr_Occurred()) SWIG_fail;
6348 }
6349 Py_INCREF(Py_None); resultobj = Py_None;
6350 return resultobj;
6351 fail:
6352 return NULL;
6353 }
6354
6355
6356 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6357 PyObject *resultobj;
6358 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6359 int result;
6360 PyObject * obj0 = 0 ;
6361 char *kwnames[] = {
6362 (char *) "self", NULL
6363 };
6364
6365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6368 {
6369 PyThreadState* __tstate = wxPyBeginAllowThreads();
6370 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6371
6372 wxPyEndAllowThreads(__tstate);
6373 if (PyErr_Occurred()) SWIG_fail;
6374 }
6375 resultobj = SWIG_FromInt((int)result);
6376 return resultobj;
6377 fail:
6378 return NULL;
6379 }
6380
6381
6382 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6383 PyObject *resultobj;
6384 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6385 int arg2 ;
6386 PyObject * obj0 = 0 ;
6387 PyObject * obj1 = 0 ;
6388 char *kwnames[] = {
6389 (char *) "self",(char *) "min", NULL
6390 };
6391
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6395 arg2 = (int) SWIG_AsInt(obj1);
6396 if (PyErr_Occurred()) SWIG_fail;
6397 {
6398 PyThreadState* __tstate = wxPyBeginAllowThreads();
6399 (arg1)->SetMinimumPaneSize(arg2);
6400
6401 wxPyEndAllowThreads(__tstate);
6402 if (PyErr_Occurred()) SWIG_fail;
6403 }
6404 Py_INCREF(Py_None); resultobj = Py_None;
6405 return resultobj;
6406 fail:
6407 return NULL;
6408 }
6409
6410
6411 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6412 PyObject *resultobj;
6413 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6414 int result;
6415 PyObject * obj0 = 0 ;
6416 char *kwnames[] = {
6417 (char *) "self", NULL
6418 };
6419
6420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6423 {
6424 PyThreadState* __tstate = wxPyBeginAllowThreads();
6425 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6426
6427 wxPyEndAllowThreads(__tstate);
6428 if (PyErr_Occurred()) SWIG_fail;
6429 }
6430 resultobj = SWIG_FromInt((int)result);
6431 return resultobj;
6432 fail:
6433 return NULL;
6434 }
6435
6436
6437 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6438 PyObject *resultobj;
6439 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6440 int arg2 ;
6441 int arg3 ;
6442 int arg4 = (int) 5 ;
6443 bool result;
6444 PyObject * obj0 = 0 ;
6445 PyObject * obj1 = 0 ;
6446 PyObject * obj2 = 0 ;
6447 PyObject * obj3 = 0 ;
6448 char *kwnames[] = {
6449 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6450 };
6451
6452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6455 arg2 = (int) SWIG_AsInt(obj1);
6456 if (PyErr_Occurred()) SWIG_fail;
6457 arg3 = (int) SWIG_AsInt(obj2);
6458 if (PyErr_Occurred()) SWIG_fail;
6459 if (obj3) {
6460 arg4 = (int) SWIG_AsInt(obj3);
6461 if (PyErr_Occurred()) SWIG_fail;
6462 }
6463 {
6464 PyThreadState* __tstate = wxPyBeginAllowThreads();
6465 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6466
6467 wxPyEndAllowThreads(__tstate);
6468 if (PyErr_Occurred()) SWIG_fail;
6469 }
6470 {
6471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6472 }
6473 return resultobj;
6474 fail:
6475 return NULL;
6476 }
6477
6478
6479 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6480 PyObject *resultobj;
6481 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6482 PyObject * obj0 = 0 ;
6483 char *kwnames[] = {
6484 (char *) "self", NULL
6485 };
6486
6487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6490 {
6491 PyThreadState* __tstate = wxPyBeginAllowThreads();
6492 (arg1)->SizeWindows();
6493
6494 wxPyEndAllowThreads(__tstate);
6495 if (PyErr_Occurred()) SWIG_fail;
6496 }
6497 Py_INCREF(Py_None); resultobj = Py_None;
6498 return resultobj;
6499 fail:
6500 return NULL;
6501 }
6502
6503
6504 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6505 PyObject *resultobj;
6506 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6507 bool arg2 ;
6508 PyObject * obj0 = 0 ;
6509 PyObject * obj1 = 0 ;
6510 char *kwnames[] = {
6511 (char *) "self",(char *) "needUpdating", NULL
6512 };
6513
6514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6517 arg2 = (bool) SWIG_AsBool(obj1);
6518 if (PyErr_Occurred()) SWIG_fail;
6519 {
6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
6521 (arg1)->SetNeedUpdating(arg2);
6522
6523 wxPyEndAllowThreads(__tstate);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 }
6526 Py_INCREF(Py_None); resultobj = Py_None;
6527 return resultobj;
6528 fail:
6529 return NULL;
6530 }
6531
6532
6533 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6534 PyObject *resultobj;
6535 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6536 bool result;
6537 PyObject * obj0 = 0 ;
6538 char *kwnames[] = {
6539 (char *) "self", NULL
6540 };
6541
6542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6548
6549 wxPyEndAllowThreads(__tstate);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
6552 {
6553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6554 }
6555 return resultobj;
6556 fail:
6557 return NULL;
6558 }
6559
6560
6561 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6562 PyObject *resultobj;
6563 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6564 wxVisualAttributes result;
6565 PyObject * obj0 = 0 ;
6566 char *kwnames[] = {
6567 (char *) "variant", NULL
6568 };
6569
6570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6571 if (obj0) {
6572 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6573 if (PyErr_Occurred()) SWIG_fail;
6574 }
6575 {
6576 if (!wxPyCheckForApp()) SWIG_fail;
6577 PyThreadState* __tstate = wxPyBeginAllowThreads();
6578 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6579
6580 wxPyEndAllowThreads(__tstate);
6581 if (PyErr_Occurred()) SWIG_fail;
6582 }
6583 {
6584 wxVisualAttributes * resultptr;
6585 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6587 }
6588 return resultobj;
6589 fail:
6590 return NULL;
6591 }
6592
6593
6594 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6595 PyObject *obj;
6596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6597 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6598 Py_INCREF(obj);
6599 return Py_BuildValue((char *)"");
6600 }
6601 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6602 PyObject *resultobj;
6603 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6604 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6605 wxSplitterEvent *result;
6606 PyObject * obj0 = 0 ;
6607 PyObject * obj1 = 0 ;
6608 char *kwnames[] = {
6609 (char *) "type",(char *) "splitter", NULL
6610 };
6611
6612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6613 if (obj0) {
6614 arg1 = (wxEventType) SWIG_AsInt(obj0);
6615 if (PyErr_Occurred()) SWIG_fail;
6616 }
6617 if (obj1) {
6618 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6620 }
6621 {
6622 PyThreadState* __tstate = wxPyBeginAllowThreads();
6623 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6624
6625 wxPyEndAllowThreads(__tstate);
6626 if (PyErr_Occurred()) SWIG_fail;
6627 }
6628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6629 return resultobj;
6630 fail:
6631 return NULL;
6632 }
6633
6634
6635 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6636 PyObject *resultobj;
6637 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6638 int arg2 ;
6639 PyObject * obj0 = 0 ;
6640 PyObject * obj1 = 0 ;
6641 char *kwnames[] = {
6642 (char *) "self",(char *) "pos", NULL
6643 };
6644
6645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6648 arg2 = (int) SWIG_AsInt(obj1);
6649 if (PyErr_Occurred()) SWIG_fail;
6650 {
6651 PyThreadState* __tstate = wxPyBeginAllowThreads();
6652 (arg1)->SetSashPosition(arg2);
6653
6654 wxPyEndAllowThreads(__tstate);
6655 if (PyErr_Occurred()) SWIG_fail;
6656 }
6657 Py_INCREF(Py_None); resultobj = Py_None;
6658 return resultobj;
6659 fail:
6660 return NULL;
6661 }
6662
6663
6664 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6665 PyObject *resultobj;
6666 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6667 int result;
6668 PyObject * obj0 = 0 ;
6669 char *kwnames[] = {
6670 (char *) "self", NULL
6671 };
6672
6673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6676 {
6677 PyThreadState* __tstate = wxPyBeginAllowThreads();
6678 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6679
6680 wxPyEndAllowThreads(__tstate);
6681 if (PyErr_Occurred()) SWIG_fail;
6682 }
6683 resultobj = SWIG_FromInt((int)result);
6684 return resultobj;
6685 fail:
6686 return NULL;
6687 }
6688
6689
6690 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6691 PyObject *resultobj;
6692 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6693 wxWindow *result;
6694 PyObject * obj0 = 0 ;
6695 char *kwnames[] = {
6696 (char *) "self", NULL
6697 };
6698
6699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6702 {
6703 PyThreadState* __tstate = wxPyBeginAllowThreads();
6704 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6705
6706 wxPyEndAllowThreads(__tstate);
6707 if (PyErr_Occurred()) SWIG_fail;
6708 }
6709 {
6710 resultobj = wxPyMake_wxObject(result, 0);
6711 }
6712 return resultobj;
6713 fail:
6714 return NULL;
6715 }
6716
6717
6718 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6719 PyObject *resultobj;
6720 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6721 int result;
6722 PyObject * obj0 = 0 ;
6723 char *kwnames[] = {
6724 (char *) "self", NULL
6725 };
6726
6727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6730 {
6731 PyThreadState* __tstate = wxPyBeginAllowThreads();
6732 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6733
6734 wxPyEndAllowThreads(__tstate);
6735 if (PyErr_Occurred()) SWIG_fail;
6736 }
6737 resultobj = SWIG_FromInt((int)result);
6738 return resultobj;
6739 fail:
6740 return NULL;
6741 }
6742
6743
6744 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6745 PyObject *resultobj;
6746 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6747 int result;
6748 PyObject * obj0 = 0 ;
6749 char *kwnames[] = {
6750 (char *) "self", NULL
6751 };
6752
6753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6756 {
6757 PyThreadState* __tstate = wxPyBeginAllowThreads();
6758 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6759
6760 wxPyEndAllowThreads(__tstate);
6761 if (PyErr_Occurred()) SWIG_fail;
6762 }
6763 resultobj = SWIG_FromInt((int)result);
6764 return resultobj;
6765 fail:
6766 return NULL;
6767 }
6768
6769
6770 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6771 PyObject *obj;
6772 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6773 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6774 Py_INCREF(obj);
6775 return Py_BuildValue((char *)"");
6776 }
6777 static int _wrap_SashNameStr_set(PyObject *_val) {
6778 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6779 return 1;
6780 }
6781
6782
6783 static PyObject *_wrap_SashNameStr_get() {
6784 PyObject *pyobj;
6785
6786 {
6787 #if wxUSE_UNICODE
6788 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6789 #else
6790 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6791 #endif
6792 }
6793 return pyobj;
6794 }
6795
6796
6797 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6798 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6799 return 1;
6800 }
6801
6802
6803 static PyObject *_wrap_SashLayoutNameStr_get() {
6804 PyObject *pyobj;
6805
6806 {
6807 #if wxUSE_UNICODE
6808 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6809 #else
6810 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6811 #endif
6812 }
6813 return pyobj;
6814 }
6815
6816
6817 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6818 PyObject *resultobj;
6819 wxWindow *arg1 = (wxWindow *) 0 ;
6820 int arg2 = (int) -1 ;
6821 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6822 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6823 wxSize const &arg4_defvalue = wxDefaultSize ;
6824 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6825 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6826 wxString const &arg6_defvalue = wxPySashNameStr ;
6827 wxString *arg6 = (wxString *) &arg6_defvalue ;
6828 wxSashWindow *result;
6829 wxPoint temp3 ;
6830 wxSize temp4 ;
6831 bool temp6 = False ;
6832 PyObject * obj0 = 0 ;
6833 PyObject * obj1 = 0 ;
6834 PyObject * obj2 = 0 ;
6835 PyObject * obj3 = 0 ;
6836 PyObject * obj4 = 0 ;
6837 PyObject * obj5 = 0 ;
6838 char *kwnames[] = {
6839 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6840 };
6841
6842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6845 if (obj1) {
6846 arg2 = (int) SWIG_AsInt(obj1);
6847 if (PyErr_Occurred()) SWIG_fail;
6848 }
6849 if (obj2) {
6850 {
6851 arg3 = &temp3;
6852 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6853 }
6854 }
6855 if (obj3) {
6856 {
6857 arg4 = &temp4;
6858 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6859 }
6860 }
6861 if (obj4) {
6862 arg5 = (long) SWIG_AsLong(obj4);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 }
6865 if (obj5) {
6866 {
6867 arg6 = wxString_in_helper(obj5);
6868 if (arg6 == NULL) SWIG_fail;
6869 temp6 = True;
6870 }
6871 }
6872 {
6873 if (!wxPyCheckForApp()) SWIG_fail;
6874 PyThreadState* __tstate = wxPyBeginAllowThreads();
6875 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6876
6877 wxPyEndAllowThreads(__tstate);
6878 if (PyErr_Occurred()) SWIG_fail;
6879 }
6880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6881 {
6882 if (temp6)
6883 delete arg6;
6884 }
6885 return resultobj;
6886 fail:
6887 {
6888 if (temp6)
6889 delete arg6;
6890 }
6891 return NULL;
6892 }
6893
6894
6895 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6896 PyObject *resultobj;
6897 wxSashWindow *result;
6898 char *kwnames[] = {
6899 NULL
6900 };
6901
6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6903 {
6904 if (!wxPyCheckForApp()) SWIG_fail;
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
6906 result = (wxSashWindow *)new wxSashWindow();
6907
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
6911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6912 return resultobj;
6913 fail:
6914 return NULL;
6915 }
6916
6917
6918 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6919 PyObject *resultobj;
6920 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6921 wxWindow *arg2 = (wxWindow *) 0 ;
6922 int arg3 = (int) -1 ;
6923 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6924 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6925 wxSize const &arg5_defvalue = wxDefaultSize ;
6926 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6927 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6928 wxString const &arg7_defvalue = wxPySashNameStr ;
6929 wxString *arg7 = (wxString *) &arg7_defvalue ;
6930 bool result;
6931 wxPoint temp4 ;
6932 wxSize temp5 ;
6933 bool temp7 = False ;
6934 PyObject * obj0 = 0 ;
6935 PyObject * obj1 = 0 ;
6936 PyObject * obj2 = 0 ;
6937 PyObject * obj3 = 0 ;
6938 PyObject * obj4 = 0 ;
6939 PyObject * obj5 = 0 ;
6940 PyObject * obj6 = 0 ;
6941 char *kwnames[] = {
6942 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6943 };
6944
6945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6948 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6950 if (obj2) {
6951 arg3 = (int) SWIG_AsInt(obj2);
6952 if (PyErr_Occurred()) SWIG_fail;
6953 }
6954 if (obj3) {
6955 {
6956 arg4 = &temp4;
6957 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6958 }
6959 }
6960 if (obj4) {
6961 {
6962 arg5 = &temp5;
6963 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6964 }
6965 }
6966 if (obj5) {
6967 arg6 = (long) SWIG_AsLong(obj5);
6968 if (PyErr_Occurred()) SWIG_fail;
6969 }
6970 if (obj6) {
6971 {
6972 arg7 = wxString_in_helper(obj6);
6973 if (arg7 == NULL) SWIG_fail;
6974 temp7 = True;
6975 }
6976 }
6977 {
6978 PyThreadState* __tstate = wxPyBeginAllowThreads();
6979 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6980
6981 wxPyEndAllowThreads(__tstate);
6982 if (PyErr_Occurred()) SWIG_fail;
6983 }
6984 {
6985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6986 }
6987 {
6988 if (temp7)
6989 delete arg7;
6990 }
6991 return resultobj;
6992 fail:
6993 {
6994 if (temp7)
6995 delete arg7;
6996 }
6997 return NULL;
6998 }
6999
7000
7001 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7002 PyObject *resultobj;
7003 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7004 int arg2 ;
7005 bool arg3 ;
7006 PyObject * obj0 = 0 ;
7007 PyObject * obj1 = 0 ;
7008 PyObject * obj2 = 0 ;
7009 char *kwnames[] = {
7010 (char *) "self",(char *) "edge",(char *) "sash", NULL
7011 };
7012
7013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
7014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7016 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7017 if (PyErr_Occurred()) SWIG_fail;
7018 arg3 = (bool) SWIG_AsBool(obj2);
7019 if (PyErr_Occurred()) SWIG_fail;
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
7023
7024 wxPyEndAllowThreads(__tstate);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
7027 Py_INCREF(Py_None); resultobj = Py_None;
7028 return resultobj;
7029 fail:
7030 return NULL;
7031 }
7032
7033
7034 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7035 PyObject *resultobj;
7036 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7037 int arg2 ;
7038 bool result;
7039 PyObject * obj0 = 0 ;
7040 PyObject * obj1 = 0 ;
7041 char *kwnames[] = {
7042 (char *) "self",(char *) "edge", NULL
7043 };
7044
7045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
7046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7048 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 {
7051 PyThreadState* __tstate = wxPyBeginAllowThreads();
7052 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7053
7054 wxPyEndAllowThreads(__tstate);
7055 if (PyErr_Occurred()) SWIG_fail;
7056 }
7057 {
7058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7059 }
7060 return resultobj;
7061 fail:
7062 return NULL;
7063 }
7064
7065
7066 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
7067 PyObject *resultobj;
7068 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7069 int arg2 ;
7070 bool arg3 ;
7071 PyObject * obj0 = 0 ;
7072 PyObject * obj1 = 0 ;
7073 PyObject * obj2 = 0 ;
7074 char *kwnames[] = {
7075 (char *) "self",(char *) "edge",(char *) "border", NULL
7076 };
7077
7078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7081 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 arg3 = (bool) SWIG_AsBool(obj2);
7084 if (PyErr_Occurred()) SWIG_fail;
7085 {
7086 PyThreadState* __tstate = wxPyBeginAllowThreads();
7087 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7088
7089 wxPyEndAllowThreads(__tstate);
7090 if (PyErr_Occurred()) SWIG_fail;
7091 }
7092 Py_INCREF(Py_None); resultobj = Py_None;
7093 return resultobj;
7094 fail:
7095 return NULL;
7096 }
7097
7098
7099 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
7100 PyObject *resultobj;
7101 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7102 int arg2 ;
7103 bool result;
7104 PyObject * obj0 = 0 ;
7105 PyObject * obj1 = 0 ;
7106 char *kwnames[] = {
7107 (char *) "self",(char *) "edge", NULL
7108 };
7109
7110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7113 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7118
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 {
7123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7124 }
7125 return resultobj;
7126 fail:
7127 return NULL;
7128 }
7129
7130
7131 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
7132 PyObject *resultobj;
7133 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7134 int arg2 ;
7135 int result;
7136 PyObject * obj0 = 0 ;
7137 PyObject * obj1 = 0 ;
7138 char *kwnames[] = {
7139 (char *) "self",(char *) "edge", NULL
7140 };
7141
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7145 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 {
7148 PyThreadState* __tstate = wxPyBeginAllowThreads();
7149 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7150
7151 wxPyEndAllowThreads(__tstate);
7152 if (PyErr_Occurred()) SWIG_fail;
7153 }
7154 resultobj = SWIG_FromInt((int)result);
7155 return resultobj;
7156 fail:
7157 return NULL;
7158 }
7159
7160
7161 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7162 PyObject *resultobj;
7163 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7164 int arg2 ;
7165 PyObject * obj0 = 0 ;
7166 PyObject * obj1 = 0 ;
7167 char *kwnames[] = {
7168 (char *) "self",(char *) "width", NULL
7169 };
7170
7171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7174 arg2 = (int) SWIG_AsInt(obj1);
7175 if (PyErr_Occurred()) SWIG_fail;
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 (arg1)->SetDefaultBorderSize(arg2);
7179
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 Py_INCREF(Py_None); resultobj = Py_None;
7184 return resultobj;
7185 fail:
7186 return NULL;
7187 }
7188
7189
7190 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7191 PyObject *resultobj;
7192 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7193 int result;
7194 PyObject * obj0 = 0 ;
7195 char *kwnames[] = {
7196 (char *) "self", NULL
7197 };
7198
7199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7202 {
7203 PyThreadState* __tstate = wxPyBeginAllowThreads();
7204 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7205
7206 wxPyEndAllowThreads(__tstate);
7207 if (PyErr_Occurred()) SWIG_fail;
7208 }
7209 resultobj = SWIG_FromInt((int)result);
7210 return resultobj;
7211 fail:
7212 return NULL;
7213 }
7214
7215
7216 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7217 PyObject *resultobj;
7218 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7219 int arg2 ;
7220 PyObject * obj0 = 0 ;
7221 PyObject * obj1 = 0 ;
7222 char *kwnames[] = {
7223 (char *) "self",(char *) "width", NULL
7224 };
7225
7226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7229 arg2 = (int) SWIG_AsInt(obj1);
7230 if (PyErr_Occurred()) SWIG_fail;
7231 {
7232 PyThreadState* __tstate = wxPyBeginAllowThreads();
7233 (arg1)->SetExtraBorderSize(arg2);
7234
7235 wxPyEndAllowThreads(__tstate);
7236 if (PyErr_Occurred()) SWIG_fail;
7237 }
7238 Py_INCREF(Py_None); resultobj = Py_None;
7239 return resultobj;
7240 fail:
7241 return NULL;
7242 }
7243
7244
7245 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7246 PyObject *resultobj;
7247 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7248 int result;
7249 PyObject * obj0 = 0 ;
7250 char *kwnames[] = {
7251 (char *) "self", NULL
7252 };
7253
7254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7257 {
7258 PyThreadState* __tstate = wxPyBeginAllowThreads();
7259 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7260
7261 wxPyEndAllowThreads(__tstate);
7262 if (PyErr_Occurred()) SWIG_fail;
7263 }
7264 resultobj = SWIG_FromInt((int)result);
7265 return resultobj;
7266 fail:
7267 return NULL;
7268 }
7269
7270
7271 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7272 PyObject *resultobj;
7273 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7274 int arg2 ;
7275 PyObject * obj0 = 0 ;
7276 PyObject * obj1 = 0 ;
7277 char *kwnames[] = {
7278 (char *) "self",(char *) "min", NULL
7279 };
7280
7281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7284 arg2 = (int) SWIG_AsInt(obj1);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 {
7287 PyThreadState* __tstate = wxPyBeginAllowThreads();
7288 (arg1)->SetMinimumSizeX(arg2);
7289
7290 wxPyEndAllowThreads(__tstate);
7291 if (PyErr_Occurred()) SWIG_fail;
7292 }
7293 Py_INCREF(Py_None); resultobj = Py_None;
7294 return resultobj;
7295 fail:
7296 return NULL;
7297 }
7298
7299
7300 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7301 PyObject *resultobj;
7302 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7303 int arg2 ;
7304 PyObject * obj0 = 0 ;
7305 PyObject * obj1 = 0 ;
7306 char *kwnames[] = {
7307 (char *) "self",(char *) "min", NULL
7308 };
7309
7310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7313 arg2 = (int) SWIG_AsInt(obj1);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 (arg1)->SetMinimumSizeY(arg2);
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 Py_INCREF(Py_None); resultobj = Py_None;
7323 return resultobj;
7324 fail:
7325 return NULL;
7326 }
7327
7328
7329 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7330 PyObject *resultobj;
7331 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7332 int result;
7333 PyObject * obj0 = 0 ;
7334 char *kwnames[] = {
7335 (char *) "self", NULL
7336 };
7337
7338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7341 {
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7344
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 resultobj = SWIG_FromInt((int)result);
7349 return resultobj;
7350 fail:
7351 return NULL;
7352 }
7353
7354
7355 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7356 PyObject *resultobj;
7357 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7358 int result;
7359 PyObject * obj0 = 0 ;
7360 char *kwnames[] = {
7361 (char *) "self", NULL
7362 };
7363
7364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7367 {
7368 PyThreadState* __tstate = wxPyBeginAllowThreads();
7369 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7370
7371 wxPyEndAllowThreads(__tstate);
7372 if (PyErr_Occurred()) SWIG_fail;
7373 }
7374 resultobj = SWIG_FromInt((int)result);
7375 return resultobj;
7376 fail:
7377 return NULL;
7378 }
7379
7380
7381 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7382 PyObject *resultobj;
7383 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7384 int arg2 ;
7385 PyObject * obj0 = 0 ;
7386 PyObject * obj1 = 0 ;
7387 char *kwnames[] = {
7388 (char *) "self",(char *) "max", NULL
7389 };
7390
7391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7394 arg2 = (int) SWIG_AsInt(obj1);
7395 if (PyErr_Occurred()) SWIG_fail;
7396 {
7397 PyThreadState* __tstate = wxPyBeginAllowThreads();
7398 (arg1)->SetMaximumSizeX(arg2);
7399
7400 wxPyEndAllowThreads(__tstate);
7401 if (PyErr_Occurred()) SWIG_fail;
7402 }
7403 Py_INCREF(Py_None); resultobj = Py_None;
7404 return resultobj;
7405 fail:
7406 return NULL;
7407 }
7408
7409
7410 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7411 PyObject *resultobj;
7412 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7413 int arg2 ;
7414 PyObject * obj0 = 0 ;
7415 PyObject * obj1 = 0 ;
7416 char *kwnames[] = {
7417 (char *) "self",(char *) "max", NULL
7418 };
7419
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7423 arg2 = (int) SWIG_AsInt(obj1);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 {
7426 PyThreadState* __tstate = wxPyBeginAllowThreads();
7427 (arg1)->SetMaximumSizeY(arg2);
7428
7429 wxPyEndAllowThreads(__tstate);
7430 if (PyErr_Occurred()) SWIG_fail;
7431 }
7432 Py_INCREF(Py_None); resultobj = Py_None;
7433 return resultobj;
7434 fail:
7435 return NULL;
7436 }
7437
7438
7439 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7440 PyObject *resultobj;
7441 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7442 int result;
7443 PyObject * obj0 = 0 ;
7444 char *kwnames[] = {
7445 (char *) "self", NULL
7446 };
7447
7448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7451 {
7452 PyThreadState* __tstate = wxPyBeginAllowThreads();
7453 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7454
7455 wxPyEndAllowThreads(__tstate);
7456 if (PyErr_Occurred()) SWIG_fail;
7457 }
7458 resultobj = SWIG_FromInt((int)result);
7459 return resultobj;
7460 fail:
7461 return NULL;
7462 }
7463
7464
7465 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7466 PyObject *resultobj;
7467 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7468 int result;
7469 PyObject * obj0 = 0 ;
7470 char *kwnames[] = {
7471 (char *) "self", NULL
7472 };
7473
7474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7477 {
7478 PyThreadState* __tstate = wxPyBeginAllowThreads();
7479 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7480
7481 wxPyEndAllowThreads(__tstate);
7482 if (PyErr_Occurred()) SWIG_fail;
7483 }
7484 resultobj = SWIG_FromInt((int)result);
7485 return resultobj;
7486 fail:
7487 return NULL;
7488 }
7489
7490
7491 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7492 PyObject *resultobj;
7493 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7494 int arg2 ;
7495 int arg3 ;
7496 int arg4 = (int) 2 ;
7497 int result;
7498 PyObject * obj0 = 0 ;
7499 PyObject * obj1 = 0 ;
7500 PyObject * obj2 = 0 ;
7501 PyObject * obj3 = 0 ;
7502 char *kwnames[] = {
7503 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7504 };
7505
7506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7509 arg2 = (int) SWIG_AsInt(obj1);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 arg3 = (int) SWIG_AsInt(obj2);
7512 if (PyErr_Occurred()) SWIG_fail;
7513 if (obj3) {
7514 arg4 = (int) SWIG_AsInt(obj3);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 }
7517 {
7518 PyThreadState* __tstate = wxPyBeginAllowThreads();
7519 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7520
7521 wxPyEndAllowThreads(__tstate);
7522 if (PyErr_Occurred()) SWIG_fail;
7523 }
7524 resultobj = SWIG_FromInt((int)result);
7525 return resultobj;
7526 fail:
7527 return NULL;
7528 }
7529
7530
7531 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7532 PyObject *resultobj;
7533 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7534 PyObject * obj0 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "self", NULL
7537 };
7538
7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 (arg1)->SizeWindows();
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 Py_INCREF(Py_None); resultobj = Py_None;
7550 return resultobj;
7551 fail:
7552 return NULL;
7553 }
7554
7555
7556 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7557 PyObject *obj;
7558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7559 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7560 Py_INCREF(obj);
7561 return Py_BuildValue((char *)"");
7562 }
7563 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7564 PyObject *resultobj;
7565 int arg1 = (int) 0 ;
7566 int arg2 = (int) wxSASH_NONE ;
7567 wxSashEvent *result;
7568 PyObject * obj0 = 0 ;
7569 PyObject * obj1 = 0 ;
7570 char *kwnames[] = {
7571 (char *) "id",(char *) "edge", NULL
7572 };
7573
7574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7575 if (obj0) {
7576 arg1 = (int) SWIG_AsInt(obj0);
7577 if (PyErr_Occurred()) SWIG_fail;
7578 }
7579 if (obj1) {
7580 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7581 if (PyErr_Occurred()) SWIG_fail;
7582 }
7583 {
7584 PyThreadState* __tstate = wxPyBeginAllowThreads();
7585 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7586
7587 wxPyEndAllowThreads(__tstate);
7588 if (PyErr_Occurred()) SWIG_fail;
7589 }
7590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7591 return resultobj;
7592 fail:
7593 return NULL;
7594 }
7595
7596
7597 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7598 PyObject *resultobj;
7599 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7600 int arg2 ;
7601 PyObject * obj0 = 0 ;
7602 PyObject * obj1 = 0 ;
7603 char *kwnames[] = {
7604 (char *) "self",(char *) "edge", NULL
7605 };
7606
7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7610 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7611 if (PyErr_Occurred()) SWIG_fail;
7612 {
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7615
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 Py_INCREF(Py_None); resultobj = Py_None;
7620 return resultobj;
7621 fail:
7622 return NULL;
7623 }
7624
7625
7626 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7627 PyObject *resultobj;
7628 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7629 int result;
7630 PyObject * obj0 = 0 ;
7631 char *kwnames[] = {
7632 (char *) "self", NULL
7633 };
7634
7635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7638 {
7639 PyThreadState* __tstate = wxPyBeginAllowThreads();
7640 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7641
7642 wxPyEndAllowThreads(__tstate);
7643 if (PyErr_Occurred()) SWIG_fail;
7644 }
7645 resultobj = SWIG_FromInt((int)result);
7646 return resultobj;
7647 fail:
7648 return NULL;
7649 }
7650
7651
7652 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7653 PyObject *resultobj;
7654 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7655 wxRect *arg2 = 0 ;
7656 wxRect temp2 ;
7657 PyObject * obj0 = 0 ;
7658 PyObject * obj1 = 0 ;
7659 char *kwnames[] = {
7660 (char *) "self",(char *) "rect", NULL
7661 };
7662
7663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7666 {
7667 arg2 = &temp2;
7668 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7669 }
7670 {
7671 PyThreadState* __tstate = wxPyBeginAllowThreads();
7672 (arg1)->SetDragRect((wxRect const &)*arg2);
7673
7674 wxPyEndAllowThreads(__tstate);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
7677 Py_INCREF(Py_None); resultobj = Py_None;
7678 return resultobj;
7679 fail:
7680 return NULL;
7681 }
7682
7683
7684 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7685 PyObject *resultobj;
7686 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7687 wxRect result;
7688 PyObject * obj0 = 0 ;
7689 char *kwnames[] = {
7690 (char *) "self", NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7696 {
7697 PyThreadState* __tstate = wxPyBeginAllowThreads();
7698 result = ((wxSashEvent const *)arg1)->GetDragRect();
7699
7700 wxPyEndAllowThreads(__tstate);
7701 if (PyErr_Occurred()) SWIG_fail;
7702 }
7703 {
7704 wxRect * resultptr;
7705 resultptr = new wxRect((wxRect &) result);
7706 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7707 }
7708 return resultobj;
7709 fail:
7710 return NULL;
7711 }
7712
7713
7714 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7715 PyObject *resultobj;
7716 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7717 int arg2 ;
7718 PyObject * obj0 = 0 ;
7719 PyObject * obj1 = 0 ;
7720 char *kwnames[] = {
7721 (char *) "self",(char *) "status", NULL
7722 };
7723
7724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7727 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7728 if (PyErr_Occurred()) SWIG_fail;
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) SWIG_fail;
7735 }
7736 Py_INCREF(Py_None); resultobj = Py_None;
7737 return resultobj;
7738 fail:
7739 return NULL;
7740 }
7741
7742
7743 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7744 PyObject *resultobj;
7745 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7746 int result;
7747 PyObject * obj0 = 0 ;
7748 char *kwnames[] = {
7749 (char *) "self", NULL
7750 };
7751
7752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7758
7759 wxPyEndAllowThreads(__tstate);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 }
7762 resultobj = SWIG_FromInt((int)result);
7763 return resultobj;
7764 fail:
7765 return NULL;
7766 }
7767
7768
7769 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7770 PyObject *obj;
7771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7772 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7773 Py_INCREF(obj);
7774 return Py_BuildValue((char *)"");
7775 }
7776 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7777 PyObject *resultobj;
7778 int arg1 = (int) 0 ;
7779 wxQueryLayoutInfoEvent *result;
7780 PyObject * obj0 = 0 ;
7781 char *kwnames[] = {
7782 (char *) "id", NULL
7783 };
7784
7785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7786 if (obj0) {
7787 arg1 = (int) SWIG_AsInt(obj0);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 {
7791 PyThreadState* __tstate = wxPyBeginAllowThreads();
7792 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7793
7794 wxPyEndAllowThreads(__tstate);
7795 if (PyErr_Occurred()) SWIG_fail;
7796 }
7797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7798 return resultobj;
7799 fail:
7800 return NULL;
7801 }
7802
7803
7804 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7805 PyObject *resultobj;
7806 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7807 int arg2 ;
7808 PyObject * obj0 = 0 ;
7809 PyObject * obj1 = 0 ;
7810 char *kwnames[] = {
7811 (char *) "self",(char *) "length", NULL
7812 };
7813
7814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7817 arg2 = (int) SWIG_AsInt(obj1);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 {
7820 PyThreadState* __tstate = wxPyBeginAllowThreads();
7821 (arg1)->SetRequestedLength(arg2);
7822
7823 wxPyEndAllowThreads(__tstate);
7824 if (PyErr_Occurred()) SWIG_fail;
7825 }
7826 Py_INCREF(Py_None); resultobj = Py_None;
7827 return resultobj;
7828 fail:
7829 return NULL;
7830 }
7831
7832
7833 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7834 PyObject *resultobj;
7835 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7836 int result;
7837 PyObject * obj0 = 0 ;
7838 char *kwnames[] = {
7839 (char *) "self", NULL
7840 };
7841
7842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7845 {
7846 PyThreadState* __tstate = wxPyBeginAllowThreads();
7847 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7848
7849 wxPyEndAllowThreads(__tstate);
7850 if (PyErr_Occurred()) SWIG_fail;
7851 }
7852 resultobj = SWIG_FromInt((int)result);
7853 return resultobj;
7854 fail:
7855 return NULL;
7856 }
7857
7858
7859 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7860 PyObject *resultobj;
7861 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7862 int arg2 ;
7863 PyObject * obj0 = 0 ;
7864 PyObject * obj1 = 0 ;
7865 char *kwnames[] = {
7866 (char *) "self",(char *) "flags", NULL
7867 };
7868
7869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7872 arg2 = (int) SWIG_AsInt(obj1);
7873 if (PyErr_Occurred()) SWIG_fail;
7874 {
7875 PyThreadState* __tstate = wxPyBeginAllowThreads();
7876 (arg1)->SetFlags(arg2);
7877
7878 wxPyEndAllowThreads(__tstate);
7879 if (PyErr_Occurred()) SWIG_fail;
7880 }
7881 Py_INCREF(Py_None); resultobj = Py_None;
7882 return resultobj;
7883 fail:
7884 return NULL;
7885 }
7886
7887
7888 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7889 PyObject *resultobj;
7890 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7891 int result;
7892 PyObject * obj0 = 0 ;
7893 char *kwnames[] = {
7894 (char *) "self", NULL
7895 };
7896
7897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7900 {
7901 PyThreadState* __tstate = wxPyBeginAllowThreads();
7902 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7903
7904 wxPyEndAllowThreads(__tstate);
7905 if (PyErr_Occurred()) SWIG_fail;
7906 }
7907 resultobj = SWIG_FromInt((int)result);
7908 return resultobj;
7909 fail:
7910 return NULL;
7911 }
7912
7913
7914 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7915 PyObject *resultobj;
7916 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7917 wxSize *arg2 = 0 ;
7918 wxSize temp2 ;
7919 PyObject * obj0 = 0 ;
7920 PyObject * obj1 = 0 ;
7921 char *kwnames[] = {
7922 (char *) "self",(char *) "size", NULL
7923 };
7924
7925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7928 {
7929 arg2 = &temp2;
7930 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7931 }
7932 {
7933 PyThreadState* __tstate = wxPyBeginAllowThreads();
7934 (arg1)->SetSize((wxSize const &)*arg2);
7935
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 }
7939 Py_INCREF(Py_None); resultobj = Py_None;
7940 return resultobj;
7941 fail:
7942 return NULL;
7943 }
7944
7945
7946 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7947 PyObject *resultobj;
7948 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7949 wxSize result;
7950 PyObject * obj0 = 0 ;
7951 char *kwnames[] = {
7952 (char *) "self", NULL
7953 };
7954
7955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7958 {
7959 PyThreadState* __tstate = wxPyBeginAllowThreads();
7960 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7961
7962 wxPyEndAllowThreads(__tstate);
7963 if (PyErr_Occurred()) SWIG_fail;
7964 }
7965 {
7966 wxSize * resultptr;
7967 resultptr = new wxSize((wxSize &) result);
7968 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7969 }
7970 return resultobj;
7971 fail:
7972 return NULL;
7973 }
7974
7975
7976 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7977 PyObject *resultobj;
7978 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7979 int arg2 ;
7980 PyObject * obj0 = 0 ;
7981 PyObject * obj1 = 0 ;
7982 char *kwnames[] = {
7983 (char *) "self",(char *) "orient", NULL
7984 };
7985
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7989 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7990 if (PyErr_Occurred()) SWIG_fail;
7991 {
7992 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7994
7995 wxPyEndAllowThreads(__tstate);
7996 if (PyErr_Occurred()) SWIG_fail;
7997 }
7998 Py_INCREF(Py_None); resultobj = Py_None;
7999 return resultobj;
8000 fail:
8001 return NULL;
8002 }
8003
8004
8005 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8006 PyObject *resultobj;
8007 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8008 int result;
8009 PyObject * obj0 = 0 ;
8010 char *kwnames[] = {
8011 (char *) "self", NULL
8012 };
8013
8014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
8015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
8020
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
8024 resultobj = SWIG_FromInt((int)result);
8025 return resultobj;
8026 fail:
8027 return NULL;
8028 }
8029
8030
8031 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8032 PyObject *resultobj;
8033 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8034 int arg2 ;
8035 PyObject * obj0 = 0 ;
8036 PyObject * obj1 = 0 ;
8037 char *kwnames[] = {
8038 (char *) "self",(char *) "align", NULL
8039 };
8040
8041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8044 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8045 if (PyErr_Occurred()) SWIG_fail;
8046 {
8047 PyThreadState* __tstate = wxPyBeginAllowThreads();
8048 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8049
8050 wxPyEndAllowThreads(__tstate);
8051 if (PyErr_Occurred()) SWIG_fail;
8052 }
8053 Py_INCREF(Py_None); resultobj = Py_None;
8054 return resultobj;
8055 fail:
8056 return NULL;
8057 }
8058
8059
8060 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8061 PyObject *resultobj;
8062 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8063 int result;
8064 PyObject * obj0 = 0 ;
8065 char *kwnames[] = {
8066 (char *) "self", NULL
8067 };
8068
8069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8072 {
8073 PyThreadState* __tstate = wxPyBeginAllowThreads();
8074 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8075
8076 wxPyEndAllowThreads(__tstate);
8077 if (PyErr_Occurred()) SWIG_fail;
8078 }
8079 resultobj = SWIG_FromInt((int)result);
8080 return resultobj;
8081 fail:
8082 return NULL;
8083 }
8084
8085
8086 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
8087 PyObject *obj;
8088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8089 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8090 Py_INCREF(obj);
8091 return Py_BuildValue((char *)"");
8092 }
8093 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8094 PyObject *resultobj;
8095 int arg1 = (int) 0 ;
8096 wxCalculateLayoutEvent *result;
8097 PyObject * obj0 = 0 ;
8098 char *kwnames[] = {
8099 (char *) "id", NULL
8100 };
8101
8102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8103 if (obj0) {
8104 arg1 = (int) SWIG_AsInt(obj0);
8105 if (PyErr_Occurred()) SWIG_fail;
8106 }
8107 {
8108 PyThreadState* __tstate = wxPyBeginAllowThreads();
8109 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8110
8111 wxPyEndAllowThreads(__tstate);
8112 if (PyErr_Occurred()) SWIG_fail;
8113 }
8114 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8115 return resultobj;
8116 fail:
8117 return NULL;
8118 }
8119
8120
8121 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8122 PyObject *resultobj;
8123 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8124 int arg2 ;
8125 PyObject * obj0 = 0 ;
8126 PyObject * obj1 = 0 ;
8127 char *kwnames[] = {
8128 (char *) "self",(char *) "flags", NULL
8129 };
8130
8131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8134 arg2 = (int) SWIG_AsInt(obj1);
8135 if (PyErr_Occurred()) SWIG_fail;
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 (arg1)->SetFlags(arg2);
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
8143 Py_INCREF(Py_None); resultobj = Py_None;
8144 return resultobj;
8145 fail:
8146 return NULL;
8147 }
8148
8149
8150 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8151 PyObject *resultobj;
8152 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8153 int result;
8154 PyObject * obj0 = 0 ;
8155 char *kwnames[] = {
8156 (char *) "self", NULL
8157 };
8158
8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8162 {
8163 PyThreadState* __tstate = wxPyBeginAllowThreads();
8164 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8165
8166 wxPyEndAllowThreads(__tstate);
8167 if (PyErr_Occurred()) SWIG_fail;
8168 }
8169 resultobj = SWIG_FromInt((int)result);
8170 return resultobj;
8171 fail:
8172 return NULL;
8173 }
8174
8175
8176 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8177 PyObject *resultobj;
8178 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8179 wxRect *arg2 = 0 ;
8180 wxRect temp2 ;
8181 PyObject * obj0 = 0 ;
8182 PyObject * obj1 = 0 ;
8183 char *kwnames[] = {
8184 (char *) "self",(char *) "rect", NULL
8185 };
8186
8187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8190 {
8191 arg2 = &temp2;
8192 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8193 }
8194 {
8195 PyThreadState* __tstate = wxPyBeginAllowThreads();
8196 (arg1)->SetRect((wxRect const &)*arg2);
8197
8198 wxPyEndAllowThreads(__tstate);
8199 if (PyErr_Occurred()) SWIG_fail;
8200 }
8201 Py_INCREF(Py_None); resultobj = Py_None;
8202 return resultobj;
8203 fail:
8204 return NULL;
8205 }
8206
8207
8208 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8209 PyObject *resultobj;
8210 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8211 wxRect result;
8212 PyObject * obj0 = 0 ;
8213 char *kwnames[] = {
8214 (char *) "self", NULL
8215 };
8216
8217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8220 {
8221 PyThreadState* __tstate = wxPyBeginAllowThreads();
8222 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8223
8224 wxPyEndAllowThreads(__tstate);
8225 if (PyErr_Occurred()) SWIG_fail;
8226 }
8227 {
8228 wxRect * resultptr;
8229 resultptr = new wxRect((wxRect &) result);
8230 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8231 }
8232 return resultobj;
8233 fail:
8234 return NULL;
8235 }
8236
8237
8238 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
8239 PyObject *obj;
8240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8241 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8242 Py_INCREF(obj);
8243 return Py_BuildValue((char *)"");
8244 }
8245 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8246 PyObject *resultobj;
8247 wxWindow *arg1 = (wxWindow *) 0 ;
8248 int arg2 = (int) -1 ;
8249 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8250 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8251 wxSize const &arg4_defvalue = wxDefaultSize ;
8252 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8253 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8254 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8255 wxString *arg6 = (wxString *) &arg6_defvalue ;
8256 wxSashLayoutWindow *result;
8257 wxPoint temp3 ;
8258 wxSize temp4 ;
8259 bool temp6 = False ;
8260 PyObject * obj0 = 0 ;
8261 PyObject * obj1 = 0 ;
8262 PyObject * obj2 = 0 ;
8263 PyObject * obj3 = 0 ;
8264 PyObject * obj4 = 0 ;
8265 PyObject * obj5 = 0 ;
8266 char *kwnames[] = {
8267 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8268 };
8269
8270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8273 if (obj1) {
8274 arg2 = (int) SWIG_AsInt(obj1);
8275 if (PyErr_Occurred()) SWIG_fail;
8276 }
8277 if (obj2) {
8278 {
8279 arg3 = &temp3;
8280 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8281 }
8282 }
8283 if (obj3) {
8284 {
8285 arg4 = &temp4;
8286 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8287 }
8288 }
8289 if (obj4) {
8290 arg5 = (long) SWIG_AsLong(obj4);
8291 if (PyErr_Occurred()) SWIG_fail;
8292 }
8293 if (obj5) {
8294 {
8295 arg6 = wxString_in_helper(obj5);
8296 if (arg6 == NULL) SWIG_fail;
8297 temp6 = True;
8298 }
8299 }
8300 {
8301 if (!wxPyCheckForApp()) SWIG_fail;
8302 PyThreadState* __tstate = wxPyBeginAllowThreads();
8303 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8304
8305 wxPyEndAllowThreads(__tstate);
8306 if (PyErr_Occurred()) SWIG_fail;
8307 }
8308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8309 {
8310 if (temp6)
8311 delete arg6;
8312 }
8313 return resultobj;
8314 fail:
8315 {
8316 if (temp6)
8317 delete arg6;
8318 }
8319 return NULL;
8320 }
8321
8322
8323 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8324 PyObject *resultobj;
8325 wxSashLayoutWindow *result;
8326 char *kwnames[] = {
8327 NULL
8328 };
8329
8330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8331 {
8332 if (!wxPyCheckForApp()) SWIG_fail;
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
8339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8340 return resultobj;
8341 fail:
8342 return NULL;
8343 }
8344
8345
8346 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8347 PyObject *resultobj;
8348 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8349 wxWindow *arg2 = (wxWindow *) 0 ;
8350 int arg3 = (int) -1 ;
8351 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8352 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8353 wxSize const &arg5_defvalue = wxDefaultSize ;
8354 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8355 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8356 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8357 wxString *arg7 = (wxString *) &arg7_defvalue ;
8358 bool result;
8359 wxPoint temp4 ;
8360 wxSize temp5 ;
8361 bool temp7 = False ;
8362 PyObject * obj0 = 0 ;
8363 PyObject * obj1 = 0 ;
8364 PyObject * obj2 = 0 ;
8365 PyObject * obj3 = 0 ;
8366 PyObject * obj4 = 0 ;
8367 PyObject * obj5 = 0 ;
8368 PyObject * obj6 = 0 ;
8369 char *kwnames[] = {
8370 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8371 };
8372
8373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8378 if (obj2) {
8379 arg3 = (int) SWIG_AsInt(obj2);
8380 if (PyErr_Occurred()) SWIG_fail;
8381 }
8382 if (obj3) {
8383 {
8384 arg4 = &temp4;
8385 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8386 }
8387 }
8388 if (obj4) {
8389 {
8390 arg5 = &temp5;
8391 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8392 }
8393 }
8394 if (obj5) {
8395 arg6 = (long) SWIG_AsLong(obj5);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 if (obj6) {
8399 {
8400 arg7 = wxString_in_helper(obj6);
8401 if (arg7 == NULL) SWIG_fail;
8402 temp7 = True;
8403 }
8404 }
8405 {
8406 PyThreadState* __tstate = wxPyBeginAllowThreads();
8407 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8408
8409 wxPyEndAllowThreads(__tstate);
8410 if (PyErr_Occurred()) SWIG_fail;
8411 }
8412 {
8413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8414 }
8415 {
8416 if (temp7)
8417 delete arg7;
8418 }
8419 return resultobj;
8420 fail:
8421 {
8422 if (temp7)
8423 delete arg7;
8424 }
8425 return NULL;
8426 }
8427
8428
8429 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8430 PyObject *resultobj;
8431 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8432 int result;
8433 PyObject * obj0 = 0 ;
8434 char *kwnames[] = {
8435 (char *) "self", NULL
8436 };
8437
8438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8441 {
8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
8443 result = (int)(arg1)->GetAlignment();
8444
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 resultobj = SWIG_FromInt((int)result);
8449 return resultobj;
8450 fail:
8451 return NULL;
8452 }
8453
8454
8455 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8456 PyObject *resultobj;
8457 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8458 int result;
8459 PyObject * obj0 = 0 ;
8460 char *kwnames[] = {
8461 (char *) "self", NULL
8462 };
8463
8464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8467 {
8468 PyThreadState* __tstate = wxPyBeginAllowThreads();
8469 result = (int)(arg1)->GetOrientation();
8470
8471 wxPyEndAllowThreads(__tstate);
8472 if (PyErr_Occurred()) SWIG_fail;
8473 }
8474 resultobj = SWIG_FromInt((int)result);
8475 return resultobj;
8476 fail:
8477 return NULL;
8478 }
8479
8480
8481 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8482 PyObject *resultobj;
8483 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8484 int arg2 ;
8485 PyObject * obj0 = 0 ;
8486 PyObject * obj1 = 0 ;
8487 char *kwnames[] = {
8488 (char *) "self",(char *) "alignment", NULL
8489 };
8490
8491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8494 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8495 if (PyErr_Occurred()) SWIG_fail;
8496 {
8497 PyThreadState* __tstate = wxPyBeginAllowThreads();
8498 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8499
8500 wxPyEndAllowThreads(__tstate);
8501 if (PyErr_Occurred()) SWIG_fail;
8502 }
8503 Py_INCREF(Py_None); resultobj = Py_None;
8504 return resultobj;
8505 fail:
8506 return NULL;
8507 }
8508
8509
8510 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8511 PyObject *resultobj;
8512 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8513 wxSize *arg2 = 0 ;
8514 wxSize temp2 ;
8515 PyObject * obj0 = 0 ;
8516 PyObject * obj1 = 0 ;
8517 char *kwnames[] = {
8518 (char *) "self",(char *) "size", NULL
8519 };
8520
8521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8524 {
8525 arg2 = &temp2;
8526 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8527 }
8528 {
8529 PyThreadState* __tstate = wxPyBeginAllowThreads();
8530 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8531
8532 wxPyEndAllowThreads(__tstate);
8533 if (PyErr_Occurred()) SWIG_fail;
8534 }
8535 Py_INCREF(Py_None); resultobj = Py_None;
8536 return resultobj;
8537 fail:
8538 return NULL;
8539 }
8540
8541
8542 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8543 PyObject *resultobj;
8544 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8545 int arg2 ;
8546 PyObject * obj0 = 0 ;
8547 PyObject * obj1 = 0 ;
8548 char *kwnames[] = {
8549 (char *) "self",(char *) "orientation", NULL
8550 };
8551
8552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8555 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8556 if (PyErr_Occurred()) SWIG_fail;
8557 {
8558 PyThreadState* __tstate = wxPyBeginAllowThreads();
8559 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8560
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 }
8564 Py_INCREF(Py_None); resultobj = Py_None;
8565 return resultobj;
8566 fail:
8567 return NULL;
8568 }
8569
8570
8571 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8572 PyObject *obj;
8573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8574 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8575 Py_INCREF(obj);
8576 return Py_BuildValue((char *)"");
8577 }
8578 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8579 PyObject *resultobj;
8580 wxLayoutAlgorithm *result;
8581 char *kwnames[] = {
8582 NULL
8583 };
8584
8585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8586 {
8587 PyThreadState* __tstate = wxPyBeginAllowThreads();
8588 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8589
8590 wxPyEndAllowThreads(__tstate);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 }
8593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8594 return resultobj;
8595 fail:
8596 return NULL;
8597 }
8598
8599
8600 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8601 PyObject *resultobj;
8602 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8603 PyObject * obj0 = 0 ;
8604 char *kwnames[] = {
8605 (char *) "self", NULL
8606 };
8607
8608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8611 {
8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
8613 delete arg1;
8614
8615 wxPyEndAllowThreads(__tstate);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
8618 Py_INCREF(Py_None); resultobj = Py_None;
8619 return resultobj;
8620 fail:
8621 return NULL;
8622 }
8623
8624
8625 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8626 PyObject *resultobj;
8627 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8628 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8629 wxRect *arg3 = (wxRect *) NULL ;
8630 bool result;
8631 PyObject * obj0 = 0 ;
8632 PyObject * obj1 = 0 ;
8633 PyObject * obj2 = 0 ;
8634 char *kwnames[] = {
8635 (char *) "self",(char *) "frame",(char *) "rect", NULL
8636 };
8637
8638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8643 if (obj2) {
8644 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8646 }
8647 {
8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
8649 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8650
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
8654 {
8655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8656 }
8657 return resultobj;
8658 fail:
8659 return NULL;
8660 }
8661
8662
8663 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8664 PyObject *resultobj;
8665 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8666 wxFrame *arg2 = (wxFrame *) 0 ;
8667 wxWindow *arg3 = (wxWindow *) NULL ;
8668 bool result;
8669 PyObject * obj0 = 0 ;
8670 PyObject * obj1 = 0 ;
8671 PyObject * obj2 = 0 ;
8672 char *kwnames[] = {
8673 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8674 };
8675
8676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8681 if (obj2) {
8682 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8684 }
8685 {
8686 PyThreadState* __tstate = wxPyBeginAllowThreads();
8687 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8688
8689 wxPyEndAllowThreads(__tstate);
8690 if (PyErr_Occurred()) SWIG_fail;
8691 }
8692 {
8693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8694 }
8695 return resultobj;
8696 fail:
8697 return NULL;
8698 }
8699
8700
8701 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8702 PyObject *resultobj;
8703 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8704 wxWindow *arg2 = (wxWindow *) 0 ;
8705 wxWindow *arg3 = (wxWindow *) NULL ;
8706 bool result;
8707 PyObject * obj0 = 0 ;
8708 PyObject * obj1 = 0 ;
8709 PyObject * obj2 = 0 ;
8710 char *kwnames[] = {
8711 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8712 };
8713
8714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8719 if (obj2) {
8720 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8722 }
8723 {
8724 PyThreadState* __tstate = wxPyBeginAllowThreads();
8725 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8726
8727 wxPyEndAllowThreads(__tstate);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 {
8731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8732 }
8733 return resultobj;
8734 fail:
8735 return NULL;
8736 }
8737
8738
8739 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8740 PyObject *obj;
8741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8742 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8743 Py_INCREF(obj);
8744 return Py_BuildValue((char *)"");
8745 }
8746 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8747 PyObject *resultobj;
8748 wxWindow *arg1 = (wxWindow *) 0 ;
8749 int arg2 = (int) wxBORDER_NONE ;
8750 wxPopupWindow *result;
8751 PyObject * obj0 = 0 ;
8752 PyObject * obj1 = 0 ;
8753 char *kwnames[] = {
8754 (char *) "parent",(char *) "flags", NULL
8755 };
8756
8757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8760 if (obj1) {
8761 arg2 = (int) SWIG_AsInt(obj1);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
8764 {
8765 if (!wxPyCheckForApp()) SWIG_fail;
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8768
8769 wxPyEndAllowThreads(__tstate);
8770 if (PyErr_Occurred()) SWIG_fail;
8771 }
8772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8773 return resultobj;
8774 fail:
8775 return NULL;
8776 }
8777
8778
8779 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8780 PyObject *resultobj;
8781 wxPopupWindow *result;
8782 char *kwnames[] = {
8783 NULL
8784 };
8785
8786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8787 {
8788 if (!wxPyCheckForApp()) SWIG_fail;
8789 PyThreadState* __tstate = wxPyBeginAllowThreads();
8790 result = (wxPopupWindow *)new wxPopupWindow();
8791
8792 wxPyEndAllowThreads(__tstate);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
8795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8796 return resultobj;
8797 fail:
8798 return NULL;
8799 }
8800
8801
8802 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8803 PyObject *resultobj;
8804 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8805 wxWindow *arg2 = (wxWindow *) 0 ;
8806 int arg3 = (int) wxBORDER_NONE ;
8807 bool result;
8808 PyObject * obj0 = 0 ;
8809 PyObject * obj1 = 0 ;
8810 PyObject * obj2 = 0 ;
8811 char *kwnames[] = {
8812 (char *) "self",(char *) "parent",(char *) "flags", NULL
8813 };
8814
8815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8820 if (obj2) {
8821 arg3 = (int) SWIG_AsInt(obj2);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 }
8824 {
8825 PyThreadState* __tstate = wxPyBeginAllowThreads();
8826 result = (bool)(arg1)->Create(arg2,arg3);
8827
8828 wxPyEndAllowThreads(__tstate);
8829 if (PyErr_Occurred()) SWIG_fail;
8830 }
8831 {
8832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8833 }
8834 return resultobj;
8835 fail:
8836 return NULL;
8837 }
8838
8839
8840 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8841 PyObject *resultobj;
8842 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8843 wxPoint *arg2 = 0 ;
8844 wxSize *arg3 = 0 ;
8845 wxPoint temp2 ;
8846 wxSize temp3 ;
8847 PyObject * obj0 = 0 ;
8848 PyObject * obj1 = 0 ;
8849 PyObject * obj2 = 0 ;
8850 char *kwnames[] = {
8851 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8852 };
8853
8854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8857 {
8858 arg2 = &temp2;
8859 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8860 }
8861 {
8862 arg3 = &temp3;
8863 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8864 }
8865 {
8866 PyThreadState* __tstate = wxPyBeginAllowThreads();
8867 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8868
8869 wxPyEndAllowThreads(__tstate);
8870 if (PyErr_Occurred()) SWIG_fail;
8871 }
8872 Py_INCREF(Py_None); resultobj = Py_None;
8873 return resultobj;
8874 fail:
8875 return NULL;
8876 }
8877
8878
8879 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8880 PyObject *obj;
8881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8882 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8883 Py_INCREF(obj);
8884 return Py_BuildValue((char *)"");
8885 }
8886 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8887 PyObject *resultobj;
8888 wxWindow *arg1 = (wxWindow *) 0 ;
8889 int arg2 = (int) wxBORDER_NONE ;
8890 wxPyPopupTransientWindow *result;
8891 PyObject * obj0 = 0 ;
8892 PyObject * obj1 = 0 ;
8893 char *kwnames[] = {
8894 (char *) "parent",(char *) "style", NULL
8895 };
8896
8897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8900 if (obj1) {
8901 arg2 = (int) SWIG_AsInt(obj1);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 {
8905 if (!wxPyCheckForApp()) SWIG_fail;
8906 PyThreadState* __tstate = wxPyBeginAllowThreads();
8907 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8908
8909 wxPyEndAllowThreads(__tstate);
8910 if (PyErr_Occurred()) SWIG_fail;
8911 }
8912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8913 return resultobj;
8914 fail:
8915 return NULL;
8916 }
8917
8918
8919 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8920 PyObject *resultobj;
8921 wxPyPopupTransientWindow *result;
8922 char *kwnames[] = {
8923 NULL
8924 };
8925
8926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8927 {
8928 if (!wxPyCheckForApp()) SWIG_fail;
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8936 return resultobj;
8937 fail:
8938 return NULL;
8939 }
8940
8941
8942 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8943 PyObject *resultobj;
8944 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8945 PyObject *arg2 = (PyObject *) 0 ;
8946 PyObject *arg3 = (PyObject *) 0 ;
8947 PyObject * obj0 = 0 ;
8948 PyObject * obj1 = 0 ;
8949 PyObject * obj2 = 0 ;
8950 char *kwnames[] = {
8951 (char *) "self",(char *) "self",(char *) "_class", NULL
8952 };
8953
8954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8957 arg2 = obj1;
8958 arg3 = obj2;
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 (arg1)->_setCallbackInfo(arg2,arg3);
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 Py_INCREF(Py_None); resultobj = Py_None;
8967 return resultobj;
8968 fail:
8969 return NULL;
8970 }
8971
8972
8973 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8974 PyObject *resultobj;
8975 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8976 wxWindow *arg2 = (wxWindow *) NULL ;
8977 PyObject * obj0 = 0 ;
8978 PyObject * obj1 = 0 ;
8979 char *kwnames[] = {
8980 (char *) "self",(char *) "focus", NULL
8981 };
8982
8983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8986 if (obj1) {
8987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8989 }
8990 {
8991 PyThreadState* __tstate = wxPyBeginAllowThreads();
8992 (arg1)->Popup(arg2);
8993
8994 wxPyEndAllowThreads(__tstate);
8995 if (PyErr_Occurred()) SWIG_fail;
8996 }
8997 Py_INCREF(Py_None); resultobj = Py_None;
8998 return resultobj;
8999 fail:
9000 return NULL;
9001 }
9002
9003
9004 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
9005 PyObject *resultobj;
9006 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
9007 PyObject * obj0 = 0 ;
9008 char *kwnames[] = {
9009 (char *) "self", NULL
9010 };
9011
9012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
9013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
9014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9015 {
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 (arg1)->Dismiss();
9018
9019 wxPyEndAllowThreads(__tstate);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 }
9022 Py_INCREF(Py_None); resultobj = Py_None;
9023 return resultobj;
9024 fail:
9025 return NULL;
9026 }
9027
9028
9029 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
9030 PyObject *obj;
9031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9032 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
9033 Py_INCREF(obj);
9034 return Py_BuildValue((char *)"");
9035 }
9036 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxWindow *arg1 = (wxWindow *) 0 ;
9039 wxString *arg2 = 0 ;
9040 int arg3 = (int) 100 ;
9041 wxRect *arg4 = (wxRect *) NULL ;
9042 wxTipWindow *result;
9043 bool temp2 = False ;
9044 PyObject * obj0 = 0 ;
9045 PyObject * obj1 = 0 ;
9046 PyObject * obj2 = 0 ;
9047 PyObject * obj3 = 0 ;
9048 char *kwnames[] = {
9049 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9050 };
9051
9052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9055 {
9056 arg2 = wxString_in_helper(obj1);
9057 if (arg2 == NULL) SWIG_fail;
9058 temp2 = True;
9059 }
9060 if (obj2) {
9061 arg3 = (int) SWIG_AsInt(obj2);
9062 if (PyErr_Occurred()) SWIG_fail;
9063 }
9064 if (obj3) {
9065 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9067 }
9068 {
9069 if (!wxPyCheckForApp()) SWIG_fail;
9070 PyThreadState* __tstate = wxPyBeginAllowThreads();
9071 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9072
9073 wxPyEndAllowThreads(__tstate);
9074 if (PyErr_Occurred()) SWIG_fail;
9075 }
9076 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9077 {
9078 if (temp2)
9079 delete arg2;
9080 }
9081 return resultobj;
9082 fail:
9083 {
9084 if (temp2)
9085 delete arg2;
9086 }
9087 return NULL;
9088 }
9089
9090
9091 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9092 PyObject *resultobj;
9093 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9094 wxRect *arg2 = 0 ;
9095 wxRect temp2 ;
9096 PyObject * obj0 = 0 ;
9097 PyObject * obj1 = 0 ;
9098 char *kwnames[] = {
9099 (char *) "self",(char *) "rectBound", NULL
9100 };
9101
9102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9105 {
9106 arg2 = &temp2;
9107 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9108 }
9109 {
9110 PyThreadState* __tstate = wxPyBeginAllowThreads();
9111 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9112
9113 wxPyEndAllowThreads(__tstate);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
9116 Py_INCREF(Py_None); resultobj = Py_None;
9117 return resultobj;
9118 fail:
9119 return NULL;
9120 }
9121
9122
9123 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
9124 PyObject *resultobj;
9125 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9126 PyObject * obj0 = 0 ;
9127 char *kwnames[] = {
9128 (char *) "self", NULL
9129 };
9130
9131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9134 {
9135 PyThreadState* __tstate = wxPyBeginAllowThreads();
9136 (arg1)->Close();
9137
9138 wxPyEndAllowThreads(__tstate);
9139 if (PyErr_Occurred()) SWIG_fail;
9140 }
9141 Py_INCREF(Py_None); resultobj = Py_None;
9142 return resultobj;
9143 fail:
9144 return NULL;
9145 }
9146
9147
9148 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
9149 PyObject *obj;
9150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9151 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9152 Py_INCREF(obj);
9153 return Py_BuildValue((char *)"");
9154 }
9155 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9156 PyObject *resultobj;
9157 wxWindow *arg1 = (wxWindow *) 0 ;
9158 int arg2 = (int) wxID_ANY ;
9159 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9160 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9161 wxSize const &arg4_defvalue = wxDefaultSize ;
9162 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9163 long arg5 = (long) 0 ;
9164 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9165 wxString *arg6 = (wxString *) &arg6_defvalue ;
9166 wxPyVScrolledWindow *result;
9167 wxPoint temp3 ;
9168 wxSize temp4 ;
9169 bool temp6 = False ;
9170 PyObject * obj0 = 0 ;
9171 PyObject * obj1 = 0 ;
9172 PyObject * obj2 = 0 ;
9173 PyObject * obj3 = 0 ;
9174 PyObject * obj4 = 0 ;
9175 PyObject * obj5 = 0 ;
9176 char *kwnames[] = {
9177 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9178 };
9179
9180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9183 if (obj1) {
9184 arg2 = (int) SWIG_AsInt(obj1);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
9187 if (obj2) {
9188 {
9189 arg3 = &temp3;
9190 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9191 }
9192 }
9193 if (obj3) {
9194 {
9195 arg4 = &temp4;
9196 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9197 }
9198 }
9199 if (obj4) {
9200 arg5 = (long) SWIG_AsLong(obj4);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 if (obj5) {
9204 {
9205 arg6 = wxString_in_helper(obj5);
9206 if (arg6 == NULL) SWIG_fail;
9207 temp6 = True;
9208 }
9209 }
9210 {
9211 if (!wxPyCheckForApp()) SWIG_fail;
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
9218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9219 {
9220 if (temp6)
9221 delete arg6;
9222 }
9223 return resultobj;
9224 fail:
9225 {
9226 if (temp6)
9227 delete arg6;
9228 }
9229 return NULL;
9230 }
9231
9232
9233 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9234 PyObject *resultobj;
9235 wxPyVScrolledWindow *result;
9236 char *kwnames[] = {
9237 NULL
9238 };
9239
9240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9241 {
9242 if (!wxPyCheckForApp()) SWIG_fail;
9243 PyThreadState* __tstate = wxPyBeginAllowThreads();
9244 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9245
9246 wxPyEndAllowThreads(__tstate);
9247 if (PyErr_Occurred()) SWIG_fail;
9248 }
9249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9250 return resultobj;
9251 fail:
9252 return NULL;
9253 }
9254
9255
9256 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9257 PyObject *resultobj;
9258 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9259 PyObject *arg2 = (PyObject *) 0 ;
9260 PyObject *arg3 = (PyObject *) 0 ;
9261 PyObject * obj0 = 0 ;
9262 PyObject * obj1 = 0 ;
9263 PyObject * obj2 = 0 ;
9264 char *kwnames[] = {
9265 (char *) "self",(char *) "self",(char *) "_class", NULL
9266 };
9267
9268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9271 arg2 = obj1;
9272 arg3 = obj2;
9273 {
9274 PyThreadState* __tstate = wxPyBeginAllowThreads();
9275 (arg1)->_setCallbackInfo(arg2,arg3);
9276
9277 wxPyEndAllowThreads(__tstate);
9278 if (PyErr_Occurred()) SWIG_fail;
9279 }
9280 Py_INCREF(Py_None); resultobj = Py_None;
9281 return resultobj;
9282 fail:
9283 return NULL;
9284 }
9285
9286
9287 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9288 PyObject *resultobj;
9289 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9290 wxWindow *arg2 = (wxWindow *) 0 ;
9291 int arg3 = (int) wxID_ANY ;
9292 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9293 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9294 wxSize const &arg5_defvalue = wxDefaultSize ;
9295 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9296 long arg6 = (long) 0 ;
9297 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9298 wxString *arg7 = (wxString *) &arg7_defvalue ;
9299 bool result;
9300 wxPoint temp4 ;
9301 wxSize temp5 ;
9302 bool temp7 = False ;
9303 PyObject * obj0 = 0 ;
9304 PyObject * obj1 = 0 ;
9305 PyObject * obj2 = 0 ;
9306 PyObject * obj3 = 0 ;
9307 PyObject * obj4 = 0 ;
9308 PyObject * obj5 = 0 ;
9309 PyObject * obj6 = 0 ;
9310 char *kwnames[] = {
9311 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9312 };
9313
9314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9317 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9319 if (obj2) {
9320 arg3 = (int) SWIG_AsInt(obj2);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 }
9323 if (obj3) {
9324 {
9325 arg4 = &temp4;
9326 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9327 }
9328 }
9329 if (obj4) {
9330 {
9331 arg5 = &temp5;
9332 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9333 }
9334 }
9335 if (obj5) {
9336 arg6 = (long) SWIG_AsLong(obj5);
9337 if (PyErr_Occurred()) SWIG_fail;
9338 }
9339 if (obj6) {
9340 {
9341 arg7 = wxString_in_helper(obj6);
9342 if (arg7 == NULL) SWIG_fail;
9343 temp7 = True;
9344 }
9345 }
9346 {
9347 PyThreadState* __tstate = wxPyBeginAllowThreads();
9348 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9349
9350 wxPyEndAllowThreads(__tstate);
9351 if (PyErr_Occurred()) SWIG_fail;
9352 }
9353 {
9354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9355 }
9356 {
9357 if (temp7)
9358 delete arg7;
9359 }
9360 return resultobj;
9361 fail:
9362 {
9363 if (temp7)
9364 delete arg7;
9365 }
9366 return NULL;
9367 }
9368
9369
9370 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9371 PyObject *resultobj;
9372 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9373 size_t arg2 ;
9374 PyObject * obj0 = 0 ;
9375 PyObject * obj1 = 0 ;
9376 char *kwnames[] = {
9377 (char *) "self",(char *) "count", NULL
9378 };
9379
9380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9383 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9384 if (PyErr_Occurred()) SWIG_fail;
9385 {
9386 PyThreadState* __tstate = wxPyBeginAllowThreads();
9387 (arg1)->SetLineCount(arg2);
9388
9389 wxPyEndAllowThreads(__tstate);
9390 if (PyErr_Occurred()) SWIG_fail;
9391 }
9392 Py_INCREF(Py_None); resultobj = Py_None;
9393 return resultobj;
9394 fail:
9395 return NULL;
9396 }
9397
9398
9399 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9400 PyObject *resultobj;
9401 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9402 size_t arg2 ;
9403 bool result;
9404 PyObject * obj0 = 0 ;
9405 PyObject * obj1 = 0 ;
9406 char *kwnames[] = {
9407 (char *) "self",(char *) "line", NULL
9408 };
9409
9410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9413 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9414 if (PyErr_Occurred()) SWIG_fail;
9415 {
9416 PyThreadState* __tstate = wxPyBeginAllowThreads();
9417 result = (bool)(arg1)->ScrollToLine(arg2);
9418
9419 wxPyEndAllowThreads(__tstate);
9420 if (PyErr_Occurred()) SWIG_fail;
9421 }
9422 {
9423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9424 }
9425 return resultobj;
9426 fail:
9427 return NULL;
9428 }
9429
9430
9431 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9432 PyObject *resultobj;
9433 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9434 int arg2 ;
9435 bool result;
9436 PyObject * obj0 = 0 ;
9437 PyObject * obj1 = 0 ;
9438 char *kwnames[] = {
9439 (char *) "self",(char *) "lines", NULL
9440 };
9441
9442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9445 arg2 = (int) SWIG_AsInt(obj1);
9446 if (PyErr_Occurred()) SWIG_fail;
9447 {
9448 PyThreadState* __tstate = wxPyBeginAllowThreads();
9449 result = (bool)(arg1)->ScrollLines(arg2);
9450
9451 wxPyEndAllowThreads(__tstate);
9452 if (PyErr_Occurred()) SWIG_fail;
9453 }
9454 {
9455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9456 }
9457 return resultobj;
9458 fail:
9459 return NULL;
9460 }
9461
9462
9463 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9464 PyObject *resultobj;
9465 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9466 int arg2 ;
9467 bool result;
9468 PyObject * obj0 = 0 ;
9469 PyObject * obj1 = 0 ;
9470 char *kwnames[] = {
9471 (char *) "self",(char *) "pages", NULL
9472 };
9473
9474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9477 arg2 = (int) SWIG_AsInt(obj1);
9478 if (PyErr_Occurred()) SWIG_fail;
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
9481 result = (bool)(arg1)->ScrollPages(arg2);
9482
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
9486 {
9487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9488 }
9489 return resultobj;
9490 fail:
9491 return NULL;
9492 }
9493
9494
9495 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9496 PyObject *resultobj;
9497 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9498 size_t arg2 ;
9499 PyObject * obj0 = 0 ;
9500 PyObject * obj1 = 0 ;
9501 char *kwnames[] = {
9502 (char *) "self",(char *) "line", NULL
9503 };
9504
9505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9508 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9509 if (PyErr_Occurred()) SWIG_fail;
9510 {
9511 PyThreadState* __tstate = wxPyBeginAllowThreads();
9512 (arg1)->RefreshLine(arg2);
9513
9514 wxPyEndAllowThreads(__tstate);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
9517 Py_INCREF(Py_None); resultobj = Py_None;
9518 return resultobj;
9519 fail:
9520 return NULL;
9521 }
9522
9523
9524 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9525 PyObject *resultobj;
9526 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9527 size_t arg2 ;
9528 size_t arg3 ;
9529 PyObject * obj0 = 0 ;
9530 PyObject * obj1 = 0 ;
9531 PyObject * obj2 = 0 ;
9532 char *kwnames[] = {
9533 (char *) "self",(char *) "from",(char *) "to", NULL
9534 };
9535
9536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9539 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9540 if (PyErr_Occurred()) SWIG_fail;
9541 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9542 if (PyErr_Occurred()) SWIG_fail;
9543 {
9544 PyThreadState* __tstate = wxPyBeginAllowThreads();
9545 (arg1)->RefreshLines(arg2,arg3);
9546
9547 wxPyEndAllowThreads(__tstate);
9548 if (PyErr_Occurred()) SWIG_fail;
9549 }
9550 Py_INCREF(Py_None); resultobj = Py_None;
9551 return resultobj;
9552 fail:
9553 return NULL;
9554 }
9555
9556
9557 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9558 PyObject *resultobj;
9559 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9560 int arg2 ;
9561 int arg3 ;
9562 int result;
9563 PyObject * obj0 = 0 ;
9564 PyObject * obj1 = 0 ;
9565 PyObject * obj2 = 0 ;
9566 char *kwnames[] = {
9567 (char *) "self",(char *) "x",(char *) "y", NULL
9568 };
9569
9570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9573 arg2 = (int) SWIG_AsInt(obj1);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 arg3 = (int) SWIG_AsInt(obj2);
9576 if (PyErr_Occurred()) SWIG_fail;
9577 {
9578 PyThreadState* __tstate = wxPyBeginAllowThreads();
9579 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9580
9581 wxPyEndAllowThreads(__tstate);
9582 if (PyErr_Occurred()) SWIG_fail;
9583 }
9584 resultobj = SWIG_FromInt((int)result);
9585 return resultobj;
9586 fail:
9587 return NULL;
9588 }
9589
9590
9591 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9592 PyObject *resultobj;
9593 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9594 wxPoint *arg2 = 0 ;
9595 int result;
9596 wxPoint temp2 ;
9597 PyObject * obj0 = 0 ;
9598 PyObject * obj1 = 0 ;
9599 char *kwnames[] = {
9600 (char *) "self",(char *) "pt", NULL
9601 };
9602
9603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9606 {
9607 arg2 = &temp2;
9608 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9609 }
9610 {
9611 PyThreadState* __tstate = wxPyBeginAllowThreads();
9612 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9613
9614 wxPyEndAllowThreads(__tstate);
9615 if (PyErr_Occurred()) SWIG_fail;
9616 }
9617 resultobj = SWIG_FromInt((int)result);
9618 return resultobj;
9619 fail:
9620 return NULL;
9621 }
9622
9623
9624 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9625 PyObject *resultobj;
9626 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9627 PyObject * obj0 = 0 ;
9628 char *kwnames[] = {
9629 (char *) "self", NULL
9630 };
9631
9632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9635 {
9636 PyThreadState* __tstate = wxPyBeginAllowThreads();
9637 (arg1)->RefreshAll();
9638
9639 wxPyEndAllowThreads(__tstate);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 }
9642 Py_INCREF(Py_None); resultobj = Py_None;
9643 return resultobj;
9644 fail:
9645 return NULL;
9646 }
9647
9648
9649 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9650 PyObject *resultobj;
9651 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9652 size_t result;
9653 PyObject * obj0 = 0 ;
9654 char *kwnames[] = {
9655 (char *) "self", NULL
9656 };
9657
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9661 {
9662 PyThreadState* __tstate = wxPyBeginAllowThreads();
9663 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9664
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
9668 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9669 return resultobj;
9670 fail:
9671 return NULL;
9672 }
9673
9674
9675 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9676 PyObject *resultobj;
9677 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9678 size_t result;
9679 PyObject * obj0 = 0 ;
9680 char *kwnames[] = {
9681 (char *) "self", NULL
9682 };
9683
9684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9687 {
9688 PyThreadState* __tstate = wxPyBeginAllowThreads();
9689 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9690
9691 wxPyEndAllowThreads(__tstate);
9692 if (PyErr_Occurred()) SWIG_fail;
9693 }
9694 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9695 return resultobj;
9696 fail:
9697 return NULL;
9698 }
9699
9700
9701 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9702 PyObject *resultobj;
9703 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9704 size_t result;
9705 PyObject * obj0 = 0 ;
9706 char *kwnames[] = {
9707 (char *) "self", NULL
9708 };
9709
9710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9713 {
9714 PyThreadState* __tstate = wxPyBeginAllowThreads();
9715 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9716
9717 wxPyEndAllowThreads(__tstate);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9721 return resultobj;
9722 fail:
9723 return NULL;
9724 }
9725
9726
9727 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9728 PyObject *resultobj;
9729 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9730 size_t arg2 ;
9731 bool result;
9732 PyObject * obj0 = 0 ;
9733 PyObject * obj1 = 0 ;
9734 char *kwnames[] = {
9735 (char *) "self",(char *) "line", NULL
9736 };
9737
9738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9741 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9742 if (PyErr_Occurred()) SWIG_fail;
9743 {
9744 PyThreadState* __tstate = wxPyBeginAllowThreads();
9745 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9746
9747 wxPyEndAllowThreads(__tstate);
9748 if (PyErr_Occurred()) SWIG_fail;
9749 }
9750 {
9751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9752 }
9753 return resultobj;
9754 fail:
9755 return NULL;
9756 }
9757
9758
9759 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9760 PyObject *obj;
9761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9762 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9763 Py_INCREF(obj);
9764 return Py_BuildValue((char *)"");
9765 }
9766 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9767 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9768 return 1;
9769 }
9770
9771
9772 static PyObject *_wrap_VListBoxNameStr_get() {
9773 PyObject *pyobj;
9774
9775 {
9776 #if wxUSE_UNICODE
9777 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9778 #else
9779 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9780 #endif
9781 }
9782 return pyobj;
9783 }
9784
9785
9786 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9787 PyObject *resultobj;
9788 wxWindow *arg1 = (wxWindow *) 0 ;
9789 int arg2 = (int) wxID_ANY ;
9790 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9791 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9792 wxSize const &arg4_defvalue = wxDefaultSize ;
9793 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9794 long arg5 = (long) 0 ;
9795 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9796 wxString *arg6 = (wxString *) &arg6_defvalue ;
9797 wxPyVListBox *result;
9798 wxPoint temp3 ;
9799 wxSize temp4 ;
9800 bool temp6 = False ;
9801 PyObject * obj0 = 0 ;
9802 PyObject * obj1 = 0 ;
9803 PyObject * obj2 = 0 ;
9804 PyObject * obj3 = 0 ;
9805 PyObject * obj4 = 0 ;
9806 PyObject * obj5 = 0 ;
9807 char *kwnames[] = {
9808 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9809 };
9810
9811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9814 if (obj1) {
9815 arg2 = (int) SWIG_AsInt(obj1);
9816 if (PyErr_Occurred()) SWIG_fail;
9817 }
9818 if (obj2) {
9819 {
9820 arg3 = &temp3;
9821 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9822 }
9823 }
9824 if (obj3) {
9825 {
9826 arg4 = &temp4;
9827 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9828 }
9829 }
9830 if (obj4) {
9831 arg5 = (long) SWIG_AsLong(obj4);
9832 if (PyErr_Occurred()) SWIG_fail;
9833 }
9834 if (obj5) {
9835 {
9836 arg6 = wxString_in_helper(obj5);
9837 if (arg6 == NULL) SWIG_fail;
9838 temp6 = True;
9839 }
9840 }
9841 {
9842 if (!wxPyCheckForApp()) SWIG_fail;
9843 PyThreadState* __tstate = wxPyBeginAllowThreads();
9844 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9845
9846 wxPyEndAllowThreads(__tstate);
9847 if (PyErr_Occurred()) SWIG_fail;
9848 }
9849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9850 {
9851 if (temp6)
9852 delete arg6;
9853 }
9854 return resultobj;
9855 fail:
9856 {
9857 if (temp6)
9858 delete arg6;
9859 }
9860 return NULL;
9861 }
9862
9863
9864 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9865 PyObject *resultobj;
9866 wxPyVListBox *result;
9867 char *kwnames[] = {
9868 NULL
9869 };
9870
9871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9872 {
9873 if (!wxPyCheckForApp()) SWIG_fail;
9874 PyThreadState* __tstate = wxPyBeginAllowThreads();
9875 result = (wxPyVListBox *)new wxPyVListBox();
9876
9877 wxPyEndAllowThreads(__tstate);
9878 if (PyErr_Occurred()) SWIG_fail;
9879 }
9880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9881 return resultobj;
9882 fail:
9883 return NULL;
9884 }
9885
9886
9887 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9888 PyObject *resultobj;
9889 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9890 PyObject *arg2 = (PyObject *) 0 ;
9891 PyObject *arg3 = (PyObject *) 0 ;
9892 PyObject * obj0 = 0 ;
9893 PyObject * obj1 = 0 ;
9894 PyObject * obj2 = 0 ;
9895 char *kwnames[] = {
9896 (char *) "self",(char *) "self",(char *) "_class", NULL
9897 };
9898
9899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9902 arg2 = obj1;
9903 arg3 = obj2;
9904 {
9905 PyThreadState* __tstate = wxPyBeginAllowThreads();
9906 (arg1)->_setCallbackInfo(arg2,arg3);
9907
9908 wxPyEndAllowThreads(__tstate);
9909 if (PyErr_Occurred()) SWIG_fail;
9910 }
9911 Py_INCREF(Py_None); resultobj = Py_None;
9912 return resultobj;
9913 fail:
9914 return NULL;
9915 }
9916
9917
9918 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9919 PyObject *resultobj;
9920 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9921 wxWindow *arg2 = (wxWindow *) 0 ;
9922 int arg3 = (int) wxID_ANY ;
9923 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9924 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9925 wxSize const &arg5_defvalue = wxDefaultSize ;
9926 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9927 long arg6 = (long) 0 ;
9928 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9929 wxString *arg7 = (wxString *) &arg7_defvalue ;
9930 bool result;
9931 wxPoint temp4 ;
9932 wxSize temp5 ;
9933 bool temp7 = False ;
9934 PyObject * obj0 = 0 ;
9935 PyObject * obj1 = 0 ;
9936 PyObject * obj2 = 0 ;
9937 PyObject * obj3 = 0 ;
9938 PyObject * obj4 = 0 ;
9939 PyObject * obj5 = 0 ;
9940 PyObject * obj6 = 0 ;
9941 char *kwnames[] = {
9942 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9943 };
9944
9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9948 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9950 if (obj2) {
9951 arg3 = (int) SWIG_AsInt(obj2);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 }
9954 if (obj3) {
9955 {
9956 arg4 = &temp4;
9957 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9958 }
9959 }
9960 if (obj4) {
9961 {
9962 arg5 = &temp5;
9963 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9964 }
9965 }
9966 if (obj5) {
9967 arg6 = (long) SWIG_AsLong(obj5);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 if (obj6) {
9971 {
9972 arg7 = wxString_in_helper(obj6);
9973 if (arg7 == NULL) SWIG_fail;
9974 temp7 = True;
9975 }
9976 }
9977 {
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9980
9981 wxPyEndAllowThreads(__tstate);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 }
9984 {
9985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9986 }
9987 {
9988 if (temp7)
9989 delete arg7;
9990 }
9991 return resultobj;
9992 fail:
9993 {
9994 if (temp7)
9995 delete arg7;
9996 }
9997 return NULL;
9998 }
9999
10000
10001 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10002 PyObject *resultobj;
10003 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10004 size_t result;
10005 PyObject * obj0 = 0 ;
10006 char *kwnames[] = {
10007 (char *) "self", NULL
10008 };
10009
10010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
10011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10013 {
10014 PyThreadState* __tstate = wxPyBeginAllowThreads();
10015 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
10016
10017 wxPyEndAllowThreads(__tstate);
10018 if (PyErr_Occurred()) SWIG_fail;
10019 }
10020 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
10021 return resultobj;
10022 fail:
10023 return NULL;
10024 }
10025
10026
10027 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10028 PyObject *resultobj;
10029 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10030 bool result;
10031 PyObject * obj0 = 0 ;
10032 char *kwnames[] = {
10033 (char *) "self", NULL
10034 };
10035
10036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
10037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
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_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10056 PyObject *resultobj;
10057 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10058 int result;
10059 PyObject * obj0 = 0 ;
10060 char *kwnames[] = {
10061 (char *) "self", NULL
10062 };
10063
10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
10065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10067 {
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
10069 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10070
10071 wxPyEndAllowThreads(__tstate);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 resultobj = SWIG_FromInt((int)result);
10075 return resultobj;
10076 fail:
10077 return NULL;
10078 }
10079
10080
10081 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
10082 PyObject *resultobj;
10083 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10084 size_t arg2 ;
10085 bool result;
10086 PyObject * obj0 = 0 ;
10087 PyObject * obj1 = 0 ;
10088 char *kwnames[] = {
10089 (char *) "self",(char *) "item", NULL
10090 };
10091
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10095 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10096 if (PyErr_Occurred()) SWIG_fail;
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10100
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 {
10105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10106 }
10107 return resultobj;
10108 fail:
10109 return NULL;
10110 }
10111
10112
10113 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10114 PyObject *resultobj;
10115 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10116 size_t arg2 ;
10117 bool result;
10118 PyObject * obj0 = 0 ;
10119 PyObject * obj1 = 0 ;
10120 char *kwnames[] = {
10121 (char *) "self",(char *) "item", NULL
10122 };
10123
10124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10127 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10128 if (PyErr_Occurred()) SWIG_fail;
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10132
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
10136 {
10137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10138 }
10139 return resultobj;
10140 fail:
10141 return NULL;
10142 }
10143
10144
10145 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10146 PyObject *resultobj;
10147 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10148 size_t result;
10149 PyObject * obj0 = 0 ;
10150 char *kwnames[] = {
10151 (char *) "self", NULL
10152 };
10153
10154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10157 {
10158 PyThreadState* __tstate = wxPyBeginAllowThreads();
10159 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10160
10161 wxPyEndAllowThreads(__tstate);
10162 if (PyErr_Occurred()) SWIG_fail;
10163 }
10164 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
10165 return resultobj;
10166 fail:
10167 return NULL;
10168 }
10169
10170
10171 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10172 PyObject *resultobj;
10173 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10174 PyObject *result;
10175 PyObject * obj0 = 0 ;
10176 char *kwnames[] = {
10177 (char *) "self", NULL
10178 };
10179
10180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10183 {
10184 PyThreadState* __tstate = wxPyBeginAllowThreads();
10185 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10186
10187 wxPyEndAllowThreads(__tstate);
10188 if (PyErr_Occurred()) SWIG_fail;
10189 }
10190 resultobj = result;
10191 return resultobj;
10192 fail:
10193 return NULL;
10194 }
10195
10196
10197 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10198 PyObject *resultobj;
10199 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10200 unsigned long arg2 ;
10201 PyObject *result;
10202 PyObject * obj0 = 0 ;
10203 PyObject * obj1 = 0 ;
10204 char *kwnames[] = {
10205 (char *) "self",(char *) "cookie", NULL
10206 };
10207
10208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10211 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
10212 if (PyErr_Occurred()) SWIG_fail;
10213 {
10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
10215 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10216
10217 wxPyEndAllowThreads(__tstate);
10218 if (PyErr_Occurred()) SWIG_fail;
10219 }
10220 resultobj = result;
10221 return resultobj;
10222 fail:
10223 return NULL;
10224 }
10225
10226
10227 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10228 PyObject *resultobj;
10229 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10230 wxPoint result;
10231 PyObject * obj0 = 0 ;
10232 char *kwnames[] = {
10233 (char *) "self", NULL
10234 };
10235
10236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10239 {
10240 PyThreadState* __tstate = wxPyBeginAllowThreads();
10241 result = ((wxPyVListBox const *)arg1)->GetMargins();
10242
10243 wxPyEndAllowThreads(__tstate);
10244 if (PyErr_Occurred()) SWIG_fail;
10245 }
10246 {
10247 wxPoint * resultptr;
10248 resultptr = new wxPoint((wxPoint &) result);
10249 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10250 }
10251 return resultobj;
10252 fail:
10253 return NULL;
10254 }
10255
10256
10257 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10258 PyObject *resultobj;
10259 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10260 wxColour *result;
10261 PyObject * obj0 = 0 ;
10262 char *kwnames[] = {
10263 (char *) "self", NULL
10264 };
10265
10266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10269 {
10270 PyThreadState* __tstate = wxPyBeginAllowThreads();
10271 {
10272 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10273 result = (wxColour *) &_result_ref;
10274 }
10275
10276 wxPyEndAllowThreads(__tstate);
10277 if (PyErr_Occurred()) SWIG_fail;
10278 }
10279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10280 return resultobj;
10281 fail:
10282 return NULL;
10283 }
10284
10285
10286 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10287 PyObject *resultobj;
10288 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10289 size_t arg2 ;
10290 PyObject * obj0 = 0 ;
10291 PyObject * obj1 = 0 ;
10292 char *kwnames[] = {
10293 (char *) "self",(char *) "count", NULL
10294 };
10295
10296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10299 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10300 if (PyErr_Occurred()) SWIG_fail;
10301 {
10302 PyThreadState* __tstate = wxPyBeginAllowThreads();
10303 (arg1)->SetItemCount(arg2);
10304
10305 wxPyEndAllowThreads(__tstate);
10306 if (PyErr_Occurred()) SWIG_fail;
10307 }
10308 Py_INCREF(Py_None); resultobj = Py_None;
10309 return resultobj;
10310 fail:
10311 return NULL;
10312 }
10313
10314
10315 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10316 PyObject *resultobj;
10317 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10318 PyObject * obj0 = 0 ;
10319 char *kwnames[] = {
10320 (char *) "self", NULL
10321 };
10322
10323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10326 {
10327 PyThreadState* __tstate = wxPyBeginAllowThreads();
10328 (arg1)->Clear();
10329
10330 wxPyEndAllowThreads(__tstate);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 Py_INCREF(Py_None); resultobj = Py_None;
10334 return resultobj;
10335 fail:
10336 return NULL;
10337 }
10338
10339
10340 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10341 PyObject *resultobj;
10342 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10343 int arg2 ;
10344 PyObject * obj0 = 0 ;
10345 PyObject * obj1 = 0 ;
10346 char *kwnames[] = {
10347 (char *) "self",(char *) "selection", NULL
10348 };
10349
10350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10353 arg2 = (int) SWIG_AsInt(obj1);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 {
10356 PyThreadState* __tstate = wxPyBeginAllowThreads();
10357 (arg1)->SetSelection(arg2);
10358
10359 wxPyEndAllowThreads(__tstate);
10360 if (PyErr_Occurred()) SWIG_fail;
10361 }
10362 Py_INCREF(Py_None); resultobj = Py_None;
10363 return resultobj;
10364 fail:
10365 return NULL;
10366 }
10367
10368
10369 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10370 PyObject *resultobj;
10371 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10372 size_t arg2 ;
10373 bool arg3 = (bool) True ;
10374 bool result;
10375 PyObject * obj0 = 0 ;
10376 PyObject * obj1 = 0 ;
10377 PyObject * obj2 = 0 ;
10378 char *kwnames[] = {
10379 (char *) "self",(char *) "item",(char *) "select", NULL
10380 };
10381
10382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10385 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10386 if (PyErr_Occurred()) SWIG_fail;
10387 if (obj2) {
10388 arg3 = (bool) SWIG_AsBool(obj2);
10389 if (PyErr_Occurred()) SWIG_fail;
10390 }
10391 {
10392 PyThreadState* __tstate = wxPyBeginAllowThreads();
10393 result = (bool)(arg1)->Select(arg2,arg3);
10394
10395 wxPyEndAllowThreads(__tstate);
10396 if (PyErr_Occurred()) SWIG_fail;
10397 }
10398 {
10399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10400 }
10401 return resultobj;
10402 fail:
10403 return NULL;
10404 }
10405
10406
10407 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10408 PyObject *resultobj;
10409 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10410 size_t arg2 ;
10411 size_t arg3 ;
10412 bool result;
10413 PyObject * obj0 = 0 ;
10414 PyObject * obj1 = 0 ;
10415 PyObject * obj2 = 0 ;
10416 char *kwnames[] = {
10417 (char *) "self",(char *) "from",(char *) "to", NULL
10418 };
10419
10420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10423 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10424 if (PyErr_Occurred()) SWIG_fail;
10425 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10426 if (PyErr_Occurred()) SWIG_fail;
10427 {
10428 PyThreadState* __tstate = wxPyBeginAllowThreads();
10429 result = (bool)(arg1)->SelectRange(arg2,arg3);
10430
10431 wxPyEndAllowThreads(__tstate);
10432 if (PyErr_Occurred()) SWIG_fail;
10433 }
10434 {
10435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10436 }
10437 return resultobj;
10438 fail:
10439 return NULL;
10440 }
10441
10442
10443 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10444 PyObject *resultobj;
10445 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10446 size_t arg2 ;
10447 PyObject * obj0 = 0 ;
10448 PyObject * obj1 = 0 ;
10449 char *kwnames[] = {
10450 (char *) "self",(char *) "item", NULL
10451 };
10452
10453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10456 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10457 if (PyErr_Occurred()) SWIG_fail;
10458 {
10459 PyThreadState* __tstate = wxPyBeginAllowThreads();
10460 (arg1)->Toggle(arg2);
10461
10462 wxPyEndAllowThreads(__tstate);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 Py_INCREF(Py_None); resultobj = Py_None;
10466 return resultobj;
10467 fail:
10468 return NULL;
10469 }
10470
10471
10472 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10473 PyObject *resultobj;
10474 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10475 bool result;
10476 PyObject * obj0 = 0 ;
10477 char *kwnames[] = {
10478 (char *) "self", NULL
10479 };
10480
10481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10484 {
10485 PyThreadState* __tstate = wxPyBeginAllowThreads();
10486 result = (bool)(arg1)->SelectAll();
10487
10488 wxPyEndAllowThreads(__tstate);
10489 if (PyErr_Occurred()) SWIG_fail;
10490 }
10491 {
10492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10493 }
10494 return resultobj;
10495 fail:
10496 return NULL;
10497 }
10498
10499
10500 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10501 PyObject *resultobj;
10502 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10503 bool result;
10504 PyObject * obj0 = 0 ;
10505 char *kwnames[] = {
10506 (char *) "self", NULL
10507 };
10508
10509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10512 {
10513 PyThreadState* __tstate = wxPyBeginAllowThreads();
10514 result = (bool)(arg1)->DeselectAll();
10515
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 {
10520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10521 }
10522 return resultobj;
10523 fail:
10524 return NULL;
10525 }
10526
10527
10528 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10529 PyObject *resultobj;
10530 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10531 wxPoint *arg2 = 0 ;
10532 wxPoint temp2 ;
10533 PyObject * obj0 = 0 ;
10534 PyObject * obj1 = 0 ;
10535 char *kwnames[] = {
10536 (char *) "self",(char *) "pt", NULL
10537 };
10538
10539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10542 {
10543 arg2 = &temp2;
10544 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10545 }
10546 {
10547 PyThreadState* __tstate = wxPyBeginAllowThreads();
10548 (arg1)->SetMargins((wxPoint const &)*arg2);
10549
10550 wxPyEndAllowThreads(__tstate);
10551 if (PyErr_Occurred()) SWIG_fail;
10552 }
10553 Py_INCREF(Py_None); resultobj = Py_None;
10554 return resultobj;
10555 fail:
10556 return NULL;
10557 }
10558
10559
10560 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10561 PyObject *resultobj;
10562 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10563 int arg2 ;
10564 int arg3 ;
10565 PyObject * obj0 = 0 ;
10566 PyObject * obj1 = 0 ;
10567 PyObject * obj2 = 0 ;
10568 char *kwnames[] = {
10569 (char *) "self",(char *) "x",(char *) "y", NULL
10570 };
10571
10572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10575 arg2 = (int) SWIG_AsInt(obj1);
10576 if (PyErr_Occurred()) SWIG_fail;
10577 arg3 = (int) SWIG_AsInt(obj2);
10578 if (PyErr_Occurred()) SWIG_fail;
10579 {
10580 PyThreadState* __tstate = wxPyBeginAllowThreads();
10581 (arg1)->SetMargins(arg2,arg3);
10582
10583 wxPyEndAllowThreads(__tstate);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 }
10586 Py_INCREF(Py_None); resultobj = Py_None;
10587 return resultobj;
10588 fail:
10589 return NULL;
10590 }
10591
10592
10593 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10594 PyObject *resultobj;
10595 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10596 wxColour *arg2 = 0 ;
10597 wxColour temp2 ;
10598 PyObject * obj0 = 0 ;
10599 PyObject * obj1 = 0 ;
10600 char *kwnames[] = {
10601 (char *) "self",(char *) "col", NULL
10602 };
10603
10604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10607 {
10608 arg2 = &temp2;
10609 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10610 }
10611 {
10612 PyThreadState* __tstate = wxPyBeginAllowThreads();
10613 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10614
10615 wxPyEndAllowThreads(__tstate);
10616 if (PyErr_Occurred()) SWIG_fail;
10617 }
10618 Py_INCREF(Py_None); resultobj = Py_None;
10619 return resultobj;
10620 fail:
10621 return NULL;
10622 }
10623
10624
10625 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10626 PyObject *obj;
10627 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10628 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10629 Py_INCREF(obj);
10630 return Py_BuildValue((char *)"");
10631 }
10632 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10633 PyObject *resultobj;
10634 wxWindow *arg1 = (wxWindow *) 0 ;
10635 int arg2 = (int) wxID_ANY ;
10636 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10637 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10638 wxSize const &arg4_defvalue = wxDefaultSize ;
10639 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10640 long arg5 = (long) 0 ;
10641 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10642 wxString *arg6 = (wxString *) &arg6_defvalue ;
10643 wxPyHtmlListBox *result;
10644 wxPoint temp3 ;
10645 wxSize temp4 ;
10646 bool temp6 = False ;
10647 PyObject * obj0 = 0 ;
10648 PyObject * obj1 = 0 ;
10649 PyObject * obj2 = 0 ;
10650 PyObject * obj3 = 0 ;
10651 PyObject * obj4 = 0 ;
10652 PyObject * obj5 = 0 ;
10653 char *kwnames[] = {
10654 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10655 };
10656
10657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10660 if (obj1) {
10661 arg2 = (int) SWIG_AsInt(obj1);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 }
10664 if (obj2) {
10665 {
10666 arg3 = &temp3;
10667 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10668 }
10669 }
10670 if (obj3) {
10671 {
10672 arg4 = &temp4;
10673 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10674 }
10675 }
10676 if (obj4) {
10677 arg5 = (long) SWIG_AsLong(obj4);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 if (obj5) {
10681 {
10682 arg6 = wxString_in_helper(obj5);
10683 if (arg6 == NULL) SWIG_fail;
10684 temp6 = True;
10685 }
10686 }
10687 {
10688 if (!wxPyCheckForApp()) SWIG_fail;
10689 PyThreadState* __tstate = wxPyBeginAllowThreads();
10690 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10691
10692 wxPyEndAllowThreads(__tstate);
10693 if (PyErr_Occurred()) SWIG_fail;
10694 }
10695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10696 {
10697 if (temp6)
10698 delete arg6;
10699 }
10700 return resultobj;
10701 fail:
10702 {
10703 if (temp6)
10704 delete arg6;
10705 }
10706 return NULL;
10707 }
10708
10709
10710 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10711 PyObject *resultobj;
10712 wxPyHtmlListBox *result;
10713 char *kwnames[] = {
10714 NULL
10715 };
10716
10717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10718 {
10719 if (!wxPyCheckForApp()) SWIG_fail;
10720 PyThreadState* __tstate = wxPyBeginAllowThreads();
10721 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10722
10723 wxPyEndAllowThreads(__tstate);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
10726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10727 return resultobj;
10728 fail:
10729 return NULL;
10730 }
10731
10732
10733 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10734 PyObject *resultobj;
10735 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10736 PyObject *arg2 = (PyObject *) 0 ;
10737 PyObject *arg3 = (PyObject *) 0 ;
10738 PyObject * obj0 = 0 ;
10739 PyObject * obj1 = 0 ;
10740 PyObject * obj2 = 0 ;
10741 char *kwnames[] = {
10742 (char *) "self",(char *) "self",(char *) "_class", NULL
10743 };
10744
10745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10748 arg2 = obj1;
10749 arg3 = obj2;
10750 {
10751 PyThreadState* __tstate = wxPyBeginAllowThreads();
10752 (arg1)->_setCallbackInfo(arg2,arg3);
10753
10754 wxPyEndAllowThreads(__tstate);
10755 if (PyErr_Occurred()) SWIG_fail;
10756 }
10757 Py_INCREF(Py_None); resultobj = Py_None;
10758 return resultobj;
10759 fail:
10760 return NULL;
10761 }
10762
10763
10764 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10765 PyObject *resultobj;
10766 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10767 wxWindow *arg2 = (wxWindow *) 0 ;
10768 int arg3 = (int) wxID_ANY ;
10769 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10770 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10771 wxSize const &arg5_defvalue = wxDefaultSize ;
10772 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10773 long arg6 = (long) 0 ;
10774 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10775 wxString *arg7 = (wxString *) &arg7_defvalue ;
10776 bool result;
10777 wxPoint temp4 ;
10778 wxSize temp5 ;
10779 bool temp7 = False ;
10780 PyObject * obj0 = 0 ;
10781 PyObject * obj1 = 0 ;
10782 PyObject * obj2 = 0 ;
10783 PyObject * obj3 = 0 ;
10784 PyObject * obj4 = 0 ;
10785 PyObject * obj5 = 0 ;
10786 PyObject * obj6 = 0 ;
10787 char *kwnames[] = {
10788 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10789 };
10790
10791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10794 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10796 if (obj2) {
10797 arg3 = (int) SWIG_AsInt(obj2);
10798 if (PyErr_Occurred()) SWIG_fail;
10799 }
10800 if (obj3) {
10801 {
10802 arg4 = &temp4;
10803 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10804 }
10805 }
10806 if (obj4) {
10807 {
10808 arg5 = &temp5;
10809 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10810 }
10811 }
10812 if (obj5) {
10813 arg6 = (long) SWIG_AsLong(obj5);
10814 if (PyErr_Occurred()) SWIG_fail;
10815 }
10816 if (obj6) {
10817 {
10818 arg7 = wxString_in_helper(obj6);
10819 if (arg7 == NULL) SWIG_fail;
10820 temp7 = True;
10821 }
10822 }
10823 {
10824 PyThreadState* __tstate = wxPyBeginAllowThreads();
10825 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10826
10827 wxPyEndAllowThreads(__tstate);
10828 if (PyErr_Occurred()) SWIG_fail;
10829 }
10830 {
10831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10832 }
10833 {
10834 if (temp7)
10835 delete arg7;
10836 }
10837 return resultobj;
10838 fail:
10839 {
10840 if (temp7)
10841 delete arg7;
10842 }
10843 return NULL;
10844 }
10845
10846
10847 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10848 PyObject *resultobj;
10849 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10850 PyObject * obj0 = 0 ;
10851 char *kwnames[] = {
10852 (char *) "self", NULL
10853 };
10854
10855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10858 {
10859 PyThreadState* __tstate = wxPyBeginAllowThreads();
10860 (arg1)->RefreshAll();
10861
10862 wxPyEndAllowThreads(__tstate);
10863 if (PyErr_Occurred()) SWIG_fail;
10864 }
10865 Py_INCREF(Py_None); resultobj = Py_None;
10866 return resultobj;
10867 fail:
10868 return NULL;
10869 }
10870
10871
10872 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10873 PyObject *resultobj;
10874 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10875 size_t arg2 ;
10876 PyObject * obj0 = 0 ;
10877 PyObject * obj1 = 0 ;
10878 char *kwnames[] = {
10879 (char *) "self",(char *) "count", NULL
10880 };
10881
10882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10885 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10886 if (PyErr_Occurred()) SWIG_fail;
10887 {
10888 PyThreadState* __tstate = wxPyBeginAllowThreads();
10889 (arg1)->SetItemCount(arg2);
10890
10891 wxPyEndAllowThreads(__tstate);
10892 if (PyErr_Occurred()) SWIG_fail;
10893 }
10894 Py_INCREF(Py_None); resultobj = Py_None;
10895 return resultobj;
10896 fail:
10897 return NULL;
10898 }
10899
10900
10901 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
10902 PyObject *resultobj;
10903 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10904 wxFileSystem *result;
10905 PyObject * obj0 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "self", NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10913 {
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 {
10916 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10917 result = (wxFileSystem *) &_result_ref;
10918 }
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
10924 return resultobj;
10925 fail:
10926 return NULL;
10927 }
10928
10929
10930 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10931 PyObject *obj;
10932 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10933 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10934 Py_INCREF(obj);
10935 return Py_BuildValue((char *)"");
10936 }
10937 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10938 PyObject *resultobj;
10939 wxTaskBarIcon *result;
10940 char *kwnames[] = {
10941 NULL
10942 };
10943
10944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10945 {
10946 if (!wxPyCheckForApp()) SWIG_fail;
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10949
10950 wxPyEndAllowThreads(__tstate);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 }
10953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10954 return resultobj;
10955 fail:
10956 return NULL;
10957 }
10958
10959
10960 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10961 PyObject *resultobj;
10962 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10963 PyObject * obj0 = 0 ;
10964 char *kwnames[] = {
10965 (char *) "self", NULL
10966 };
10967
10968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10971 {
10972 PyThreadState* __tstate = wxPyBeginAllowThreads();
10973 delete arg1;
10974
10975 wxPyEndAllowThreads(__tstate);
10976 if (PyErr_Occurred()) SWIG_fail;
10977 }
10978 Py_INCREF(Py_None); resultobj = Py_None;
10979 return resultobj;
10980 fail:
10981 return NULL;
10982 }
10983
10984
10985 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10986 PyObject *resultobj;
10987 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10988 PyObject * obj0 = 0 ;
10989 char *kwnames[] = {
10990 (char *) "self", NULL
10991 };
10992
10993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 wxTaskBarIcon_Destroy(arg1);
10999
11000 wxPyEndAllowThreads(__tstate);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 Py_INCREF(Py_None); resultobj = Py_None;
11004 return resultobj;
11005 fail:
11006 return NULL;
11007 }
11008
11009
11010 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
11011 PyObject *resultobj;
11012 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11013 bool result;
11014 PyObject * obj0 = 0 ;
11015 char *kwnames[] = {
11016 (char *) "self", NULL
11017 };
11018
11019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
11020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11022 {
11023 PyThreadState* __tstate = wxPyBeginAllowThreads();
11024 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
11025
11026 wxPyEndAllowThreads(__tstate);
11027 if (PyErr_Occurred()) SWIG_fail;
11028 }
11029 {
11030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11031 }
11032 return resultobj;
11033 fail:
11034 return NULL;
11035 }
11036
11037
11038 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
11039 PyObject *resultobj;
11040 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11041 bool result;
11042 PyObject * obj0 = 0 ;
11043 char *kwnames[] = {
11044 (char *) "self", NULL
11045 };
11046
11047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
11048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
11053
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 {
11058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11059 }
11060 return resultobj;
11061 fail:
11062 return NULL;
11063 }
11064
11065
11066 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11067 PyObject *resultobj;
11068 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11069 wxIcon *arg2 = 0 ;
11070 wxString const &arg3_defvalue = wxPyEmptyString ;
11071 wxString *arg3 = (wxString *) &arg3_defvalue ;
11072 bool result;
11073 bool temp3 = False ;
11074 PyObject * obj0 = 0 ;
11075 PyObject * obj1 = 0 ;
11076 PyObject * obj2 = 0 ;
11077 char *kwnames[] = {
11078 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11079 };
11080
11081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11084 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11085 SWIG_POINTER_EXCEPTION | 0)) == -1)
11086 SWIG_fail;
11087 if (arg2 == NULL) {
11088 PyErr_SetString(PyExc_TypeError,"null reference");
11089 SWIG_fail;
11090 }
11091 if (obj2) {
11092 {
11093 arg3 = wxString_in_helper(obj2);
11094 if (arg3 == NULL) SWIG_fail;
11095 temp3 = True;
11096 }
11097 }
11098 {
11099 PyThreadState* __tstate = wxPyBeginAllowThreads();
11100 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11101
11102 wxPyEndAllowThreads(__tstate);
11103 if (PyErr_Occurred()) SWIG_fail;
11104 }
11105 {
11106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11107 }
11108 {
11109 if (temp3)
11110 delete arg3;
11111 }
11112 return resultobj;
11113 fail:
11114 {
11115 if (temp3)
11116 delete arg3;
11117 }
11118 return NULL;
11119 }
11120
11121
11122 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11123 PyObject *resultobj;
11124 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11125 bool result;
11126 PyObject * obj0 = 0 ;
11127 char *kwnames[] = {
11128 (char *) "self", NULL
11129 };
11130
11131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11134 {
11135 PyThreadState* __tstate = wxPyBeginAllowThreads();
11136 result = (bool)(arg1)->RemoveIcon();
11137
11138 wxPyEndAllowThreads(__tstate);
11139 if (PyErr_Occurred()) SWIG_fail;
11140 }
11141 {
11142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11143 }
11144 return resultobj;
11145 fail:
11146 return NULL;
11147 }
11148
11149
11150 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
11151 PyObject *resultobj;
11152 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11153 wxMenu *arg2 = (wxMenu *) 0 ;
11154 bool result;
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
11157 char *kwnames[] = {
11158 (char *) "self",(char *) "menu", NULL
11159 };
11160
11161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11164 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11166 {
11167 PyThreadState* __tstate = wxPyBeginAllowThreads();
11168 result = (bool)(arg1)->PopupMenu(arg2);
11169
11170 wxPyEndAllowThreads(__tstate);
11171 if (PyErr_Occurred()) SWIG_fail;
11172 }
11173 {
11174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11175 }
11176 return resultobj;
11177 fail:
11178 return NULL;
11179 }
11180
11181
11182 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
11183 PyObject *obj;
11184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11185 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
11186 Py_INCREF(obj);
11187 return Py_BuildValue((char *)"");
11188 }
11189 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11190 PyObject *resultobj;
11191 wxEventType arg1 ;
11192 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11193 wxTaskBarIconEvent *result;
11194 PyObject * obj0 = 0 ;
11195 PyObject * obj1 = 0 ;
11196 char *kwnames[] = {
11197 (char *) "evtType",(char *) "tbIcon", NULL
11198 };
11199
11200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11201 arg1 = (wxEventType) SWIG_AsInt(obj0);
11202 if (PyErr_Occurred()) SWIG_fail;
11203 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11208
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
11212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11213 return resultobj;
11214 fail:
11215 return NULL;
11216 }
11217
11218
11219 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
11220 PyObject *obj;
11221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11222 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11223 Py_INCREF(obj);
11224 return Py_BuildValue((char *)"");
11225 }
11226 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
11227 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11228 return 1;
11229 }
11230
11231
11232 static PyObject *_wrap_FileSelectorPromptStr_get() {
11233 PyObject *pyobj;
11234
11235 {
11236 #if wxUSE_UNICODE
11237 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11238 #else
11239 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11240 #endif
11241 }
11242 return pyobj;
11243 }
11244
11245
11246 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
11247 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11248 return 1;
11249 }
11250
11251
11252 static PyObject *_wrap_DirSelectorPromptStr_get() {
11253 PyObject *pyobj;
11254
11255 {
11256 #if wxUSE_UNICODE
11257 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11258 #else
11259 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11260 #endif
11261 }
11262 return pyobj;
11263 }
11264
11265
11266 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
11267 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11268 return 1;
11269 }
11270
11271
11272 static PyObject *_wrap_DirDialogNameStr_get() {
11273 PyObject *pyobj;
11274
11275 {
11276 #if wxUSE_UNICODE
11277 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11278 #else
11279 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11280 #endif
11281 }
11282 return pyobj;
11283 }
11284
11285
11286 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
11287 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11288 return 1;
11289 }
11290
11291
11292 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11293 PyObject *pyobj;
11294
11295 {
11296 #if wxUSE_UNICODE
11297 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11298 #else
11299 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11300 #endif
11301 }
11302 return pyobj;
11303 }
11304
11305
11306 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
11307 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11308 return 1;
11309 }
11310
11311
11312 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11313 PyObject *pyobj;
11314
11315 {
11316 #if wxUSE_UNICODE
11317 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11318 #else
11319 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11320 #endif
11321 }
11322 return pyobj;
11323 }
11324
11325
11326 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
11327 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11328 return 1;
11329 }
11330
11331
11332 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11333 PyObject *pyobj;
11334
11335 {
11336 #if wxUSE_UNICODE
11337 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11338 #else
11339 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11340 #endif
11341 }
11342 return pyobj;
11343 }
11344
11345
11346 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11347 PyObject *resultobj;
11348 wxColourData *result;
11349 char *kwnames[] = {
11350 NULL
11351 };
11352
11353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11354 {
11355 PyThreadState* __tstate = wxPyBeginAllowThreads();
11356 result = (wxColourData *)new wxColourData();
11357
11358 wxPyEndAllowThreads(__tstate);
11359 if (PyErr_Occurred()) SWIG_fail;
11360 }
11361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11362 return resultobj;
11363 fail:
11364 return NULL;
11365 }
11366
11367
11368 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11369 PyObject *resultobj;
11370 wxColourData *arg1 = (wxColourData *) 0 ;
11371 PyObject * obj0 = 0 ;
11372 char *kwnames[] = {
11373 (char *) "self", NULL
11374 };
11375
11376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11379 {
11380 PyThreadState* __tstate = wxPyBeginAllowThreads();
11381 delete arg1;
11382
11383 wxPyEndAllowThreads(__tstate);
11384 if (PyErr_Occurred()) SWIG_fail;
11385 }
11386 Py_INCREF(Py_None); resultobj = Py_None;
11387 return resultobj;
11388 fail:
11389 return NULL;
11390 }
11391
11392
11393 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11394 PyObject *resultobj;
11395 wxColourData *arg1 = (wxColourData *) 0 ;
11396 bool result;
11397 PyObject * obj0 = 0 ;
11398 char *kwnames[] = {
11399 (char *) "self", NULL
11400 };
11401
11402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11405 {
11406 PyThreadState* __tstate = wxPyBeginAllowThreads();
11407 result = (bool)(arg1)->GetChooseFull();
11408
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 {
11413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11414 }
11415 return resultobj;
11416 fail:
11417 return NULL;
11418 }
11419
11420
11421 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11422 PyObject *resultobj;
11423 wxColourData *arg1 = (wxColourData *) 0 ;
11424 wxColour result;
11425 PyObject * obj0 = 0 ;
11426 char *kwnames[] = {
11427 (char *) "self", NULL
11428 };
11429
11430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11433 {
11434 PyThreadState* __tstate = wxPyBeginAllowThreads();
11435 result = (arg1)->GetColour();
11436
11437 wxPyEndAllowThreads(__tstate);
11438 if (PyErr_Occurred()) SWIG_fail;
11439 }
11440 {
11441 wxColour * resultptr;
11442 resultptr = new wxColour((wxColour &) result);
11443 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11444 }
11445 return resultobj;
11446 fail:
11447 return NULL;
11448 }
11449
11450
11451 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11452 PyObject *resultobj;
11453 wxColourData *arg1 = (wxColourData *) 0 ;
11454 int arg2 ;
11455 wxColour result;
11456 PyObject * obj0 = 0 ;
11457 PyObject * obj1 = 0 ;
11458 char *kwnames[] = {
11459 (char *) "self",(char *) "i", NULL
11460 };
11461
11462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11465 arg2 = (int) SWIG_AsInt(obj1);
11466 if (PyErr_Occurred()) SWIG_fail;
11467 {
11468 PyThreadState* __tstate = wxPyBeginAllowThreads();
11469 result = (arg1)->GetCustomColour(arg2);
11470
11471 wxPyEndAllowThreads(__tstate);
11472 if (PyErr_Occurred()) SWIG_fail;
11473 }
11474 {
11475 wxColour * resultptr;
11476 resultptr = new wxColour((wxColour &) result);
11477 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11478 }
11479 return resultobj;
11480 fail:
11481 return NULL;
11482 }
11483
11484
11485 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj;
11487 wxColourData *arg1 = (wxColourData *) 0 ;
11488 int arg2 ;
11489 PyObject * obj0 = 0 ;
11490 PyObject * obj1 = 0 ;
11491 char *kwnames[] = {
11492 (char *) "self",(char *) "flag", NULL
11493 };
11494
11495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11498 arg2 = (int) SWIG_AsInt(obj1);
11499 if (PyErr_Occurred()) SWIG_fail;
11500 {
11501 PyThreadState* __tstate = wxPyBeginAllowThreads();
11502 (arg1)->SetChooseFull(arg2);
11503
11504 wxPyEndAllowThreads(__tstate);
11505 if (PyErr_Occurred()) SWIG_fail;
11506 }
11507 Py_INCREF(Py_None); resultobj = Py_None;
11508 return resultobj;
11509 fail:
11510 return NULL;
11511 }
11512
11513
11514 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11515 PyObject *resultobj;
11516 wxColourData *arg1 = (wxColourData *) 0 ;
11517 wxColour *arg2 = 0 ;
11518 wxColour temp2 ;
11519 PyObject * obj0 = 0 ;
11520 PyObject * obj1 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self",(char *) "colour", NULL
11523 };
11524
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11528 {
11529 arg2 = &temp2;
11530 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11531 }
11532 {
11533 PyThreadState* __tstate = wxPyBeginAllowThreads();
11534 (arg1)->SetColour((wxColour const &)*arg2);
11535
11536 wxPyEndAllowThreads(__tstate);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 Py_INCREF(Py_None); resultobj = Py_None;
11540 return resultobj;
11541 fail:
11542 return NULL;
11543 }
11544
11545
11546 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11547 PyObject *resultobj;
11548 wxColourData *arg1 = (wxColourData *) 0 ;
11549 int arg2 ;
11550 wxColour *arg3 = 0 ;
11551 wxColour temp3 ;
11552 PyObject * obj0 = 0 ;
11553 PyObject * obj1 = 0 ;
11554 PyObject * obj2 = 0 ;
11555 char *kwnames[] = {
11556 (char *) "self",(char *) "i",(char *) "colour", NULL
11557 };
11558
11559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11562 arg2 = (int) SWIG_AsInt(obj1);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 {
11565 arg3 = &temp3;
11566 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11567 }
11568 {
11569 PyThreadState* __tstate = wxPyBeginAllowThreads();
11570 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11571
11572 wxPyEndAllowThreads(__tstate);
11573 if (PyErr_Occurred()) SWIG_fail;
11574 }
11575 Py_INCREF(Py_None); resultobj = Py_None;
11576 return resultobj;
11577 fail:
11578 return NULL;
11579 }
11580
11581
11582 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11583 PyObject *obj;
11584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11585 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11586 Py_INCREF(obj);
11587 return Py_BuildValue((char *)"");
11588 }
11589 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11590 PyObject *resultobj;
11591 wxWindow *arg1 = (wxWindow *) 0 ;
11592 wxColourData *arg2 = (wxColourData *) NULL ;
11593 wxColourDialog *result;
11594 PyObject * obj0 = 0 ;
11595 PyObject * obj1 = 0 ;
11596 char *kwnames[] = {
11597 (char *) "parent",(char *) "data", NULL
11598 };
11599
11600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11603 if (obj1) {
11604 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11606 }
11607 {
11608 if (!wxPyCheckForApp()) SWIG_fail;
11609 PyThreadState* __tstate = wxPyBeginAllowThreads();
11610 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11611
11612 wxPyEndAllowThreads(__tstate);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 }
11615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11616 return resultobj;
11617 fail:
11618 return NULL;
11619 }
11620
11621
11622 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11623 PyObject *resultobj;
11624 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11625 wxColourData *result;
11626 PyObject * obj0 = 0 ;
11627 char *kwnames[] = {
11628 (char *) "self", NULL
11629 };
11630
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11634 {
11635 PyThreadState* __tstate = wxPyBeginAllowThreads();
11636 {
11637 wxColourData &_result_ref = (arg1)->GetColourData();
11638 result = (wxColourData *) &_result_ref;
11639 }
11640
11641 wxPyEndAllowThreads(__tstate);
11642 if (PyErr_Occurred()) SWIG_fail;
11643 }
11644 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11645 return resultobj;
11646 fail:
11647 return NULL;
11648 }
11649
11650
11651 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11652 PyObject *obj;
11653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11654 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11655 Py_INCREF(obj);
11656 return Py_BuildValue((char *)"");
11657 }
11658 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11659 PyObject *resultobj;
11660 wxWindow *arg1 = (wxWindow *) 0 ;
11661 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11662 wxString *arg2 = (wxString *) &arg2_defvalue ;
11663 wxString const &arg3_defvalue = wxPyEmptyString ;
11664 wxString *arg3 = (wxString *) &arg3_defvalue ;
11665 long arg4 = (long) 0 ;
11666 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11667 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11668 wxSize const &arg6_defvalue = wxDefaultSize ;
11669 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11670 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11671 wxString *arg7 = (wxString *) &arg7_defvalue ;
11672 wxDirDialog *result;
11673 bool temp2 = False ;
11674 bool temp3 = False ;
11675 wxPoint temp5 ;
11676 wxSize temp6 ;
11677 bool temp7 = False ;
11678 PyObject * obj0 = 0 ;
11679 PyObject * obj1 = 0 ;
11680 PyObject * obj2 = 0 ;
11681 PyObject * obj3 = 0 ;
11682 PyObject * obj4 = 0 ;
11683 PyObject * obj5 = 0 ;
11684 PyObject * obj6 = 0 ;
11685 char *kwnames[] = {
11686 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11687 };
11688
11689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11692 if (obj1) {
11693 {
11694 arg2 = wxString_in_helper(obj1);
11695 if (arg2 == NULL) SWIG_fail;
11696 temp2 = True;
11697 }
11698 }
11699 if (obj2) {
11700 {
11701 arg3 = wxString_in_helper(obj2);
11702 if (arg3 == NULL) SWIG_fail;
11703 temp3 = True;
11704 }
11705 }
11706 if (obj3) {
11707 arg4 = (long) SWIG_AsLong(obj3);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 if (obj4) {
11711 {
11712 arg5 = &temp5;
11713 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11714 }
11715 }
11716 if (obj5) {
11717 {
11718 arg6 = &temp6;
11719 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11720 }
11721 }
11722 if (obj6) {
11723 {
11724 arg7 = wxString_in_helper(obj6);
11725 if (arg7 == NULL) SWIG_fail;
11726 temp7 = True;
11727 }
11728 }
11729 {
11730 if (!wxPyCheckForApp()) SWIG_fail;
11731 PyThreadState* __tstate = wxPyBeginAllowThreads();
11732 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11733
11734 wxPyEndAllowThreads(__tstate);
11735 if (PyErr_Occurred()) SWIG_fail;
11736 }
11737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11738 {
11739 if (temp2)
11740 delete arg2;
11741 }
11742 {
11743 if (temp3)
11744 delete arg3;
11745 }
11746 {
11747 if (temp7)
11748 delete arg7;
11749 }
11750 return resultobj;
11751 fail:
11752 {
11753 if (temp2)
11754 delete arg2;
11755 }
11756 {
11757 if (temp3)
11758 delete arg3;
11759 }
11760 {
11761 if (temp7)
11762 delete arg7;
11763 }
11764 return NULL;
11765 }
11766
11767
11768 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11769 PyObject *resultobj;
11770 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11771 wxString result;
11772 PyObject * obj0 = 0 ;
11773 char *kwnames[] = {
11774 (char *) "self", NULL
11775 };
11776
11777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11780 {
11781 PyThreadState* __tstate = wxPyBeginAllowThreads();
11782 result = (arg1)->GetPath();
11783
11784 wxPyEndAllowThreads(__tstate);
11785 if (PyErr_Occurred()) SWIG_fail;
11786 }
11787 {
11788 #if wxUSE_UNICODE
11789 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11790 #else
11791 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11792 #endif
11793 }
11794 return resultobj;
11795 fail:
11796 return NULL;
11797 }
11798
11799
11800 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11801 PyObject *resultobj;
11802 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11803 wxString result;
11804 PyObject * obj0 = 0 ;
11805 char *kwnames[] = {
11806 (char *) "self", NULL
11807 };
11808
11809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11812 {
11813 PyThreadState* __tstate = wxPyBeginAllowThreads();
11814 result = (arg1)->GetMessage();
11815
11816 wxPyEndAllowThreads(__tstate);
11817 if (PyErr_Occurred()) SWIG_fail;
11818 }
11819 {
11820 #if wxUSE_UNICODE
11821 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11822 #else
11823 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11824 #endif
11825 }
11826 return resultobj;
11827 fail:
11828 return NULL;
11829 }
11830
11831
11832 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11833 PyObject *resultobj;
11834 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11835 long result;
11836 PyObject * obj0 = 0 ;
11837 char *kwnames[] = {
11838 (char *) "self", NULL
11839 };
11840
11841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11844 {
11845 PyThreadState* __tstate = wxPyBeginAllowThreads();
11846 result = (long)(arg1)->GetStyle();
11847
11848 wxPyEndAllowThreads(__tstate);
11849 if (PyErr_Occurred()) SWIG_fail;
11850 }
11851 resultobj = SWIG_FromLong((long)result);
11852 return resultobj;
11853 fail:
11854 return NULL;
11855 }
11856
11857
11858 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11859 PyObject *resultobj;
11860 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11861 wxString *arg2 = 0 ;
11862 bool temp2 = False ;
11863 PyObject * obj0 = 0 ;
11864 PyObject * obj1 = 0 ;
11865 char *kwnames[] = {
11866 (char *) "self",(char *) "message", NULL
11867 };
11868
11869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11872 {
11873 arg2 = wxString_in_helper(obj1);
11874 if (arg2 == NULL) SWIG_fail;
11875 temp2 = True;
11876 }
11877 {
11878 PyThreadState* __tstate = wxPyBeginAllowThreads();
11879 (arg1)->SetMessage((wxString const &)*arg2);
11880
11881 wxPyEndAllowThreads(__tstate);
11882 if (PyErr_Occurred()) SWIG_fail;
11883 }
11884 Py_INCREF(Py_None); resultobj = Py_None;
11885 {
11886 if (temp2)
11887 delete arg2;
11888 }
11889 return resultobj;
11890 fail:
11891 {
11892 if (temp2)
11893 delete arg2;
11894 }
11895 return NULL;
11896 }
11897
11898
11899 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11900 PyObject *resultobj;
11901 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11902 wxString *arg2 = 0 ;
11903 bool temp2 = False ;
11904 PyObject * obj0 = 0 ;
11905 PyObject * obj1 = 0 ;
11906 char *kwnames[] = {
11907 (char *) "self",(char *) "path", NULL
11908 };
11909
11910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11913 {
11914 arg2 = wxString_in_helper(obj1);
11915 if (arg2 == NULL) SWIG_fail;
11916 temp2 = True;
11917 }
11918 {
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 (arg1)->SetPath((wxString const &)*arg2);
11921
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 Py_INCREF(Py_None); resultobj = Py_None;
11926 {
11927 if (temp2)
11928 delete arg2;
11929 }
11930 return resultobj;
11931 fail:
11932 {
11933 if (temp2)
11934 delete arg2;
11935 }
11936 return NULL;
11937 }
11938
11939
11940 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11941 PyObject *obj;
11942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11943 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11944 Py_INCREF(obj);
11945 return Py_BuildValue((char *)"");
11946 }
11947 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11948 PyObject *resultobj;
11949 wxWindow *arg1 = (wxWindow *) 0 ;
11950 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11951 wxString *arg2 = (wxString *) &arg2_defvalue ;
11952 wxString const &arg3_defvalue = wxPyEmptyString ;
11953 wxString *arg3 = (wxString *) &arg3_defvalue ;
11954 wxString const &arg4_defvalue = wxPyEmptyString ;
11955 wxString *arg4 = (wxString *) &arg4_defvalue ;
11956 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11957 wxString *arg5 = (wxString *) &arg5_defvalue ;
11958 long arg6 = (long) 0 ;
11959 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11960 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11961 wxFileDialog *result;
11962 bool temp2 = False ;
11963 bool temp3 = False ;
11964 bool temp4 = False ;
11965 bool temp5 = False ;
11966 wxPoint temp7 ;
11967 PyObject * obj0 = 0 ;
11968 PyObject * obj1 = 0 ;
11969 PyObject * obj2 = 0 ;
11970 PyObject * obj3 = 0 ;
11971 PyObject * obj4 = 0 ;
11972 PyObject * obj5 = 0 ;
11973 PyObject * obj6 = 0 ;
11974 char *kwnames[] = {
11975 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11976 };
11977
11978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11981 if (obj1) {
11982 {
11983 arg2 = wxString_in_helper(obj1);
11984 if (arg2 == NULL) SWIG_fail;
11985 temp2 = True;
11986 }
11987 }
11988 if (obj2) {
11989 {
11990 arg3 = wxString_in_helper(obj2);
11991 if (arg3 == NULL) SWIG_fail;
11992 temp3 = True;
11993 }
11994 }
11995 if (obj3) {
11996 {
11997 arg4 = wxString_in_helper(obj3);
11998 if (arg4 == NULL) SWIG_fail;
11999 temp4 = True;
12000 }
12001 }
12002 if (obj4) {
12003 {
12004 arg5 = wxString_in_helper(obj4);
12005 if (arg5 == NULL) SWIG_fail;
12006 temp5 = True;
12007 }
12008 }
12009 if (obj5) {
12010 arg6 = (long) SWIG_AsLong(obj5);
12011 if (PyErr_Occurred()) SWIG_fail;
12012 }
12013 if (obj6) {
12014 {
12015 arg7 = &temp7;
12016 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12017 }
12018 }
12019 {
12020 if (!wxPyCheckForApp()) SWIG_fail;
12021 PyThreadState* __tstate = wxPyBeginAllowThreads();
12022 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
12023
12024 wxPyEndAllowThreads(__tstate);
12025 if (PyErr_Occurred()) SWIG_fail;
12026 }
12027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
12028 {
12029 if (temp2)
12030 delete arg2;
12031 }
12032 {
12033 if (temp3)
12034 delete arg3;
12035 }
12036 {
12037 if (temp4)
12038 delete arg4;
12039 }
12040 {
12041 if (temp5)
12042 delete arg5;
12043 }
12044 return resultobj;
12045 fail:
12046 {
12047 if (temp2)
12048 delete arg2;
12049 }
12050 {
12051 if (temp3)
12052 delete arg3;
12053 }
12054 {
12055 if (temp4)
12056 delete arg4;
12057 }
12058 {
12059 if (temp5)
12060 delete arg5;
12061 }
12062 return NULL;
12063 }
12064
12065
12066 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12067 PyObject *resultobj;
12068 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12069 wxString *arg2 = 0 ;
12070 bool temp2 = False ;
12071 PyObject * obj0 = 0 ;
12072 PyObject * obj1 = 0 ;
12073 char *kwnames[] = {
12074 (char *) "self",(char *) "message", NULL
12075 };
12076
12077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12080 {
12081 arg2 = wxString_in_helper(obj1);
12082 if (arg2 == NULL) SWIG_fail;
12083 temp2 = True;
12084 }
12085 {
12086 PyThreadState* __tstate = wxPyBeginAllowThreads();
12087 (arg1)->SetMessage((wxString const &)*arg2);
12088
12089 wxPyEndAllowThreads(__tstate);
12090 if (PyErr_Occurred()) SWIG_fail;
12091 }
12092 Py_INCREF(Py_None); resultobj = Py_None;
12093 {
12094 if (temp2)
12095 delete arg2;
12096 }
12097 return resultobj;
12098 fail:
12099 {
12100 if (temp2)
12101 delete arg2;
12102 }
12103 return NULL;
12104 }
12105
12106
12107 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12108 PyObject *resultobj;
12109 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12110 wxString *arg2 = 0 ;
12111 bool temp2 = False ;
12112 PyObject * obj0 = 0 ;
12113 PyObject * obj1 = 0 ;
12114 char *kwnames[] = {
12115 (char *) "self",(char *) "path", NULL
12116 };
12117
12118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12121 {
12122 arg2 = wxString_in_helper(obj1);
12123 if (arg2 == NULL) SWIG_fail;
12124 temp2 = True;
12125 }
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 (arg1)->SetPath((wxString const &)*arg2);
12129
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 Py_INCREF(Py_None); resultobj = Py_None;
12134 {
12135 if (temp2)
12136 delete arg2;
12137 }
12138 return resultobj;
12139 fail:
12140 {
12141 if (temp2)
12142 delete arg2;
12143 }
12144 return NULL;
12145 }
12146
12147
12148 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12149 PyObject *resultobj;
12150 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12151 wxString *arg2 = 0 ;
12152 bool temp2 = False ;
12153 PyObject * obj0 = 0 ;
12154 PyObject * obj1 = 0 ;
12155 char *kwnames[] = {
12156 (char *) "self",(char *) "dir", NULL
12157 };
12158
12159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12162 {
12163 arg2 = wxString_in_helper(obj1);
12164 if (arg2 == NULL) SWIG_fail;
12165 temp2 = True;
12166 }
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 (arg1)->SetDirectory((wxString const &)*arg2);
12170
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 Py_INCREF(Py_None); resultobj = Py_None;
12175 {
12176 if (temp2)
12177 delete arg2;
12178 }
12179 return resultobj;
12180 fail:
12181 {
12182 if (temp2)
12183 delete arg2;
12184 }
12185 return NULL;
12186 }
12187
12188
12189 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12190 PyObject *resultobj;
12191 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12192 wxString *arg2 = 0 ;
12193 bool temp2 = False ;
12194 PyObject * obj0 = 0 ;
12195 PyObject * obj1 = 0 ;
12196 char *kwnames[] = {
12197 (char *) "self",(char *) "name", NULL
12198 };
12199
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12203 {
12204 arg2 = wxString_in_helper(obj1);
12205 if (arg2 == NULL) SWIG_fail;
12206 temp2 = True;
12207 }
12208 {
12209 PyThreadState* __tstate = wxPyBeginAllowThreads();
12210 (arg1)->SetFilename((wxString const &)*arg2);
12211
12212 wxPyEndAllowThreads(__tstate);
12213 if (PyErr_Occurred()) SWIG_fail;
12214 }
12215 Py_INCREF(Py_None); resultobj = Py_None;
12216 {
12217 if (temp2)
12218 delete arg2;
12219 }
12220 return resultobj;
12221 fail:
12222 {
12223 if (temp2)
12224 delete arg2;
12225 }
12226 return NULL;
12227 }
12228
12229
12230 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12231 PyObject *resultobj;
12232 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12233 wxString *arg2 = 0 ;
12234 bool temp2 = False ;
12235 PyObject * obj0 = 0 ;
12236 PyObject * obj1 = 0 ;
12237 char *kwnames[] = {
12238 (char *) "self",(char *) "wildCard", NULL
12239 };
12240
12241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12244 {
12245 arg2 = wxString_in_helper(obj1);
12246 if (arg2 == NULL) SWIG_fail;
12247 temp2 = True;
12248 }
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
12251 (arg1)->SetWildcard((wxString const &)*arg2);
12252
12253 wxPyEndAllowThreads(__tstate);
12254 if (PyErr_Occurred()) SWIG_fail;
12255 }
12256 Py_INCREF(Py_None); resultobj = Py_None;
12257 {
12258 if (temp2)
12259 delete arg2;
12260 }
12261 return resultobj;
12262 fail:
12263 {
12264 if (temp2)
12265 delete arg2;
12266 }
12267 return NULL;
12268 }
12269
12270
12271 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12272 PyObject *resultobj;
12273 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12274 long arg2 ;
12275 PyObject * obj0 = 0 ;
12276 PyObject * obj1 = 0 ;
12277 char *kwnames[] = {
12278 (char *) "self",(char *) "style", NULL
12279 };
12280
12281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12284 arg2 = (long) SWIG_AsLong(obj1);
12285 if (PyErr_Occurred()) SWIG_fail;
12286 {
12287 PyThreadState* __tstate = wxPyBeginAllowThreads();
12288 (arg1)->SetStyle(arg2);
12289
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 Py_INCREF(Py_None); resultobj = Py_None;
12294 return resultobj;
12295 fail:
12296 return NULL;
12297 }
12298
12299
12300 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12301 PyObject *resultobj;
12302 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12303 int arg2 ;
12304 PyObject * obj0 = 0 ;
12305 PyObject * obj1 = 0 ;
12306 char *kwnames[] = {
12307 (char *) "self",(char *) "filterIndex", NULL
12308 };
12309
12310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12313 arg2 = (int) SWIG_AsInt(obj1);
12314 if (PyErr_Occurred()) SWIG_fail;
12315 {
12316 PyThreadState* __tstate = wxPyBeginAllowThreads();
12317 (arg1)->SetFilterIndex(arg2);
12318
12319 wxPyEndAllowThreads(__tstate);
12320 if (PyErr_Occurred()) SWIG_fail;
12321 }
12322 Py_INCREF(Py_None); resultobj = Py_None;
12323 return resultobj;
12324 fail:
12325 return NULL;
12326 }
12327
12328
12329 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12330 PyObject *resultobj;
12331 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12332 wxString result;
12333 PyObject * obj0 = 0 ;
12334 char *kwnames[] = {
12335 (char *) "self", NULL
12336 };
12337
12338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12341 {
12342 PyThreadState* __tstate = wxPyBeginAllowThreads();
12343 result = ((wxFileDialog const *)arg1)->GetMessage();
12344
12345 wxPyEndAllowThreads(__tstate);
12346 if (PyErr_Occurred()) SWIG_fail;
12347 }
12348 {
12349 #if wxUSE_UNICODE
12350 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12351 #else
12352 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12353 #endif
12354 }
12355 return resultobj;
12356 fail:
12357 return NULL;
12358 }
12359
12360
12361 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12362 PyObject *resultobj;
12363 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12364 wxString result;
12365 PyObject * obj0 = 0 ;
12366 char *kwnames[] = {
12367 (char *) "self", NULL
12368 };
12369
12370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12373 {
12374 PyThreadState* __tstate = wxPyBeginAllowThreads();
12375 result = ((wxFileDialog const *)arg1)->GetPath();
12376
12377 wxPyEndAllowThreads(__tstate);
12378 if (PyErr_Occurred()) SWIG_fail;
12379 }
12380 {
12381 #if wxUSE_UNICODE
12382 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12383 #else
12384 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12385 #endif
12386 }
12387 return resultobj;
12388 fail:
12389 return NULL;
12390 }
12391
12392
12393 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12394 PyObject *resultobj;
12395 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12396 wxString result;
12397 PyObject * obj0 = 0 ;
12398 char *kwnames[] = {
12399 (char *) "self", NULL
12400 };
12401
12402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12405 {
12406 PyThreadState* __tstate = wxPyBeginAllowThreads();
12407 result = ((wxFileDialog const *)arg1)->GetDirectory();
12408
12409 wxPyEndAllowThreads(__tstate);
12410 if (PyErr_Occurred()) SWIG_fail;
12411 }
12412 {
12413 #if wxUSE_UNICODE
12414 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12415 #else
12416 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12417 #endif
12418 }
12419 return resultobj;
12420 fail:
12421 return NULL;
12422 }
12423
12424
12425 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12426 PyObject *resultobj;
12427 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12428 wxString result;
12429 PyObject * obj0 = 0 ;
12430 char *kwnames[] = {
12431 (char *) "self", NULL
12432 };
12433
12434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12437 {
12438 PyThreadState* __tstate = wxPyBeginAllowThreads();
12439 result = ((wxFileDialog const *)arg1)->GetFilename();
12440
12441 wxPyEndAllowThreads(__tstate);
12442 if (PyErr_Occurred()) SWIG_fail;
12443 }
12444 {
12445 #if wxUSE_UNICODE
12446 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12447 #else
12448 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12449 #endif
12450 }
12451 return resultobj;
12452 fail:
12453 return NULL;
12454 }
12455
12456
12457 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12458 PyObject *resultobj;
12459 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12460 wxString result;
12461 PyObject * obj0 = 0 ;
12462 char *kwnames[] = {
12463 (char *) "self", NULL
12464 };
12465
12466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12469 {
12470 PyThreadState* __tstate = wxPyBeginAllowThreads();
12471 result = ((wxFileDialog const *)arg1)->GetWildcard();
12472
12473 wxPyEndAllowThreads(__tstate);
12474 if (PyErr_Occurred()) SWIG_fail;
12475 }
12476 {
12477 #if wxUSE_UNICODE
12478 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12479 #else
12480 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12481 #endif
12482 }
12483 return resultobj;
12484 fail:
12485 return NULL;
12486 }
12487
12488
12489 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12490 PyObject *resultobj;
12491 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12492 long result;
12493 PyObject * obj0 = 0 ;
12494 char *kwnames[] = {
12495 (char *) "self", NULL
12496 };
12497
12498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12501 {
12502 PyThreadState* __tstate = wxPyBeginAllowThreads();
12503 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12504
12505 wxPyEndAllowThreads(__tstate);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 }
12508 resultobj = SWIG_FromLong((long)result);
12509 return resultobj;
12510 fail:
12511 return NULL;
12512 }
12513
12514
12515 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12516 PyObject *resultobj;
12517 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12518 int result;
12519 PyObject * obj0 = 0 ;
12520 char *kwnames[] = {
12521 (char *) "self", NULL
12522 };
12523
12524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12527 {
12528 PyThreadState* __tstate = wxPyBeginAllowThreads();
12529 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12530
12531 wxPyEndAllowThreads(__tstate);
12532 if (PyErr_Occurred()) SWIG_fail;
12533 }
12534 resultobj = SWIG_FromInt((int)result);
12535 return resultobj;
12536 fail:
12537 return NULL;
12538 }
12539
12540
12541 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12542 PyObject *resultobj;
12543 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12544 PyObject *result;
12545 PyObject * obj0 = 0 ;
12546 char *kwnames[] = {
12547 (char *) "self", NULL
12548 };
12549
12550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12553 {
12554 PyThreadState* __tstate = wxPyBeginAllowThreads();
12555 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12556
12557 wxPyEndAllowThreads(__tstate);
12558 if (PyErr_Occurred()) SWIG_fail;
12559 }
12560 resultobj = result;
12561 return resultobj;
12562 fail:
12563 return NULL;
12564 }
12565
12566
12567 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12568 PyObject *resultobj;
12569 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12570 PyObject *result;
12571 PyObject * obj0 = 0 ;
12572 char *kwnames[] = {
12573 (char *) "self", NULL
12574 };
12575
12576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12579 {
12580 PyThreadState* __tstate = wxPyBeginAllowThreads();
12581 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12582
12583 wxPyEndAllowThreads(__tstate);
12584 if (PyErr_Occurred()) SWIG_fail;
12585 }
12586 resultobj = result;
12587 return resultobj;
12588 fail:
12589 return NULL;
12590 }
12591
12592
12593 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12594 PyObject *obj;
12595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12596 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12597 Py_INCREF(obj);
12598 return Py_BuildValue((char *)"");
12599 }
12600 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12601 PyObject *resultobj;
12602 wxWindow *arg1 = (wxWindow *) 0 ;
12603 wxString *arg2 = 0 ;
12604 wxString *arg3 = 0 ;
12605 int arg4 = (int) 0 ;
12606 wxString *arg5 = (wxString *) NULL ;
12607 long arg6 = (long) wxCHOICEDLG_STYLE ;
12608 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12609 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12610 wxMultiChoiceDialog *result;
12611 bool temp2 = False ;
12612 bool temp3 = False ;
12613 wxPoint temp6 ;
12614 PyObject * obj0 = 0 ;
12615 PyObject * obj1 = 0 ;
12616 PyObject * obj2 = 0 ;
12617 PyObject * obj3 = 0 ;
12618 PyObject * obj4 = 0 ;
12619 PyObject * obj5 = 0 ;
12620 char *kwnames[] = {
12621 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12622 };
12623
12624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12627 {
12628 arg2 = wxString_in_helper(obj1);
12629 if (arg2 == NULL) SWIG_fail;
12630 temp2 = True;
12631 }
12632 {
12633 arg3 = wxString_in_helper(obj2);
12634 if (arg3 == NULL) SWIG_fail;
12635 temp3 = True;
12636 }
12637 if (obj3) {
12638 {
12639 arg4 = PyList_Size(obj3);
12640 arg5 = wxString_LIST_helper(obj3);
12641 if (arg5 == NULL) SWIG_fail;
12642 }
12643 }
12644 if (obj4) {
12645 arg6 = (long) SWIG_AsLong(obj4);
12646 if (PyErr_Occurred()) SWIG_fail;
12647 }
12648 if (obj5) {
12649 {
12650 arg7 = &temp6;
12651 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12652 }
12653 }
12654 {
12655 if (!wxPyCheckForApp()) SWIG_fail;
12656 PyThreadState* __tstate = wxPyBeginAllowThreads();
12657 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12658
12659 wxPyEndAllowThreads(__tstate);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 }
12662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12663 {
12664 if (temp2)
12665 delete arg2;
12666 }
12667 {
12668 if (temp3)
12669 delete arg3;
12670 }
12671 {
12672 if (arg5) delete [] arg5;
12673 }
12674 return resultobj;
12675 fail:
12676 {
12677 if (temp2)
12678 delete arg2;
12679 }
12680 {
12681 if (temp3)
12682 delete arg3;
12683 }
12684 {
12685 if (arg5) delete [] arg5;
12686 }
12687 return NULL;
12688 }
12689
12690
12691 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12692 PyObject *resultobj;
12693 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12694 wxArrayInt *arg2 = 0 ;
12695 bool temp2 = False ;
12696 PyObject * obj0 = 0 ;
12697 PyObject * obj1 = 0 ;
12698 char *kwnames[] = {
12699 (char *) "self",(char *) "selections", NULL
12700 };
12701
12702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12705 {
12706 if (! PySequence_Check(obj1)) {
12707 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12708 SWIG_fail;
12709 }
12710 arg2 = new wxArrayInt;
12711 temp2 = True;
12712 int i, len=PySequence_Length(obj1);
12713 for (i=0; i<len; i++) {
12714 PyObject* item = PySequence_GetItem(obj1, i);
12715 PyObject* number = PyNumber_Int(item);
12716 arg2->Add(PyInt_AS_LONG(number));
12717 Py_DECREF(item);
12718 Py_DECREF(number);
12719 }
12720 }
12721 {
12722 PyThreadState* __tstate = wxPyBeginAllowThreads();
12723 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12724
12725 wxPyEndAllowThreads(__tstate);
12726 if (PyErr_Occurred()) SWIG_fail;
12727 }
12728 Py_INCREF(Py_None); resultobj = Py_None;
12729 {
12730 if (temp2) delete arg2;
12731 }
12732 return resultobj;
12733 fail:
12734 {
12735 if (temp2) delete arg2;
12736 }
12737 return NULL;
12738 }
12739
12740
12741 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12742 PyObject *resultobj;
12743 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12744 PyObject *result;
12745 PyObject * obj0 = 0 ;
12746 char *kwnames[] = {
12747 (char *) "self", NULL
12748 };
12749
12750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12753 {
12754 PyThreadState* __tstate = wxPyBeginAllowThreads();
12755 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12756
12757 wxPyEndAllowThreads(__tstate);
12758 if (PyErr_Occurred()) SWIG_fail;
12759 }
12760 resultobj = result;
12761 return resultobj;
12762 fail:
12763 return NULL;
12764 }
12765
12766
12767 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12768 PyObject *obj;
12769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12770 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12771 Py_INCREF(obj);
12772 return Py_BuildValue((char *)"");
12773 }
12774 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12775 PyObject *resultobj;
12776 wxWindow *arg1 = (wxWindow *) 0 ;
12777 wxString *arg2 = 0 ;
12778 wxString *arg3 = 0 ;
12779 int arg4 ;
12780 wxString *arg5 = (wxString *) 0 ;
12781 long arg6 = (long) wxCHOICEDLG_STYLE ;
12782 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12783 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12784 wxSingleChoiceDialog *result;
12785 bool temp2 = False ;
12786 bool temp3 = False ;
12787 wxPoint temp6 ;
12788 PyObject * obj0 = 0 ;
12789 PyObject * obj1 = 0 ;
12790 PyObject * obj2 = 0 ;
12791 PyObject * obj3 = 0 ;
12792 PyObject * obj4 = 0 ;
12793 PyObject * obj5 = 0 ;
12794 char *kwnames[] = {
12795 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12796 };
12797
12798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12801 {
12802 arg2 = wxString_in_helper(obj1);
12803 if (arg2 == NULL) SWIG_fail;
12804 temp2 = True;
12805 }
12806 {
12807 arg3 = wxString_in_helper(obj2);
12808 if (arg3 == NULL) SWIG_fail;
12809 temp3 = True;
12810 }
12811 {
12812 arg4 = PyList_Size(obj3);
12813 arg5 = wxString_LIST_helper(obj3);
12814 if (arg5 == NULL) SWIG_fail;
12815 }
12816 if (obj4) {
12817 arg6 = (long) SWIG_AsLong(obj4);
12818 if (PyErr_Occurred()) SWIG_fail;
12819 }
12820 if (obj5) {
12821 {
12822 arg7 = &temp6;
12823 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12824 }
12825 }
12826 {
12827 if (!wxPyCheckForApp()) SWIG_fail;
12828 PyThreadState* __tstate = wxPyBeginAllowThreads();
12829 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12830
12831 wxPyEndAllowThreads(__tstate);
12832 if (PyErr_Occurred()) SWIG_fail;
12833 }
12834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12835 {
12836 if (temp2)
12837 delete arg2;
12838 }
12839 {
12840 if (temp3)
12841 delete arg3;
12842 }
12843 {
12844 if (arg5) delete [] arg5;
12845 }
12846 return resultobj;
12847 fail:
12848 {
12849 if (temp2)
12850 delete arg2;
12851 }
12852 {
12853 if (temp3)
12854 delete arg3;
12855 }
12856 {
12857 if (arg5) delete [] arg5;
12858 }
12859 return NULL;
12860 }
12861
12862
12863 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12864 PyObject *resultobj;
12865 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12866 int result;
12867 PyObject * obj0 = 0 ;
12868 char *kwnames[] = {
12869 (char *) "self", NULL
12870 };
12871
12872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12875 {
12876 PyThreadState* __tstate = wxPyBeginAllowThreads();
12877 result = (int)(arg1)->GetSelection();
12878
12879 wxPyEndAllowThreads(__tstate);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
12882 resultobj = SWIG_FromInt((int)result);
12883 return resultobj;
12884 fail:
12885 return NULL;
12886 }
12887
12888
12889 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12890 PyObject *resultobj;
12891 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12892 wxString result;
12893 PyObject * obj0 = 0 ;
12894 char *kwnames[] = {
12895 (char *) "self", NULL
12896 };
12897
12898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12901 {
12902 PyThreadState* __tstate = wxPyBeginAllowThreads();
12903 result = (arg1)->GetStringSelection();
12904
12905 wxPyEndAllowThreads(__tstate);
12906 if (PyErr_Occurred()) SWIG_fail;
12907 }
12908 {
12909 #if wxUSE_UNICODE
12910 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12911 #else
12912 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12913 #endif
12914 }
12915 return resultobj;
12916 fail:
12917 return NULL;
12918 }
12919
12920
12921 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12922 PyObject *resultobj;
12923 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12924 int arg2 ;
12925 PyObject * obj0 = 0 ;
12926 PyObject * obj1 = 0 ;
12927 char *kwnames[] = {
12928 (char *) "self",(char *) "sel", NULL
12929 };
12930
12931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12934 arg2 = (int) SWIG_AsInt(obj1);
12935 if (PyErr_Occurred()) SWIG_fail;
12936 {
12937 PyThreadState* __tstate = wxPyBeginAllowThreads();
12938 (arg1)->SetSelection(arg2);
12939
12940 wxPyEndAllowThreads(__tstate);
12941 if (PyErr_Occurred()) SWIG_fail;
12942 }
12943 Py_INCREF(Py_None); resultobj = Py_None;
12944 return resultobj;
12945 fail:
12946 return NULL;
12947 }
12948
12949
12950 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12951 PyObject *obj;
12952 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12953 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12954 Py_INCREF(obj);
12955 return Py_BuildValue((char *)"");
12956 }
12957 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12958 PyObject *resultobj;
12959 wxWindow *arg1 = (wxWindow *) 0 ;
12960 wxString *arg2 = 0 ;
12961 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12962 wxString *arg3 = (wxString *) &arg3_defvalue ;
12963 wxString const &arg4_defvalue = wxPyEmptyString ;
12964 wxString *arg4 = (wxString *) &arg4_defvalue ;
12965 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12966 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12967 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12968 wxTextEntryDialog *result;
12969 bool temp2 = False ;
12970 bool temp3 = False ;
12971 bool temp4 = False ;
12972 wxPoint temp6 ;
12973 PyObject * obj0 = 0 ;
12974 PyObject * obj1 = 0 ;
12975 PyObject * obj2 = 0 ;
12976 PyObject * obj3 = 0 ;
12977 PyObject * obj4 = 0 ;
12978 PyObject * obj5 = 0 ;
12979 char *kwnames[] = {
12980 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12981 };
12982
12983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12986 {
12987 arg2 = wxString_in_helper(obj1);
12988 if (arg2 == NULL) SWIG_fail;
12989 temp2 = True;
12990 }
12991 if (obj2) {
12992 {
12993 arg3 = wxString_in_helper(obj2);
12994 if (arg3 == NULL) SWIG_fail;
12995 temp3 = True;
12996 }
12997 }
12998 if (obj3) {
12999 {
13000 arg4 = wxString_in_helper(obj3);
13001 if (arg4 == NULL) SWIG_fail;
13002 temp4 = True;
13003 }
13004 }
13005 if (obj4) {
13006 arg5 = (long) SWIG_AsLong(obj4);
13007 if (PyErr_Occurred()) SWIG_fail;
13008 }
13009 if (obj5) {
13010 {
13011 arg6 = &temp6;
13012 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
13013 }
13014 }
13015 {
13016 if (!wxPyCheckForApp()) SWIG_fail;
13017 PyThreadState* __tstate = wxPyBeginAllowThreads();
13018 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
13019
13020 wxPyEndAllowThreads(__tstate);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 }
13023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
13024 {
13025 if (temp2)
13026 delete arg2;
13027 }
13028 {
13029 if (temp3)
13030 delete arg3;
13031 }
13032 {
13033 if (temp4)
13034 delete arg4;
13035 }
13036 return resultobj;
13037 fail:
13038 {
13039 if (temp2)
13040 delete arg2;
13041 }
13042 {
13043 if (temp3)
13044 delete arg3;
13045 }
13046 {
13047 if (temp4)
13048 delete arg4;
13049 }
13050 return NULL;
13051 }
13052
13053
13054 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13055 PyObject *resultobj;
13056 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13057 wxString result;
13058 PyObject * obj0 = 0 ;
13059 char *kwnames[] = {
13060 (char *) "self", NULL
13061 };
13062
13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
13064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13066 {
13067 PyThreadState* __tstate = wxPyBeginAllowThreads();
13068 result = (arg1)->GetValue();
13069
13070 wxPyEndAllowThreads(__tstate);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
13073 {
13074 #if wxUSE_UNICODE
13075 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13076 #else
13077 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13078 #endif
13079 }
13080 return resultobj;
13081 fail:
13082 return NULL;
13083 }
13084
13085
13086 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13087 PyObject *resultobj;
13088 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13089 wxString *arg2 = 0 ;
13090 bool temp2 = False ;
13091 PyObject * obj0 = 0 ;
13092 PyObject * obj1 = 0 ;
13093 char *kwnames[] = {
13094 (char *) "self",(char *) "value", NULL
13095 };
13096
13097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13100 {
13101 arg2 = wxString_in_helper(obj1);
13102 if (arg2 == NULL) SWIG_fail;
13103 temp2 = True;
13104 }
13105 {
13106 PyThreadState* __tstate = wxPyBeginAllowThreads();
13107 (arg1)->SetValue((wxString const &)*arg2);
13108
13109 wxPyEndAllowThreads(__tstate);
13110 if (PyErr_Occurred()) SWIG_fail;
13111 }
13112 Py_INCREF(Py_None); resultobj = Py_None;
13113 {
13114 if (temp2)
13115 delete arg2;
13116 }
13117 return resultobj;
13118 fail:
13119 {
13120 if (temp2)
13121 delete arg2;
13122 }
13123 return NULL;
13124 }
13125
13126
13127 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
13128 PyObject *obj;
13129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13130 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13131 Py_INCREF(obj);
13132 return Py_BuildValue((char *)"");
13133 }
13134 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13135 PyObject *resultobj;
13136 wxFontData *result;
13137 char *kwnames[] = {
13138 NULL
13139 };
13140
13141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13142 {
13143 PyThreadState* __tstate = wxPyBeginAllowThreads();
13144 result = (wxFontData *)new wxFontData();
13145
13146 wxPyEndAllowThreads(__tstate);
13147 if (PyErr_Occurred()) SWIG_fail;
13148 }
13149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13150 return resultobj;
13151 fail:
13152 return NULL;
13153 }
13154
13155
13156 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13157 PyObject *resultobj;
13158 wxFontData *arg1 = (wxFontData *) 0 ;
13159 PyObject * obj0 = 0 ;
13160 char *kwnames[] = {
13161 (char *) "self", NULL
13162 };
13163
13164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13167 {
13168 PyThreadState* __tstate = wxPyBeginAllowThreads();
13169 delete arg1;
13170
13171 wxPyEndAllowThreads(__tstate);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
13174 Py_INCREF(Py_None); resultobj = Py_None;
13175 return resultobj;
13176 fail:
13177 return NULL;
13178 }
13179
13180
13181 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13182 PyObject *resultobj;
13183 wxFontData *arg1 = (wxFontData *) 0 ;
13184 bool arg2 ;
13185 PyObject * obj0 = 0 ;
13186 PyObject * obj1 = 0 ;
13187 char *kwnames[] = {
13188 (char *) "self",(char *) "enable", NULL
13189 };
13190
13191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13194 arg2 = (bool) SWIG_AsBool(obj1);
13195 if (PyErr_Occurred()) SWIG_fail;
13196 {
13197 PyThreadState* __tstate = wxPyBeginAllowThreads();
13198 (arg1)->EnableEffects(arg2);
13199
13200 wxPyEndAllowThreads(__tstate);
13201 if (PyErr_Occurred()) SWIG_fail;
13202 }
13203 Py_INCREF(Py_None); resultobj = Py_None;
13204 return resultobj;
13205 fail:
13206 return NULL;
13207 }
13208
13209
13210 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13211 PyObject *resultobj;
13212 wxFontData *arg1 = (wxFontData *) 0 ;
13213 bool result;
13214 PyObject * obj0 = 0 ;
13215 char *kwnames[] = {
13216 (char *) "self", NULL
13217 };
13218
13219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13222 {
13223 PyThreadState* __tstate = wxPyBeginAllowThreads();
13224 result = (bool)(arg1)->GetAllowSymbols();
13225
13226 wxPyEndAllowThreads(__tstate);
13227 if (PyErr_Occurred()) SWIG_fail;
13228 }
13229 {
13230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13231 }
13232 return resultobj;
13233 fail:
13234 return NULL;
13235 }
13236
13237
13238 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13239 PyObject *resultobj;
13240 wxFontData *arg1 = (wxFontData *) 0 ;
13241 wxColour result;
13242 PyObject * obj0 = 0 ;
13243 char *kwnames[] = {
13244 (char *) "self", NULL
13245 };
13246
13247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13250 {
13251 PyThreadState* __tstate = wxPyBeginAllowThreads();
13252 result = (arg1)->GetColour();
13253
13254 wxPyEndAllowThreads(__tstate);
13255 if (PyErr_Occurred()) SWIG_fail;
13256 }
13257 {
13258 wxColour * resultptr;
13259 resultptr = new wxColour((wxColour &) result);
13260 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13261 }
13262 return resultobj;
13263 fail:
13264 return NULL;
13265 }
13266
13267
13268 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13269 PyObject *resultobj;
13270 wxFontData *arg1 = (wxFontData *) 0 ;
13271 wxFont result;
13272 PyObject * obj0 = 0 ;
13273 char *kwnames[] = {
13274 (char *) "self", NULL
13275 };
13276
13277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 result = (arg1)->GetChosenFont();
13283
13284 wxPyEndAllowThreads(__tstate);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 }
13287 {
13288 wxFont * resultptr;
13289 resultptr = new wxFont((wxFont &) result);
13290 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13291 }
13292 return resultobj;
13293 fail:
13294 return NULL;
13295 }
13296
13297
13298 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13299 PyObject *resultobj;
13300 wxFontData *arg1 = (wxFontData *) 0 ;
13301 bool result;
13302 PyObject * obj0 = 0 ;
13303 char *kwnames[] = {
13304 (char *) "self", NULL
13305 };
13306
13307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13310 {
13311 PyThreadState* __tstate = wxPyBeginAllowThreads();
13312 result = (bool)(arg1)->GetEnableEffects();
13313
13314 wxPyEndAllowThreads(__tstate);
13315 if (PyErr_Occurred()) SWIG_fail;
13316 }
13317 {
13318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13319 }
13320 return resultobj;
13321 fail:
13322 return NULL;
13323 }
13324
13325
13326 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13327 PyObject *resultobj;
13328 wxFontData *arg1 = (wxFontData *) 0 ;
13329 wxFont result;
13330 PyObject * obj0 = 0 ;
13331 char *kwnames[] = {
13332 (char *) "self", NULL
13333 };
13334
13335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13338 {
13339 PyThreadState* __tstate = wxPyBeginAllowThreads();
13340 result = (arg1)->GetInitialFont();
13341
13342 wxPyEndAllowThreads(__tstate);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 }
13345 {
13346 wxFont * resultptr;
13347 resultptr = new wxFont((wxFont &) result);
13348 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13349 }
13350 return resultobj;
13351 fail:
13352 return NULL;
13353 }
13354
13355
13356 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13357 PyObject *resultobj;
13358 wxFontData *arg1 = (wxFontData *) 0 ;
13359 bool result;
13360 PyObject * obj0 = 0 ;
13361 char *kwnames[] = {
13362 (char *) "self", NULL
13363 };
13364
13365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 result = (bool)(arg1)->GetShowHelp();
13371
13372 wxPyEndAllowThreads(__tstate);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
13375 {
13376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13377 }
13378 return resultobj;
13379 fail:
13380 return NULL;
13381 }
13382
13383
13384 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13385 PyObject *resultobj;
13386 wxFontData *arg1 = (wxFontData *) 0 ;
13387 bool arg2 ;
13388 PyObject * obj0 = 0 ;
13389 PyObject * obj1 = 0 ;
13390 char *kwnames[] = {
13391 (char *) "self",(char *) "allowSymbols", NULL
13392 };
13393
13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13397 arg2 = (bool) SWIG_AsBool(obj1);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 {
13400 PyThreadState* __tstate = wxPyBeginAllowThreads();
13401 (arg1)->SetAllowSymbols(arg2);
13402
13403 wxPyEndAllowThreads(__tstate);
13404 if (PyErr_Occurred()) SWIG_fail;
13405 }
13406 Py_INCREF(Py_None); resultobj = Py_None;
13407 return resultobj;
13408 fail:
13409 return NULL;
13410 }
13411
13412
13413 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13414 PyObject *resultobj;
13415 wxFontData *arg1 = (wxFontData *) 0 ;
13416 wxFont *arg2 = 0 ;
13417 PyObject * obj0 = 0 ;
13418 PyObject * obj1 = 0 ;
13419 char *kwnames[] = {
13420 (char *) "self",(char *) "font", NULL
13421 };
13422
13423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13426 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13427 SWIG_POINTER_EXCEPTION | 0)) == -1)
13428 SWIG_fail;
13429 if (arg2 == NULL) {
13430 PyErr_SetString(PyExc_TypeError,"null reference");
13431 SWIG_fail;
13432 }
13433 {
13434 PyThreadState* __tstate = wxPyBeginAllowThreads();
13435 (arg1)->SetChosenFont((wxFont const &)*arg2);
13436
13437 wxPyEndAllowThreads(__tstate);
13438 if (PyErr_Occurred()) SWIG_fail;
13439 }
13440 Py_INCREF(Py_None); resultobj = Py_None;
13441 return resultobj;
13442 fail:
13443 return NULL;
13444 }
13445
13446
13447 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13448 PyObject *resultobj;
13449 wxFontData *arg1 = (wxFontData *) 0 ;
13450 wxColour *arg2 = 0 ;
13451 wxColour temp2 ;
13452 PyObject * obj0 = 0 ;
13453 PyObject * obj1 = 0 ;
13454 char *kwnames[] = {
13455 (char *) "self",(char *) "colour", NULL
13456 };
13457
13458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13461 {
13462 arg2 = &temp2;
13463 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13464 }
13465 {
13466 PyThreadState* __tstate = wxPyBeginAllowThreads();
13467 (arg1)->SetColour((wxColour const &)*arg2);
13468
13469 wxPyEndAllowThreads(__tstate);
13470 if (PyErr_Occurred()) SWIG_fail;
13471 }
13472 Py_INCREF(Py_None); resultobj = Py_None;
13473 return resultobj;
13474 fail:
13475 return NULL;
13476 }
13477
13478
13479 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13480 PyObject *resultobj;
13481 wxFontData *arg1 = (wxFontData *) 0 ;
13482 wxFont *arg2 = 0 ;
13483 PyObject * obj0 = 0 ;
13484 PyObject * obj1 = 0 ;
13485 char *kwnames[] = {
13486 (char *) "self",(char *) "font", NULL
13487 };
13488
13489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13492 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13493 SWIG_POINTER_EXCEPTION | 0)) == -1)
13494 SWIG_fail;
13495 if (arg2 == NULL) {
13496 PyErr_SetString(PyExc_TypeError,"null reference");
13497 SWIG_fail;
13498 }
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 (arg1)->SetInitialFont((wxFont const &)*arg2);
13502
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 Py_INCREF(Py_None); resultobj = Py_None;
13507 return resultobj;
13508 fail:
13509 return NULL;
13510 }
13511
13512
13513 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13514 PyObject *resultobj;
13515 wxFontData *arg1 = (wxFontData *) 0 ;
13516 int arg2 ;
13517 int arg3 ;
13518 PyObject * obj0 = 0 ;
13519 PyObject * obj1 = 0 ;
13520 PyObject * obj2 = 0 ;
13521 char *kwnames[] = {
13522 (char *) "self",(char *) "min",(char *) "max", NULL
13523 };
13524
13525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13528 arg2 = (int) SWIG_AsInt(obj1);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 arg3 = (int) SWIG_AsInt(obj2);
13531 if (PyErr_Occurred()) SWIG_fail;
13532 {
13533 PyThreadState* __tstate = wxPyBeginAllowThreads();
13534 (arg1)->SetRange(arg2,arg3);
13535
13536 wxPyEndAllowThreads(__tstate);
13537 if (PyErr_Occurred()) SWIG_fail;
13538 }
13539 Py_INCREF(Py_None); resultobj = Py_None;
13540 return resultobj;
13541 fail:
13542 return NULL;
13543 }
13544
13545
13546 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13547 PyObject *resultobj;
13548 wxFontData *arg1 = (wxFontData *) 0 ;
13549 bool arg2 ;
13550 PyObject * obj0 = 0 ;
13551 PyObject * obj1 = 0 ;
13552 char *kwnames[] = {
13553 (char *) "self",(char *) "showHelp", NULL
13554 };
13555
13556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13559 arg2 = (bool) SWIG_AsBool(obj1);
13560 if (PyErr_Occurred()) SWIG_fail;
13561 {
13562 PyThreadState* __tstate = wxPyBeginAllowThreads();
13563 (arg1)->SetShowHelp(arg2);
13564
13565 wxPyEndAllowThreads(__tstate);
13566 if (PyErr_Occurred()) SWIG_fail;
13567 }
13568 Py_INCREF(Py_None); resultobj = Py_None;
13569 return resultobj;
13570 fail:
13571 return NULL;
13572 }
13573
13574
13575 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13576 PyObject *obj;
13577 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13578 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13579 Py_INCREF(obj);
13580 return Py_BuildValue((char *)"");
13581 }
13582 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13583 PyObject *resultobj;
13584 wxWindow *arg1 = (wxWindow *) 0 ;
13585 wxFontData *arg2 = 0 ;
13586 wxFontDialog *result;
13587 PyObject * obj0 = 0 ;
13588 PyObject * obj1 = 0 ;
13589 char *kwnames[] = {
13590 (char *) "parent",(char *) "data", NULL
13591 };
13592
13593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13596 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13597 SWIG_POINTER_EXCEPTION | 0)) == -1)
13598 SWIG_fail;
13599 if (arg2 == NULL) {
13600 PyErr_SetString(PyExc_TypeError,"null reference");
13601 SWIG_fail;
13602 }
13603 {
13604 if (!wxPyCheckForApp()) SWIG_fail;
13605 PyThreadState* __tstate = wxPyBeginAllowThreads();
13606 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13607
13608 wxPyEndAllowThreads(__tstate);
13609 if (PyErr_Occurred()) SWIG_fail;
13610 }
13611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13612 return resultobj;
13613 fail:
13614 return NULL;
13615 }
13616
13617
13618 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13619 PyObject *resultobj;
13620 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13621 wxFontData *result;
13622 PyObject * obj0 = 0 ;
13623 char *kwnames[] = {
13624 (char *) "self", NULL
13625 };
13626
13627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13630 {
13631 PyThreadState* __tstate = wxPyBeginAllowThreads();
13632 {
13633 wxFontData &_result_ref = (arg1)->GetFontData();
13634 result = (wxFontData *) &_result_ref;
13635 }
13636
13637 wxPyEndAllowThreads(__tstate);
13638 if (PyErr_Occurred()) SWIG_fail;
13639 }
13640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13641 return resultobj;
13642 fail:
13643 return NULL;
13644 }
13645
13646
13647 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13648 PyObject *obj;
13649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13650 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13651 Py_INCREF(obj);
13652 return Py_BuildValue((char *)"");
13653 }
13654 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13655 PyObject *resultobj;
13656 wxWindow *arg1 = (wxWindow *) 0 ;
13657 wxString *arg2 = 0 ;
13658 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13659 wxString *arg3 = (wxString *) &arg3_defvalue ;
13660 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13661 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13662 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13663 wxMessageDialog *result;
13664 bool temp2 = False ;
13665 bool temp3 = False ;
13666 wxPoint temp5 ;
13667 PyObject * obj0 = 0 ;
13668 PyObject * obj1 = 0 ;
13669 PyObject * obj2 = 0 ;
13670 PyObject * obj3 = 0 ;
13671 PyObject * obj4 = 0 ;
13672 char *kwnames[] = {
13673 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13674 };
13675
13676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13679 {
13680 arg2 = wxString_in_helper(obj1);
13681 if (arg2 == NULL) SWIG_fail;
13682 temp2 = True;
13683 }
13684 if (obj2) {
13685 {
13686 arg3 = wxString_in_helper(obj2);
13687 if (arg3 == NULL) SWIG_fail;
13688 temp3 = True;
13689 }
13690 }
13691 if (obj3) {
13692 arg4 = (long) SWIG_AsLong(obj3);
13693 if (PyErr_Occurred()) SWIG_fail;
13694 }
13695 if (obj4) {
13696 {
13697 arg5 = &temp5;
13698 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13699 }
13700 }
13701 {
13702 if (!wxPyCheckForApp()) SWIG_fail;
13703 PyThreadState* __tstate = wxPyBeginAllowThreads();
13704 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13705
13706 wxPyEndAllowThreads(__tstate);
13707 if (PyErr_Occurred()) SWIG_fail;
13708 }
13709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13710 {
13711 if (temp2)
13712 delete arg2;
13713 }
13714 {
13715 if (temp3)
13716 delete arg3;
13717 }
13718 return resultobj;
13719 fail:
13720 {
13721 if (temp2)
13722 delete arg2;
13723 }
13724 {
13725 if (temp3)
13726 delete arg3;
13727 }
13728 return NULL;
13729 }
13730
13731
13732 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13733 PyObject *obj;
13734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13735 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13736 Py_INCREF(obj);
13737 return Py_BuildValue((char *)"");
13738 }
13739 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13740 PyObject *resultobj;
13741 wxString *arg1 = 0 ;
13742 wxString *arg2 = 0 ;
13743 int arg3 = (int) 100 ;
13744 wxWindow *arg4 = (wxWindow *) NULL ;
13745 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13746 wxProgressDialog *result;
13747 bool temp1 = False ;
13748 bool temp2 = False ;
13749 PyObject * obj0 = 0 ;
13750 PyObject * obj1 = 0 ;
13751 PyObject * obj2 = 0 ;
13752 PyObject * obj3 = 0 ;
13753 PyObject * obj4 = 0 ;
13754 char *kwnames[] = {
13755 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13756 };
13757
13758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13759 {
13760 arg1 = wxString_in_helper(obj0);
13761 if (arg1 == NULL) SWIG_fail;
13762 temp1 = True;
13763 }
13764 {
13765 arg2 = wxString_in_helper(obj1);
13766 if (arg2 == NULL) SWIG_fail;
13767 temp2 = True;
13768 }
13769 if (obj2) {
13770 arg3 = (int) SWIG_AsInt(obj2);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
13773 if (obj3) {
13774 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13776 }
13777 if (obj4) {
13778 arg5 = (int) SWIG_AsInt(obj4);
13779 if (PyErr_Occurred()) SWIG_fail;
13780 }
13781 {
13782 if (!wxPyCheckForApp()) SWIG_fail;
13783 PyThreadState* __tstate = wxPyBeginAllowThreads();
13784 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13785
13786 wxPyEndAllowThreads(__tstate);
13787 if (PyErr_Occurred()) SWIG_fail;
13788 }
13789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13790 {
13791 if (temp1)
13792 delete arg1;
13793 }
13794 {
13795 if (temp2)
13796 delete arg2;
13797 }
13798 return resultobj;
13799 fail:
13800 {
13801 if (temp1)
13802 delete arg1;
13803 }
13804 {
13805 if (temp2)
13806 delete arg2;
13807 }
13808 return NULL;
13809 }
13810
13811
13812 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13813 PyObject *resultobj;
13814 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13815 int arg2 ;
13816 wxString const &arg3_defvalue = wxPyEmptyString ;
13817 wxString *arg3 = (wxString *) &arg3_defvalue ;
13818 bool result;
13819 bool temp3 = False ;
13820 PyObject * obj0 = 0 ;
13821 PyObject * obj1 = 0 ;
13822 PyObject * obj2 = 0 ;
13823 char *kwnames[] = {
13824 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13825 };
13826
13827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13830 arg2 = (int) SWIG_AsInt(obj1);
13831 if (PyErr_Occurred()) SWIG_fail;
13832 if (obj2) {
13833 {
13834 arg3 = wxString_in_helper(obj2);
13835 if (arg3 == NULL) SWIG_fail;
13836 temp3 = True;
13837 }
13838 }
13839 {
13840 PyThreadState* __tstate = wxPyBeginAllowThreads();
13841 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13842
13843 wxPyEndAllowThreads(__tstate);
13844 if (PyErr_Occurred()) SWIG_fail;
13845 }
13846 {
13847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13848 }
13849 {
13850 if (temp3)
13851 delete arg3;
13852 }
13853 return resultobj;
13854 fail:
13855 {
13856 if (temp3)
13857 delete arg3;
13858 }
13859 return NULL;
13860 }
13861
13862
13863 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13864 PyObject *resultobj;
13865 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13866 PyObject * obj0 = 0 ;
13867 char *kwnames[] = {
13868 (char *) "self", NULL
13869 };
13870
13871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13874 {
13875 PyThreadState* __tstate = wxPyBeginAllowThreads();
13876 (arg1)->Resume();
13877
13878 wxPyEndAllowThreads(__tstate);
13879 if (PyErr_Occurred()) SWIG_fail;
13880 }
13881 Py_INCREF(Py_None); resultobj = Py_None;
13882 return resultobj;
13883 fail:
13884 return NULL;
13885 }
13886
13887
13888 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13889 PyObject *obj;
13890 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13891 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13892 Py_INCREF(obj);
13893 return Py_BuildValue((char *)"");
13894 }
13895 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13896 PyObject *resultobj;
13897 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13898 int arg2 = (int) 0 ;
13899 wxFindDialogEvent *result;
13900 PyObject * obj0 = 0 ;
13901 PyObject * obj1 = 0 ;
13902 char *kwnames[] = {
13903 (char *) "commandType",(char *) "id", NULL
13904 };
13905
13906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13907 if (obj0) {
13908 arg1 = (wxEventType) SWIG_AsInt(obj0);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 }
13911 if (obj1) {
13912 arg2 = (int) SWIG_AsInt(obj1);
13913 if (PyErr_Occurred()) SWIG_fail;
13914 }
13915 {
13916 PyThreadState* __tstate = wxPyBeginAllowThreads();
13917 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13918
13919 wxPyEndAllowThreads(__tstate);
13920 if (PyErr_Occurred()) SWIG_fail;
13921 }
13922 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13923 return resultobj;
13924 fail:
13925 return NULL;
13926 }
13927
13928
13929 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13930 PyObject *resultobj;
13931 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13932 int result;
13933 PyObject * obj0 = 0 ;
13934 char *kwnames[] = {
13935 (char *) "self", NULL
13936 };
13937
13938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13941 {
13942 PyThreadState* __tstate = wxPyBeginAllowThreads();
13943 result = (int)(arg1)->GetFlags();
13944
13945 wxPyEndAllowThreads(__tstate);
13946 if (PyErr_Occurred()) SWIG_fail;
13947 }
13948 resultobj = SWIG_FromInt((int)result);
13949 return resultobj;
13950 fail:
13951 return NULL;
13952 }
13953
13954
13955 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13956 PyObject *resultobj;
13957 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13958 wxString *result;
13959 PyObject * obj0 = 0 ;
13960 char *kwnames[] = {
13961 (char *) "self", NULL
13962 };
13963
13964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13967 {
13968 PyThreadState* __tstate = wxPyBeginAllowThreads();
13969 {
13970 wxString const &_result_ref = (arg1)->GetFindString();
13971 result = (wxString *) &_result_ref;
13972 }
13973
13974 wxPyEndAllowThreads(__tstate);
13975 if (PyErr_Occurred()) SWIG_fail;
13976 }
13977 {
13978 #if wxUSE_UNICODE
13979 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13980 #else
13981 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13982 #endif
13983 }
13984 return resultobj;
13985 fail:
13986 return NULL;
13987 }
13988
13989
13990 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13991 PyObject *resultobj;
13992 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13993 wxString *result;
13994 PyObject * obj0 = 0 ;
13995 char *kwnames[] = {
13996 (char *) "self", NULL
13997 };
13998
13999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
14000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14002 {
14003 PyThreadState* __tstate = wxPyBeginAllowThreads();
14004 {
14005 wxString const &_result_ref = (arg1)->GetReplaceString();
14006 result = (wxString *) &_result_ref;
14007 }
14008
14009 wxPyEndAllowThreads(__tstate);
14010 if (PyErr_Occurred()) SWIG_fail;
14011 }
14012 {
14013 #if wxUSE_UNICODE
14014 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14015 #else
14016 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14017 #endif
14018 }
14019 return resultobj;
14020 fail:
14021 return NULL;
14022 }
14023
14024
14025 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14026 PyObject *resultobj;
14027 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14028 wxFindReplaceDialog *result;
14029 PyObject * obj0 = 0 ;
14030 char *kwnames[] = {
14031 (char *) "self", NULL
14032 };
14033
14034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
14035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14037 {
14038 PyThreadState* __tstate = wxPyBeginAllowThreads();
14039 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
14040
14041 wxPyEndAllowThreads(__tstate);
14042 if (PyErr_Occurred()) SWIG_fail;
14043 }
14044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
14045 return resultobj;
14046 fail:
14047 return NULL;
14048 }
14049
14050
14051 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14052 PyObject *resultobj;
14053 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14054 int arg2 ;
14055 PyObject * obj0 = 0 ;
14056 PyObject * obj1 = 0 ;
14057 char *kwnames[] = {
14058 (char *) "self",(char *) "flags", NULL
14059 };
14060
14061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14064 arg2 = (int) SWIG_AsInt(obj1);
14065 if (PyErr_Occurred()) SWIG_fail;
14066 {
14067 PyThreadState* __tstate = wxPyBeginAllowThreads();
14068 (arg1)->SetFlags(arg2);
14069
14070 wxPyEndAllowThreads(__tstate);
14071 if (PyErr_Occurred()) SWIG_fail;
14072 }
14073 Py_INCREF(Py_None); resultobj = Py_None;
14074 return resultobj;
14075 fail:
14076 return NULL;
14077 }
14078
14079
14080 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14081 PyObject *resultobj;
14082 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14083 wxString *arg2 = 0 ;
14084 bool temp2 = False ;
14085 PyObject * obj0 = 0 ;
14086 PyObject * obj1 = 0 ;
14087 char *kwnames[] = {
14088 (char *) "self",(char *) "str", NULL
14089 };
14090
14091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14094 {
14095 arg2 = wxString_in_helper(obj1);
14096 if (arg2 == NULL) SWIG_fail;
14097 temp2 = True;
14098 }
14099 {
14100 PyThreadState* __tstate = wxPyBeginAllowThreads();
14101 (arg1)->SetFindString((wxString const &)*arg2);
14102
14103 wxPyEndAllowThreads(__tstate);
14104 if (PyErr_Occurred()) SWIG_fail;
14105 }
14106 Py_INCREF(Py_None); resultobj = Py_None;
14107 {
14108 if (temp2)
14109 delete arg2;
14110 }
14111 return resultobj;
14112 fail:
14113 {
14114 if (temp2)
14115 delete arg2;
14116 }
14117 return NULL;
14118 }
14119
14120
14121 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14122 PyObject *resultobj;
14123 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14124 wxString *arg2 = 0 ;
14125 bool temp2 = False ;
14126 PyObject * obj0 = 0 ;
14127 PyObject * obj1 = 0 ;
14128 char *kwnames[] = {
14129 (char *) "self",(char *) "str", NULL
14130 };
14131
14132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14135 {
14136 arg2 = wxString_in_helper(obj1);
14137 if (arg2 == NULL) SWIG_fail;
14138 temp2 = True;
14139 }
14140 {
14141 PyThreadState* __tstate = wxPyBeginAllowThreads();
14142 (arg1)->SetReplaceString((wxString const &)*arg2);
14143
14144 wxPyEndAllowThreads(__tstate);
14145 if (PyErr_Occurred()) SWIG_fail;
14146 }
14147 Py_INCREF(Py_None); resultobj = Py_None;
14148 {
14149 if (temp2)
14150 delete arg2;
14151 }
14152 return resultobj;
14153 fail:
14154 {
14155 if (temp2)
14156 delete arg2;
14157 }
14158 return NULL;
14159 }
14160
14161
14162 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
14163 PyObject *obj;
14164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14165 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14166 Py_INCREF(obj);
14167 return Py_BuildValue((char *)"");
14168 }
14169 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
14170 PyObject *resultobj;
14171 int arg1 = (int) 0 ;
14172 wxFindReplaceData *result;
14173 PyObject * obj0 = 0 ;
14174 char *kwnames[] = {
14175 (char *) "flags", NULL
14176 };
14177
14178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14179 if (obj0) {
14180 arg1 = (int) SWIG_AsInt(obj0);
14181 if (PyErr_Occurred()) SWIG_fail;
14182 }
14183 {
14184 PyThreadState* __tstate = wxPyBeginAllowThreads();
14185 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14186
14187 wxPyEndAllowThreads(__tstate);
14188 if (PyErr_Occurred()) SWIG_fail;
14189 }
14190 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14191 return resultobj;
14192 fail:
14193 return NULL;
14194 }
14195
14196
14197 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
14198 PyObject *resultobj;
14199 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14200 PyObject * obj0 = 0 ;
14201 char *kwnames[] = {
14202 (char *) "self", NULL
14203 };
14204
14205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14208 {
14209 PyThreadState* __tstate = wxPyBeginAllowThreads();
14210 delete arg1;
14211
14212 wxPyEndAllowThreads(__tstate);
14213 if (PyErr_Occurred()) SWIG_fail;
14214 }
14215 Py_INCREF(Py_None); resultobj = Py_None;
14216 return resultobj;
14217 fail:
14218 return NULL;
14219 }
14220
14221
14222 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14223 PyObject *resultobj;
14224 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14225 wxString *result;
14226 PyObject * obj0 = 0 ;
14227 char *kwnames[] = {
14228 (char *) "self", NULL
14229 };
14230
14231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14234 {
14235 PyThreadState* __tstate = wxPyBeginAllowThreads();
14236 {
14237 wxString const &_result_ref = (arg1)->GetFindString();
14238 result = (wxString *) &_result_ref;
14239 }
14240
14241 wxPyEndAllowThreads(__tstate);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 }
14244 {
14245 #if wxUSE_UNICODE
14246 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14247 #else
14248 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14249 #endif
14250 }
14251 return resultobj;
14252 fail:
14253 return NULL;
14254 }
14255
14256
14257 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14258 PyObject *resultobj;
14259 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14260 wxString *result;
14261 PyObject * obj0 = 0 ;
14262 char *kwnames[] = {
14263 (char *) "self", NULL
14264 };
14265
14266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14269 {
14270 PyThreadState* __tstate = wxPyBeginAllowThreads();
14271 {
14272 wxString const &_result_ref = (arg1)->GetReplaceString();
14273 result = (wxString *) &_result_ref;
14274 }
14275
14276 wxPyEndAllowThreads(__tstate);
14277 if (PyErr_Occurred()) SWIG_fail;
14278 }
14279 {
14280 #if wxUSE_UNICODE
14281 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14282 #else
14283 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14284 #endif
14285 }
14286 return resultobj;
14287 fail:
14288 return NULL;
14289 }
14290
14291
14292 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14293 PyObject *resultobj;
14294 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14295 int result;
14296 PyObject * obj0 = 0 ;
14297 char *kwnames[] = {
14298 (char *) "self", NULL
14299 };
14300
14301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14304 {
14305 PyThreadState* __tstate = wxPyBeginAllowThreads();
14306 result = (int)(arg1)->GetFlags();
14307
14308 wxPyEndAllowThreads(__tstate);
14309 if (PyErr_Occurred()) SWIG_fail;
14310 }
14311 resultobj = SWIG_FromInt((int)result);
14312 return resultobj;
14313 fail:
14314 return NULL;
14315 }
14316
14317
14318 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14319 PyObject *resultobj;
14320 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14321 int arg2 ;
14322 PyObject * obj0 = 0 ;
14323 PyObject * obj1 = 0 ;
14324 char *kwnames[] = {
14325 (char *) "self",(char *) "flags", NULL
14326 };
14327
14328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14331 arg2 = (int) SWIG_AsInt(obj1);
14332 if (PyErr_Occurred()) SWIG_fail;
14333 {
14334 PyThreadState* __tstate = wxPyBeginAllowThreads();
14335 (arg1)->SetFlags(arg2);
14336
14337 wxPyEndAllowThreads(__tstate);
14338 if (PyErr_Occurred()) SWIG_fail;
14339 }
14340 Py_INCREF(Py_None); resultobj = Py_None;
14341 return resultobj;
14342 fail:
14343 return NULL;
14344 }
14345
14346
14347 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14348 PyObject *resultobj;
14349 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14350 wxString *arg2 = 0 ;
14351 bool temp2 = False ;
14352 PyObject * obj0 = 0 ;
14353 PyObject * obj1 = 0 ;
14354 char *kwnames[] = {
14355 (char *) "self",(char *) "str", NULL
14356 };
14357
14358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14361 {
14362 arg2 = wxString_in_helper(obj1);
14363 if (arg2 == NULL) SWIG_fail;
14364 temp2 = True;
14365 }
14366 {
14367 PyThreadState* __tstate = wxPyBeginAllowThreads();
14368 (arg1)->SetFindString((wxString const &)*arg2);
14369
14370 wxPyEndAllowThreads(__tstate);
14371 if (PyErr_Occurred()) SWIG_fail;
14372 }
14373 Py_INCREF(Py_None); resultobj = Py_None;
14374 {
14375 if (temp2)
14376 delete arg2;
14377 }
14378 return resultobj;
14379 fail:
14380 {
14381 if (temp2)
14382 delete arg2;
14383 }
14384 return NULL;
14385 }
14386
14387
14388 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14389 PyObject *resultobj;
14390 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14391 wxString *arg2 = 0 ;
14392 bool temp2 = False ;
14393 PyObject * obj0 = 0 ;
14394 PyObject * obj1 = 0 ;
14395 char *kwnames[] = {
14396 (char *) "self",(char *) "str", NULL
14397 };
14398
14399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14402 {
14403 arg2 = wxString_in_helper(obj1);
14404 if (arg2 == NULL) SWIG_fail;
14405 temp2 = True;
14406 }
14407 {
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 (arg1)->SetReplaceString((wxString const &)*arg2);
14410
14411 wxPyEndAllowThreads(__tstate);
14412 if (PyErr_Occurred()) SWIG_fail;
14413 }
14414 Py_INCREF(Py_None); resultobj = Py_None;
14415 {
14416 if (temp2)
14417 delete arg2;
14418 }
14419 return resultobj;
14420 fail:
14421 {
14422 if (temp2)
14423 delete arg2;
14424 }
14425 return NULL;
14426 }
14427
14428
14429 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14430 PyObject *obj;
14431 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14432 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14433 Py_INCREF(obj);
14434 return Py_BuildValue((char *)"");
14435 }
14436 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14437 PyObject *resultobj;
14438 wxWindow *arg1 = (wxWindow *) 0 ;
14439 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14440 wxString *arg3 = 0 ;
14441 int arg4 = (int) 0 ;
14442 wxFindReplaceDialog *result;
14443 bool temp3 = False ;
14444 PyObject * obj0 = 0 ;
14445 PyObject * obj1 = 0 ;
14446 PyObject * obj2 = 0 ;
14447 PyObject * obj3 = 0 ;
14448 char *kwnames[] = {
14449 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14450 };
14451
14452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14455 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14457 {
14458 arg3 = wxString_in_helper(obj2);
14459 if (arg3 == NULL) SWIG_fail;
14460 temp3 = True;
14461 }
14462 if (obj3) {
14463 arg4 = (int) SWIG_AsInt(obj3);
14464 if (PyErr_Occurred()) SWIG_fail;
14465 }
14466 {
14467 if (!wxPyCheckForApp()) SWIG_fail;
14468 PyThreadState* __tstate = wxPyBeginAllowThreads();
14469 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14470
14471 wxPyEndAllowThreads(__tstate);
14472 if (PyErr_Occurred()) SWIG_fail;
14473 }
14474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14475 {
14476 if (temp3)
14477 delete arg3;
14478 }
14479 return resultobj;
14480 fail:
14481 {
14482 if (temp3)
14483 delete arg3;
14484 }
14485 return NULL;
14486 }
14487
14488
14489 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14490 PyObject *resultobj;
14491 wxFindReplaceDialog *result;
14492 char *kwnames[] = {
14493 NULL
14494 };
14495
14496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14497 {
14498 if (!wxPyCheckForApp()) SWIG_fail;
14499 PyThreadState* __tstate = wxPyBeginAllowThreads();
14500 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14501
14502 wxPyEndAllowThreads(__tstate);
14503 if (PyErr_Occurred()) SWIG_fail;
14504 }
14505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14506 return resultobj;
14507 fail:
14508 return NULL;
14509 }
14510
14511
14512 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14513 PyObject *resultobj;
14514 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14515 wxWindow *arg2 = (wxWindow *) 0 ;
14516 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14517 wxString *arg4 = 0 ;
14518 int arg5 = (int) 0 ;
14519 bool result;
14520 bool temp4 = False ;
14521 PyObject * obj0 = 0 ;
14522 PyObject * obj1 = 0 ;
14523 PyObject * obj2 = 0 ;
14524 PyObject * obj3 = 0 ;
14525 PyObject * obj4 = 0 ;
14526 char *kwnames[] = {
14527 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14528 };
14529
14530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14533 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14535 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14537 {
14538 arg4 = wxString_in_helper(obj3);
14539 if (arg4 == NULL) SWIG_fail;
14540 temp4 = True;
14541 }
14542 if (obj4) {
14543 arg5 = (int) SWIG_AsInt(obj4);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 }
14546 {
14547 PyThreadState* __tstate = wxPyBeginAllowThreads();
14548 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14549
14550 wxPyEndAllowThreads(__tstate);
14551 if (PyErr_Occurred()) SWIG_fail;
14552 }
14553 {
14554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14555 }
14556 {
14557 if (temp4)
14558 delete arg4;
14559 }
14560 return resultobj;
14561 fail:
14562 {
14563 if (temp4)
14564 delete arg4;
14565 }
14566 return NULL;
14567 }
14568
14569
14570 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14571 PyObject *resultobj;
14572 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14573 wxFindReplaceData *result;
14574 PyObject * obj0 = 0 ;
14575 char *kwnames[] = {
14576 (char *) "self", NULL
14577 };
14578
14579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14582 {
14583 PyThreadState* __tstate = wxPyBeginAllowThreads();
14584 result = (wxFindReplaceData *)(arg1)->GetData();
14585
14586 wxPyEndAllowThreads(__tstate);
14587 if (PyErr_Occurred()) SWIG_fail;
14588 }
14589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14590 return resultobj;
14591 fail:
14592 return NULL;
14593 }
14594
14595
14596 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14597 PyObject *resultobj;
14598 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14599 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14600 PyObject * obj0 = 0 ;
14601 PyObject * obj1 = 0 ;
14602 char *kwnames[] = {
14603 (char *) "self",(char *) "data", NULL
14604 };
14605
14606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14609 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14611 {
14612 PyThreadState* __tstate = wxPyBeginAllowThreads();
14613 (arg1)->SetData(arg2);
14614
14615 wxPyEndAllowThreads(__tstate);
14616 if (PyErr_Occurred()) SWIG_fail;
14617 }
14618 Py_INCREF(Py_None); resultobj = Py_None;
14619 return resultobj;
14620 fail:
14621 return NULL;
14622 }
14623
14624
14625 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14626 PyObject *obj;
14627 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14628 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14629 Py_INCREF(obj);
14630 return Py_BuildValue((char *)"");
14631 }
14632 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14633 PyObject *resultobj;
14634 wxWindow *arg1 = (wxWindow *) 0 ;
14635 int arg2 = (int) (int)-1 ;
14636 wxString const &arg3_defvalue = wxPyEmptyString ;
14637 wxString *arg3 = (wxString *) &arg3_defvalue ;
14638 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14639 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14640 wxSize const &arg5_defvalue = wxDefaultSize ;
14641 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14642 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14643 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14644 wxString *arg7 = (wxString *) &arg7_defvalue ;
14645 wxMDIParentFrame *result;
14646 bool temp3 = False ;
14647 wxPoint temp4 ;
14648 wxSize temp5 ;
14649 bool temp7 = False ;
14650 PyObject * obj0 = 0 ;
14651 PyObject * obj1 = 0 ;
14652 PyObject * obj2 = 0 ;
14653 PyObject * obj3 = 0 ;
14654 PyObject * obj4 = 0 ;
14655 PyObject * obj5 = 0 ;
14656 PyObject * obj6 = 0 ;
14657 char *kwnames[] = {
14658 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14659 };
14660
14661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14664 if (obj1) {
14665 arg2 = (int const) SWIG_AsInt(obj1);
14666 if (PyErr_Occurred()) SWIG_fail;
14667 }
14668 if (obj2) {
14669 {
14670 arg3 = wxString_in_helper(obj2);
14671 if (arg3 == NULL) SWIG_fail;
14672 temp3 = True;
14673 }
14674 }
14675 if (obj3) {
14676 {
14677 arg4 = &temp4;
14678 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14679 }
14680 }
14681 if (obj4) {
14682 {
14683 arg5 = &temp5;
14684 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14685 }
14686 }
14687 if (obj5) {
14688 arg6 = (long) SWIG_AsLong(obj5);
14689 if (PyErr_Occurred()) SWIG_fail;
14690 }
14691 if (obj6) {
14692 {
14693 arg7 = wxString_in_helper(obj6);
14694 if (arg7 == NULL) SWIG_fail;
14695 temp7 = True;
14696 }
14697 }
14698 {
14699 if (!wxPyCheckForApp()) SWIG_fail;
14700 PyThreadState* __tstate = wxPyBeginAllowThreads();
14701 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14702
14703 wxPyEndAllowThreads(__tstate);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14707 {
14708 if (temp3)
14709 delete arg3;
14710 }
14711 {
14712 if (temp7)
14713 delete arg7;
14714 }
14715 return resultobj;
14716 fail:
14717 {
14718 if (temp3)
14719 delete arg3;
14720 }
14721 {
14722 if (temp7)
14723 delete arg7;
14724 }
14725 return NULL;
14726 }
14727
14728
14729 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14730 PyObject *resultobj;
14731 wxMDIParentFrame *result;
14732 char *kwnames[] = {
14733 NULL
14734 };
14735
14736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14737 {
14738 if (!wxPyCheckForApp()) SWIG_fail;
14739 PyThreadState* __tstate = wxPyBeginAllowThreads();
14740 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14741
14742 wxPyEndAllowThreads(__tstate);
14743 if (PyErr_Occurred()) SWIG_fail;
14744 }
14745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14746 return resultobj;
14747 fail:
14748 return NULL;
14749 }
14750
14751
14752 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14753 PyObject *resultobj;
14754 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14755 wxWindow *arg2 = (wxWindow *) 0 ;
14756 int arg3 = (int) (int)-1 ;
14757 wxString const &arg4_defvalue = wxPyEmptyString ;
14758 wxString *arg4 = (wxString *) &arg4_defvalue ;
14759 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14760 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14761 wxSize const &arg6_defvalue = wxDefaultSize ;
14762 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14763 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14764 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14765 wxString *arg8 = (wxString *) &arg8_defvalue ;
14766 bool result;
14767 bool temp4 = False ;
14768 wxPoint temp5 ;
14769 wxSize temp6 ;
14770 bool temp8 = False ;
14771 PyObject * obj0 = 0 ;
14772 PyObject * obj1 = 0 ;
14773 PyObject * obj2 = 0 ;
14774 PyObject * obj3 = 0 ;
14775 PyObject * obj4 = 0 ;
14776 PyObject * obj5 = 0 ;
14777 PyObject * obj6 = 0 ;
14778 PyObject * obj7 = 0 ;
14779 char *kwnames[] = {
14780 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14781 };
14782
14783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14786 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14788 if (obj2) {
14789 arg3 = (int const) SWIG_AsInt(obj2);
14790 if (PyErr_Occurred()) SWIG_fail;
14791 }
14792 if (obj3) {
14793 {
14794 arg4 = wxString_in_helper(obj3);
14795 if (arg4 == NULL) SWIG_fail;
14796 temp4 = True;
14797 }
14798 }
14799 if (obj4) {
14800 {
14801 arg5 = &temp5;
14802 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14803 }
14804 }
14805 if (obj5) {
14806 {
14807 arg6 = &temp6;
14808 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14809 }
14810 }
14811 if (obj6) {
14812 arg7 = (long) SWIG_AsLong(obj6);
14813 if (PyErr_Occurred()) SWIG_fail;
14814 }
14815 if (obj7) {
14816 {
14817 arg8 = wxString_in_helper(obj7);
14818 if (arg8 == NULL) SWIG_fail;
14819 temp8 = True;
14820 }
14821 }
14822 {
14823 PyThreadState* __tstate = wxPyBeginAllowThreads();
14824 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14825
14826 wxPyEndAllowThreads(__tstate);
14827 if (PyErr_Occurred()) SWIG_fail;
14828 }
14829 {
14830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14831 }
14832 {
14833 if (temp4)
14834 delete arg4;
14835 }
14836 {
14837 if (temp8)
14838 delete arg8;
14839 }
14840 return resultobj;
14841 fail:
14842 {
14843 if (temp4)
14844 delete arg4;
14845 }
14846 {
14847 if (temp8)
14848 delete arg8;
14849 }
14850 return NULL;
14851 }
14852
14853
14854 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14855 PyObject *resultobj;
14856 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14857 PyObject * obj0 = 0 ;
14858 char *kwnames[] = {
14859 (char *) "self", NULL
14860 };
14861
14862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14865 {
14866 PyThreadState* __tstate = wxPyBeginAllowThreads();
14867 (arg1)->ActivateNext();
14868
14869 wxPyEndAllowThreads(__tstate);
14870 if (PyErr_Occurred()) SWIG_fail;
14871 }
14872 Py_INCREF(Py_None); resultobj = Py_None;
14873 return resultobj;
14874 fail:
14875 return NULL;
14876 }
14877
14878
14879 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14880 PyObject *resultobj;
14881 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14882 PyObject * obj0 = 0 ;
14883 char *kwnames[] = {
14884 (char *) "self", NULL
14885 };
14886
14887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14890 {
14891 PyThreadState* __tstate = wxPyBeginAllowThreads();
14892 (arg1)->ActivatePrevious();
14893
14894 wxPyEndAllowThreads(__tstate);
14895 if (PyErr_Occurred()) SWIG_fail;
14896 }
14897 Py_INCREF(Py_None); resultobj = Py_None;
14898 return resultobj;
14899 fail:
14900 return NULL;
14901 }
14902
14903
14904 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14905 PyObject *resultobj;
14906 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14907 PyObject * obj0 = 0 ;
14908 char *kwnames[] = {
14909 (char *) "self", NULL
14910 };
14911
14912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14915 {
14916 PyThreadState* __tstate = wxPyBeginAllowThreads();
14917 (arg1)->ArrangeIcons();
14918
14919 wxPyEndAllowThreads(__tstate);
14920 if (PyErr_Occurred()) SWIG_fail;
14921 }
14922 Py_INCREF(Py_None); resultobj = Py_None;
14923 return resultobj;
14924 fail:
14925 return NULL;
14926 }
14927
14928
14929 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14930 PyObject *resultobj;
14931 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14932 PyObject * obj0 = 0 ;
14933 char *kwnames[] = {
14934 (char *) "self", NULL
14935 };
14936
14937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14940 {
14941 PyThreadState* __tstate = wxPyBeginAllowThreads();
14942 (arg1)->Cascade();
14943
14944 wxPyEndAllowThreads(__tstate);
14945 if (PyErr_Occurred()) SWIG_fail;
14946 }
14947 Py_INCREF(Py_None); resultobj = Py_None;
14948 return resultobj;
14949 fail:
14950 return NULL;
14951 }
14952
14953
14954 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14955 PyObject *resultobj;
14956 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14957 wxMDIChildFrame *result;
14958 PyObject * obj0 = 0 ;
14959 char *kwnames[] = {
14960 (char *) "self", NULL
14961 };
14962
14963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14966 {
14967 PyThreadState* __tstate = wxPyBeginAllowThreads();
14968 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14969
14970 wxPyEndAllowThreads(__tstate);
14971 if (PyErr_Occurred()) SWIG_fail;
14972 }
14973 {
14974 resultobj = wxPyMake_wxObject(result, 0);
14975 }
14976 return resultobj;
14977 fail:
14978 return NULL;
14979 }
14980
14981
14982 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14983 PyObject *resultobj;
14984 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14985 wxMDIClientWindow *result;
14986 PyObject * obj0 = 0 ;
14987 char *kwnames[] = {
14988 (char *) "self", NULL
14989 };
14990
14991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14994 {
14995 PyThreadState* __tstate = wxPyBeginAllowThreads();
14996 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14997
14998 wxPyEndAllowThreads(__tstate);
14999 if (PyErr_Occurred()) SWIG_fail;
15000 }
15001 {
15002 resultobj = wxPyMake_wxObject(result, 0);
15003 }
15004 return resultobj;
15005 fail:
15006 return NULL;
15007 }
15008
15009
15010 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15011 PyObject *resultobj;
15012 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15013 wxWindow *result;
15014 PyObject * obj0 = 0 ;
15015 char *kwnames[] = {
15016 (char *) "self", NULL
15017 };
15018
15019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
15020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15022 {
15023 PyThreadState* __tstate = wxPyBeginAllowThreads();
15024 result = (wxWindow *)(arg1)->GetToolBar();
15025
15026 wxPyEndAllowThreads(__tstate);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 {
15030 resultobj = wxPyMake_wxObject(result, 0);
15031 }
15032 return resultobj;
15033 fail:
15034 return NULL;
15035 }
15036
15037
15038 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
15039 PyObject *resultobj;
15040 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15041 PyObject * obj0 = 0 ;
15042 char *kwnames[] = {
15043 (char *) "self", NULL
15044 };
15045
15046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
15047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15049 {
15050 PyThreadState* __tstate = wxPyBeginAllowThreads();
15051 (arg1)->Tile();
15052
15053 wxPyEndAllowThreads(__tstate);
15054 if (PyErr_Occurred()) SWIG_fail;
15055 }
15056 Py_INCREF(Py_None); resultobj = Py_None;
15057 return resultobj;
15058 fail:
15059 return NULL;
15060 }
15061
15062
15063 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
15064 PyObject *obj;
15065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15066 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15067 Py_INCREF(obj);
15068 return Py_BuildValue((char *)"");
15069 }
15070 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
15071 PyObject *resultobj;
15072 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15073 int arg2 = (int) (int)-1 ;
15074 wxString const &arg3_defvalue = wxPyEmptyString ;
15075 wxString *arg3 = (wxString *) &arg3_defvalue ;
15076 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15077 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15078 wxSize const &arg5_defvalue = wxDefaultSize ;
15079 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15080 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15081 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15082 wxString *arg7 = (wxString *) &arg7_defvalue ;
15083 wxMDIChildFrame *result;
15084 bool temp3 = False ;
15085 wxPoint temp4 ;
15086 wxSize temp5 ;
15087 bool temp7 = False ;
15088 PyObject * obj0 = 0 ;
15089 PyObject * obj1 = 0 ;
15090 PyObject * obj2 = 0 ;
15091 PyObject * obj3 = 0 ;
15092 PyObject * obj4 = 0 ;
15093 PyObject * obj5 = 0 ;
15094 PyObject * obj6 = 0 ;
15095 char *kwnames[] = {
15096 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15097 };
15098
15099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15102 if (obj1) {
15103 arg2 = (int const) SWIG_AsInt(obj1);
15104 if (PyErr_Occurred()) SWIG_fail;
15105 }
15106 if (obj2) {
15107 {
15108 arg3 = wxString_in_helper(obj2);
15109 if (arg3 == NULL) SWIG_fail;
15110 temp3 = True;
15111 }
15112 }
15113 if (obj3) {
15114 {
15115 arg4 = &temp4;
15116 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15117 }
15118 }
15119 if (obj4) {
15120 {
15121 arg5 = &temp5;
15122 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15123 }
15124 }
15125 if (obj5) {
15126 arg6 = (long) SWIG_AsLong(obj5);
15127 if (PyErr_Occurred()) SWIG_fail;
15128 }
15129 if (obj6) {
15130 {
15131 arg7 = wxString_in_helper(obj6);
15132 if (arg7 == NULL) SWIG_fail;
15133 temp7 = True;
15134 }
15135 }
15136 {
15137 if (!wxPyCheckForApp()) SWIG_fail;
15138 PyThreadState* __tstate = wxPyBeginAllowThreads();
15139 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15140
15141 wxPyEndAllowThreads(__tstate);
15142 if (PyErr_Occurred()) SWIG_fail;
15143 }
15144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15145 {
15146 if (temp3)
15147 delete arg3;
15148 }
15149 {
15150 if (temp7)
15151 delete arg7;
15152 }
15153 return resultobj;
15154 fail:
15155 {
15156 if (temp3)
15157 delete arg3;
15158 }
15159 {
15160 if (temp7)
15161 delete arg7;
15162 }
15163 return NULL;
15164 }
15165
15166
15167 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
15168 PyObject *resultobj;
15169 wxMDIChildFrame *result;
15170 char *kwnames[] = {
15171 NULL
15172 };
15173
15174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15175 {
15176 if (!wxPyCheckForApp()) SWIG_fail;
15177 PyThreadState* __tstate = wxPyBeginAllowThreads();
15178 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15179
15180 wxPyEndAllowThreads(__tstate);
15181 if (PyErr_Occurred()) SWIG_fail;
15182 }
15183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
15184 return resultobj;
15185 fail:
15186 return NULL;
15187 }
15188
15189
15190 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15191 PyObject *resultobj;
15192 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15193 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15194 int arg3 = (int) (int)-1 ;
15195 wxString const &arg4_defvalue = wxPyEmptyString ;
15196 wxString *arg4 = (wxString *) &arg4_defvalue ;
15197 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15198 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15199 wxSize const &arg6_defvalue = wxDefaultSize ;
15200 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15201 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15202 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15203 wxString *arg8 = (wxString *) &arg8_defvalue ;
15204 bool result;
15205 bool temp4 = False ;
15206 wxPoint temp5 ;
15207 wxSize temp6 ;
15208 bool temp8 = False ;
15209 PyObject * obj0 = 0 ;
15210 PyObject * obj1 = 0 ;
15211 PyObject * obj2 = 0 ;
15212 PyObject * obj3 = 0 ;
15213 PyObject * obj4 = 0 ;
15214 PyObject * obj5 = 0 ;
15215 PyObject * obj6 = 0 ;
15216 PyObject * obj7 = 0 ;
15217 char *kwnames[] = {
15218 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15219 };
15220
15221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15226 if (obj2) {
15227 arg3 = (int const) SWIG_AsInt(obj2);
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
15230 if (obj3) {
15231 {
15232 arg4 = wxString_in_helper(obj3);
15233 if (arg4 == NULL) SWIG_fail;
15234 temp4 = True;
15235 }
15236 }
15237 if (obj4) {
15238 {
15239 arg5 = &temp5;
15240 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15241 }
15242 }
15243 if (obj5) {
15244 {
15245 arg6 = &temp6;
15246 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15247 }
15248 }
15249 if (obj6) {
15250 arg7 = (long) SWIG_AsLong(obj6);
15251 if (PyErr_Occurred()) SWIG_fail;
15252 }
15253 if (obj7) {
15254 {
15255 arg8 = wxString_in_helper(obj7);
15256 if (arg8 == NULL) SWIG_fail;
15257 temp8 = True;
15258 }
15259 }
15260 {
15261 PyThreadState* __tstate = wxPyBeginAllowThreads();
15262 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15263
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 {
15268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15269 }
15270 {
15271 if (temp4)
15272 delete arg4;
15273 }
15274 {
15275 if (temp8)
15276 delete arg8;
15277 }
15278 return resultobj;
15279 fail:
15280 {
15281 if (temp4)
15282 delete arg4;
15283 }
15284 {
15285 if (temp8)
15286 delete arg8;
15287 }
15288 return NULL;
15289 }
15290
15291
15292 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
15293 PyObject *resultobj;
15294 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15295 PyObject * obj0 = 0 ;
15296 char *kwnames[] = {
15297 (char *) "self", NULL
15298 };
15299
15300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15303 {
15304 PyThreadState* __tstate = wxPyBeginAllowThreads();
15305 (arg1)->Activate();
15306
15307 wxPyEndAllowThreads(__tstate);
15308 if (PyErr_Occurred()) SWIG_fail;
15309 }
15310 Py_INCREF(Py_None); resultobj = Py_None;
15311 return resultobj;
15312 fail:
15313 return NULL;
15314 }
15315
15316
15317 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15318 PyObject *resultobj;
15319 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15320 bool arg2 ;
15321 PyObject * obj0 = 0 ;
15322 PyObject * obj1 = 0 ;
15323 char *kwnames[] = {
15324 (char *) "self",(char *) "maximize", NULL
15325 };
15326
15327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15330 arg2 = (bool) SWIG_AsBool(obj1);
15331 if (PyErr_Occurred()) SWIG_fail;
15332 {
15333 PyThreadState* __tstate = wxPyBeginAllowThreads();
15334 (arg1)->Maximize(arg2);
15335
15336 wxPyEndAllowThreads(__tstate);
15337 if (PyErr_Occurred()) SWIG_fail;
15338 }
15339 Py_INCREF(Py_None); resultobj = Py_None;
15340 return resultobj;
15341 fail:
15342 return NULL;
15343 }
15344
15345
15346 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15347 PyObject *resultobj;
15348 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15349 PyObject * obj0 = 0 ;
15350 char *kwnames[] = {
15351 (char *) "self", NULL
15352 };
15353
15354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15357 {
15358 PyThreadState* __tstate = wxPyBeginAllowThreads();
15359 (arg1)->Restore();
15360
15361 wxPyEndAllowThreads(__tstate);
15362 if (PyErr_Occurred()) SWIG_fail;
15363 }
15364 Py_INCREF(Py_None); resultobj = Py_None;
15365 return resultobj;
15366 fail:
15367 return NULL;
15368 }
15369
15370
15371 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15372 PyObject *obj;
15373 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15374 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15375 Py_INCREF(obj);
15376 return Py_BuildValue((char *)"");
15377 }
15378 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15379 PyObject *resultobj;
15380 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15381 long arg2 = (long) 0 ;
15382 wxMDIClientWindow *result;
15383 PyObject * obj0 = 0 ;
15384 PyObject * obj1 = 0 ;
15385 char *kwnames[] = {
15386 (char *) "parent",(char *) "style", NULL
15387 };
15388
15389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15392 if (obj1) {
15393 arg2 = (long) SWIG_AsLong(obj1);
15394 if (PyErr_Occurred()) SWIG_fail;
15395 }
15396 {
15397 if (!wxPyCheckForApp()) SWIG_fail;
15398 PyThreadState* __tstate = wxPyBeginAllowThreads();
15399 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15400
15401 wxPyEndAllowThreads(__tstate);
15402 if (PyErr_Occurred()) SWIG_fail;
15403 }
15404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15405 return resultobj;
15406 fail:
15407 return NULL;
15408 }
15409
15410
15411 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15412 PyObject *resultobj;
15413 wxMDIClientWindow *result;
15414 char *kwnames[] = {
15415 NULL
15416 };
15417
15418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15419 {
15420 if (!wxPyCheckForApp()) SWIG_fail;
15421 PyThreadState* __tstate = wxPyBeginAllowThreads();
15422 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15423
15424 wxPyEndAllowThreads(__tstate);
15425 if (PyErr_Occurred()) SWIG_fail;
15426 }
15427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
15428 return resultobj;
15429 fail:
15430 return NULL;
15431 }
15432
15433
15434 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15435 PyObject *resultobj;
15436 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15437 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15438 long arg3 = (long) 0 ;
15439 bool result;
15440 PyObject * obj0 = 0 ;
15441 PyObject * obj1 = 0 ;
15442 PyObject * obj2 = 0 ;
15443 char *kwnames[] = {
15444 (char *) "self",(char *) "parent",(char *) "style", NULL
15445 };
15446
15447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15450 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15452 if (obj2) {
15453 arg3 = (long) SWIG_AsLong(obj2);
15454 if (PyErr_Occurred()) SWIG_fail;
15455 }
15456 {
15457 PyThreadState* __tstate = wxPyBeginAllowThreads();
15458 result = (bool)(arg1)->Create(arg2,arg3);
15459
15460 wxPyEndAllowThreads(__tstate);
15461 if (PyErr_Occurred()) SWIG_fail;
15462 }
15463 {
15464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15465 }
15466 return resultobj;
15467 fail:
15468 return NULL;
15469 }
15470
15471
15472 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15473 PyObject *obj;
15474 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15475 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15476 Py_INCREF(obj);
15477 return Py_BuildValue((char *)"");
15478 }
15479 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15480 PyObject *resultobj;
15481 wxWindow *arg1 = (wxWindow *) 0 ;
15482 int arg2 = (int) (int)-1 ;
15483 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15484 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15485 wxSize const &arg4_defvalue = wxDefaultSize ;
15486 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15487 long arg5 = (long) 0 ;
15488 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15489 wxString *arg6 = (wxString *) &arg6_defvalue ;
15490 wxPyWindow *result;
15491 wxPoint temp3 ;
15492 wxSize temp4 ;
15493 bool temp6 = False ;
15494 PyObject * obj0 = 0 ;
15495 PyObject * obj1 = 0 ;
15496 PyObject * obj2 = 0 ;
15497 PyObject * obj3 = 0 ;
15498 PyObject * obj4 = 0 ;
15499 PyObject * obj5 = 0 ;
15500 char *kwnames[] = {
15501 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15502 };
15503
15504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15507 if (obj1) {
15508 arg2 = (int const) SWIG_AsInt(obj1);
15509 if (PyErr_Occurred()) SWIG_fail;
15510 }
15511 if (obj2) {
15512 {
15513 arg3 = &temp3;
15514 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15515 }
15516 }
15517 if (obj3) {
15518 {
15519 arg4 = &temp4;
15520 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15521 }
15522 }
15523 if (obj4) {
15524 arg5 = (long) SWIG_AsLong(obj4);
15525 if (PyErr_Occurred()) SWIG_fail;
15526 }
15527 if (obj5) {
15528 {
15529 arg6 = wxString_in_helper(obj5);
15530 if (arg6 == NULL) SWIG_fail;
15531 temp6 = True;
15532 }
15533 }
15534 {
15535 if (!wxPyCheckForApp()) SWIG_fail;
15536 PyThreadState* __tstate = wxPyBeginAllowThreads();
15537 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15538
15539 wxPyEndAllowThreads(__tstate);
15540 if (PyErr_Occurred()) SWIG_fail;
15541 }
15542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15543 {
15544 if (temp6)
15545 delete arg6;
15546 }
15547 return resultobj;
15548 fail:
15549 {
15550 if (temp6)
15551 delete arg6;
15552 }
15553 return NULL;
15554 }
15555
15556
15557 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15558 PyObject *resultobj;
15559 wxPyWindow *result;
15560 char *kwnames[] = {
15561 NULL
15562 };
15563
15564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15565 {
15566 if (!wxPyCheckForApp()) SWIG_fail;
15567 PyThreadState* __tstate = wxPyBeginAllowThreads();
15568 result = (wxPyWindow *)new wxPyWindow();
15569
15570 wxPyEndAllowThreads(__tstate);
15571 if (PyErr_Occurred()) SWIG_fail;
15572 }
15573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15574 return resultobj;
15575 fail:
15576 return NULL;
15577 }
15578
15579
15580 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15581 PyObject *resultobj;
15582 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15583 PyObject *arg2 = (PyObject *) 0 ;
15584 PyObject *arg3 = (PyObject *) 0 ;
15585 PyObject * obj0 = 0 ;
15586 PyObject * obj1 = 0 ;
15587 PyObject * obj2 = 0 ;
15588 char *kwnames[] = {
15589 (char *) "self",(char *) "self",(char *) "_class", NULL
15590 };
15591
15592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15595 arg2 = obj1;
15596 arg3 = obj2;
15597 {
15598 PyThreadState* __tstate = wxPyBeginAllowThreads();
15599 (arg1)->_setCallbackInfo(arg2,arg3);
15600
15601 wxPyEndAllowThreads(__tstate);
15602 if (PyErr_Occurred()) SWIG_fail;
15603 }
15604 Py_INCREF(Py_None); resultobj = Py_None;
15605 return resultobj;
15606 fail:
15607 return NULL;
15608 }
15609
15610
15611 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15612 PyObject *resultobj;
15613 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15614 wxSize *arg2 = 0 ;
15615 wxSize temp2 ;
15616 PyObject * obj0 = 0 ;
15617 PyObject * obj1 = 0 ;
15618 char *kwnames[] = {
15619 (char *) "self",(char *) "size", NULL
15620 };
15621
15622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15625 {
15626 arg2 = &temp2;
15627 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15628 }
15629 {
15630 PyThreadState* __tstate = wxPyBeginAllowThreads();
15631 (arg1)->SetBestSize((wxSize const &)*arg2);
15632
15633 wxPyEndAllowThreads(__tstate);
15634 if (PyErr_Occurred()) SWIG_fail;
15635 }
15636 Py_INCREF(Py_None); resultobj = Py_None;
15637 return resultobj;
15638 fail:
15639 return NULL;
15640 }
15641
15642
15643 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15644 PyObject *resultobj;
15645 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15646 int arg2 ;
15647 int arg3 ;
15648 int arg4 ;
15649 int arg5 ;
15650 PyObject * obj0 = 0 ;
15651 PyObject * obj1 = 0 ;
15652 PyObject * obj2 = 0 ;
15653 PyObject * obj3 = 0 ;
15654 PyObject * obj4 = 0 ;
15655 char *kwnames[] = {
15656 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15657 };
15658
15659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15662 arg2 = (int) SWIG_AsInt(obj1);
15663 if (PyErr_Occurred()) SWIG_fail;
15664 arg3 = (int) SWIG_AsInt(obj2);
15665 if (PyErr_Occurred()) SWIG_fail;
15666 arg4 = (int) SWIG_AsInt(obj3);
15667 if (PyErr_Occurred()) SWIG_fail;
15668 arg5 = (int) SWIG_AsInt(obj4);
15669 if (PyErr_Occurred()) SWIG_fail;
15670 {
15671 PyThreadState* __tstate = wxPyBeginAllowThreads();
15672 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15673
15674 wxPyEndAllowThreads(__tstate);
15675 if (PyErr_Occurred()) SWIG_fail;
15676 }
15677 Py_INCREF(Py_None); resultobj = Py_None;
15678 return resultobj;
15679 fail:
15680 return NULL;
15681 }
15682
15683
15684 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15685 PyObject *resultobj;
15686 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15687 int arg2 ;
15688 int arg3 ;
15689 int arg4 ;
15690 int arg5 ;
15691 int arg6 = (int) wxSIZE_AUTO ;
15692 PyObject * obj0 = 0 ;
15693 PyObject * obj1 = 0 ;
15694 PyObject * obj2 = 0 ;
15695 PyObject * obj3 = 0 ;
15696 PyObject * obj4 = 0 ;
15697 PyObject * obj5 = 0 ;
15698 char *kwnames[] = {
15699 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15700 };
15701
15702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15705 arg2 = (int) SWIG_AsInt(obj1);
15706 if (PyErr_Occurred()) SWIG_fail;
15707 arg3 = (int) SWIG_AsInt(obj2);
15708 if (PyErr_Occurred()) SWIG_fail;
15709 arg4 = (int) SWIG_AsInt(obj3);
15710 if (PyErr_Occurred()) SWIG_fail;
15711 arg5 = (int) SWIG_AsInt(obj4);
15712 if (PyErr_Occurred()) SWIG_fail;
15713 if (obj5) {
15714 arg6 = (int) SWIG_AsInt(obj5);
15715 if (PyErr_Occurred()) SWIG_fail;
15716 }
15717 {
15718 PyThreadState* __tstate = wxPyBeginAllowThreads();
15719 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15720
15721 wxPyEndAllowThreads(__tstate);
15722 if (PyErr_Occurred()) SWIG_fail;
15723 }
15724 Py_INCREF(Py_None); resultobj = Py_None;
15725 return resultobj;
15726 fail:
15727 return NULL;
15728 }
15729
15730
15731 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15732 PyObject *resultobj;
15733 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15734 int arg2 ;
15735 int arg3 ;
15736 PyObject * obj0 = 0 ;
15737 PyObject * obj1 = 0 ;
15738 PyObject * obj2 = 0 ;
15739 char *kwnames[] = {
15740 (char *) "self",(char *) "width",(char *) "height", NULL
15741 };
15742
15743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15746 arg2 = (int) SWIG_AsInt(obj1);
15747 if (PyErr_Occurred()) SWIG_fail;
15748 arg3 = (int) SWIG_AsInt(obj2);
15749 if (PyErr_Occurred()) SWIG_fail;
15750 {
15751 PyThreadState* __tstate = wxPyBeginAllowThreads();
15752 (arg1)->base_DoSetClientSize(arg2,arg3);
15753
15754 wxPyEndAllowThreads(__tstate);
15755 if (PyErr_Occurred()) SWIG_fail;
15756 }
15757 Py_INCREF(Py_None); resultobj = Py_None;
15758 return resultobj;
15759 fail:
15760 return NULL;
15761 }
15762
15763
15764 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15765 PyObject *resultobj;
15766 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15767 int arg2 ;
15768 int arg3 ;
15769 PyObject * obj0 = 0 ;
15770 PyObject * obj1 = 0 ;
15771 PyObject * obj2 = 0 ;
15772 char *kwnames[] = {
15773 (char *) "self",(char *) "x",(char *) "y", NULL
15774 };
15775
15776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15779 arg2 = (int) SWIG_AsInt(obj1);
15780 if (PyErr_Occurred()) SWIG_fail;
15781 arg3 = (int) SWIG_AsInt(obj2);
15782 if (PyErr_Occurred()) SWIG_fail;
15783 {
15784 PyThreadState* __tstate = wxPyBeginAllowThreads();
15785 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15786
15787 wxPyEndAllowThreads(__tstate);
15788 if (PyErr_Occurred()) SWIG_fail;
15789 }
15790 Py_INCREF(Py_None); resultobj = Py_None;
15791 return resultobj;
15792 fail:
15793 return NULL;
15794 }
15795
15796
15797 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15798 PyObject *resultobj;
15799 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15800 int *arg2 = (int *) 0 ;
15801 int *arg3 = (int *) 0 ;
15802 int temp2 ;
15803 int temp3 ;
15804 PyObject * obj0 = 0 ;
15805 char *kwnames[] = {
15806 (char *) "self", NULL
15807 };
15808
15809 arg2 = &temp2;
15810 arg3 = &temp3;
15811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15814 {
15815 PyThreadState* __tstate = wxPyBeginAllowThreads();
15816 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15817
15818 wxPyEndAllowThreads(__tstate);
15819 if (PyErr_Occurred()) SWIG_fail;
15820 }
15821 Py_INCREF(Py_None); resultobj = Py_None;
15822 {
15823 PyObject *o = PyInt_FromLong((long) (*arg2));
15824 resultobj = t_output_helper(resultobj,o);
15825 }
15826 {
15827 PyObject *o = PyInt_FromLong((long) (*arg3));
15828 resultobj = t_output_helper(resultobj,o);
15829 }
15830 return resultobj;
15831 fail:
15832 return NULL;
15833 }
15834
15835
15836 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15837 PyObject *resultobj;
15838 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15839 int *arg2 = (int *) 0 ;
15840 int *arg3 = (int *) 0 ;
15841 int temp2 ;
15842 int temp3 ;
15843 PyObject * obj0 = 0 ;
15844 char *kwnames[] = {
15845 (char *) "self", NULL
15846 };
15847
15848 arg2 = &temp2;
15849 arg3 = &temp3;
15850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15853 {
15854 PyThreadState* __tstate = wxPyBeginAllowThreads();
15855 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15856
15857 wxPyEndAllowThreads(__tstate);
15858 if (PyErr_Occurred()) SWIG_fail;
15859 }
15860 Py_INCREF(Py_None); resultobj = Py_None;
15861 {
15862 PyObject *o = PyInt_FromLong((long) (*arg2));
15863 resultobj = t_output_helper(resultobj,o);
15864 }
15865 {
15866 PyObject *o = PyInt_FromLong((long) (*arg3));
15867 resultobj = t_output_helper(resultobj,o);
15868 }
15869 return resultobj;
15870 fail:
15871 return NULL;
15872 }
15873
15874
15875 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15876 PyObject *resultobj;
15877 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15878 int *arg2 = (int *) 0 ;
15879 int *arg3 = (int *) 0 ;
15880 int temp2 ;
15881 int temp3 ;
15882 PyObject * obj0 = 0 ;
15883 char *kwnames[] = {
15884 (char *) "self", NULL
15885 };
15886
15887 arg2 = &temp2;
15888 arg3 = &temp3;
15889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15892 {
15893 PyThreadState* __tstate = wxPyBeginAllowThreads();
15894 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15895
15896 wxPyEndAllowThreads(__tstate);
15897 if (PyErr_Occurred()) SWIG_fail;
15898 }
15899 Py_INCREF(Py_None); resultobj = Py_None;
15900 {
15901 PyObject *o = PyInt_FromLong((long) (*arg2));
15902 resultobj = t_output_helper(resultobj,o);
15903 }
15904 {
15905 PyObject *o = PyInt_FromLong((long) (*arg3));
15906 resultobj = t_output_helper(resultobj,o);
15907 }
15908 return resultobj;
15909 fail:
15910 return NULL;
15911 }
15912
15913
15914 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15915 PyObject *resultobj;
15916 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15917 wxSize result;
15918 PyObject * obj0 = 0 ;
15919 char *kwnames[] = {
15920 (char *) "self", NULL
15921 };
15922
15923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15926 {
15927 PyThreadState* __tstate = wxPyBeginAllowThreads();
15928 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15929
15930 wxPyEndAllowThreads(__tstate);
15931 if (PyErr_Occurred()) SWIG_fail;
15932 }
15933 {
15934 wxSize * resultptr;
15935 resultptr = new wxSize((wxSize &) result);
15936 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15937 }
15938 return resultobj;
15939 fail:
15940 return NULL;
15941 }
15942
15943
15944 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15945 PyObject *resultobj;
15946 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15947 wxSize result;
15948 PyObject * obj0 = 0 ;
15949 char *kwnames[] = {
15950 (char *) "self", NULL
15951 };
15952
15953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15956 {
15957 PyThreadState* __tstate = wxPyBeginAllowThreads();
15958 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15959
15960 wxPyEndAllowThreads(__tstate);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 }
15963 {
15964 wxSize * resultptr;
15965 resultptr = new wxSize((wxSize &) result);
15966 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15967 }
15968 return resultobj;
15969 fail:
15970 return NULL;
15971 }
15972
15973
15974 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15975 PyObject *resultobj;
15976 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15977 PyObject * obj0 = 0 ;
15978 char *kwnames[] = {
15979 (char *) "self", NULL
15980 };
15981
15982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15985 {
15986 PyThreadState* __tstate = wxPyBeginAllowThreads();
15987 (arg1)->base_InitDialog();
15988
15989 wxPyEndAllowThreads(__tstate);
15990 if (PyErr_Occurred()) SWIG_fail;
15991 }
15992 Py_INCREF(Py_None); resultobj = Py_None;
15993 return resultobj;
15994 fail:
15995 return NULL;
15996 }
15997
15998
15999 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16000 PyObject *resultobj;
16001 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16002 bool result;
16003 PyObject * obj0 = 0 ;
16004 char *kwnames[] = {
16005 (char *) "self", NULL
16006 };
16007
16008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16011 {
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 result = (bool)(arg1)->base_TransferDataToWindow();
16014
16015 wxPyEndAllowThreads(__tstate);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 }
16018 {
16019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16020 }
16021 return resultobj;
16022 fail:
16023 return NULL;
16024 }
16025
16026
16027 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16028 PyObject *resultobj;
16029 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16030 bool result;
16031 PyObject * obj0 = 0 ;
16032 char *kwnames[] = {
16033 (char *) "self", NULL
16034 };
16035
16036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16039 {
16040 PyThreadState* __tstate = wxPyBeginAllowThreads();
16041 result = (bool)(arg1)->base_TransferDataFromWindow();
16042
16043 wxPyEndAllowThreads(__tstate);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 }
16046 {
16047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16048 }
16049 return resultobj;
16050 fail:
16051 return NULL;
16052 }
16053
16054
16055 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16056 PyObject *resultobj;
16057 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16058 bool result;
16059 PyObject * obj0 = 0 ;
16060 char *kwnames[] = {
16061 (char *) "self", NULL
16062 };
16063
16064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16067 {
16068 PyThreadState* __tstate = wxPyBeginAllowThreads();
16069 result = (bool)(arg1)->base_Validate();
16070
16071 wxPyEndAllowThreads(__tstate);
16072 if (PyErr_Occurred()) SWIG_fail;
16073 }
16074 {
16075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16076 }
16077 return resultobj;
16078 fail:
16079 return NULL;
16080 }
16081
16082
16083 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16084 PyObject *resultobj;
16085 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16086 bool result;
16087 PyObject * obj0 = 0 ;
16088 char *kwnames[] = {
16089 (char *) "self", NULL
16090 };
16091
16092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16095 {
16096 PyThreadState* __tstate = wxPyBeginAllowThreads();
16097 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16098
16099 wxPyEndAllowThreads(__tstate);
16100 if (PyErr_Occurred()) SWIG_fail;
16101 }
16102 {
16103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16104 }
16105 return resultobj;
16106 fail:
16107 return NULL;
16108 }
16109
16110
16111 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16112 PyObject *resultobj;
16113 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16114 bool result;
16115 PyObject * obj0 = 0 ;
16116 char *kwnames[] = {
16117 (char *) "self", NULL
16118 };
16119
16120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16123 {
16124 PyThreadState* __tstate = wxPyBeginAllowThreads();
16125 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16126
16127 wxPyEndAllowThreads(__tstate);
16128 if (PyErr_Occurred()) SWIG_fail;
16129 }
16130 {
16131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16132 }
16133 return resultobj;
16134 fail:
16135 return NULL;
16136 }
16137
16138
16139 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16140 PyObject *resultobj;
16141 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16142 wxSize result;
16143 PyObject * obj0 = 0 ;
16144 char *kwnames[] = {
16145 (char *) "self", NULL
16146 };
16147
16148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16151 {
16152 PyThreadState* __tstate = wxPyBeginAllowThreads();
16153 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16154
16155 wxPyEndAllowThreads(__tstate);
16156 if (PyErr_Occurred()) SWIG_fail;
16157 }
16158 {
16159 wxSize * resultptr;
16160 resultptr = new wxSize((wxSize &) result);
16161 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16162 }
16163 return resultobj;
16164 fail:
16165 return NULL;
16166 }
16167
16168
16169 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16170 PyObject *resultobj;
16171 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16172 wxWindow *arg2 = (wxWindow *) 0 ;
16173 PyObject * obj0 = 0 ;
16174 PyObject * obj1 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self",(char *) "child", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16182 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16184 {
16185 PyThreadState* __tstate = wxPyBeginAllowThreads();
16186 (arg1)->base_AddChild(arg2);
16187
16188 wxPyEndAllowThreads(__tstate);
16189 if (PyErr_Occurred()) SWIG_fail;
16190 }
16191 Py_INCREF(Py_None); resultobj = Py_None;
16192 return resultobj;
16193 fail:
16194 return NULL;
16195 }
16196
16197
16198 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16199 PyObject *resultobj;
16200 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16201 wxWindow *arg2 = (wxWindow *) 0 ;
16202 PyObject * obj0 = 0 ;
16203 PyObject * obj1 = 0 ;
16204 char *kwnames[] = {
16205 (char *) "self",(char *) "child", NULL
16206 };
16207
16208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16211 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16213 {
16214 PyThreadState* __tstate = wxPyBeginAllowThreads();
16215 (arg1)->base_RemoveChild(arg2);
16216
16217 wxPyEndAllowThreads(__tstate);
16218 if (PyErr_Occurred()) SWIG_fail;
16219 }
16220 Py_INCREF(Py_None); resultobj = Py_None;
16221 return resultobj;
16222 fail:
16223 return NULL;
16224 }
16225
16226
16227 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16228 PyObject *resultobj;
16229 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16230 bool result;
16231 PyObject * obj0 = 0 ;
16232 char *kwnames[] = {
16233 (char *) "self", NULL
16234 };
16235
16236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16239 {
16240 PyThreadState* __tstate = wxPyBeginAllowThreads();
16241 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16242
16243 wxPyEndAllowThreads(__tstate);
16244 if (PyErr_Occurred()) SWIG_fail;
16245 }
16246 {
16247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16248 }
16249 return resultobj;
16250 fail:
16251 return NULL;
16252 }
16253
16254
16255 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16256 PyObject *resultobj;
16257 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16258 wxColour *arg2 = 0 ;
16259 wxColour temp2 ;
16260 PyObject * obj0 = 0 ;
16261 PyObject * obj1 = 0 ;
16262 char *kwnames[] = {
16263 (char *) "self",(char *) "c", NULL
16264 };
16265
16266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16269 {
16270 arg2 = &temp2;
16271 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16272 }
16273 {
16274 PyThreadState* __tstate = wxPyBeginAllowThreads();
16275 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16276
16277 wxPyEndAllowThreads(__tstate);
16278 if (PyErr_Occurred()) SWIG_fail;
16279 }
16280 Py_INCREF(Py_None); resultobj = Py_None;
16281 return resultobj;
16282 fail:
16283 return NULL;
16284 }
16285
16286
16287 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16288 PyObject *resultobj;
16289 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16290 wxVisualAttributes result;
16291 PyObject * obj0 = 0 ;
16292 char *kwnames[] = {
16293 (char *) "self", NULL
16294 };
16295
16296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16299 {
16300 PyThreadState* __tstate = wxPyBeginAllowThreads();
16301 result = (arg1)->base_GetDefaultAttributes();
16302
16303 wxPyEndAllowThreads(__tstate);
16304 if (PyErr_Occurred()) SWIG_fail;
16305 }
16306 {
16307 wxVisualAttributes * resultptr;
16308 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16309 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16310 }
16311 return resultobj;
16312 fail:
16313 return NULL;
16314 }
16315
16316
16317 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
16318 PyObject *obj;
16319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16320 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16321 Py_INCREF(obj);
16322 return Py_BuildValue((char *)"");
16323 }
16324 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16325 PyObject *resultobj;
16326 wxWindow *arg1 = (wxWindow *) 0 ;
16327 int arg2 = (int) (int)-1 ;
16328 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16329 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16330 wxSize const &arg4_defvalue = wxDefaultSize ;
16331 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16332 long arg5 = (long) 0 ;
16333 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16334 wxString *arg6 = (wxString *) &arg6_defvalue ;
16335 wxPyPanel *result;
16336 wxPoint temp3 ;
16337 wxSize temp4 ;
16338 bool temp6 = False ;
16339 PyObject * obj0 = 0 ;
16340 PyObject * obj1 = 0 ;
16341 PyObject * obj2 = 0 ;
16342 PyObject * obj3 = 0 ;
16343 PyObject * obj4 = 0 ;
16344 PyObject * obj5 = 0 ;
16345 char *kwnames[] = {
16346 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16347 };
16348
16349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16352 if (obj1) {
16353 arg2 = (int const) SWIG_AsInt(obj1);
16354 if (PyErr_Occurred()) SWIG_fail;
16355 }
16356 if (obj2) {
16357 {
16358 arg3 = &temp3;
16359 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16360 }
16361 }
16362 if (obj3) {
16363 {
16364 arg4 = &temp4;
16365 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16366 }
16367 }
16368 if (obj4) {
16369 arg5 = (long) SWIG_AsLong(obj4);
16370 if (PyErr_Occurred()) SWIG_fail;
16371 }
16372 if (obj5) {
16373 {
16374 arg6 = wxString_in_helper(obj5);
16375 if (arg6 == NULL) SWIG_fail;
16376 temp6 = True;
16377 }
16378 }
16379 {
16380 if (!wxPyCheckForApp()) SWIG_fail;
16381 PyThreadState* __tstate = wxPyBeginAllowThreads();
16382 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16383
16384 wxPyEndAllowThreads(__tstate);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 }
16387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16388 {
16389 if (temp6)
16390 delete arg6;
16391 }
16392 return resultobj;
16393 fail:
16394 {
16395 if (temp6)
16396 delete arg6;
16397 }
16398 return NULL;
16399 }
16400
16401
16402 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16403 PyObject *resultobj;
16404 wxPyPanel *result;
16405 char *kwnames[] = {
16406 NULL
16407 };
16408
16409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16410 {
16411 if (!wxPyCheckForApp()) SWIG_fail;
16412 PyThreadState* __tstate = wxPyBeginAllowThreads();
16413 result = (wxPyPanel *)new wxPyPanel();
16414
16415 wxPyEndAllowThreads(__tstate);
16416 if (PyErr_Occurred()) SWIG_fail;
16417 }
16418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16419 return resultobj;
16420 fail:
16421 return NULL;
16422 }
16423
16424
16425 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16426 PyObject *resultobj;
16427 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16428 PyObject *arg2 = (PyObject *) 0 ;
16429 PyObject *arg3 = (PyObject *) 0 ;
16430 PyObject * obj0 = 0 ;
16431 PyObject * obj1 = 0 ;
16432 PyObject * obj2 = 0 ;
16433 char *kwnames[] = {
16434 (char *) "self",(char *) "self",(char *) "_class", NULL
16435 };
16436
16437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16440 arg2 = obj1;
16441 arg3 = obj2;
16442 {
16443 PyThreadState* __tstate = wxPyBeginAllowThreads();
16444 (arg1)->_setCallbackInfo(arg2,arg3);
16445
16446 wxPyEndAllowThreads(__tstate);
16447 if (PyErr_Occurred()) SWIG_fail;
16448 }
16449 Py_INCREF(Py_None); resultobj = Py_None;
16450 return resultobj;
16451 fail:
16452 return NULL;
16453 }
16454
16455
16456 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16457 PyObject *resultobj;
16458 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16459 wxSize *arg2 = 0 ;
16460 wxSize temp2 ;
16461 PyObject * obj0 = 0 ;
16462 PyObject * obj1 = 0 ;
16463 char *kwnames[] = {
16464 (char *) "self",(char *) "size", NULL
16465 };
16466
16467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16470 {
16471 arg2 = &temp2;
16472 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16473 }
16474 {
16475 PyThreadState* __tstate = wxPyBeginAllowThreads();
16476 (arg1)->SetBestSize((wxSize const &)*arg2);
16477
16478 wxPyEndAllowThreads(__tstate);
16479 if (PyErr_Occurred()) SWIG_fail;
16480 }
16481 Py_INCREF(Py_None); resultobj = Py_None;
16482 return resultobj;
16483 fail:
16484 return NULL;
16485 }
16486
16487
16488 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16489 PyObject *resultobj;
16490 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16491 int arg2 ;
16492 int arg3 ;
16493 int arg4 ;
16494 int arg5 ;
16495 PyObject * obj0 = 0 ;
16496 PyObject * obj1 = 0 ;
16497 PyObject * obj2 = 0 ;
16498 PyObject * obj3 = 0 ;
16499 PyObject * obj4 = 0 ;
16500 char *kwnames[] = {
16501 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16502 };
16503
16504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16507 arg2 = (int) SWIG_AsInt(obj1);
16508 if (PyErr_Occurred()) SWIG_fail;
16509 arg3 = (int) SWIG_AsInt(obj2);
16510 if (PyErr_Occurred()) SWIG_fail;
16511 arg4 = (int) SWIG_AsInt(obj3);
16512 if (PyErr_Occurred()) SWIG_fail;
16513 arg5 = (int) SWIG_AsInt(obj4);
16514 if (PyErr_Occurred()) SWIG_fail;
16515 {
16516 PyThreadState* __tstate = wxPyBeginAllowThreads();
16517 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16518
16519 wxPyEndAllowThreads(__tstate);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 Py_INCREF(Py_None); resultobj = Py_None;
16523 return resultobj;
16524 fail:
16525 return NULL;
16526 }
16527
16528
16529 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16530 PyObject *resultobj;
16531 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16532 int arg2 ;
16533 int arg3 ;
16534 int arg4 ;
16535 int arg5 ;
16536 int arg6 = (int) wxSIZE_AUTO ;
16537 PyObject * obj0 = 0 ;
16538 PyObject * obj1 = 0 ;
16539 PyObject * obj2 = 0 ;
16540 PyObject * obj3 = 0 ;
16541 PyObject * obj4 = 0 ;
16542 PyObject * obj5 = 0 ;
16543 char *kwnames[] = {
16544 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16545 };
16546
16547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16550 arg2 = (int) SWIG_AsInt(obj1);
16551 if (PyErr_Occurred()) SWIG_fail;
16552 arg3 = (int) SWIG_AsInt(obj2);
16553 if (PyErr_Occurred()) SWIG_fail;
16554 arg4 = (int) SWIG_AsInt(obj3);
16555 if (PyErr_Occurred()) SWIG_fail;
16556 arg5 = (int) SWIG_AsInt(obj4);
16557 if (PyErr_Occurred()) SWIG_fail;
16558 if (obj5) {
16559 arg6 = (int) SWIG_AsInt(obj5);
16560 if (PyErr_Occurred()) SWIG_fail;
16561 }
16562 {
16563 PyThreadState* __tstate = wxPyBeginAllowThreads();
16564 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16565
16566 wxPyEndAllowThreads(__tstate);
16567 if (PyErr_Occurred()) SWIG_fail;
16568 }
16569 Py_INCREF(Py_None); resultobj = Py_None;
16570 return resultobj;
16571 fail:
16572 return NULL;
16573 }
16574
16575
16576 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16577 PyObject *resultobj;
16578 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16579 int arg2 ;
16580 int arg3 ;
16581 PyObject * obj0 = 0 ;
16582 PyObject * obj1 = 0 ;
16583 PyObject * obj2 = 0 ;
16584 char *kwnames[] = {
16585 (char *) "self",(char *) "width",(char *) "height", NULL
16586 };
16587
16588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16591 arg2 = (int) SWIG_AsInt(obj1);
16592 if (PyErr_Occurred()) SWIG_fail;
16593 arg3 = (int) SWIG_AsInt(obj2);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 {
16596 PyThreadState* __tstate = wxPyBeginAllowThreads();
16597 (arg1)->base_DoSetClientSize(arg2,arg3);
16598
16599 wxPyEndAllowThreads(__tstate);
16600 if (PyErr_Occurred()) SWIG_fail;
16601 }
16602 Py_INCREF(Py_None); resultobj = Py_None;
16603 return resultobj;
16604 fail:
16605 return NULL;
16606 }
16607
16608
16609 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16610 PyObject *resultobj;
16611 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16612 int arg2 ;
16613 int arg3 ;
16614 PyObject * obj0 = 0 ;
16615 PyObject * obj1 = 0 ;
16616 PyObject * obj2 = 0 ;
16617 char *kwnames[] = {
16618 (char *) "self",(char *) "x",(char *) "y", NULL
16619 };
16620
16621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16624 arg2 = (int) SWIG_AsInt(obj1);
16625 if (PyErr_Occurred()) SWIG_fail;
16626 arg3 = (int) SWIG_AsInt(obj2);
16627 if (PyErr_Occurred()) SWIG_fail;
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16631
16632 wxPyEndAllowThreads(__tstate);
16633 if (PyErr_Occurred()) SWIG_fail;
16634 }
16635 Py_INCREF(Py_None); resultobj = Py_None;
16636 return resultobj;
16637 fail:
16638 return NULL;
16639 }
16640
16641
16642 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16643 PyObject *resultobj;
16644 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16645 int *arg2 = (int *) 0 ;
16646 int *arg3 = (int *) 0 ;
16647 int temp2 ;
16648 int temp3 ;
16649 PyObject * obj0 = 0 ;
16650 char *kwnames[] = {
16651 (char *) "self", NULL
16652 };
16653
16654 arg2 = &temp2;
16655 arg3 = &temp3;
16656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16659 {
16660 PyThreadState* __tstate = wxPyBeginAllowThreads();
16661 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16662
16663 wxPyEndAllowThreads(__tstate);
16664 if (PyErr_Occurred()) SWIG_fail;
16665 }
16666 Py_INCREF(Py_None); resultobj = Py_None;
16667 {
16668 PyObject *o = PyInt_FromLong((long) (*arg2));
16669 resultobj = t_output_helper(resultobj,o);
16670 }
16671 {
16672 PyObject *o = PyInt_FromLong((long) (*arg3));
16673 resultobj = t_output_helper(resultobj,o);
16674 }
16675 return resultobj;
16676 fail:
16677 return NULL;
16678 }
16679
16680
16681 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16682 PyObject *resultobj;
16683 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16684 int *arg2 = (int *) 0 ;
16685 int *arg3 = (int *) 0 ;
16686 int temp2 ;
16687 int temp3 ;
16688 PyObject * obj0 = 0 ;
16689 char *kwnames[] = {
16690 (char *) "self", NULL
16691 };
16692
16693 arg2 = &temp2;
16694 arg3 = &temp3;
16695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16698 {
16699 PyThreadState* __tstate = wxPyBeginAllowThreads();
16700 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16701
16702 wxPyEndAllowThreads(__tstate);
16703 if (PyErr_Occurred()) SWIG_fail;
16704 }
16705 Py_INCREF(Py_None); resultobj = Py_None;
16706 {
16707 PyObject *o = PyInt_FromLong((long) (*arg2));
16708 resultobj = t_output_helper(resultobj,o);
16709 }
16710 {
16711 PyObject *o = PyInt_FromLong((long) (*arg3));
16712 resultobj = t_output_helper(resultobj,o);
16713 }
16714 return resultobj;
16715 fail:
16716 return NULL;
16717 }
16718
16719
16720 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16721 PyObject *resultobj;
16722 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16723 int *arg2 = (int *) 0 ;
16724 int *arg3 = (int *) 0 ;
16725 int temp2 ;
16726 int temp3 ;
16727 PyObject * obj0 = 0 ;
16728 char *kwnames[] = {
16729 (char *) "self", NULL
16730 };
16731
16732 arg2 = &temp2;
16733 arg3 = &temp3;
16734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16737 {
16738 PyThreadState* __tstate = wxPyBeginAllowThreads();
16739 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16740
16741 wxPyEndAllowThreads(__tstate);
16742 if (PyErr_Occurred()) SWIG_fail;
16743 }
16744 Py_INCREF(Py_None); resultobj = Py_None;
16745 {
16746 PyObject *o = PyInt_FromLong((long) (*arg2));
16747 resultobj = t_output_helper(resultobj,o);
16748 }
16749 {
16750 PyObject *o = PyInt_FromLong((long) (*arg3));
16751 resultobj = t_output_helper(resultobj,o);
16752 }
16753 return resultobj;
16754 fail:
16755 return NULL;
16756 }
16757
16758
16759 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16760 PyObject *resultobj;
16761 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16762 wxSize result;
16763 PyObject * obj0 = 0 ;
16764 char *kwnames[] = {
16765 (char *) "self", NULL
16766 };
16767
16768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16771 {
16772 PyThreadState* __tstate = wxPyBeginAllowThreads();
16773 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16774
16775 wxPyEndAllowThreads(__tstate);
16776 if (PyErr_Occurred()) SWIG_fail;
16777 }
16778 {
16779 wxSize * resultptr;
16780 resultptr = new wxSize((wxSize &) result);
16781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16782 }
16783 return resultobj;
16784 fail:
16785 return NULL;
16786 }
16787
16788
16789 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16790 PyObject *resultobj;
16791 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16792 wxSize result;
16793 PyObject * obj0 = 0 ;
16794 char *kwnames[] = {
16795 (char *) "self", NULL
16796 };
16797
16798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16801 {
16802 PyThreadState* __tstate = wxPyBeginAllowThreads();
16803 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16804
16805 wxPyEndAllowThreads(__tstate);
16806 if (PyErr_Occurred()) SWIG_fail;
16807 }
16808 {
16809 wxSize * resultptr;
16810 resultptr = new wxSize((wxSize &) result);
16811 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16812 }
16813 return resultobj;
16814 fail:
16815 return NULL;
16816 }
16817
16818
16819 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16820 PyObject *resultobj;
16821 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16822 PyObject * obj0 = 0 ;
16823 char *kwnames[] = {
16824 (char *) "self", NULL
16825 };
16826
16827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16830 {
16831 PyThreadState* __tstate = wxPyBeginAllowThreads();
16832 (arg1)->base_InitDialog();
16833
16834 wxPyEndAllowThreads(__tstate);
16835 if (PyErr_Occurred()) SWIG_fail;
16836 }
16837 Py_INCREF(Py_None); resultobj = Py_None;
16838 return resultobj;
16839 fail:
16840 return NULL;
16841 }
16842
16843
16844 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16845 PyObject *resultobj;
16846 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16847 bool result;
16848 PyObject * obj0 = 0 ;
16849 char *kwnames[] = {
16850 (char *) "self", NULL
16851 };
16852
16853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16856 {
16857 PyThreadState* __tstate = wxPyBeginAllowThreads();
16858 result = (bool)(arg1)->base_TransferDataToWindow();
16859
16860 wxPyEndAllowThreads(__tstate);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 }
16863 {
16864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16865 }
16866 return resultobj;
16867 fail:
16868 return NULL;
16869 }
16870
16871
16872 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16873 PyObject *resultobj;
16874 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16875 bool result;
16876 PyObject * obj0 = 0 ;
16877 char *kwnames[] = {
16878 (char *) "self", NULL
16879 };
16880
16881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16884 {
16885 PyThreadState* __tstate = wxPyBeginAllowThreads();
16886 result = (bool)(arg1)->base_TransferDataFromWindow();
16887
16888 wxPyEndAllowThreads(__tstate);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 }
16891 {
16892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16893 }
16894 return resultobj;
16895 fail:
16896 return NULL;
16897 }
16898
16899
16900 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16901 PyObject *resultobj;
16902 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16903 bool result;
16904 PyObject * obj0 = 0 ;
16905 char *kwnames[] = {
16906 (char *) "self", NULL
16907 };
16908
16909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16912 {
16913 PyThreadState* __tstate = wxPyBeginAllowThreads();
16914 result = (bool)(arg1)->base_Validate();
16915
16916 wxPyEndAllowThreads(__tstate);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 }
16919 {
16920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16921 }
16922 return resultobj;
16923 fail:
16924 return NULL;
16925 }
16926
16927
16928 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16929 PyObject *resultobj;
16930 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16931 bool result;
16932 PyObject * obj0 = 0 ;
16933 char *kwnames[] = {
16934 (char *) "self", NULL
16935 };
16936
16937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16940 {
16941 PyThreadState* __tstate = wxPyBeginAllowThreads();
16942 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16943
16944 wxPyEndAllowThreads(__tstate);
16945 if (PyErr_Occurred()) SWIG_fail;
16946 }
16947 {
16948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16949 }
16950 return resultobj;
16951 fail:
16952 return NULL;
16953 }
16954
16955
16956 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16957 PyObject *resultobj;
16958 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16959 bool result;
16960 PyObject * obj0 = 0 ;
16961 char *kwnames[] = {
16962 (char *) "self", NULL
16963 };
16964
16965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16968 {
16969 PyThreadState* __tstate = wxPyBeginAllowThreads();
16970 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16971
16972 wxPyEndAllowThreads(__tstate);
16973 if (PyErr_Occurred()) SWIG_fail;
16974 }
16975 {
16976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16977 }
16978 return resultobj;
16979 fail:
16980 return NULL;
16981 }
16982
16983
16984 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16985 PyObject *resultobj;
16986 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16987 wxSize result;
16988 PyObject * obj0 = 0 ;
16989 char *kwnames[] = {
16990 (char *) "self", NULL
16991 };
16992
16993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16996 {
16997 PyThreadState* __tstate = wxPyBeginAllowThreads();
16998 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16999
17000 wxPyEndAllowThreads(__tstate);
17001 if (PyErr_Occurred()) SWIG_fail;
17002 }
17003 {
17004 wxSize * resultptr;
17005 resultptr = new wxSize((wxSize &) result);
17006 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17007 }
17008 return resultobj;
17009 fail:
17010 return NULL;
17011 }
17012
17013
17014 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17015 PyObject *resultobj;
17016 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17017 wxWindow *arg2 = (wxWindow *) 0 ;
17018 PyObject * obj0 = 0 ;
17019 PyObject * obj1 = 0 ;
17020 char *kwnames[] = {
17021 (char *) "self",(char *) "child", NULL
17022 };
17023
17024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17029 {
17030 PyThreadState* __tstate = wxPyBeginAllowThreads();
17031 (arg1)->base_AddChild(arg2);
17032
17033 wxPyEndAllowThreads(__tstate);
17034 if (PyErr_Occurred()) SWIG_fail;
17035 }
17036 Py_INCREF(Py_None); resultobj = Py_None;
17037 return resultobj;
17038 fail:
17039 return NULL;
17040 }
17041
17042
17043 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17044 PyObject *resultobj;
17045 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17046 wxWindow *arg2 = (wxWindow *) 0 ;
17047 PyObject * obj0 = 0 ;
17048 PyObject * obj1 = 0 ;
17049 char *kwnames[] = {
17050 (char *) "self",(char *) "child", NULL
17051 };
17052
17053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17056 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17058 {
17059 PyThreadState* __tstate = wxPyBeginAllowThreads();
17060 (arg1)->base_RemoveChild(arg2);
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_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17073 PyObject *resultobj;
17074 wxPyPanel *arg1 = (wxPyPanel *) 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:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17084 {
17085 PyThreadState* __tstate = wxPyBeginAllowThreads();
17086 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
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_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17101 PyObject *resultobj;
17102 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17103 wxColour *arg2 = 0 ;
17104 wxColour temp2 ;
17105 PyObject * obj0 = 0 ;
17106 PyObject * obj1 = 0 ;
17107 char *kwnames[] = {
17108 (char *) "self",(char *) "c", NULL
17109 };
17110
17111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17114 {
17115 arg2 = &temp2;
17116 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17117 }
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 Py_INCREF(Py_None); resultobj = Py_None;
17126 return resultobj;
17127 fail:
17128 return NULL;
17129 }
17130
17131
17132 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17133 PyObject *resultobj;
17134 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17135 wxVisualAttributes result;
17136 PyObject * obj0 = 0 ;
17137 char *kwnames[] = {
17138 (char *) "self", NULL
17139 };
17140
17141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17144 {
17145 PyThreadState* __tstate = wxPyBeginAllowThreads();
17146 result = (arg1)->base_GetDefaultAttributes();
17147
17148 wxPyEndAllowThreads(__tstate);
17149 if (PyErr_Occurred()) SWIG_fail;
17150 }
17151 {
17152 wxVisualAttributes * resultptr;
17153 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17154 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17155 }
17156 return resultobj;
17157 fail:
17158 return NULL;
17159 }
17160
17161
17162 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
17163 PyObject *obj;
17164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17165 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17166 Py_INCREF(obj);
17167 return Py_BuildValue((char *)"");
17168 }
17169 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17170 PyObject *resultobj;
17171 wxWindow *arg1 = (wxWindow *) 0 ;
17172 int arg2 = (int) (int)-1 ;
17173 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17174 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17175 wxSize const &arg4_defvalue = wxDefaultSize ;
17176 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17177 long arg5 = (long) 0 ;
17178 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17179 wxString *arg6 = (wxString *) &arg6_defvalue ;
17180 wxPyScrolledWindow *result;
17181 wxPoint temp3 ;
17182 wxSize temp4 ;
17183 bool temp6 = False ;
17184 PyObject * obj0 = 0 ;
17185 PyObject * obj1 = 0 ;
17186 PyObject * obj2 = 0 ;
17187 PyObject * obj3 = 0 ;
17188 PyObject * obj4 = 0 ;
17189 PyObject * obj5 = 0 ;
17190 char *kwnames[] = {
17191 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17192 };
17193
17194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17197 if (obj1) {
17198 arg2 = (int const) SWIG_AsInt(obj1);
17199 if (PyErr_Occurred()) SWIG_fail;
17200 }
17201 if (obj2) {
17202 {
17203 arg3 = &temp3;
17204 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17205 }
17206 }
17207 if (obj3) {
17208 {
17209 arg4 = &temp4;
17210 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17211 }
17212 }
17213 if (obj4) {
17214 arg5 = (long) SWIG_AsLong(obj4);
17215 if (PyErr_Occurred()) SWIG_fail;
17216 }
17217 if (obj5) {
17218 {
17219 arg6 = wxString_in_helper(obj5);
17220 if (arg6 == NULL) SWIG_fail;
17221 temp6 = True;
17222 }
17223 }
17224 {
17225 if (!wxPyCheckForApp()) SWIG_fail;
17226 PyThreadState* __tstate = wxPyBeginAllowThreads();
17227 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17228
17229 wxPyEndAllowThreads(__tstate);
17230 if (PyErr_Occurred()) SWIG_fail;
17231 }
17232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17233 {
17234 if (temp6)
17235 delete arg6;
17236 }
17237 return resultobj;
17238 fail:
17239 {
17240 if (temp6)
17241 delete arg6;
17242 }
17243 return NULL;
17244 }
17245
17246
17247 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17248 PyObject *resultobj;
17249 wxPyScrolledWindow *result;
17250 char *kwnames[] = {
17251 NULL
17252 };
17253
17254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17255 {
17256 if (!wxPyCheckForApp()) SWIG_fail;
17257 PyThreadState* __tstate = wxPyBeginAllowThreads();
17258 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17259
17260 wxPyEndAllowThreads(__tstate);
17261 if (PyErr_Occurred()) SWIG_fail;
17262 }
17263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17264 return resultobj;
17265 fail:
17266 return NULL;
17267 }
17268
17269
17270 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17271 PyObject *resultobj;
17272 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17273 PyObject *arg2 = (PyObject *) 0 ;
17274 PyObject *arg3 = (PyObject *) 0 ;
17275 PyObject * obj0 = 0 ;
17276 PyObject * obj1 = 0 ;
17277 PyObject * obj2 = 0 ;
17278 char *kwnames[] = {
17279 (char *) "self",(char *) "self",(char *) "_class", NULL
17280 };
17281
17282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17285 arg2 = obj1;
17286 arg3 = obj2;
17287 {
17288 PyThreadState* __tstate = wxPyBeginAllowThreads();
17289 (arg1)->_setCallbackInfo(arg2,arg3);
17290
17291 wxPyEndAllowThreads(__tstate);
17292 if (PyErr_Occurred()) SWIG_fail;
17293 }
17294 Py_INCREF(Py_None); resultobj = Py_None;
17295 return resultobj;
17296 fail:
17297 return NULL;
17298 }
17299
17300
17301 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17302 PyObject *resultobj;
17303 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17304 wxSize *arg2 = 0 ;
17305 wxSize temp2 ;
17306 PyObject * obj0 = 0 ;
17307 PyObject * obj1 = 0 ;
17308 char *kwnames[] = {
17309 (char *) "self",(char *) "size", NULL
17310 };
17311
17312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17315 {
17316 arg2 = &temp2;
17317 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17318 }
17319 {
17320 PyThreadState* __tstate = wxPyBeginAllowThreads();
17321 (arg1)->SetBestSize((wxSize const &)*arg2);
17322
17323 wxPyEndAllowThreads(__tstate);
17324 if (PyErr_Occurred()) SWIG_fail;
17325 }
17326 Py_INCREF(Py_None); resultobj = Py_None;
17327 return resultobj;
17328 fail:
17329 return NULL;
17330 }
17331
17332
17333 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17334 PyObject *resultobj;
17335 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17336 int arg2 ;
17337 int arg3 ;
17338 int arg4 ;
17339 int arg5 ;
17340 PyObject * obj0 = 0 ;
17341 PyObject * obj1 = 0 ;
17342 PyObject * obj2 = 0 ;
17343 PyObject * obj3 = 0 ;
17344 PyObject * obj4 = 0 ;
17345 char *kwnames[] = {
17346 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17347 };
17348
17349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17352 arg2 = (int) SWIG_AsInt(obj1);
17353 if (PyErr_Occurred()) SWIG_fail;
17354 arg3 = (int) SWIG_AsInt(obj2);
17355 if (PyErr_Occurred()) SWIG_fail;
17356 arg4 = (int) SWIG_AsInt(obj3);
17357 if (PyErr_Occurred()) SWIG_fail;
17358 arg5 = (int) SWIG_AsInt(obj4);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 {
17361 PyThreadState* __tstate = wxPyBeginAllowThreads();
17362 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17363
17364 wxPyEndAllowThreads(__tstate);
17365 if (PyErr_Occurred()) SWIG_fail;
17366 }
17367 Py_INCREF(Py_None); resultobj = Py_None;
17368 return resultobj;
17369 fail:
17370 return NULL;
17371 }
17372
17373
17374 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17375 PyObject *resultobj;
17376 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17377 int arg2 ;
17378 int arg3 ;
17379 int arg4 ;
17380 int arg5 ;
17381 int arg6 = (int) wxSIZE_AUTO ;
17382 PyObject * obj0 = 0 ;
17383 PyObject * obj1 = 0 ;
17384 PyObject * obj2 = 0 ;
17385 PyObject * obj3 = 0 ;
17386 PyObject * obj4 = 0 ;
17387 PyObject * obj5 = 0 ;
17388 char *kwnames[] = {
17389 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17390 };
17391
17392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17395 arg2 = (int) SWIG_AsInt(obj1);
17396 if (PyErr_Occurred()) SWIG_fail;
17397 arg3 = (int) SWIG_AsInt(obj2);
17398 if (PyErr_Occurred()) SWIG_fail;
17399 arg4 = (int) SWIG_AsInt(obj3);
17400 if (PyErr_Occurred()) SWIG_fail;
17401 arg5 = (int) SWIG_AsInt(obj4);
17402 if (PyErr_Occurred()) SWIG_fail;
17403 if (obj5) {
17404 arg6 = (int) SWIG_AsInt(obj5);
17405 if (PyErr_Occurred()) SWIG_fail;
17406 }
17407 {
17408 PyThreadState* __tstate = wxPyBeginAllowThreads();
17409 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17410
17411 wxPyEndAllowThreads(__tstate);
17412 if (PyErr_Occurred()) SWIG_fail;
17413 }
17414 Py_INCREF(Py_None); resultobj = Py_None;
17415 return resultobj;
17416 fail:
17417 return NULL;
17418 }
17419
17420
17421 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17422 PyObject *resultobj;
17423 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17424 int arg2 ;
17425 int arg3 ;
17426 PyObject * obj0 = 0 ;
17427 PyObject * obj1 = 0 ;
17428 PyObject * obj2 = 0 ;
17429 char *kwnames[] = {
17430 (char *) "self",(char *) "width",(char *) "height", NULL
17431 };
17432
17433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17436 arg2 = (int) SWIG_AsInt(obj1);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 arg3 = (int) SWIG_AsInt(obj2);
17439 if (PyErr_Occurred()) SWIG_fail;
17440 {
17441 PyThreadState* __tstate = wxPyBeginAllowThreads();
17442 (arg1)->base_DoSetClientSize(arg2,arg3);
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_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17455 PyObject *resultobj;
17456 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17457 int arg2 ;
17458 int arg3 ;
17459 PyObject * obj0 = 0 ;
17460 PyObject * obj1 = 0 ;
17461 PyObject * obj2 = 0 ;
17462 char *kwnames[] = {
17463 (char *) "self",(char *) "x",(char *) "y", NULL
17464 };
17465
17466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17469 arg2 = (int) SWIG_AsInt(obj1);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 arg3 = (int) SWIG_AsInt(obj2);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 {
17474 PyThreadState* __tstate = wxPyBeginAllowThreads();
17475 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17476
17477 wxPyEndAllowThreads(__tstate);
17478 if (PyErr_Occurred()) SWIG_fail;
17479 }
17480 Py_INCREF(Py_None); resultobj = Py_None;
17481 return resultobj;
17482 fail:
17483 return NULL;
17484 }
17485
17486
17487 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17488 PyObject *resultobj;
17489 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17490 int *arg2 = (int *) 0 ;
17491 int *arg3 = (int *) 0 ;
17492 int temp2 ;
17493 int temp3 ;
17494 PyObject * obj0 = 0 ;
17495 char *kwnames[] = {
17496 (char *) "self", NULL
17497 };
17498
17499 arg2 = &temp2;
17500 arg3 = &temp3;
17501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17504 {
17505 PyThreadState* __tstate = wxPyBeginAllowThreads();
17506 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17507
17508 wxPyEndAllowThreads(__tstate);
17509 if (PyErr_Occurred()) SWIG_fail;
17510 }
17511 Py_INCREF(Py_None); resultobj = Py_None;
17512 {
17513 PyObject *o = PyInt_FromLong((long) (*arg2));
17514 resultobj = t_output_helper(resultobj,o);
17515 }
17516 {
17517 PyObject *o = PyInt_FromLong((long) (*arg3));
17518 resultobj = t_output_helper(resultobj,o);
17519 }
17520 return resultobj;
17521 fail:
17522 return NULL;
17523 }
17524
17525
17526 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17527 PyObject *resultobj;
17528 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17529 int *arg2 = (int *) 0 ;
17530 int *arg3 = (int *) 0 ;
17531 int temp2 ;
17532 int temp3 ;
17533 PyObject * obj0 = 0 ;
17534 char *kwnames[] = {
17535 (char *) "self", NULL
17536 };
17537
17538 arg2 = &temp2;
17539 arg3 = &temp3;
17540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17543 {
17544 PyThreadState* __tstate = wxPyBeginAllowThreads();
17545 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17546
17547 wxPyEndAllowThreads(__tstate);
17548 if (PyErr_Occurred()) SWIG_fail;
17549 }
17550 Py_INCREF(Py_None); resultobj = Py_None;
17551 {
17552 PyObject *o = PyInt_FromLong((long) (*arg2));
17553 resultobj = t_output_helper(resultobj,o);
17554 }
17555 {
17556 PyObject *o = PyInt_FromLong((long) (*arg3));
17557 resultobj = t_output_helper(resultobj,o);
17558 }
17559 return resultobj;
17560 fail:
17561 return NULL;
17562 }
17563
17564
17565 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17566 PyObject *resultobj;
17567 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17568 int *arg2 = (int *) 0 ;
17569 int *arg3 = (int *) 0 ;
17570 int temp2 ;
17571 int temp3 ;
17572 PyObject * obj0 = 0 ;
17573 char *kwnames[] = {
17574 (char *) "self", NULL
17575 };
17576
17577 arg2 = &temp2;
17578 arg3 = &temp3;
17579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17582 {
17583 PyThreadState* __tstate = wxPyBeginAllowThreads();
17584 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17585
17586 wxPyEndAllowThreads(__tstate);
17587 if (PyErr_Occurred()) SWIG_fail;
17588 }
17589 Py_INCREF(Py_None); resultobj = Py_None;
17590 {
17591 PyObject *o = PyInt_FromLong((long) (*arg2));
17592 resultobj = t_output_helper(resultobj,o);
17593 }
17594 {
17595 PyObject *o = PyInt_FromLong((long) (*arg3));
17596 resultobj = t_output_helper(resultobj,o);
17597 }
17598 return resultobj;
17599 fail:
17600 return NULL;
17601 }
17602
17603
17604 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17605 PyObject *resultobj;
17606 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17607 wxSize result;
17608 PyObject * obj0 = 0 ;
17609 char *kwnames[] = {
17610 (char *) "self", NULL
17611 };
17612
17613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17616 {
17617 PyThreadState* __tstate = wxPyBeginAllowThreads();
17618 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17619
17620 wxPyEndAllowThreads(__tstate);
17621 if (PyErr_Occurred()) SWIG_fail;
17622 }
17623 {
17624 wxSize * resultptr;
17625 resultptr = new wxSize((wxSize &) result);
17626 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17627 }
17628 return resultobj;
17629 fail:
17630 return NULL;
17631 }
17632
17633
17634 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17635 PyObject *resultobj;
17636 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17637 wxSize result;
17638 PyObject * obj0 = 0 ;
17639 char *kwnames[] = {
17640 (char *) "self", NULL
17641 };
17642
17643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17646 {
17647 PyThreadState* __tstate = wxPyBeginAllowThreads();
17648 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17649
17650 wxPyEndAllowThreads(__tstate);
17651 if (PyErr_Occurred()) SWIG_fail;
17652 }
17653 {
17654 wxSize * resultptr;
17655 resultptr = new wxSize((wxSize &) result);
17656 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17657 }
17658 return resultobj;
17659 fail:
17660 return NULL;
17661 }
17662
17663
17664 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17665 PyObject *resultobj;
17666 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17667 PyObject * obj0 = 0 ;
17668 char *kwnames[] = {
17669 (char *) "self", NULL
17670 };
17671
17672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17675 {
17676 PyThreadState* __tstate = wxPyBeginAllowThreads();
17677 (arg1)->base_InitDialog();
17678
17679 wxPyEndAllowThreads(__tstate);
17680 if (PyErr_Occurred()) SWIG_fail;
17681 }
17682 Py_INCREF(Py_None); resultobj = Py_None;
17683 return resultobj;
17684 fail:
17685 return NULL;
17686 }
17687
17688
17689 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17690 PyObject *resultobj;
17691 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17692 bool result;
17693 PyObject * obj0 = 0 ;
17694 char *kwnames[] = {
17695 (char *) "self", NULL
17696 };
17697
17698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17701 {
17702 PyThreadState* __tstate = wxPyBeginAllowThreads();
17703 result = (bool)(arg1)->base_TransferDataToWindow();
17704
17705 wxPyEndAllowThreads(__tstate);
17706 if (PyErr_Occurred()) SWIG_fail;
17707 }
17708 {
17709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17710 }
17711 return resultobj;
17712 fail:
17713 return NULL;
17714 }
17715
17716
17717 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17718 PyObject *resultobj;
17719 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17720 bool result;
17721 PyObject * obj0 = 0 ;
17722 char *kwnames[] = {
17723 (char *) "self", NULL
17724 };
17725
17726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17729 {
17730 PyThreadState* __tstate = wxPyBeginAllowThreads();
17731 result = (bool)(arg1)->base_TransferDataFromWindow();
17732
17733 wxPyEndAllowThreads(__tstate);
17734 if (PyErr_Occurred()) SWIG_fail;
17735 }
17736 {
17737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17738 }
17739 return resultobj;
17740 fail:
17741 return NULL;
17742 }
17743
17744
17745 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17746 PyObject *resultobj;
17747 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17748 bool result;
17749 PyObject * obj0 = 0 ;
17750 char *kwnames[] = {
17751 (char *) "self", NULL
17752 };
17753
17754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17757 {
17758 PyThreadState* __tstate = wxPyBeginAllowThreads();
17759 result = (bool)(arg1)->base_Validate();
17760
17761 wxPyEndAllowThreads(__tstate);
17762 if (PyErr_Occurred()) SWIG_fail;
17763 }
17764 {
17765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17766 }
17767 return resultobj;
17768 fail:
17769 return NULL;
17770 }
17771
17772
17773 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17774 PyObject *resultobj;
17775 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17776 bool result;
17777 PyObject * obj0 = 0 ;
17778 char *kwnames[] = {
17779 (char *) "self", NULL
17780 };
17781
17782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17785 {
17786 PyThreadState* __tstate = wxPyBeginAllowThreads();
17787 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17788
17789 wxPyEndAllowThreads(__tstate);
17790 if (PyErr_Occurred()) SWIG_fail;
17791 }
17792 {
17793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17794 }
17795 return resultobj;
17796 fail:
17797 return NULL;
17798 }
17799
17800
17801 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17802 PyObject *resultobj;
17803 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17804 bool result;
17805 PyObject * obj0 = 0 ;
17806 char *kwnames[] = {
17807 (char *) "self", NULL
17808 };
17809
17810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17813 {
17814 PyThreadState* __tstate = wxPyBeginAllowThreads();
17815 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17816
17817 wxPyEndAllowThreads(__tstate);
17818 if (PyErr_Occurred()) SWIG_fail;
17819 }
17820 {
17821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17822 }
17823 return resultobj;
17824 fail:
17825 return NULL;
17826 }
17827
17828
17829 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17830 PyObject *resultobj;
17831 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17832 wxSize result;
17833 PyObject * obj0 = 0 ;
17834 char *kwnames[] = {
17835 (char *) "self", NULL
17836 };
17837
17838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17841 {
17842 PyThreadState* __tstate = wxPyBeginAllowThreads();
17843 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17844
17845 wxPyEndAllowThreads(__tstate);
17846 if (PyErr_Occurred()) SWIG_fail;
17847 }
17848 {
17849 wxSize * resultptr;
17850 resultptr = new wxSize((wxSize &) result);
17851 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17852 }
17853 return resultobj;
17854 fail:
17855 return NULL;
17856 }
17857
17858
17859 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17860 PyObject *resultobj;
17861 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17862 wxWindow *arg2 = (wxWindow *) 0 ;
17863 PyObject * obj0 = 0 ;
17864 PyObject * obj1 = 0 ;
17865 char *kwnames[] = {
17866 (char *) "self",(char *) "child", NULL
17867 };
17868
17869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17872 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17874 {
17875 PyThreadState* __tstate = wxPyBeginAllowThreads();
17876 (arg1)->base_AddChild(arg2);
17877
17878 wxPyEndAllowThreads(__tstate);
17879 if (PyErr_Occurred()) SWIG_fail;
17880 }
17881 Py_INCREF(Py_None); resultobj = Py_None;
17882 return resultobj;
17883 fail:
17884 return NULL;
17885 }
17886
17887
17888 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17889 PyObject *resultobj;
17890 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17891 wxWindow *arg2 = (wxWindow *) 0 ;
17892 PyObject * obj0 = 0 ;
17893 PyObject * obj1 = 0 ;
17894 char *kwnames[] = {
17895 (char *) "self",(char *) "child", NULL
17896 };
17897
17898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17901 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17903 {
17904 PyThreadState* __tstate = wxPyBeginAllowThreads();
17905 (arg1)->base_RemoveChild(arg2);
17906
17907 wxPyEndAllowThreads(__tstate);
17908 if (PyErr_Occurred()) SWIG_fail;
17909 }
17910 Py_INCREF(Py_None); resultobj = Py_None;
17911 return resultobj;
17912 fail:
17913 return NULL;
17914 }
17915
17916
17917 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17918 PyObject *resultobj;
17919 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17920 bool result;
17921 PyObject * obj0 = 0 ;
17922 char *kwnames[] = {
17923 (char *) "self", NULL
17924 };
17925
17926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17929 {
17930 PyThreadState* __tstate = wxPyBeginAllowThreads();
17931 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
17932
17933 wxPyEndAllowThreads(__tstate);
17934 if (PyErr_Occurred()) SWIG_fail;
17935 }
17936 {
17937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17938 }
17939 return resultobj;
17940 fail:
17941 return NULL;
17942 }
17943
17944
17945 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17946 PyObject *resultobj;
17947 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17948 wxColour *arg2 = 0 ;
17949 wxColour temp2 ;
17950 PyObject * obj0 = 0 ;
17951 PyObject * obj1 = 0 ;
17952 char *kwnames[] = {
17953 (char *) "self",(char *) "c", NULL
17954 };
17955
17956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17959 {
17960 arg2 = &temp2;
17961 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17962 }
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17966
17967 wxPyEndAllowThreads(__tstate);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 Py_INCREF(Py_None); resultobj = Py_None;
17971 return resultobj;
17972 fail:
17973 return NULL;
17974 }
17975
17976
17977 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17978 PyObject *resultobj;
17979 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17980 wxVisualAttributes result;
17981 PyObject * obj0 = 0 ;
17982 char *kwnames[] = {
17983 (char *) "self", NULL
17984 };
17985
17986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17989 {
17990 PyThreadState* __tstate = wxPyBeginAllowThreads();
17991 result = (arg1)->base_GetDefaultAttributes();
17992
17993 wxPyEndAllowThreads(__tstate);
17994 if (PyErr_Occurred()) SWIG_fail;
17995 }
17996 {
17997 wxVisualAttributes * resultptr;
17998 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17999 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18000 }
18001 return resultobj;
18002 fail:
18003 return NULL;
18004 }
18005
18006
18007 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
18008 PyObject *obj;
18009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18010 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
18011 Py_INCREF(obj);
18012 return Py_BuildValue((char *)"");
18013 }
18014 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
18015 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
18016 return 1;
18017 }
18018
18019
18020 static PyObject *_wrap_PrintoutTitleStr_get() {
18021 PyObject *pyobj;
18022
18023 {
18024 #if wxUSE_UNICODE
18025 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18026 #else
18027 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
18028 #endif
18029 }
18030 return pyobj;
18031 }
18032
18033
18034 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
18035 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
18036 return 1;
18037 }
18038
18039
18040 static PyObject *_wrap_PreviewCanvasNameStr_get() {
18041 PyObject *pyobj;
18042
18043 {
18044 #if wxUSE_UNICODE
18045 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18046 #else
18047 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18048 #endif
18049 }
18050 return pyobj;
18051 }
18052
18053
18054 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *self, PyObject *args) {
18055 PyObject *resultobj;
18056 wxPrintData *result;
18057
18058 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
18059 {
18060 PyThreadState* __tstate = wxPyBeginAllowThreads();
18061 result = (wxPrintData *)new wxPrintData();
18062
18063 wxPyEndAllowThreads(__tstate);
18064 if (PyErr_Occurred()) SWIG_fail;
18065 }
18066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18067 return resultobj;
18068 fail:
18069 return NULL;
18070 }
18071
18072
18073 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *self, PyObject *args) {
18074 PyObject *resultobj;
18075 wxPrintData *arg1 = 0 ;
18076 wxPrintData *result;
18077 PyObject * obj0 = 0 ;
18078
18079 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18081 SWIG_POINTER_EXCEPTION | 0)) == -1)
18082 SWIG_fail;
18083 if (arg1 == NULL) {
18084 PyErr_SetString(PyExc_TypeError,"null reference");
18085 SWIG_fail;
18086 }
18087 {
18088 PyThreadState* __tstate = wxPyBeginAllowThreads();
18089 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18090
18091 wxPyEndAllowThreads(__tstate);
18092 if (PyErr_Occurred()) SWIG_fail;
18093 }
18094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18095 return resultobj;
18096 fail:
18097 return NULL;
18098 }
18099
18100
18101 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18102 int argc;
18103 PyObject *argv[2];
18104 int ii;
18105
18106 argc = PyObject_Length(args);
18107 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18108 argv[ii] = PyTuple_GetItem(args,ii);
18109 }
18110 if (argc == 0) {
18111 return _wrap_new_PrintData__SWIG_0(self,args);
18112 }
18113 if (argc == 1) {
18114 int _v;
18115 {
18116 void *ptr;
18117 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18118 _v = 0;
18119 PyErr_Clear();
18120 } else {
18121 _v = 1;
18122 }
18123 }
18124 if (_v) {
18125 return _wrap_new_PrintData__SWIG_1(self,args);
18126 }
18127 }
18128
18129 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18130 return NULL;
18131 }
18132
18133
18134 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18135 PyObject *resultobj;
18136 wxPrintData *arg1 = (wxPrintData *) 0 ;
18137 PyObject * obj0 = 0 ;
18138 char *kwnames[] = {
18139 (char *) "self", NULL
18140 };
18141
18142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18145 {
18146 PyThreadState* __tstate = wxPyBeginAllowThreads();
18147 delete arg1;
18148
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 Py_INCREF(Py_None); resultobj = Py_None;
18153 return resultobj;
18154 fail:
18155 return NULL;
18156 }
18157
18158
18159 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18160 PyObject *resultobj;
18161 wxPrintData *arg1 = (wxPrintData *) 0 ;
18162 int result;
18163 PyObject * obj0 = 0 ;
18164 char *kwnames[] = {
18165 (char *) "self", NULL
18166 };
18167
18168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18171 {
18172 PyThreadState* __tstate = wxPyBeginAllowThreads();
18173 result = (int)(arg1)->GetNoCopies();
18174
18175 wxPyEndAllowThreads(__tstate);
18176 if (PyErr_Occurred()) SWIG_fail;
18177 }
18178 resultobj = SWIG_FromInt((int)result);
18179 return resultobj;
18180 fail:
18181 return NULL;
18182 }
18183
18184
18185 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18186 PyObject *resultobj;
18187 wxPrintData *arg1 = (wxPrintData *) 0 ;
18188 bool result;
18189 PyObject * obj0 = 0 ;
18190 char *kwnames[] = {
18191 (char *) "self", NULL
18192 };
18193
18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18197 {
18198 PyThreadState* __tstate = wxPyBeginAllowThreads();
18199 result = (bool)(arg1)->GetCollate();
18200
18201 wxPyEndAllowThreads(__tstate);
18202 if (PyErr_Occurred()) SWIG_fail;
18203 }
18204 {
18205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18206 }
18207 return resultobj;
18208 fail:
18209 return NULL;
18210 }
18211
18212
18213 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18214 PyObject *resultobj;
18215 wxPrintData *arg1 = (wxPrintData *) 0 ;
18216 int result;
18217 PyObject * obj0 = 0 ;
18218 char *kwnames[] = {
18219 (char *) "self", NULL
18220 };
18221
18222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
18223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18225 {
18226 PyThreadState* __tstate = wxPyBeginAllowThreads();
18227 result = (int)(arg1)->GetOrientation();
18228
18229 wxPyEndAllowThreads(__tstate);
18230 if (PyErr_Occurred()) SWIG_fail;
18231 }
18232 resultobj = SWIG_FromInt((int)result);
18233 return resultobj;
18234 fail:
18235 return NULL;
18236 }
18237
18238
18239 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18240 PyObject *resultobj;
18241 wxPrintData *arg1 = (wxPrintData *) 0 ;
18242 bool result;
18243 PyObject * obj0 = 0 ;
18244 char *kwnames[] = {
18245 (char *) "self", NULL
18246 };
18247
18248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18251 {
18252 PyThreadState* __tstate = wxPyBeginAllowThreads();
18253 result = (bool)(arg1)->Ok();
18254
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 {
18259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18260 }
18261 return resultobj;
18262 fail:
18263 return NULL;
18264 }
18265
18266
18267 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18268 PyObject *resultobj;
18269 wxPrintData *arg1 = (wxPrintData *) 0 ;
18270 wxString *result;
18271 PyObject * obj0 = 0 ;
18272 char *kwnames[] = {
18273 (char *) "self", NULL
18274 };
18275
18276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18279 {
18280 PyThreadState* __tstate = wxPyBeginAllowThreads();
18281 {
18282 wxString const &_result_ref = (arg1)->GetPrinterName();
18283 result = (wxString *) &_result_ref;
18284 }
18285
18286 wxPyEndAllowThreads(__tstate);
18287 if (PyErr_Occurred()) SWIG_fail;
18288 }
18289 {
18290 #if wxUSE_UNICODE
18291 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18292 #else
18293 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18294 #endif
18295 }
18296 return resultobj;
18297 fail:
18298 return NULL;
18299 }
18300
18301
18302 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18303 PyObject *resultobj;
18304 wxPrintData *arg1 = (wxPrintData *) 0 ;
18305 bool result;
18306 PyObject * obj0 = 0 ;
18307 char *kwnames[] = {
18308 (char *) "self", NULL
18309 };
18310
18311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18314 {
18315 PyThreadState* __tstate = wxPyBeginAllowThreads();
18316 result = (bool)(arg1)->GetColour();
18317
18318 wxPyEndAllowThreads(__tstate);
18319 if (PyErr_Occurred()) SWIG_fail;
18320 }
18321 {
18322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18323 }
18324 return resultobj;
18325 fail:
18326 return NULL;
18327 }
18328
18329
18330 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18331 PyObject *resultobj;
18332 wxPrintData *arg1 = (wxPrintData *) 0 ;
18333 int result;
18334 PyObject * obj0 = 0 ;
18335 char *kwnames[] = {
18336 (char *) "self", NULL
18337 };
18338
18339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18342 {
18343 PyThreadState* __tstate = wxPyBeginAllowThreads();
18344 result = (int)(arg1)->GetDuplex();
18345
18346 wxPyEndAllowThreads(__tstate);
18347 if (PyErr_Occurred()) SWIG_fail;
18348 }
18349 resultobj = SWIG_FromInt((int)result);
18350 return resultobj;
18351 fail:
18352 return NULL;
18353 }
18354
18355
18356 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18357 PyObject *resultobj;
18358 wxPrintData *arg1 = (wxPrintData *) 0 ;
18359 int result;
18360 PyObject * obj0 = 0 ;
18361 char *kwnames[] = {
18362 (char *) "self", NULL
18363 };
18364
18365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18368 {
18369 PyThreadState* __tstate = wxPyBeginAllowThreads();
18370 result = (int)(arg1)->GetPaperId();
18371
18372 wxPyEndAllowThreads(__tstate);
18373 if (PyErr_Occurred()) SWIG_fail;
18374 }
18375 resultobj = SWIG_FromInt((int)result);
18376 return resultobj;
18377 fail:
18378 return NULL;
18379 }
18380
18381
18382 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18383 PyObject *resultobj;
18384 wxPrintData *arg1 = (wxPrintData *) 0 ;
18385 wxSize *result;
18386 PyObject * obj0 = 0 ;
18387 char *kwnames[] = {
18388 (char *) "self", NULL
18389 };
18390
18391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18394 {
18395 PyThreadState* __tstate = wxPyBeginAllowThreads();
18396 {
18397 wxSize const &_result_ref = (arg1)->GetPaperSize();
18398 result = (wxSize *) &_result_ref;
18399 }
18400
18401 wxPyEndAllowThreads(__tstate);
18402 if (PyErr_Occurred()) SWIG_fail;
18403 }
18404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18405 return resultobj;
18406 fail:
18407 return NULL;
18408 }
18409
18410
18411 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18412 PyObject *resultobj;
18413 wxPrintData *arg1 = (wxPrintData *) 0 ;
18414 int result;
18415 PyObject * obj0 = 0 ;
18416 char *kwnames[] = {
18417 (char *) "self", NULL
18418 };
18419
18420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18423 {
18424 PyThreadState* __tstate = wxPyBeginAllowThreads();
18425 result = (int)(arg1)->GetQuality();
18426
18427 wxPyEndAllowThreads(__tstate);
18428 if (PyErr_Occurred()) SWIG_fail;
18429 }
18430 resultobj = SWIG_FromInt((int)result);
18431 return resultobj;
18432 fail:
18433 return NULL;
18434 }
18435
18436
18437 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18438 PyObject *resultobj;
18439 wxPrintData *arg1 = (wxPrintData *) 0 ;
18440 int arg2 ;
18441 PyObject * obj0 = 0 ;
18442 PyObject * obj1 = 0 ;
18443 char *kwnames[] = {
18444 (char *) "self",(char *) "v", NULL
18445 };
18446
18447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18450 arg2 = (int) SWIG_AsInt(obj1);
18451 if (PyErr_Occurred()) SWIG_fail;
18452 {
18453 PyThreadState* __tstate = wxPyBeginAllowThreads();
18454 (arg1)->SetNoCopies(arg2);
18455
18456 wxPyEndAllowThreads(__tstate);
18457 if (PyErr_Occurred()) SWIG_fail;
18458 }
18459 Py_INCREF(Py_None); resultobj = Py_None;
18460 return resultobj;
18461 fail:
18462 return NULL;
18463 }
18464
18465
18466 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18467 PyObject *resultobj;
18468 wxPrintData *arg1 = (wxPrintData *) 0 ;
18469 bool arg2 ;
18470 PyObject * obj0 = 0 ;
18471 PyObject * obj1 = 0 ;
18472 char *kwnames[] = {
18473 (char *) "self",(char *) "flag", NULL
18474 };
18475
18476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18479 arg2 = (bool) SWIG_AsBool(obj1);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 {
18482 PyThreadState* __tstate = wxPyBeginAllowThreads();
18483 (arg1)->SetCollate(arg2);
18484
18485 wxPyEndAllowThreads(__tstate);
18486 if (PyErr_Occurred()) SWIG_fail;
18487 }
18488 Py_INCREF(Py_None); resultobj = Py_None;
18489 return resultobj;
18490 fail:
18491 return NULL;
18492 }
18493
18494
18495 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18496 PyObject *resultobj;
18497 wxPrintData *arg1 = (wxPrintData *) 0 ;
18498 int arg2 ;
18499 PyObject * obj0 = 0 ;
18500 PyObject * obj1 = 0 ;
18501 char *kwnames[] = {
18502 (char *) "self",(char *) "orient", NULL
18503 };
18504
18505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18508 arg2 = (int) SWIG_AsInt(obj1);
18509 if (PyErr_Occurred()) SWIG_fail;
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 (arg1)->SetOrientation(arg2);
18513
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 Py_INCREF(Py_None); resultobj = Py_None;
18518 return resultobj;
18519 fail:
18520 return NULL;
18521 }
18522
18523
18524 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18525 PyObject *resultobj;
18526 wxPrintData *arg1 = (wxPrintData *) 0 ;
18527 wxString *arg2 = 0 ;
18528 bool temp2 = False ;
18529 PyObject * obj0 = 0 ;
18530 PyObject * obj1 = 0 ;
18531 char *kwnames[] = {
18532 (char *) "self",(char *) "name", NULL
18533 };
18534
18535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18538 {
18539 arg2 = wxString_in_helper(obj1);
18540 if (arg2 == NULL) SWIG_fail;
18541 temp2 = True;
18542 }
18543 {
18544 PyThreadState* __tstate = wxPyBeginAllowThreads();
18545 (arg1)->SetPrinterName((wxString const &)*arg2);
18546
18547 wxPyEndAllowThreads(__tstate);
18548 if (PyErr_Occurred()) SWIG_fail;
18549 }
18550 Py_INCREF(Py_None); resultobj = Py_None;
18551 {
18552 if (temp2)
18553 delete arg2;
18554 }
18555 return resultobj;
18556 fail:
18557 {
18558 if (temp2)
18559 delete arg2;
18560 }
18561 return NULL;
18562 }
18563
18564
18565 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18566 PyObject *resultobj;
18567 wxPrintData *arg1 = (wxPrintData *) 0 ;
18568 bool arg2 ;
18569 PyObject * obj0 = 0 ;
18570 PyObject * obj1 = 0 ;
18571 char *kwnames[] = {
18572 (char *) "self",(char *) "colour", NULL
18573 };
18574
18575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18578 arg2 = (bool) SWIG_AsBool(obj1);
18579 if (PyErr_Occurred()) SWIG_fail;
18580 {
18581 PyThreadState* __tstate = wxPyBeginAllowThreads();
18582 (arg1)->SetColour(arg2);
18583
18584 wxPyEndAllowThreads(__tstate);
18585 if (PyErr_Occurred()) SWIG_fail;
18586 }
18587 Py_INCREF(Py_None); resultobj = Py_None;
18588 return resultobj;
18589 fail:
18590 return NULL;
18591 }
18592
18593
18594 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18595 PyObject *resultobj;
18596 wxPrintData *arg1 = (wxPrintData *) 0 ;
18597 int arg2 ;
18598 PyObject * obj0 = 0 ;
18599 PyObject * obj1 = 0 ;
18600 char *kwnames[] = {
18601 (char *) "self",(char *) "duplex", NULL
18602 };
18603
18604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18607 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 {
18610 PyThreadState* __tstate = wxPyBeginAllowThreads();
18611 (arg1)->SetDuplex((wxDuplexMode )arg2);
18612
18613 wxPyEndAllowThreads(__tstate);
18614 if (PyErr_Occurred()) SWIG_fail;
18615 }
18616 Py_INCREF(Py_None); resultobj = Py_None;
18617 return resultobj;
18618 fail:
18619 return NULL;
18620 }
18621
18622
18623 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18624 PyObject *resultobj;
18625 wxPrintData *arg1 = (wxPrintData *) 0 ;
18626 int arg2 ;
18627 PyObject * obj0 = 0 ;
18628 PyObject * obj1 = 0 ;
18629 char *kwnames[] = {
18630 (char *) "self",(char *) "sizeId", NULL
18631 };
18632
18633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18636 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18637 if (PyErr_Occurred()) SWIG_fail;
18638 {
18639 PyThreadState* __tstate = wxPyBeginAllowThreads();
18640 (arg1)->SetPaperId((wxPaperSize )arg2);
18641
18642 wxPyEndAllowThreads(__tstate);
18643 if (PyErr_Occurred()) SWIG_fail;
18644 }
18645 Py_INCREF(Py_None); resultobj = Py_None;
18646 return resultobj;
18647 fail:
18648 return NULL;
18649 }
18650
18651
18652 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18653 PyObject *resultobj;
18654 wxPrintData *arg1 = (wxPrintData *) 0 ;
18655 wxSize *arg2 = 0 ;
18656 wxSize temp2 ;
18657 PyObject * obj0 = 0 ;
18658 PyObject * obj1 = 0 ;
18659 char *kwnames[] = {
18660 (char *) "self",(char *) "sz", NULL
18661 };
18662
18663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18666 {
18667 arg2 = &temp2;
18668 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18669 }
18670 {
18671 PyThreadState* __tstate = wxPyBeginAllowThreads();
18672 (arg1)->SetPaperSize((wxSize const &)*arg2);
18673
18674 wxPyEndAllowThreads(__tstate);
18675 if (PyErr_Occurred()) SWIG_fail;
18676 }
18677 Py_INCREF(Py_None); resultobj = Py_None;
18678 return resultobj;
18679 fail:
18680 return NULL;
18681 }
18682
18683
18684 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18685 PyObject *resultobj;
18686 wxPrintData *arg1 = (wxPrintData *) 0 ;
18687 int arg2 ;
18688 PyObject * obj0 = 0 ;
18689 PyObject * obj1 = 0 ;
18690 char *kwnames[] = {
18691 (char *) "self",(char *) "quality", NULL
18692 };
18693
18694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18697 arg2 = (int) SWIG_AsInt(obj1);
18698 if (PyErr_Occurred()) SWIG_fail;
18699 {
18700 PyThreadState* __tstate = wxPyBeginAllowThreads();
18701 (arg1)->SetQuality(arg2);
18702
18703 wxPyEndAllowThreads(__tstate);
18704 if (PyErr_Occurred()) SWIG_fail;
18705 }
18706 Py_INCREF(Py_None); resultobj = Py_None;
18707 return resultobj;
18708 fail:
18709 return NULL;
18710 }
18711
18712
18713 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18714 PyObject *resultobj;
18715 wxPrintData *arg1 = (wxPrintData *) 0 ;
18716 wxString *result;
18717 PyObject * obj0 = 0 ;
18718 char *kwnames[] = {
18719 (char *) "self", NULL
18720 };
18721
18722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18725 {
18726 PyThreadState* __tstate = wxPyBeginAllowThreads();
18727 {
18728 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18729 result = (wxString *) &_result_ref;
18730 }
18731
18732 wxPyEndAllowThreads(__tstate);
18733 if (PyErr_Occurred()) SWIG_fail;
18734 }
18735 {
18736 #if wxUSE_UNICODE
18737 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18738 #else
18739 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18740 #endif
18741 }
18742 return resultobj;
18743 fail:
18744 return NULL;
18745 }
18746
18747
18748 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18749 PyObject *resultobj;
18750 wxPrintData *arg1 = (wxPrintData *) 0 ;
18751 wxString *result;
18752 PyObject * obj0 = 0 ;
18753 char *kwnames[] = {
18754 (char *) "self", NULL
18755 };
18756
18757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18760 {
18761 PyThreadState* __tstate = wxPyBeginAllowThreads();
18762 {
18763 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18764 result = (wxString *) &_result_ref;
18765 }
18766
18767 wxPyEndAllowThreads(__tstate);
18768 if (PyErr_Occurred()) SWIG_fail;
18769 }
18770 {
18771 #if wxUSE_UNICODE
18772 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18773 #else
18774 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18775 #endif
18776 }
18777 return resultobj;
18778 fail:
18779 return NULL;
18780 }
18781
18782
18783 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18784 PyObject *resultobj;
18785 wxPrintData *arg1 = (wxPrintData *) 0 ;
18786 wxString *result;
18787 PyObject * obj0 = 0 ;
18788 char *kwnames[] = {
18789 (char *) "self", NULL
18790 };
18791
18792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18795 {
18796 PyThreadState* __tstate = wxPyBeginAllowThreads();
18797 {
18798 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18799 result = (wxString *) &_result_ref;
18800 }
18801
18802 wxPyEndAllowThreads(__tstate);
18803 if (PyErr_Occurred()) SWIG_fail;
18804 }
18805 {
18806 #if wxUSE_UNICODE
18807 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18808 #else
18809 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18810 #endif
18811 }
18812 return resultobj;
18813 fail:
18814 return NULL;
18815 }
18816
18817
18818 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18819 PyObject *resultobj;
18820 wxPrintData *arg1 = (wxPrintData *) 0 ;
18821 wxString *result;
18822 PyObject * obj0 = 0 ;
18823 char *kwnames[] = {
18824 (char *) "self", NULL
18825 };
18826
18827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18830 {
18831 PyThreadState* __tstate = wxPyBeginAllowThreads();
18832 {
18833 wxString const &_result_ref = (arg1)->GetFilename();
18834 result = (wxString *) &_result_ref;
18835 }
18836
18837 wxPyEndAllowThreads(__tstate);
18838 if (PyErr_Occurred()) SWIG_fail;
18839 }
18840 {
18841 #if wxUSE_UNICODE
18842 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18843 #else
18844 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18845 #endif
18846 }
18847 return resultobj;
18848 fail:
18849 return NULL;
18850 }
18851
18852
18853 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18854 PyObject *resultobj;
18855 wxPrintData *arg1 = (wxPrintData *) 0 ;
18856 wxString *result;
18857 PyObject * obj0 = 0 ;
18858 char *kwnames[] = {
18859 (char *) "self", NULL
18860 };
18861
18862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18865 {
18866 PyThreadState* __tstate = wxPyBeginAllowThreads();
18867 {
18868 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18869 result = (wxString *) &_result_ref;
18870 }
18871
18872 wxPyEndAllowThreads(__tstate);
18873 if (PyErr_Occurred()) SWIG_fail;
18874 }
18875 {
18876 #if wxUSE_UNICODE
18877 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18878 #else
18879 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18880 #endif
18881 }
18882 return resultobj;
18883 fail:
18884 return NULL;
18885 }
18886
18887
18888 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18889 PyObject *resultobj;
18890 wxPrintData *arg1 = (wxPrintData *) 0 ;
18891 double result;
18892 PyObject * obj0 = 0 ;
18893 char *kwnames[] = {
18894 (char *) "self", NULL
18895 };
18896
18897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18900 {
18901 PyThreadState* __tstate = wxPyBeginAllowThreads();
18902 result = (double)(arg1)->GetPrinterScaleX();
18903
18904 wxPyEndAllowThreads(__tstate);
18905 if (PyErr_Occurred()) SWIG_fail;
18906 }
18907 resultobj = SWIG_FromDouble((double)result);
18908 return resultobj;
18909 fail:
18910 return NULL;
18911 }
18912
18913
18914 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18915 PyObject *resultobj;
18916 wxPrintData *arg1 = (wxPrintData *) 0 ;
18917 double result;
18918 PyObject * obj0 = 0 ;
18919 char *kwnames[] = {
18920 (char *) "self", NULL
18921 };
18922
18923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18926 {
18927 PyThreadState* __tstate = wxPyBeginAllowThreads();
18928 result = (double)(arg1)->GetPrinterScaleY();
18929
18930 wxPyEndAllowThreads(__tstate);
18931 if (PyErr_Occurred()) SWIG_fail;
18932 }
18933 resultobj = SWIG_FromDouble((double)result);
18934 return resultobj;
18935 fail:
18936 return NULL;
18937 }
18938
18939
18940 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18941 PyObject *resultobj;
18942 wxPrintData *arg1 = (wxPrintData *) 0 ;
18943 long result;
18944 PyObject * obj0 = 0 ;
18945 char *kwnames[] = {
18946 (char *) "self", NULL
18947 };
18948
18949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18952 {
18953 PyThreadState* __tstate = wxPyBeginAllowThreads();
18954 result = (long)(arg1)->GetPrinterTranslateX();
18955
18956 wxPyEndAllowThreads(__tstate);
18957 if (PyErr_Occurred()) SWIG_fail;
18958 }
18959 resultobj = SWIG_FromLong((long)result);
18960 return resultobj;
18961 fail:
18962 return NULL;
18963 }
18964
18965
18966 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18967 PyObject *resultobj;
18968 wxPrintData *arg1 = (wxPrintData *) 0 ;
18969 long result;
18970 PyObject * obj0 = 0 ;
18971 char *kwnames[] = {
18972 (char *) "self", NULL
18973 };
18974
18975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18978 {
18979 PyThreadState* __tstate = wxPyBeginAllowThreads();
18980 result = (long)(arg1)->GetPrinterTranslateY();
18981
18982 wxPyEndAllowThreads(__tstate);
18983 if (PyErr_Occurred()) SWIG_fail;
18984 }
18985 resultobj = SWIG_FromLong((long)result);
18986 return resultobj;
18987 fail:
18988 return NULL;
18989 }
18990
18991
18992 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18993 PyObject *resultobj;
18994 wxPrintData *arg1 = (wxPrintData *) 0 ;
18995 int result;
18996 PyObject * obj0 = 0 ;
18997 char *kwnames[] = {
18998 (char *) "self", NULL
18999 };
19000
19001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
19002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19004 {
19005 PyThreadState* __tstate = wxPyBeginAllowThreads();
19006 result = (int)(arg1)->GetPrintMode();
19007
19008 wxPyEndAllowThreads(__tstate);
19009 if (PyErr_Occurred()) SWIG_fail;
19010 }
19011 resultobj = SWIG_FromInt((int)result);
19012 return resultobj;
19013 fail:
19014 return NULL;
19015 }
19016
19017
19018 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
19019 PyObject *resultobj;
19020 wxPrintData *arg1 = (wxPrintData *) 0 ;
19021 wxString *arg2 = 0 ;
19022 bool temp2 = False ;
19023 PyObject * obj0 = 0 ;
19024 PyObject * obj1 = 0 ;
19025 char *kwnames[] = {
19026 (char *) "self",(char *) "command", NULL
19027 };
19028
19029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
19030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19032 {
19033 arg2 = wxString_in_helper(obj1);
19034 if (arg2 == NULL) SWIG_fail;
19035 temp2 = True;
19036 }
19037 {
19038 PyThreadState* __tstate = wxPyBeginAllowThreads();
19039 (arg1)->SetPrinterCommand((wxString const &)*arg2);
19040
19041 wxPyEndAllowThreads(__tstate);
19042 if (PyErr_Occurred()) SWIG_fail;
19043 }
19044 Py_INCREF(Py_None); resultobj = Py_None;
19045 {
19046 if (temp2)
19047 delete arg2;
19048 }
19049 return resultobj;
19050 fail:
19051 {
19052 if (temp2)
19053 delete arg2;
19054 }
19055 return NULL;
19056 }
19057
19058
19059 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
19060 PyObject *resultobj;
19061 wxPrintData *arg1 = (wxPrintData *) 0 ;
19062 wxString *arg2 = 0 ;
19063 bool temp2 = False ;
19064 PyObject * obj0 = 0 ;
19065 PyObject * obj1 = 0 ;
19066 char *kwnames[] = {
19067 (char *) "self",(char *) "options", NULL
19068 };
19069
19070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19073 {
19074 arg2 = wxString_in_helper(obj1);
19075 if (arg2 == NULL) SWIG_fail;
19076 temp2 = True;
19077 }
19078 {
19079 PyThreadState* __tstate = wxPyBeginAllowThreads();
19080 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19081
19082 wxPyEndAllowThreads(__tstate);
19083 if (PyErr_Occurred()) SWIG_fail;
19084 }
19085 Py_INCREF(Py_None); resultobj = Py_None;
19086 {
19087 if (temp2)
19088 delete arg2;
19089 }
19090 return resultobj;
19091 fail:
19092 {
19093 if (temp2)
19094 delete arg2;
19095 }
19096 return NULL;
19097 }
19098
19099
19100 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
19101 PyObject *resultobj;
19102 wxPrintData *arg1 = (wxPrintData *) 0 ;
19103 wxString *arg2 = 0 ;
19104 bool temp2 = False ;
19105 PyObject * obj0 = 0 ;
19106 PyObject * obj1 = 0 ;
19107 char *kwnames[] = {
19108 (char *) "self",(char *) "command", NULL
19109 };
19110
19111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19114 {
19115 arg2 = wxString_in_helper(obj1);
19116 if (arg2 == NULL) SWIG_fail;
19117 temp2 = True;
19118 }
19119 {
19120 PyThreadState* __tstate = wxPyBeginAllowThreads();
19121 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19122
19123 wxPyEndAllowThreads(__tstate);
19124 if (PyErr_Occurred()) SWIG_fail;
19125 }
19126 Py_INCREF(Py_None); resultobj = Py_None;
19127 {
19128 if (temp2)
19129 delete arg2;
19130 }
19131 return resultobj;
19132 fail:
19133 {
19134 if (temp2)
19135 delete arg2;
19136 }
19137 return NULL;
19138 }
19139
19140
19141 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
19142 PyObject *resultobj;
19143 wxPrintData *arg1 = (wxPrintData *) 0 ;
19144 wxString *arg2 = 0 ;
19145 bool temp2 = False ;
19146 PyObject * obj0 = 0 ;
19147 PyObject * obj1 = 0 ;
19148 char *kwnames[] = {
19149 (char *) "self",(char *) "filename", NULL
19150 };
19151
19152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19155 {
19156 arg2 = wxString_in_helper(obj1);
19157 if (arg2 == NULL) SWIG_fail;
19158 temp2 = True;
19159 }
19160 {
19161 PyThreadState* __tstate = wxPyBeginAllowThreads();
19162 (arg1)->SetFilename((wxString const &)*arg2);
19163
19164 wxPyEndAllowThreads(__tstate);
19165 if (PyErr_Occurred()) SWIG_fail;
19166 }
19167 Py_INCREF(Py_None); resultobj = Py_None;
19168 {
19169 if (temp2)
19170 delete arg2;
19171 }
19172 return resultobj;
19173 fail:
19174 {
19175 if (temp2)
19176 delete arg2;
19177 }
19178 return NULL;
19179 }
19180
19181
19182 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
19183 PyObject *resultobj;
19184 wxPrintData *arg1 = (wxPrintData *) 0 ;
19185 wxString *arg2 = 0 ;
19186 bool temp2 = False ;
19187 PyObject * obj0 = 0 ;
19188 PyObject * obj1 = 0 ;
19189 char *kwnames[] = {
19190 (char *) "self",(char *) "path", NULL
19191 };
19192
19193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19196 {
19197 arg2 = wxString_in_helper(obj1);
19198 if (arg2 == NULL) SWIG_fail;
19199 temp2 = True;
19200 }
19201 {
19202 PyThreadState* __tstate = wxPyBeginAllowThreads();
19203 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19204
19205 wxPyEndAllowThreads(__tstate);
19206 if (PyErr_Occurred()) SWIG_fail;
19207 }
19208 Py_INCREF(Py_None); resultobj = Py_None;
19209 {
19210 if (temp2)
19211 delete arg2;
19212 }
19213 return resultobj;
19214 fail:
19215 {
19216 if (temp2)
19217 delete arg2;
19218 }
19219 return NULL;
19220 }
19221
19222
19223 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
19224 PyObject *resultobj;
19225 wxPrintData *arg1 = (wxPrintData *) 0 ;
19226 double arg2 ;
19227 PyObject * obj0 = 0 ;
19228 PyObject * obj1 = 0 ;
19229 char *kwnames[] = {
19230 (char *) "self",(char *) "x", NULL
19231 };
19232
19233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19236 arg2 = (double) SWIG_AsDouble(obj1);
19237 if (PyErr_Occurred()) SWIG_fail;
19238 {
19239 PyThreadState* __tstate = wxPyBeginAllowThreads();
19240 (arg1)->SetPrinterScaleX(arg2);
19241
19242 wxPyEndAllowThreads(__tstate);
19243 if (PyErr_Occurred()) SWIG_fail;
19244 }
19245 Py_INCREF(Py_None); resultobj = Py_None;
19246 return resultobj;
19247 fail:
19248 return NULL;
19249 }
19250
19251
19252 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
19253 PyObject *resultobj;
19254 wxPrintData *arg1 = (wxPrintData *) 0 ;
19255 double arg2 ;
19256 PyObject * obj0 = 0 ;
19257 PyObject * obj1 = 0 ;
19258 char *kwnames[] = {
19259 (char *) "self",(char *) "y", NULL
19260 };
19261
19262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19265 arg2 = (double) SWIG_AsDouble(obj1);
19266 if (PyErr_Occurred()) SWIG_fail;
19267 {
19268 PyThreadState* __tstate = wxPyBeginAllowThreads();
19269 (arg1)->SetPrinterScaleY(arg2);
19270
19271 wxPyEndAllowThreads(__tstate);
19272 if (PyErr_Occurred()) SWIG_fail;
19273 }
19274 Py_INCREF(Py_None); resultobj = Py_None;
19275 return resultobj;
19276 fail:
19277 return NULL;
19278 }
19279
19280
19281 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19282 PyObject *resultobj;
19283 wxPrintData *arg1 = (wxPrintData *) 0 ;
19284 double arg2 ;
19285 double arg3 ;
19286 PyObject * obj0 = 0 ;
19287 PyObject * obj1 = 0 ;
19288 PyObject * obj2 = 0 ;
19289 char *kwnames[] = {
19290 (char *) "self",(char *) "x",(char *) "y", NULL
19291 };
19292
19293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19296 arg2 = (double) SWIG_AsDouble(obj1);
19297 if (PyErr_Occurred()) SWIG_fail;
19298 arg3 = (double) SWIG_AsDouble(obj2);
19299 if (PyErr_Occurred()) SWIG_fail;
19300 {
19301 PyThreadState* __tstate = wxPyBeginAllowThreads();
19302 (arg1)->SetPrinterScaling(arg2,arg3);
19303
19304 wxPyEndAllowThreads(__tstate);
19305 if (PyErr_Occurred()) SWIG_fail;
19306 }
19307 Py_INCREF(Py_None); resultobj = Py_None;
19308 return resultobj;
19309 fail:
19310 return NULL;
19311 }
19312
19313
19314 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
19315 PyObject *resultobj;
19316 wxPrintData *arg1 = (wxPrintData *) 0 ;
19317 long arg2 ;
19318 PyObject * obj0 = 0 ;
19319 PyObject * obj1 = 0 ;
19320 char *kwnames[] = {
19321 (char *) "self",(char *) "x", NULL
19322 };
19323
19324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19327 arg2 = (long) SWIG_AsLong(obj1);
19328 if (PyErr_Occurred()) SWIG_fail;
19329 {
19330 PyThreadState* __tstate = wxPyBeginAllowThreads();
19331 (arg1)->SetPrinterTranslateX(arg2);
19332
19333 wxPyEndAllowThreads(__tstate);
19334 if (PyErr_Occurred()) SWIG_fail;
19335 }
19336 Py_INCREF(Py_None); resultobj = Py_None;
19337 return resultobj;
19338 fail:
19339 return NULL;
19340 }
19341
19342
19343 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
19344 PyObject *resultobj;
19345 wxPrintData *arg1 = (wxPrintData *) 0 ;
19346 long arg2 ;
19347 PyObject * obj0 = 0 ;
19348 PyObject * obj1 = 0 ;
19349 char *kwnames[] = {
19350 (char *) "self",(char *) "y", NULL
19351 };
19352
19353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19356 arg2 = (long) SWIG_AsLong(obj1);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 {
19359 PyThreadState* __tstate = wxPyBeginAllowThreads();
19360 (arg1)->SetPrinterTranslateY(arg2);
19361
19362 wxPyEndAllowThreads(__tstate);
19363 if (PyErr_Occurred()) SWIG_fail;
19364 }
19365 Py_INCREF(Py_None); resultobj = Py_None;
19366 return resultobj;
19367 fail:
19368 return NULL;
19369 }
19370
19371
19372 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
19373 PyObject *resultobj;
19374 wxPrintData *arg1 = (wxPrintData *) 0 ;
19375 long arg2 ;
19376 long arg3 ;
19377 PyObject * obj0 = 0 ;
19378 PyObject * obj1 = 0 ;
19379 PyObject * obj2 = 0 ;
19380 char *kwnames[] = {
19381 (char *) "self",(char *) "x",(char *) "y", NULL
19382 };
19383
19384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19387 arg2 = (long) SWIG_AsLong(obj1);
19388 if (PyErr_Occurred()) SWIG_fail;
19389 arg3 = (long) SWIG_AsLong(obj2);
19390 if (PyErr_Occurred()) SWIG_fail;
19391 {
19392 PyThreadState* __tstate = wxPyBeginAllowThreads();
19393 (arg1)->SetPrinterTranslation(arg2,arg3);
19394
19395 wxPyEndAllowThreads(__tstate);
19396 if (PyErr_Occurred()) SWIG_fail;
19397 }
19398 Py_INCREF(Py_None); resultobj = Py_None;
19399 return resultobj;
19400 fail:
19401 return NULL;
19402 }
19403
19404
19405 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19406 PyObject *resultobj;
19407 wxPrintData *arg1 = (wxPrintData *) 0 ;
19408 int arg2 ;
19409 PyObject * obj0 = 0 ;
19410 PyObject * obj1 = 0 ;
19411 char *kwnames[] = {
19412 (char *) "self",(char *) "printMode", NULL
19413 };
19414
19415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19418 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
19419 if (PyErr_Occurred()) SWIG_fail;
19420 {
19421 PyThreadState* __tstate = wxPyBeginAllowThreads();
19422 (arg1)->SetPrintMode((wxPrintMode )arg2);
19423
19424 wxPyEndAllowThreads(__tstate);
19425 if (PyErr_Occurred()) SWIG_fail;
19426 }
19427 Py_INCREF(Py_None); resultobj = Py_None;
19428 return resultobj;
19429 fail:
19430 return NULL;
19431 }
19432
19433
19434 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19435 PyObject *resultobj;
19436 wxPrintData *arg1 = (wxPrintData *) 0 ;
19437 wxOutputStream *result;
19438 PyObject * obj0 = 0 ;
19439 char *kwnames[] = {
19440 (char *) "self", NULL
19441 };
19442
19443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19446 {
19447 PyThreadState* __tstate = wxPyBeginAllowThreads();
19448 result = (wxOutputStream *)(arg1)->GetOutputStream();
19449
19450 wxPyEndAllowThreads(__tstate);
19451 if (PyErr_Occurred()) SWIG_fail;
19452 }
19453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19454 return resultobj;
19455 fail:
19456 return NULL;
19457 }
19458
19459
19460 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19461 PyObject *resultobj;
19462 wxPrintData *arg1 = (wxPrintData *) 0 ;
19463 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19464 PyObject * obj0 = 0 ;
19465 PyObject * obj1 = 0 ;
19466 char *kwnames[] = {
19467 (char *) "self",(char *) "outputstream", NULL
19468 };
19469
19470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19473 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19475 {
19476 PyThreadState* __tstate = wxPyBeginAllowThreads();
19477 (arg1)->SetOutputStream(arg2);
19478
19479 wxPyEndAllowThreads(__tstate);
19480 if (PyErr_Occurred()) SWIG_fail;
19481 }
19482 Py_INCREF(Py_None); resultobj = Py_None;
19483 return resultobj;
19484 fail:
19485 return NULL;
19486 }
19487
19488
19489 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
19490 PyObject *obj;
19491 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19492 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19493 Py_INCREF(obj);
19494 return Py_BuildValue((char *)"");
19495 }
19496 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *self, PyObject *args) {
19497 PyObject *resultobj;
19498 wxPageSetupDialogData *result;
19499
19500 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
19501 {
19502 PyThreadState* __tstate = wxPyBeginAllowThreads();
19503 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19504
19505 wxPyEndAllowThreads(__tstate);
19506 if (PyErr_Occurred()) SWIG_fail;
19507 }
19508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19509 return resultobj;
19510 fail:
19511 return NULL;
19512 }
19513
19514
19515 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *self, PyObject *args) {
19516 PyObject *resultobj;
19517 wxPageSetupDialogData *arg1 = 0 ;
19518 wxPageSetupDialogData *result;
19519 PyObject * obj0 = 0 ;
19520
19521 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19523 SWIG_POINTER_EXCEPTION | 0)) == -1)
19524 SWIG_fail;
19525 if (arg1 == NULL) {
19526 PyErr_SetString(PyExc_TypeError,"null reference");
19527 SWIG_fail;
19528 }
19529 {
19530 PyThreadState* __tstate = wxPyBeginAllowThreads();
19531 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19532
19533 wxPyEndAllowThreads(__tstate);
19534 if (PyErr_Occurred()) SWIG_fail;
19535 }
19536 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19537 return resultobj;
19538 fail:
19539 return NULL;
19540 }
19541
19542
19543 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19544 int argc;
19545 PyObject *argv[2];
19546 int ii;
19547
19548 argc = PyObject_Length(args);
19549 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19550 argv[ii] = PyTuple_GetItem(args,ii);
19551 }
19552 if (argc == 0) {
19553 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19554 }
19555 if (argc == 1) {
19556 int _v;
19557 {
19558 void *ptr;
19559 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19560 _v = 0;
19561 PyErr_Clear();
19562 } else {
19563 _v = 1;
19564 }
19565 }
19566 if (_v) {
19567 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19568 }
19569 }
19570
19571 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19572 return NULL;
19573 }
19574
19575
19576 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19577 PyObject *resultobj;
19578 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19579 PyObject * obj0 = 0 ;
19580 char *kwnames[] = {
19581 (char *) "self", NULL
19582 };
19583
19584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19587 {
19588 PyThreadState* __tstate = wxPyBeginAllowThreads();
19589 delete arg1;
19590
19591 wxPyEndAllowThreads(__tstate);
19592 if (PyErr_Occurred()) SWIG_fail;
19593 }
19594 Py_INCREF(Py_None); resultobj = Py_None;
19595 return resultobj;
19596 fail:
19597 return NULL;
19598 }
19599
19600
19601 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19602 PyObject *resultobj;
19603 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19604 bool arg2 ;
19605 PyObject * obj0 = 0 ;
19606 PyObject * obj1 = 0 ;
19607 char *kwnames[] = {
19608 (char *) "self",(char *) "flag", NULL
19609 };
19610
19611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19614 arg2 = (bool) SWIG_AsBool(obj1);
19615 if (PyErr_Occurred()) SWIG_fail;
19616 {
19617 PyThreadState* __tstate = wxPyBeginAllowThreads();
19618 (arg1)->EnableHelp(arg2);
19619
19620 wxPyEndAllowThreads(__tstate);
19621 if (PyErr_Occurred()) SWIG_fail;
19622 }
19623 Py_INCREF(Py_None); resultobj = Py_None;
19624 return resultobj;
19625 fail:
19626 return NULL;
19627 }
19628
19629
19630 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19631 PyObject *resultobj;
19632 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19633 bool arg2 ;
19634 PyObject * obj0 = 0 ;
19635 PyObject * obj1 = 0 ;
19636 char *kwnames[] = {
19637 (char *) "self",(char *) "flag", NULL
19638 };
19639
19640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19643 arg2 = (bool) SWIG_AsBool(obj1);
19644 if (PyErr_Occurred()) SWIG_fail;
19645 {
19646 PyThreadState* __tstate = wxPyBeginAllowThreads();
19647 (arg1)->EnableMargins(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_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19660 PyObject *resultobj;
19661 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19662 bool arg2 ;
19663 PyObject * obj0 = 0 ;
19664 PyObject * obj1 = 0 ;
19665 char *kwnames[] = {
19666 (char *) "self",(char *) "flag", NULL
19667 };
19668
19669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19672 arg2 = (bool) SWIG_AsBool(obj1);
19673 if (PyErr_Occurred()) SWIG_fail;
19674 {
19675 PyThreadState* __tstate = wxPyBeginAllowThreads();
19676 (arg1)->EnableOrientation(arg2);
19677
19678 wxPyEndAllowThreads(__tstate);
19679 if (PyErr_Occurred()) SWIG_fail;
19680 }
19681 Py_INCREF(Py_None); resultobj = Py_None;
19682 return resultobj;
19683 fail:
19684 return NULL;
19685 }
19686
19687
19688 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19689 PyObject *resultobj;
19690 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19691 bool arg2 ;
19692 PyObject * obj0 = 0 ;
19693 PyObject * obj1 = 0 ;
19694 char *kwnames[] = {
19695 (char *) "self",(char *) "flag", NULL
19696 };
19697
19698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19701 arg2 = (bool) SWIG_AsBool(obj1);
19702 if (PyErr_Occurred()) SWIG_fail;
19703 {
19704 PyThreadState* __tstate = wxPyBeginAllowThreads();
19705 (arg1)->EnablePaper(arg2);
19706
19707 wxPyEndAllowThreads(__tstate);
19708 if (PyErr_Occurred()) SWIG_fail;
19709 }
19710 Py_INCREF(Py_None); resultobj = Py_None;
19711 return resultobj;
19712 fail:
19713 return NULL;
19714 }
19715
19716
19717 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19718 PyObject *resultobj;
19719 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19720 bool arg2 ;
19721 PyObject * obj0 = 0 ;
19722 PyObject * obj1 = 0 ;
19723 char *kwnames[] = {
19724 (char *) "self",(char *) "flag", NULL
19725 };
19726
19727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19730 arg2 = (bool) SWIG_AsBool(obj1);
19731 if (PyErr_Occurred()) SWIG_fail;
19732 {
19733 PyThreadState* __tstate = wxPyBeginAllowThreads();
19734 (arg1)->EnablePrinter(arg2);
19735
19736 wxPyEndAllowThreads(__tstate);
19737 if (PyErr_Occurred()) SWIG_fail;
19738 }
19739 Py_INCREF(Py_None); resultobj = Py_None;
19740 return resultobj;
19741 fail:
19742 return NULL;
19743 }
19744
19745
19746 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19747 PyObject *resultobj;
19748 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19749 bool result;
19750 PyObject * obj0 = 0 ;
19751 char *kwnames[] = {
19752 (char *) "self", NULL
19753 };
19754
19755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19758 {
19759 PyThreadState* __tstate = wxPyBeginAllowThreads();
19760 result = (bool)(arg1)->GetDefaultMinMargins();
19761
19762 wxPyEndAllowThreads(__tstate);
19763 if (PyErr_Occurred()) SWIG_fail;
19764 }
19765 {
19766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19767 }
19768 return resultobj;
19769 fail:
19770 return NULL;
19771 }
19772
19773
19774 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19775 PyObject *resultobj;
19776 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19777 bool result;
19778 PyObject * obj0 = 0 ;
19779 char *kwnames[] = {
19780 (char *) "self", NULL
19781 };
19782
19783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19786 {
19787 PyThreadState* __tstate = wxPyBeginAllowThreads();
19788 result = (bool)(arg1)->GetEnableMargins();
19789
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 {
19794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19795 }
19796 return resultobj;
19797 fail:
19798 return NULL;
19799 }
19800
19801
19802 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19803 PyObject *resultobj;
19804 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19805 bool result;
19806 PyObject * obj0 = 0 ;
19807 char *kwnames[] = {
19808 (char *) "self", NULL
19809 };
19810
19811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19814 {
19815 PyThreadState* __tstate = wxPyBeginAllowThreads();
19816 result = (bool)(arg1)->GetEnableOrientation();
19817
19818 wxPyEndAllowThreads(__tstate);
19819 if (PyErr_Occurred()) SWIG_fail;
19820 }
19821 {
19822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19823 }
19824 return resultobj;
19825 fail:
19826 return NULL;
19827 }
19828
19829
19830 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19831 PyObject *resultobj;
19832 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19833 bool result;
19834 PyObject * obj0 = 0 ;
19835 char *kwnames[] = {
19836 (char *) "self", NULL
19837 };
19838
19839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19842 {
19843 PyThreadState* __tstate = wxPyBeginAllowThreads();
19844 result = (bool)(arg1)->GetEnablePaper();
19845
19846 wxPyEndAllowThreads(__tstate);
19847 if (PyErr_Occurred()) SWIG_fail;
19848 }
19849 {
19850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19851 }
19852 return resultobj;
19853 fail:
19854 return NULL;
19855 }
19856
19857
19858 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19859 PyObject *resultobj;
19860 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19861 bool result;
19862 PyObject * obj0 = 0 ;
19863 char *kwnames[] = {
19864 (char *) "self", NULL
19865 };
19866
19867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19870 {
19871 PyThreadState* __tstate = wxPyBeginAllowThreads();
19872 result = (bool)(arg1)->GetEnablePrinter();
19873
19874 wxPyEndAllowThreads(__tstate);
19875 if (PyErr_Occurred()) SWIG_fail;
19876 }
19877 {
19878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19879 }
19880 return resultobj;
19881 fail:
19882 return NULL;
19883 }
19884
19885
19886 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19887 PyObject *resultobj;
19888 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19889 bool result;
19890 PyObject * obj0 = 0 ;
19891 char *kwnames[] = {
19892 (char *) "self", NULL
19893 };
19894
19895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19898 {
19899 PyThreadState* __tstate = wxPyBeginAllowThreads();
19900 result = (bool)(arg1)->GetEnableHelp();
19901
19902 wxPyEndAllowThreads(__tstate);
19903 if (PyErr_Occurred()) SWIG_fail;
19904 }
19905 {
19906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19907 }
19908 return resultobj;
19909 fail:
19910 return NULL;
19911 }
19912
19913
19914 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19915 PyObject *resultobj;
19916 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19917 bool result;
19918 PyObject * obj0 = 0 ;
19919 char *kwnames[] = {
19920 (char *) "self", NULL
19921 };
19922
19923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19926 {
19927 PyThreadState* __tstate = wxPyBeginAllowThreads();
19928 result = (bool)(arg1)->GetDefaultInfo();
19929
19930 wxPyEndAllowThreads(__tstate);
19931 if (PyErr_Occurred()) SWIG_fail;
19932 }
19933 {
19934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19935 }
19936 return resultobj;
19937 fail:
19938 return NULL;
19939 }
19940
19941
19942 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19943 PyObject *resultobj;
19944 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19945 wxPoint result;
19946 PyObject * obj0 = 0 ;
19947 char *kwnames[] = {
19948 (char *) "self", NULL
19949 };
19950
19951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19954 {
19955 PyThreadState* __tstate = wxPyBeginAllowThreads();
19956 result = (arg1)->GetMarginTopLeft();
19957
19958 wxPyEndAllowThreads(__tstate);
19959 if (PyErr_Occurred()) SWIG_fail;
19960 }
19961 {
19962 wxPoint * resultptr;
19963 resultptr = new wxPoint((wxPoint &) result);
19964 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19965 }
19966 return resultobj;
19967 fail:
19968 return NULL;
19969 }
19970
19971
19972 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19973 PyObject *resultobj;
19974 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19975 wxPoint result;
19976 PyObject * obj0 = 0 ;
19977 char *kwnames[] = {
19978 (char *) "self", NULL
19979 };
19980
19981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19984 {
19985 PyThreadState* __tstate = wxPyBeginAllowThreads();
19986 result = (arg1)->GetMarginBottomRight();
19987
19988 wxPyEndAllowThreads(__tstate);
19989 if (PyErr_Occurred()) SWIG_fail;
19990 }
19991 {
19992 wxPoint * resultptr;
19993 resultptr = new wxPoint((wxPoint &) result);
19994 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19995 }
19996 return resultobj;
19997 fail:
19998 return NULL;
19999 }
20000
20001
20002 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20003 PyObject *resultobj;
20004 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20005 wxPoint result;
20006 PyObject * obj0 = 0 ;
20007 char *kwnames[] = {
20008 (char *) "self", NULL
20009 };
20010
20011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
20012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20014 {
20015 PyThreadState* __tstate = wxPyBeginAllowThreads();
20016 result = (arg1)->GetMinMarginTopLeft();
20017
20018 wxPyEndAllowThreads(__tstate);
20019 if (PyErr_Occurred()) SWIG_fail;
20020 }
20021 {
20022 wxPoint * resultptr;
20023 resultptr = new wxPoint((wxPoint &) result);
20024 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20025 }
20026 return resultobj;
20027 fail:
20028 return NULL;
20029 }
20030
20031
20032 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20033 PyObject *resultobj;
20034 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20035 wxPoint result;
20036 PyObject * obj0 = 0 ;
20037 char *kwnames[] = {
20038 (char *) "self", NULL
20039 };
20040
20041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
20042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20044 {
20045 PyThreadState* __tstate = wxPyBeginAllowThreads();
20046 result = (arg1)->GetMinMarginBottomRight();
20047
20048 wxPyEndAllowThreads(__tstate);
20049 if (PyErr_Occurred()) SWIG_fail;
20050 }
20051 {
20052 wxPoint * resultptr;
20053 resultptr = new wxPoint((wxPoint &) result);
20054 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20055 }
20056 return resultobj;
20057 fail:
20058 return NULL;
20059 }
20060
20061
20062 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
20063 PyObject *resultobj;
20064 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20065 int result;
20066 PyObject * obj0 = 0 ;
20067 char *kwnames[] = {
20068 (char *) "self", NULL
20069 };
20070
20071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
20072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 result = (int)(arg1)->GetPaperId();
20077
20078 wxPyEndAllowThreads(__tstate);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 }
20081 resultobj = SWIG_FromInt((int)result);
20082 return resultobj;
20083 fail:
20084 return NULL;
20085 }
20086
20087
20088 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20089 PyObject *resultobj;
20090 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20091 wxSize result;
20092 PyObject * obj0 = 0 ;
20093 char *kwnames[] = {
20094 (char *) "self", NULL
20095 };
20096
20097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
20098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20100 {
20101 PyThreadState* __tstate = wxPyBeginAllowThreads();
20102 result = (arg1)->GetPaperSize();
20103
20104 wxPyEndAllowThreads(__tstate);
20105 if (PyErr_Occurred()) SWIG_fail;
20106 }
20107 {
20108 wxSize * resultptr;
20109 resultptr = new wxSize((wxSize &) result);
20110 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20111 }
20112 return resultobj;
20113 fail:
20114 return NULL;
20115 }
20116
20117
20118 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20119 PyObject *resultobj;
20120 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20121 wxPrintData *result;
20122 PyObject * obj0 = 0 ;
20123 char *kwnames[] = {
20124 (char *) "self", NULL
20125 };
20126
20127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20130 {
20131 PyThreadState* __tstate = wxPyBeginAllowThreads();
20132 {
20133 wxPrintData &_result_ref = (arg1)->GetPrintData();
20134 result = (wxPrintData *) &_result_ref;
20135 }
20136
20137 wxPyEndAllowThreads(__tstate);
20138 if (PyErr_Occurred()) SWIG_fail;
20139 }
20140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20141 return resultobj;
20142 fail:
20143 return NULL;
20144 }
20145
20146
20147 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20148 PyObject *resultobj;
20149 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20150 bool result;
20151 PyObject * obj0 = 0 ;
20152 char *kwnames[] = {
20153 (char *) "self", NULL
20154 };
20155
20156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20159 {
20160 PyThreadState* __tstate = wxPyBeginAllowThreads();
20161 result = (bool)(arg1)->Ok();
20162
20163 wxPyEndAllowThreads(__tstate);
20164 if (PyErr_Occurred()) SWIG_fail;
20165 }
20166 {
20167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20168 }
20169 return resultobj;
20170 fail:
20171 return NULL;
20172 }
20173
20174
20175 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20176 PyObject *resultobj;
20177 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20178 bool arg2 ;
20179 PyObject * obj0 = 0 ;
20180 PyObject * obj1 = 0 ;
20181 char *kwnames[] = {
20182 (char *) "self",(char *) "flag", NULL
20183 };
20184
20185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20188 arg2 = (bool) SWIG_AsBool(obj1);
20189 if (PyErr_Occurred()) SWIG_fail;
20190 {
20191 PyThreadState* __tstate = wxPyBeginAllowThreads();
20192 (arg1)->SetDefaultInfo(arg2);
20193
20194 wxPyEndAllowThreads(__tstate);
20195 if (PyErr_Occurred()) SWIG_fail;
20196 }
20197 Py_INCREF(Py_None); resultobj = Py_None;
20198 return resultobj;
20199 fail:
20200 return NULL;
20201 }
20202
20203
20204 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
20205 PyObject *resultobj;
20206 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20207 bool arg2 ;
20208 PyObject * obj0 = 0 ;
20209 PyObject * obj1 = 0 ;
20210 char *kwnames[] = {
20211 (char *) "self",(char *) "flag", NULL
20212 };
20213
20214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20217 arg2 = (bool) SWIG_AsBool(obj1);
20218 if (PyErr_Occurred()) SWIG_fail;
20219 {
20220 PyThreadState* __tstate = wxPyBeginAllowThreads();
20221 (arg1)->SetDefaultMinMargins(arg2);
20222
20223 wxPyEndAllowThreads(__tstate);
20224 if (PyErr_Occurred()) SWIG_fail;
20225 }
20226 Py_INCREF(Py_None); resultobj = Py_None;
20227 return resultobj;
20228 fail:
20229 return NULL;
20230 }
20231
20232
20233 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20234 PyObject *resultobj;
20235 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20236 wxPoint *arg2 = 0 ;
20237 wxPoint temp2 ;
20238 PyObject * obj0 = 0 ;
20239 PyObject * obj1 = 0 ;
20240 char *kwnames[] = {
20241 (char *) "self",(char *) "pt", NULL
20242 };
20243
20244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20247 {
20248 arg2 = &temp2;
20249 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20250 }
20251 {
20252 PyThreadState* __tstate = wxPyBeginAllowThreads();
20253 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20254
20255 wxPyEndAllowThreads(__tstate);
20256 if (PyErr_Occurred()) SWIG_fail;
20257 }
20258 Py_INCREF(Py_None); resultobj = Py_None;
20259 return resultobj;
20260 fail:
20261 return NULL;
20262 }
20263
20264
20265 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20266 PyObject *resultobj;
20267 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20268 wxPoint *arg2 = 0 ;
20269 wxPoint temp2 ;
20270 PyObject * obj0 = 0 ;
20271 PyObject * obj1 = 0 ;
20272 char *kwnames[] = {
20273 (char *) "self",(char *) "pt", NULL
20274 };
20275
20276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20279 {
20280 arg2 = &temp2;
20281 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20282 }
20283 {
20284 PyThreadState* __tstate = wxPyBeginAllowThreads();
20285 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20286
20287 wxPyEndAllowThreads(__tstate);
20288 if (PyErr_Occurred()) SWIG_fail;
20289 }
20290 Py_INCREF(Py_None); resultobj = Py_None;
20291 return resultobj;
20292 fail:
20293 return NULL;
20294 }
20295
20296
20297 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20298 PyObject *resultobj;
20299 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20300 wxPoint *arg2 = 0 ;
20301 wxPoint temp2 ;
20302 PyObject * obj0 = 0 ;
20303 PyObject * obj1 = 0 ;
20304 char *kwnames[] = {
20305 (char *) "self",(char *) "pt", NULL
20306 };
20307
20308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20311 {
20312 arg2 = &temp2;
20313 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20314 }
20315 {
20316 PyThreadState* __tstate = wxPyBeginAllowThreads();
20317 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20318
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 Py_INCREF(Py_None); resultobj = Py_None;
20323 return resultobj;
20324 fail:
20325 return NULL;
20326 }
20327
20328
20329 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20330 PyObject *resultobj;
20331 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20332 wxPoint *arg2 = 0 ;
20333 wxPoint temp2 ;
20334 PyObject * obj0 = 0 ;
20335 PyObject * obj1 = 0 ;
20336 char *kwnames[] = {
20337 (char *) "self",(char *) "pt", NULL
20338 };
20339
20340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20343 {
20344 arg2 = &temp2;
20345 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20346 }
20347 {
20348 PyThreadState* __tstate = wxPyBeginAllowThreads();
20349 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20350
20351 wxPyEndAllowThreads(__tstate);
20352 if (PyErr_Occurred()) SWIG_fail;
20353 }
20354 Py_INCREF(Py_None); resultobj = Py_None;
20355 return resultobj;
20356 fail:
20357 return NULL;
20358 }
20359
20360
20361 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
20362 PyObject *resultobj;
20363 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20364 int arg2 ;
20365 PyObject * obj0 = 0 ;
20366 PyObject * obj1 = 0 ;
20367 char *kwnames[] = {
20368 (char *) "self",(char *) "id", NULL
20369 };
20370
20371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20374 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
20375 if (PyErr_Occurred()) SWIG_fail;
20376 {
20377 PyThreadState* __tstate = wxPyBeginAllowThreads();
20378 (arg1)->SetPaperId((wxPaperSize )arg2);
20379
20380 wxPyEndAllowThreads(__tstate);
20381 if (PyErr_Occurred()) SWIG_fail;
20382 }
20383 Py_INCREF(Py_None); resultobj = Py_None;
20384 return resultobj;
20385 fail:
20386 return NULL;
20387 }
20388
20389
20390 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20391 PyObject *resultobj;
20392 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20393 wxSize *arg2 = 0 ;
20394 wxSize temp2 ;
20395 PyObject * obj0 = 0 ;
20396 PyObject * obj1 = 0 ;
20397 char *kwnames[] = {
20398 (char *) "self",(char *) "size", NULL
20399 };
20400
20401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20404 {
20405 arg2 = &temp2;
20406 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20407 }
20408 {
20409 PyThreadState* __tstate = wxPyBeginAllowThreads();
20410 (arg1)->SetPaperSize((wxSize const &)*arg2);
20411
20412 wxPyEndAllowThreads(__tstate);
20413 if (PyErr_Occurred()) SWIG_fail;
20414 }
20415 Py_INCREF(Py_None); resultobj = Py_None;
20416 return resultobj;
20417 fail:
20418 return NULL;
20419 }
20420
20421
20422 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20423 PyObject *resultobj;
20424 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20425 wxPrintData *arg2 = 0 ;
20426 PyObject * obj0 = 0 ;
20427 PyObject * obj1 = 0 ;
20428 char *kwnames[] = {
20429 (char *) "self",(char *) "printData", NULL
20430 };
20431
20432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20435 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20436 SWIG_POINTER_EXCEPTION | 0)) == -1)
20437 SWIG_fail;
20438 if (arg2 == NULL) {
20439 PyErr_SetString(PyExc_TypeError,"null reference");
20440 SWIG_fail;
20441 }
20442 {
20443 PyThreadState* __tstate = wxPyBeginAllowThreads();
20444 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20445
20446 wxPyEndAllowThreads(__tstate);
20447 if (PyErr_Occurred()) SWIG_fail;
20448 }
20449 Py_INCREF(Py_None); resultobj = Py_None;
20450 return resultobj;
20451 fail:
20452 return NULL;
20453 }
20454
20455
20456 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
20457 PyObject *obj;
20458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20459 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20460 Py_INCREF(obj);
20461 return Py_BuildValue((char *)"");
20462 }
20463 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20464 PyObject *resultobj;
20465 wxWindow *arg1 = (wxWindow *) 0 ;
20466 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20467 wxPageSetupDialog *result;
20468 PyObject * obj0 = 0 ;
20469 PyObject * obj1 = 0 ;
20470 char *kwnames[] = {
20471 (char *) "parent",(char *) "data", NULL
20472 };
20473
20474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20477 if (obj1) {
20478 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20480 }
20481 {
20482 if (!wxPyCheckForApp()) SWIG_fail;
20483 PyThreadState* __tstate = wxPyBeginAllowThreads();
20484 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20485
20486 wxPyEndAllowThreads(__tstate);
20487 if (PyErr_Occurred()) SWIG_fail;
20488 }
20489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20490 return resultobj;
20491 fail:
20492 return NULL;
20493 }
20494
20495
20496 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
20497 PyObject *resultobj;
20498 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20499 wxPageSetupDialogData *result;
20500 PyObject * obj0 = 0 ;
20501 char *kwnames[] = {
20502 (char *) "self", NULL
20503 };
20504
20505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20508 {
20509 PyThreadState* __tstate = wxPyBeginAllowThreads();
20510 {
20511 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20512 result = (wxPageSetupDialogData *) &_result_ref;
20513 }
20514
20515 wxPyEndAllowThreads(__tstate);
20516 if (PyErr_Occurred()) SWIG_fail;
20517 }
20518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20519 return resultobj;
20520 fail:
20521 return NULL;
20522 }
20523
20524
20525 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20526 PyObject *resultobj;
20527 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20528 int result;
20529 PyObject * obj0 = 0 ;
20530 char *kwnames[] = {
20531 (char *) "self", NULL
20532 };
20533
20534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20537 {
20538 PyThreadState* __tstate = wxPyBeginAllowThreads();
20539 result = (int)(arg1)->ShowModal();
20540
20541 wxPyEndAllowThreads(__tstate);
20542 if (PyErr_Occurred()) SWIG_fail;
20543 }
20544 resultobj = SWIG_FromInt((int)result);
20545 return resultobj;
20546 fail:
20547 return NULL;
20548 }
20549
20550
20551 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
20552 PyObject *obj;
20553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20554 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20555 Py_INCREF(obj);
20556 return Py_BuildValue((char *)"");
20557 }
20558 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
20559 PyObject *resultobj;
20560 wxPrintDialogData *result;
20561
20562 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20563 {
20564 PyThreadState* __tstate = wxPyBeginAllowThreads();
20565 result = (wxPrintDialogData *)new wxPrintDialogData();
20566
20567 wxPyEndAllowThreads(__tstate);
20568 if (PyErr_Occurred()) SWIG_fail;
20569 }
20570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20571 return resultobj;
20572 fail:
20573 return NULL;
20574 }
20575
20576
20577 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
20578 PyObject *resultobj;
20579 wxPrintData *arg1 = 0 ;
20580 wxPrintDialogData *result;
20581 PyObject * obj0 = 0 ;
20582
20583 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20585 SWIG_POINTER_EXCEPTION | 0)) == -1)
20586 SWIG_fail;
20587 if (arg1 == NULL) {
20588 PyErr_SetString(PyExc_TypeError,"null reference");
20589 SWIG_fail;
20590 }
20591 {
20592 PyThreadState* __tstate = wxPyBeginAllowThreads();
20593 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20594
20595 wxPyEndAllowThreads(__tstate);
20596 if (PyErr_Occurred()) SWIG_fail;
20597 }
20598 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20599 return resultobj;
20600 fail:
20601 return NULL;
20602 }
20603
20604
20605 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20606 int argc;
20607 PyObject *argv[2];
20608 int ii;
20609
20610 argc = PyObject_Length(args);
20611 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20612 argv[ii] = PyTuple_GetItem(args,ii);
20613 }
20614 if (argc == 0) {
20615 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20616 }
20617 if (argc == 1) {
20618 int _v;
20619 {
20620 void *ptr;
20621 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20622 _v = 0;
20623 PyErr_Clear();
20624 } else {
20625 _v = 1;
20626 }
20627 }
20628 if (_v) {
20629 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20630 }
20631 }
20632
20633 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20634 return NULL;
20635 }
20636
20637
20638 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20639 PyObject *resultobj;
20640 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20641 PyObject * obj0 = 0 ;
20642 char *kwnames[] = {
20643 (char *) "self", NULL
20644 };
20645
20646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20649 {
20650 PyThreadState* __tstate = wxPyBeginAllowThreads();
20651 delete arg1;
20652
20653 wxPyEndAllowThreads(__tstate);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
20656 Py_INCREF(Py_None); resultobj = Py_None;
20657 return resultobj;
20658 fail:
20659 return NULL;
20660 }
20661
20662
20663 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20664 PyObject *resultobj;
20665 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20666 int result;
20667 PyObject * obj0 = 0 ;
20668 char *kwnames[] = {
20669 (char *) "self", NULL
20670 };
20671
20672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20675 {
20676 PyThreadState* __tstate = wxPyBeginAllowThreads();
20677 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20678
20679 wxPyEndAllowThreads(__tstate);
20680 if (PyErr_Occurred()) SWIG_fail;
20681 }
20682 resultobj = SWIG_FromInt((int)result);
20683 return resultobj;
20684 fail:
20685 return NULL;
20686 }
20687
20688
20689 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20690 PyObject *resultobj;
20691 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20692 int result;
20693 PyObject * obj0 = 0 ;
20694 char *kwnames[] = {
20695 (char *) "self", NULL
20696 };
20697
20698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20701 {
20702 PyThreadState* __tstate = wxPyBeginAllowThreads();
20703 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20704
20705 wxPyEndAllowThreads(__tstate);
20706 if (PyErr_Occurred()) SWIG_fail;
20707 }
20708 resultobj = SWIG_FromInt((int)result);
20709 return resultobj;
20710 fail:
20711 return NULL;
20712 }
20713
20714
20715 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20716 PyObject *resultobj;
20717 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20718 int result;
20719 PyObject * obj0 = 0 ;
20720 char *kwnames[] = {
20721 (char *) "self", NULL
20722 };
20723
20724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",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 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20730
20731 wxPyEndAllowThreads(__tstate);
20732 if (PyErr_Occurred()) SWIG_fail;
20733 }
20734 resultobj = SWIG_FromInt((int)result);
20735 return resultobj;
20736 fail:
20737 return NULL;
20738 }
20739
20740
20741 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20742 PyObject *resultobj;
20743 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20744 int result;
20745 PyObject * obj0 = 0 ;
20746 char *kwnames[] = {
20747 (char *) "self", NULL
20748 };
20749
20750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20753 {
20754 PyThreadState* __tstate = wxPyBeginAllowThreads();
20755 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20756
20757 wxPyEndAllowThreads(__tstate);
20758 if (PyErr_Occurred()) SWIG_fail;
20759 }
20760 resultobj = SWIG_FromInt((int)result);
20761 return resultobj;
20762 fail:
20763 return NULL;
20764 }
20765
20766
20767 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20768 PyObject *resultobj;
20769 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20770 int result;
20771 PyObject * obj0 = 0 ;
20772 char *kwnames[] = {
20773 (char *) "self", NULL
20774 };
20775
20776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20779 {
20780 PyThreadState* __tstate = wxPyBeginAllowThreads();
20781 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20782
20783 wxPyEndAllowThreads(__tstate);
20784 if (PyErr_Occurred()) SWIG_fail;
20785 }
20786 resultobj = SWIG_FromInt((int)result);
20787 return resultobj;
20788 fail:
20789 return NULL;
20790 }
20791
20792
20793 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20794 PyObject *resultobj;
20795 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20796 bool result;
20797 PyObject * obj0 = 0 ;
20798 char *kwnames[] = {
20799 (char *) "self", NULL
20800 };
20801
20802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20805 {
20806 PyThreadState* __tstate = wxPyBeginAllowThreads();
20807 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20808
20809 wxPyEndAllowThreads(__tstate);
20810 if (PyErr_Occurred()) SWIG_fail;
20811 }
20812 {
20813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20814 }
20815 return resultobj;
20816 fail:
20817 return NULL;
20818 }
20819
20820
20821 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20822 PyObject *resultobj;
20823 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20824 bool result;
20825 PyObject * obj0 = 0 ;
20826 char *kwnames[] = {
20827 (char *) "self", NULL
20828 };
20829
20830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20833 {
20834 PyThreadState* __tstate = wxPyBeginAllowThreads();
20835 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20836
20837 wxPyEndAllowThreads(__tstate);
20838 if (PyErr_Occurred()) SWIG_fail;
20839 }
20840 {
20841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20842 }
20843 return resultobj;
20844 fail:
20845 return NULL;
20846 }
20847
20848
20849 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20850 PyObject *resultobj;
20851 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20852 bool result;
20853 PyObject * obj0 = 0 ;
20854 char *kwnames[] = {
20855 (char *) "self", NULL
20856 };
20857
20858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20861 {
20862 PyThreadState* __tstate = wxPyBeginAllowThreads();
20863 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20864
20865 wxPyEndAllowThreads(__tstate);
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 {
20869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20870 }
20871 return resultobj;
20872 fail:
20873 return NULL;
20874 }
20875
20876
20877 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20878 PyObject *resultobj;
20879 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20880 bool result;
20881 PyObject * obj0 = 0 ;
20882 char *kwnames[] = {
20883 (char *) "self", NULL
20884 };
20885
20886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20889 {
20890 PyThreadState* __tstate = wxPyBeginAllowThreads();
20891 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20892
20893 wxPyEndAllowThreads(__tstate);
20894 if (PyErr_Occurred()) SWIG_fail;
20895 }
20896 {
20897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20898 }
20899 return resultobj;
20900 fail:
20901 return NULL;
20902 }
20903
20904
20905 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20906 PyObject *resultobj;
20907 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20908 bool result;
20909 PyObject * obj0 = 0 ;
20910 char *kwnames[] = {
20911 (char *) "self", NULL
20912 };
20913
20914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20917 {
20918 PyThreadState* __tstate = wxPyBeginAllowThreads();
20919 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20920
20921 wxPyEndAllowThreads(__tstate);
20922 if (PyErr_Occurred()) SWIG_fail;
20923 }
20924 {
20925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20926 }
20927 return resultobj;
20928 fail:
20929 return NULL;
20930 }
20931
20932
20933 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20934 PyObject *resultobj;
20935 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20936 int arg2 ;
20937 PyObject * obj0 = 0 ;
20938 PyObject * obj1 = 0 ;
20939 char *kwnames[] = {
20940 (char *) "self",(char *) "v", NULL
20941 };
20942
20943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20946 arg2 = (int) SWIG_AsInt(obj1);
20947 if (PyErr_Occurred()) SWIG_fail;
20948 {
20949 PyThreadState* __tstate = wxPyBeginAllowThreads();
20950 (arg1)->SetFromPage(arg2);
20951
20952 wxPyEndAllowThreads(__tstate);
20953 if (PyErr_Occurred()) SWIG_fail;
20954 }
20955 Py_INCREF(Py_None); resultobj = Py_None;
20956 return resultobj;
20957 fail:
20958 return NULL;
20959 }
20960
20961
20962 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20963 PyObject *resultobj;
20964 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20965 int arg2 ;
20966 PyObject * obj0 = 0 ;
20967 PyObject * obj1 = 0 ;
20968 char *kwnames[] = {
20969 (char *) "self",(char *) "v", NULL
20970 };
20971
20972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20975 arg2 = (int) SWIG_AsInt(obj1);
20976 if (PyErr_Occurred()) SWIG_fail;
20977 {
20978 PyThreadState* __tstate = wxPyBeginAllowThreads();
20979 (arg1)->SetToPage(arg2);
20980
20981 wxPyEndAllowThreads(__tstate);
20982 if (PyErr_Occurred()) SWIG_fail;
20983 }
20984 Py_INCREF(Py_None); resultobj = Py_None;
20985 return resultobj;
20986 fail:
20987 return NULL;
20988 }
20989
20990
20991 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20992 PyObject *resultobj;
20993 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20994 int arg2 ;
20995 PyObject * obj0 = 0 ;
20996 PyObject * obj1 = 0 ;
20997 char *kwnames[] = {
20998 (char *) "self",(char *) "v", NULL
20999 };
21000
21001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
21002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21004 arg2 = (int) SWIG_AsInt(obj1);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 {
21007 PyThreadState* __tstate = wxPyBeginAllowThreads();
21008 (arg1)->SetMinPage(arg2);
21009
21010 wxPyEndAllowThreads(__tstate);
21011 if (PyErr_Occurred()) SWIG_fail;
21012 }
21013 Py_INCREF(Py_None); resultobj = Py_None;
21014 return resultobj;
21015 fail:
21016 return NULL;
21017 }
21018
21019
21020 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21021 PyObject *resultobj;
21022 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21023 int arg2 ;
21024 PyObject * obj0 = 0 ;
21025 PyObject * obj1 = 0 ;
21026 char *kwnames[] = {
21027 (char *) "self",(char *) "v", NULL
21028 };
21029
21030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
21031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21033 arg2 = (int) SWIG_AsInt(obj1);
21034 if (PyErr_Occurred()) SWIG_fail;
21035 {
21036 PyThreadState* __tstate = wxPyBeginAllowThreads();
21037 (arg1)->SetMaxPage(arg2);
21038
21039 wxPyEndAllowThreads(__tstate);
21040 if (PyErr_Occurred()) SWIG_fail;
21041 }
21042 Py_INCREF(Py_None); resultobj = Py_None;
21043 return resultobj;
21044 fail:
21045 return NULL;
21046 }
21047
21048
21049 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
21050 PyObject *resultobj;
21051 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21052 int arg2 ;
21053 PyObject * obj0 = 0 ;
21054 PyObject * obj1 = 0 ;
21055 char *kwnames[] = {
21056 (char *) "self",(char *) "v", NULL
21057 };
21058
21059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21062 arg2 = (int) SWIG_AsInt(obj1);
21063 if (PyErr_Occurred()) SWIG_fail;
21064 {
21065 PyThreadState* __tstate = wxPyBeginAllowThreads();
21066 (arg1)->SetNoCopies(arg2);
21067
21068 wxPyEndAllowThreads(__tstate);
21069 if (PyErr_Occurred()) SWIG_fail;
21070 }
21071 Py_INCREF(Py_None); resultobj = Py_None;
21072 return resultobj;
21073 fail:
21074 return NULL;
21075 }
21076
21077
21078 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
21079 PyObject *resultobj;
21080 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21081 bool arg2 ;
21082 PyObject * obj0 = 0 ;
21083 PyObject * obj1 = 0 ;
21084 char *kwnames[] = {
21085 (char *) "self",(char *) "flag", NULL
21086 };
21087
21088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
21089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21091 arg2 = (bool) SWIG_AsBool(obj1);
21092 if (PyErr_Occurred()) SWIG_fail;
21093 {
21094 PyThreadState* __tstate = wxPyBeginAllowThreads();
21095 (arg1)->SetAllPages(arg2);
21096
21097 wxPyEndAllowThreads(__tstate);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 }
21100 Py_INCREF(Py_None); resultobj = Py_None;
21101 return resultobj;
21102 fail:
21103 return NULL;
21104 }
21105
21106
21107 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21108 PyObject *resultobj;
21109 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21110 bool arg2 ;
21111 PyObject * obj0 = 0 ;
21112 PyObject * obj1 = 0 ;
21113 char *kwnames[] = {
21114 (char *) "self",(char *) "flag", NULL
21115 };
21116
21117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21120 arg2 = (bool) SWIG_AsBool(obj1);
21121 if (PyErr_Occurred()) SWIG_fail;
21122 {
21123 PyThreadState* __tstate = wxPyBeginAllowThreads();
21124 (arg1)->SetSelection(arg2);
21125
21126 wxPyEndAllowThreads(__tstate);
21127 if (PyErr_Occurred()) SWIG_fail;
21128 }
21129 Py_INCREF(Py_None); resultobj = Py_None;
21130 return resultobj;
21131 fail:
21132 return NULL;
21133 }
21134
21135
21136 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
21137 PyObject *resultobj;
21138 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21139 bool arg2 ;
21140 PyObject * obj0 = 0 ;
21141 PyObject * obj1 = 0 ;
21142 char *kwnames[] = {
21143 (char *) "self",(char *) "flag", NULL
21144 };
21145
21146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21149 arg2 = (bool) SWIG_AsBool(obj1);
21150 if (PyErr_Occurred()) SWIG_fail;
21151 {
21152 PyThreadState* __tstate = wxPyBeginAllowThreads();
21153 (arg1)->SetCollate(arg2);
21154
21155 wxPyEndAllowThreads(__tstate);
21156 if (PyErr_Occurred()) SWIG_fail;
21157 }
21158 Py_INCREF(Py_None); resultobj = Py_None;
21159 return resultobj;
21160 fail:
21161 return NULL;
21162 }
21163
21164
21165 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21166 PyObject *resultobj;
21167 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21168 bool arg2 ;
21169 PyObject * obj0 = 0 ;
21170 PyObject * obj1 = 0 ;
21171 char *kwnames[] = {
21172 (char *) "self",(char *) "flag", NULL
21173 };
21174
21175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21178 arg2 = (bool) SWIG_AsBool(obj1);
21179 if (PyErr_Occurred()) SWIG_fail;
21180 {
21181 PyThreadState* __tstate = wxPyBeginAllowThreads();
21182 (arg1)->SetPrintToFile(arg2);
21183
21184 wxPyEndAllowThreads(__tstate);
21185 if (PyErr_Occurred()) SWIG_fail;
21186 }
21187 Py_INCREF(Py_None); resultobj = Py_None;
21188 return resultobj;
21189 fail:
21190 return NULL;
21191 }
21192
21193
21194 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21195 PyObject *resultobj;
21196 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21197 bool arg2 ;
21198 PyObject * obj0 = 0 ;
21199 PyObject * obj1 = 0 ;
21200 char *kwnames[] = {
21201 (char *) "self",(char *) "flag", NULL
21202 };
21203
21204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21207 arg2 = (bool) SWIG_AsBool(obj1);
21208 if (PyErr_Occurred()) SWIG_fail;
21209 {
21210 PyThreadState* __tstate = wxPyBeginAllowThreads();
21211 (arg1)->SetSetupDialog(arg2);
21212
21213 wxPyEndAllowThreads(__tstate);
21214 if (PyErr_Occurred()) SWIG_fail;
21215 }
21216 Py_INCREF(Py_None); resultobj = Py_None;
21217 return resultobj;
21218 fail:
21219 return NULL;
21220 }
21221
21222
21223 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21224 PyObject *resultobj;
21225 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21226 bool arg2 ;
21227 PyObject * obj0 = 0 ;
21228 PyObject * obj1 = 0 ;
21229 char *kwnames[] = {
21230 (char *) "self",(char *) "flag", NULL
21231 };
21232
21233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21236 arg2 = (bool) SWIG_AsBool(obj1);
21237 if (PyErr_Occurred()) SWIG_fail;
21238 {
21239 PyThreadState* __tstate = wxPyBeginAllowThreads();
21240 (arg1)->EnablePrintToFile(arg2);
21241
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
21245 Py_INCREF(Py_None); resultobj = Py_None;
21246 return resultobj;
21247 fail:
21248 return NULL;
21249 }
21250
21251
21252 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21253 PyObject *resultobj;
21254 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21255 bool arg2 ;
21256 PyObject * obj0 = 0 ;
21257 PyObject * obj1 = 0 ;
21258 char *kwnames[] = {
21259 (char *) "self",(char *) "flag", NULL
21260 };
21261
21262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21265 arg2 = (bool) SWIG_AsBool(obj1);
21266 if (PyErr_Occurred()) SWIG_fail;
21267 {
21268 PyThreadState* __tstate = wxPyBeginAllowThreads();
21269 (arg1)->EnableSelection(arg2);
21270
21271 wxPyEndAllowThreads(__tstate);
21272 if (PyErr_Occurred()) SWIG_fail;
21273 }
21274 Py_INCREF(Py_None); resultobj = Py_None;
21275 return resultobj;
21276 fail:
21277 return NULL;
21278 }
21279
21280
21281 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21282 PyObject *resultobj;
21283 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21284 bool arg2 ;
21285 PyObject * obj0 = 0 ;
21286 PyObject * obj1 = 0 ;
21287 char *kwnames[] = {
21288 (char *) "self",(char *) "flag", NULL
21289 };
21290
21291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21294 arg2 = (bool) SWIG_AsBool(obj1);
21295 if (PyErr_Occurred()) SWIG_fail;
21296 {
21297 PyThreadState* __tstate = wxPyBeginAllowThreads();
21298 (arg1)->EnablePageNumbers(arg2);
21299
21300 wxPyEndAllowThreads(__tstate);
21301 if (PyErr_Occurred()) SWIG_fail;
21302 }
21303 Py_INCREF(Py_None); resultobj = Py_None;
21304 return resultobj;
21305 fail:
21306 return NULL;
21307 }
21308
21309
21310 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21311 PyObject *resultobj;
21312 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21313 bool arg2 ;
21314 PyObject * obj0 = 0 ;
21315 PyObject * obj1 = 0 ;
21316 char *kwnames[] = {
21317 (char *) "self",(char *) "flag", NULL
21318 };
21319
21320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21323 arg2 = (bool) SWIG_AsBool(obj1);
21324 if (PyErr_Occurred()) SWIG_fail;
21325 {
21326 PyThreadState* __tstate = wxPyBeginAllowThreads();
21327 (arg1)->EnableHelp(arg2);
21328
21329 wxPyEndAllowThreads(__tstate);
21330 if (PyErr_Occurred()) SWIG_fail;
21331 }
21332 Py_INCREF(Py_None); resultobj = Py_None;
21333 return resultobj;
21334 fail:
21335 return NULL;
21336 }
21337
21338
21339 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21340 PyObject *resultobj;
21341 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21342 bool result;
21343 PyObject * obj0 = 0 ;
21344 char *kwnames[] = {
21345 (char *) "self", NULL
21346 };
21347
21348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21351 {
21352 PyThreadState* __tstate = wxPyBeginAllowThreads();
21353 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21354
21355 wxPyEndAllowThreads(__tstate);
21356 if (PyErr_Occurred()) SWIG_fail;
21357 }
21358 {
21359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21360 }
21361 return resultobj;
21362 fail:
21363 return NULL;
21364 }
21365
21366
21367 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21368 PyObject *resultobj;
21369 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21370 bool result;
21371 PyObject * obj0 = 0 ;
21372 char *kwnames[] = {
21373 (char *) "self", NULL
21374 };
21375
21376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21379 {
21380 PyThreadState* __tstate = wxPyBeginAllowThreads();
21381 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21382
21383 wxPyEndAllowThreads(__tstate);
21384 if (PyErr_Occurred()) SWIG_fail;
21385 }
21386 {
21387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21388 }
21389 return resultobj;
21390 fail:
21391 return NULL;
21392 }
21393
21394
21395 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21396 PyObject *resultobj;
21397 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21398 bool result;
21399 PyObject * obj0 = 0 ;
21400 char *kwnames[] = {
21401 (char *) "self", NULL
21402 };
21403
21404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21407 {
21408 PyThreadState* __tstate = wxPyBeginAllowThreads();
21409 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21410
21411 wxPyEndAllowThreads(__tstate);
21412 if (PyErr_Occurred()) SWIG_fail;
21413 }
21414 {
21415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21416 }
21417 return resultobj;
21418 fail:
21419 return NULL;
21420 }
21421
21422
21423 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21424 PyObject *resultobj;
21425 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21426 bool result;
21427 PyObject * obj0 = 0 ;
21428 char *kwnames[] = {
21429 (char *) "self", NULL
21430 };
21431
21432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21435 {
21436 PyThreadState* __tstate = wxPyBeginAllowThreads();
21437 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21438
21439 wxPyEndAllowThreads(__tstate);
21440 if (PyErr_Occurred()) SWIG_fail;
21441 }
21442 {
21443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21444 }
21445 return resultobj;
21446 fail:
21447 return NULL;
21448 }
21449
21450
21451 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21452 PyObject *resultobj;
21453 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21454 bool result;
21455 PyObject * obj0 = 0 ;
21456 char *kwnames[] = {
21457 (char *) "self", NULL
21458 };
21459
21460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21463 {
21464 PyThreadState* __tstate = wxPyBeginAllowThreads();
21465 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21466
21467 wxPyEndAllowThreads(__tstate);
21468 if (PyErr_Occurred()) SWIG_fail;
21469 }
21470 {
21471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21472 }
21473 return resultobj;
21474 fail:
21475 return NULL;
21476 }
21477
21478
21479 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21480 PyObject *resultobj;
21481 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21482 wxPrintData *result;
21483 PyObject * obj0 = 0 ;
21484 char *kwnames[] = {
21485 (char *) "self", NULL
21486 };
21487
21488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21491 {
21492 PyThreadState* __tstate = wxPyBeginAllowThreads();
21493 {
21494 wxPrintData &_result_ref = (arg1)->GetPrintData();
21495 result = (wxPrintData *) &_result_ref;
21496 }
21497
21498 wxPyEndAllowThreads(__tstate);
21499 if (PyErr_Occurred()) SWIG_fail;
21500 }
21501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21502 return resultobj;
21503 fail:
21504 return NULL;
21505 }
21506
21507
21508 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21509 PyObject *resultobj;
21510 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21511 wxPrintData *arg2 = 0 ;
21512 PyObject * obj0 = 0 ;
21513 PyObject * obj1 = 0 ;
21514 char *kwnames[] = {
21515 (char *) "self",(char *) "printData", NULL
21516 };
21517
21518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21521 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21522 SWIG_POINTER_EXCEPTION | 0)) == -1)
21523 SWIG_fail;
21524 if (arg2 == NULL) {
21525 PyErr_SetString(PyExc_TypeError,"null reference");
21526 SWIG_fail;
21527 }
21528 {
21529 PyThreadState* __tstate = wxPyBeginAllowThreads();
21530 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21531
21532 wxPyEndAllowThreads(__tstate);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 }
21535 Py_INCREF(Py_None); resultobj = Py_None;
21536 return resultobj;
21537 fail:
21538 return NULL;
21539 }
21540
21541
21542 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
21543 PyObject *obj;
21544 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21545 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21546 Py_INCREF(obj);
21547 return Py_BuildValue((char *)"");
21548 }
21549 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21550 PyObject *resultobj;
21551 wxWindow *arg1 = (wxWindow *) 0 ;
21552 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21553 wxPrintDialog *result;
21554 PyObject * obj0 = 0 ;
21555 PyObject * obj1 = 0 ;
21556 char *kwnames[] = {
21557 (char *) "parent",(char *) "data", NULL
21558 };
21559
21560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21563 if (obj1) {
21564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21566 }
21567 {
21568 if (!wxPyCheckForApp()) SWIG_fail;
21569 PyThreadState* __tstate = wxPyBeginAllowThreads();
21570 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21571
21572 wxPyEndAllowThreads(__tstate);
21573 if (PyErr_Occurred()) SWIG_fail;
21574 }
21575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21576 return resultobj;
21577 fail:
21578 return NULL;
21579 }
21580
21581
21582 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21583 PyObject *resultobj;
21584 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21585 wxPrintDialogData *result;
21586 PyObject * obj0 = 0 ;
21587 char *kwnames[] = {
21588 (char *) "self", NULL
21589 };
21590
21591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21594 {
21595 PyThreadState* __tstate = wxPyBeginAllowThreads();
21596 {
21597 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21598 result = (wxPrintDialogData *) &_result_ref;
21599 }
21600
21601 wxPyEndAllowThreads(__tstate);
21602 if (PyErr_Occurred()) SWIG_fail;
21603 }
21604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21605 return resultobj;
21606 fail:
21607 return NULL;
21608 }
21609
21610
21611 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21612 PyObject *resultobj;
21613 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21614 wxDC *result;
21615 PyObject * obj0 = 0 ;
21616 char *kwnames[] = {
21617 (char *) "self", NULL
21618 };
21619
21620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21623 {
21624 PyThreadState* __tstate = wxPyBeginAllowThreads();
21625 result = (wxDC *)(arg1)->GetPrintDC();
21626
21627 wxPyEndAllowThreads(__tstate);
21628 if (PyErr_Occurred()) SWIG_fail;
21629 }
21630 {
21631 resultobj = wxPyMake_wxObject(result, 1);
21632 }
21633 return resultobj;
21634 fail:
21635 return NULL;
21636 }
21637
21638
21639 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21640 PyObject *resultobj;
21641 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21642 int result;
21643 PyObject * obj0 = 0 ;
21644 char *kwnames[] = {
21645 (char *) "self", NULL
21646 };
21647
21648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21651 {
21652 PyThreadState* __tstate = wxPyBeginAllowThreads();
21653 result = (int)(arg1)->ShowModal();
21654
21655 wxPyEndAllowThreads(__tstate);
21656 if (PyErr_Occurred()) SWIG_fail;
21657 }
21658 resultobj = SWIG_FromInt((int)result);
21659 return resultobj;
21660 fail:
21661 return NULL;
21662 }
21663
21664
21665 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21666 PyObject *obj;
21667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21668 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21669 Py_INCREF(obj);
21670 return Py_BuildValue((char *)"");
21671 }
21672 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21673 PyObject *resultobj;
21674 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21675 wxPrinter *result;
21676 PyObject * obj0 = 0 ;
21677 char *kwnames[] = {
21678 (char *) "data", NULL
21679 };
21680
21681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21682 if (obj0) {
21683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21685 }
21686 {
21687 if (!wxPyCheckForApp()) SWIG_fail;
21688 PyThreadState* __tstate = wxPyBeginAllowThreads();
21689 result = (wxPrinter *)new wxPrinter(arg1);
21690
21691 wxPyEndAllowThreads(__tstate);
21692 if (PyErr_Occurred()) SWIG_fail;
21693 }
21694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21695 return resultobj;
21696 fail:
21697 return NULL;
21698 }
21699
21700
21701 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21702 PyObject *resultobj;
21703 wxPrinter *arg1 = (wxPrinter *) 0 ;
21704 PyObject * obj0 = 0 ;
21705 char *kwnames[] = {
21706 (char *) "self", NULL
21707 };
21708
21709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21712 {
21713 PyThreadState* __tstate = wxPyBeginAllowThreads();
21714 delete arg1;
21715
21716 wxPyEndAllowThreads(__tstate);
21717 if (PyErr_Occurred()) SWIG_fail;
21718 }
21719 Py_INCREF(Py_None); resultobj = Py_None;
21720 return resultobj;
21721 fail:
21722 return NULL;
21723 }
21724
21725
21726 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21727 PyObject *resultobj;
21728 wxPrinter *arg1 = (wxPrinter *) 0 ;
21729 wxWindow *arg2 = (wxWindow *) 0 ;
21730 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21731 PyObject * obj0 = 0 ;
21732 PyObject * obj1 = 0 ;
21733 PyObject * obj2 = 0 ;
21734 char *kwnames[] = {
21735 (char *) "self",(char *) "parent",(char *) "printout", NULL
21736 };
21737
21738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21743 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21745 {
21746 PyThreadState* __tstate = wxPyBeginAllowThreads();
21747 (arg1)->CreateAbortWindow(arg2,arg3);
21748
21749 wxPyEndAllowThreads(__tstate);
21750 if (PyErr_Occurred()) SWIG_fail;
21751 }
21752 Py_INCREF(Py_None); resultobj = Py_None;
21753 return resultobj;
21754 fail:
21755 return NULL;
21756 }
21757
21758
21759 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21760 PyObject *resultobj;
21761 wxPrinter *arg1 = (wxPrinter *) 0 ;
21762 wxPrintDialogData *result;
21763 PyObject * obj0 = 0 ;
21764 char *kwnames[] = {
21765 (char *) "self", NULL
21766 };
21767
21768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21771 {
21772 PyThreadState* __tstate = wxPyBeginAllowThreads();
21773 {
21774 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21775 result = (wxPrintDialogData *) &_result_ref;
21776 }
21777
21778 wxPyEndAllowThreads(__tstate);
21779 if (PyErr_Occurred()) SWIG_fail;
21780 }
21781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21782 return resultobj;
21783 fail:
21784 return NULL;
21785 }
21786
21787
21788 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21789 PyObject *resultobj;
21790 wxPrinter *arg1 = (wxPrinter *) 0 ;
21791 wxWindow *arg2 = (wxWindow *) 0 ;
21792 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21793 int arg4 = (int) True ;
21794 bool result;
21795 PyObject * obj0 = 0 ;
21796 PyObject * obj1 = 0 ;
21797 PyObject * obj2 = 0 ;
21798 PyObject * obj3 = 0 ;
21799 char *kwnames[] = {
21800 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21801 };
21802
21803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21808 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21810 if (obj3) {
21811 arg4 = (int) SWIG_AsInt(obj3);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 {
21815 PyThreadState* __tstate = wxPyBeginAllowThreads();
21816 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21817
21818 wxPyEndAllowThreads(__tstate);
21819 if (PyErr_Occurred()) SWIG_fail;
21820 }
21821 {
21822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21823 }
21824 return resultobj;
21825 fail:
21826 return NULL;
21827 }
21828
21829
21830 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21831 PyObject *resultobj;
21832 wxPrinter *arg1 = (wxPrinter *) 0 ;
21833 wxWindow *arg2 = (wxWindow *) 0 ;
21834 wxDC *result;
21835 PyObject * obj0 = 0 ;
21836 PyObject * obj1 = 0 ;
21837 char *kwnames[] = {
21838 (char *) "self",(char *) "parent", NULL
21839 };
21840
21841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21846 {
21847 PyThreadState* __tstate = wxPyBeginAllowThreads();
21848 result = (wxDC *)(arg1)->PrintDialog(arg2);
21849
21850 wxPyEndAllowThreads(__tstate);
21851 if (PyErr_Occurred()) SWIG_fail;
21852 }
21853 {
21854 resultobj = wxPyMake_wxObject(result, 0);
21855 }
21856 return resultobj;
21857 fail:
21858 return NULL;
21859 }
21860
21861
21862 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21863 PyObject *resultobj;
21864 wxPrinter *arg1 = (wxPrinter *) 0 ;
21865 wxWindow *arg2 = (wxWindow *) 0 ;
21866 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21867 wxString *arg4 = 0 ;
21868 bool temp4 = False ;
21869 PyObject * obj0 = 0 ;
21870 PyObject * obj1 = 0 ;
21871 PyObject * obj2 = 0 ;
21872 PyObject * obj3 = 0 ;
21873 char *kwnames[] = {
21874 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21875 };
21876
21877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21882 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21884 {
21885 arg4 = wxString_in_helper(obj3);
21886 if (arg4 == NULL) SWIG_fail;
21887 temp4 = True;
21888 }
21889 {
21890 PyThreadState* __tstate = wxPyBeginAllowThreads();
21891 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21892
21893 wxPyEndAllowThreads(__tstate);
21894 if (PyErr_Occurred()) SWIG_fail;
21895 }
21896 Py_INCREF(Py_None); resultobj = Py_None;
21897 {
21898 if (temp4)
21899 delete arg4;
21900 }
21901 return resultobj;
21902 fail:
21903 {
21904 if (temp4)
21905 delete arg4;
21906 }
21907 return NULL;
21908 }
21909
21910
21911 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21912 PyObject *resultobj;
21913 wxPrinter *arg1 = (wxPrinter *) 0 ;
21914 wxWindow *arg2 = (wxWindow *) 0 ;
21915 bool result;
21916 PyObject * obj0 = 0 ;
21917 PyObject * obj1 = 0 ;
21918 char *kwnames[] = {
21919 (char *) "self",(char *) "parent", NULL
21920 };
21921
21922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21925 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21927 {
21928 PyThreadState* __tstate = wxPyBeginAllowThreads();
21929 result = (bool)(arg1)->Setup(arg2);
21930
21931 wxPyEndAllowThreads(__tstate);
21932 if (PyErr_Occurred()) SWIG_fail;
21933 }
21934 {
21935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21936 }
21937 return resultobj;
21938 fail:
21939 return NULL;
21940 }
21941
21942
21943 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21944 PyObject *resultobj;
21945 wxPrinter *arg1 = (wxPrinter *) 0 ;
21946 bool result;
21947 PyObject * obj0 = 0 ;
21948 char *kwnames[] = {
21949 (char *) "self", NULL
21950 };
21951
21952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21955 {
21956 PyThreadState* __tstate = wxPyBeginAllowThreads();
21957 result = (bool)(arg1)->GetAbort();
21958
21959 wxPyEndAllowThreads(__tstate);
21960 if (PyErr_Occurred()) SWIG_fail;
21961 }
21962 {
21963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21964 }
21965 return resultobj;
21966 fail:
21967 return NULL;
21968 }
21969
21970
21971 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21972 PyObject *resultobj;
21973 int result;
21974 char *kwnames[] = {
21975 NULL
21976 };
21977
21978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21979 {
21980 PyThreadState* __tstate = wxPyBeginAllowThreads();
21981 result = (int)wxPrinter::GetLastError();
21982
21983 wxPyEndAllowThreads(__tstate);
21984 if (PyErr_Occurred()) SWIG_fail;
21985 }
21986 resultobj = SWIG_FromInt((int)result);
21987 return resultobj;
21988 fail:
21989 return NULL;
21990 }
21991
21992
21993 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21994 PyObject *obj;
21995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21996 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21997 Py_INCREF(obj);
21998 return Py_BuildValue((char *)"");
21999 }
22000 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
22001 PyObject *resultobj;
22002 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
22003 wxString *arg1 = (wxString *) &arg1_defvalue ;
22004 wxPyPrintout *result;
22005 bool temp1 = False ;
22006 PyObject * obj0 = 0 ;
22007 char *kwnames[] = {
22008 (char *) "title", NULL
22009 };
22010
22011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
22012 if (obj0) {
22013 {
22014 arg1 = wxString_in_helper(obj0);
22015 if (arg1 == NULL) SWIG_fail;
22016 temp1 = True;
22017 }
22018 }
22019 {
22020 if (!wxPyCheckForApp()) SWIG_fail;
22021 PyThreadState* __tstate = wxPyBeginAllowThreads();
22022 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
22023
22024 wxPyEndAllowThreads(__tstate);
22025 if (PyErr_Occurred()) SWIG_fail;
22026 }
22027 {
22028 resultobj = wxPyMake_wxObject(result, 1);
22029 }
22030 {
22031 if (temp1)
22032 delete arg1;
22033 }
22034 return resultobj;
22035 fail:
22036 {
22037 if (temp1)
22038 delete arg1;
22039 }
22040 return NULL;
22041 }
22042
22043
22044 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22045 PyObject *resultobj;
22046 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22047 PyObject *arg2 = (PyObject *) 0 ;
22048 PyObject *arg3 = (PyObject *) 0 ;
22049 PyObject * obj0 = 0 ;
22050 PyObject * obj1 = 0 ;
22051 PyObject * obj2 = 0 ;
22052 char *kwnames[] = {
22053 (char *) "self",(char *) "self",(char *) "_class", NULL
22054 };
22055
22056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22059 arg2 = obj1;
22060 arg3 = obj2;
22061 {
22062 PyThreadState* __tstate = wxPyBeginAllowThreads();
22063 (arg1)->_setCallbackInfo(arg2,arg3);
22064
22065 wxPyEndAllowThreads(__tstate);
22066 if (PyErr_Occurred()) SWIG_fail;
22067 }
22068 Py_INCREF(Py_None); resultobj = Py_None;
22069 return resultobj;
22070 fail:
22071 return NULL;
22072 }
22073
22074
22075 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
22076 PyObject *resultobj;
22077 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22078 wxString result;
22079 PyObject * obj0 = 0 ;
22080 char *kwnames[] = {
22081 (char *) "self", NULL
22082 };
22083
22084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
22085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22087 {
22088 PyThreadState* __tstate = wxPyBeginAllowThreads();
22089 result = ((wxPyPrintout const *)arg1)->GetTitle();
22090
22091 wxPyEndAllowThreads(__tstate);
22092 if (PyErr_Occurred()) SWIG_fail;
22093 }
22094 {
22095 #if wxUSE_UNICODE
22096 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22097 #else
22098 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22099 #endif
22100 }
22101 return resultobj;
22102 fail:
22103 return NULL;
22104 }
22105
22106
22107 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
22108 PyObject *resultobj;
22109 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22110 wxDC *result;
22111 PyObject * obj0 = 0 ;
22112 char *kwnames[] = {
22113 (char *) "self", NULL
22114 };
22115
22116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22119 {
22120 PyThreadState* __tstate = wxPyBeginAllowThreads();
22121 result = (wxDC *)(arg1)->GetDC();
22122
22123 wxPyEndAllowThreads(__tstate);
22124 if (PyErr_Occurred()) SWIG_fail;
22125 }
22126 {
22127 resultobj = wxPyMake_wxObject(result, 0);
22128 }
22129 return resultobj;
22130 fail:
22131 return NULL;
22132 }
22133
22134
22135 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
22136 PyObject *resultobj;
22137 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22138 wxDC *arg2 = (wxDC *) 0 ;
22139 PyObject * obj0 = 0 ;
22140 PyObject * obj1 = 0 ;
22141 char *kwnames[] = {
22142 (char *) "self",(char *) "dc", NULL
22143 };
22144
22145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22148 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22150 {
22151 PyThreadState* __tstate = wxPyBeginAllowThreads();
22152 (arg1)->SetDC(arg2);
22153
22154 wxPyEndAllowThreads(__tstate);
22155 if (PyErr_Occurred()) SWIG_fail;
22156 }
22157 Py_INCREF(Py_None); resultobj = Py_None;
22158 return resultobj;
22159 fail:
22160 return NULL;
22161 }
22162
22163
22164 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
22165 PyObject *resultobj;
22166 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22167 int arg2 ;
22168 int arg3 ;
22169 PyObject * obj0 = 0 ;
22170 PyObject * obj1 = 0 ;
22171 PyObject * obj2 = 0 ;
22172 char *kwnames[] = {
22173 (char *) "self",(char *) "w",(char *) "h", NULL
22174 };
22175
22176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22179 arg2 = (int) SWIG_AsInt(obj1);
22180 if (PyErr_Occurred()) SWIG_fail;
22181 arg3 = (int) SWIG_AsInt(obj2);
22182 if (PyErr_Occurred()) SWIG_fail;
22183 {
22184 PyThreadState* __tstate = wxPyBeginAllowThreads();
22185 (arg1)->SetPageSizePixels(arg2,arg3);
22186
22187 wxPyEndAllowThreads(__tstate);
22188 if (PyErr_Occurred()) SWIG_fail;
22189 }
22190 Py_INCREF(Py_None); resultobj = Py_None;
22191 return resultobj;
22192 fail:
22193 return NULL;
22194 }
22195
22196
22197 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
22198 PyObject *resultobj;
22199 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22200 int *arg2 = (int *) 0 ;
22201 int *arg3 = (int *) 0 ;
22202 int temp2 ;
22203 int temp3 ;
22204 PyObject * obj0 = 0 ;
22205 char *kwnames[] = {
22206 (char *) "self", NULL
22207 };
22208
22209 arg2 = &temp2;
22210 arg3 = &temp3;
22211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22214 {
22215 PyThreadState* __tstate = wxPyBeginAllowThreads();
22216 (arg1)->GetPageSizePixels(arg2,arg3);
22217
22218 wxPyEndAllowThreads(__tstate);
22219 if (PyErr_Occurred()) SWIG_fail;
22220 }
22221 Py_INCREF(Py_None); resultobj = Py_None;
22222 {
22223 PyObject *o = PyInt_FromLong((long) (*arg2));
22224 resultobj = t_output_helper(resultobj,o);
22225 }
22226 {
22227 PyObject *o = PyInt_FromLong((long) (*arg3));
22228 resultobj = t_output_helper(resultobj,o);
22229 }
22230 return resultobj;
22231 fail:
22232 return NULL;
22233 }
22234
22235
22236 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
22237 PyObject *resultobj;
22238 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22239 int arg2 ;
22240 int arg3 ;
22241 PyObject * obj0 = 0 ;
22242 PyObject * obj1 = 0 ;
22243 PyObject * obj2 = 0 ;
22244 char *kwnames[] = {
22245 (char *) "self",(char *) "w",(char *) "h", NULL
22246 };
22247
22248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22251 arg2 = (int) SWIG_AsInt(obj1);
22252 if (PyErr_Occurred()) SWIG_fail;
22253 arg3 = (int) SWIG_AsInt(obj2);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 {
22256 PyThreadState* __tstate = wxPyBeginAllowThreads();
22257 (arg1)->SetPageSizeMM(arg2,arg3);
22258
22259 wxPyEndAllowThreads(__tstate);
22260 if (PyErr_Occurred()) SWIG_fail;
22261 }
22262 Py_INCREF(Py_None); resultobj = Py_None;
22263 return resultobj;
22264 fail:
22265 return NULL;
22266 }
22267
22268
22269 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
22270 PyObject *resultobj;
22271 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22272 int *arg2 = (int *) 0 ;
22273 int *arg3 = (int *) 0 ;
22274 int temp2 ;
22275 int temp3 ;
22276 PyObject * obj0 = 0 ;
22277 char *kwnames[] = {
22278 (char *) "self", NULL
22279 };
22280
22281 arg2 = &temp2;
22282 arg3 = &temp3;
22283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22286 {
22287 PyThreadState* __tstate = wxPyBeginAllowThreads();
22288 (arg1)->GetPageSizeMM(arg2,arg3);
22289
22290 wxPyEndAllowThreads(__tstate);
22291 if (PyErr_Occurred()) SWIG_fail;
22292 }
22293 Py_INCREF(Py_None); resultobj = Py_None;
22294 {
22295 PyObject *o = PyInt_FromLong((long) (*arg2));
22296 resultobj = t_output_helper(resultobj,o);
22297 }
22298 {
22299 PyObject *o = PyInt_FromLong((long) (*arg3));
22300 resultobj = t_output_helper(resultobj,o);
22301 }
22302 return resultobj;
22303 fail:
22304 return NULL;
22305 }
22306
22307
22308 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22309 PyObject *resultobj;
22310 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22311 int arg2 ;
22312 int arg3 ;
22313 PyObject * obj0 = 0 ;
22314 PyObject * obj1 = 0 ;
22315 PyObject * obj2 = 0 ;
22316 char *kwnames[] = {
22317 (char *) "self",(char *) "x",(char *) "y", NULL
22318 };
22319
22320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22323 arg2 = (int) SWIG_AsInt(obj1);
22324 if (PyErr_Occurred()) SWIG_fail;
22325 arg3 = (int) SWIG_AsInt(obj2);
22326 if (PyErr_Occurred()) SWIG_fail;
22327 {
22328 PyThreadState* __tstate = wxPyBeginAllowThreads();
22329 (arg1)->SetPPIScreen(arg2,arg3);
22330
22331 wxPyEndAllowThreads(__tstate);
22332 if (PyErr_Occurred()) SWIG_fail;
22333 }
22334 Py_INCREF(Py_None); resultobj = Py_None;
22335 return resultobj;
22336 fail:
22337 return NULL;
22338 }
22339
22340
22341 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22342 PyObject *resultobj;
22343 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22344 int *arg2 = (int *) 0 ;
22345 int *arg3 = (int *) 0 ;
22346 int temp2 ;
22347 int temp3 ;
22348 PyObject * obj0 = 0 ;
22349 char *kwnames[] = {
22350 (char *) "self", NULL
22351 };
22352
22353 arg2 = &temp2;
22354 arg3 = &temp3;
22355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22358 {
22359 PyThreadState* __tstate = wxPyBeginAllowThreads();
22360 (arg1)->GetPPIScreen(arg2,arg3);
22361
22362 wxPyEndAllowThreads(__tstate);
22363 if (PyErr_Occurred()) SWIG_fail;
22364 }
22365 Py_INCREF(Py_None); resultobj = Py_None;
22366 {
22367 PyObject *o = PyInt_FromLong((long) (*arg2));
22368 resultobj = t_output_helper(resultobj,o);
22369 }
22370 {
22371 PyObject *o = PyInt_FromLong((long) (*arg3));
22372 resultobj = t_output_helper(resultobj,o);
22373 }
22374 return resultobj;
22375 fail:
22376 return NULL;
22377 }
22378
22379
22380 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22381 PyObject *resultobj;
22382 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22383 int arg2 ;
22384 int arg3 ;
22385 PyObject * obj0 = 0 ;
22386 PyObject * obj1 = 0 ;
22387 PyObject * obj2 = 0 ;
22388 char *kwnames[] = {
22389 (char *) "self",(char *) "x",(char *) "y", NULL
22390 };
22391
22392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22395 arg2 = (int) SWIG_AsInt(obj1);
22396 if (PyErr_Occurred()) SWIG_fail;
22397 arg3 = (int) SWIG_AsInt(obj2);
22398 if (PyErr_Occurred()) SWIG_fail;
22399 {
22400 PyThreadState* __tstate = wxPyBeginAllowThreads();
22401 (arg1)->SetPPIPrinter(arg2,arg3);
22402
22403 wxPyEndAllowThreads(__tstate);
22404 if (PyErr_Occurred()) SWIG_fail;
22405 }
22406 Py_INCREF(Py_None); resultobj = Py_None;
22407 return resultobj;
22408 fail:
22409 return NULL;
22410 }
22411
22412
22413 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22414 PyObject *resultobj;
22415 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22416 int *arg2 = (int *) 0 ;
22417 int *arg3 = (int *) 0 ;
22418 int temp2 ;
22419 int temp3 ;
22420 PyObject * obj0 = 0 ;
22421 char *kwnames[] = {
22422 (char *) "self", NULL
22423 };
22424
22425 arg2 = &temp2;
22426 arg3 = &temp3;
22427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22430 {
22431 PyThreadState* __tstate = wxPyBeginAllowThreads();
22432 (arg1)->GetPPIPrinter(arg2,arg3);
22433
22434 wxPyEndAllowThreads(__tstate);
22435 if (PyErr_Occurred()) SWIG_fail;
22436 }
22437 Py_INCREF(Py_None); resultobj = Py_None;
22438 {
22439 PyObject *o = PyInt_FromLong((long) (*arg2));
22440 resultobj = t_output_helper(resultobj,o);
22441 }
22442 {
22443 PyObject *o = PyInt_FromLong((long) (*arg3));
22444 resultobj = t_output_helper(resultobj,o);
22445 }
22446 return resultobj;
22447 fail:
22448 return NULL;
22449 }
22450
22451
22452 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22453 PyObject *resultobj;
22454 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22455 bool result;
22456 PyObject * obj0 = 0 ;
22457 char *kwnames[] = {
22458 (char *) "self", NULL
22459 };
22460
22461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22464 {
22465 PyThreadState* __tstate = wxPyBeginAllowThreads();
22466 result = (bool)(arg1)->IsPreview();
22467
22468 wxPyEndAllowThreads(__tstate);
22469 if (PyErr_Occurred()) SWIG_fail;
22470 }
22471 {
22472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22473 }
22474 return resultobj;
22475 fail:
22476 return NULL;
22477 }
22478
22479
22480 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22481 PyObject *resultobj;
22482 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22483 bool arg2 ;
22484 PyObject * obj0 = 0 ;
22485 PyObject * obj1 = 0 ;
22486 char *kwnames[] = {
22487 (char *) "self",(char *) "p", NULL
22488 };
22489
22490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22493 arg2 = (bool) SWIG_AsBool(obj1);
22494 if (PyErr_Occurred()) SWIG_fail;
22495 {
22496 PyThreadState* __tstate = wxPyBeginAllowThreads();
22497 (arg1)->SetIsPreview(arg2);
22498
22499 wxPyEndAllowThreads(__tstate);
22500 if (PyErr_Occurred()) SWIG_fail;
22501 }
22502 Py_INCREF(Py_None); resultobj = Py_None;
22503 return resultobj;
22504 fail:
22505 return NULL;
22506 }
22507
22508
22509 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22510 PyObject *resultobj;
22511 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22512 int arg2 ;
22513 int arg3 ;
22514 bool result;
22515 PyObject * obj0 = 0 ;
22516 PyObject * obj1 = 0 ;
22517 PyObject * obj2 = 0 ;
22518 char *kwnames[] = {
22519 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22520 };
22521
22522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22525 arg2 = (int) SWIG_AsInt(obj1);
22526 if (PyErr_Occurred()) SWIG_fail;
22527 arg3 = (int) SWIG_AsInt(obj2);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 {
22530 PyThreadState* __tstate = wxPyBeginAllowThreads();
22531 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22532
22533 wxPyEndAllowThreads(__tstate);
22534 if (PyErr_Occurred()) SWIG_fail;
22535 }
22536 {
22537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22538 }
22539 return resultobj;
22540 fail:
22541 return NULL;
22542 }
22543
22544
22545 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22546 PyObject *resultobj;
22547 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22548 PyObject * obj0 = 0 ;
22549 char *kwnames[] = {
22550 (char *) "self", NULL
22551 };
22552
22553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22556 {
22557 PyThreadState* __tstate = wxPyBeginAllowThreads();
22558 (arg1)->base_OnEndDocument();
22559
22560 wxPyEndAllowThreads(__tstate);
22561 if (PyErr_Occurred()) SWIG_fail;
22562 }
22563 Py_INCREF(Py_None); resultobj = Py_None;
22564 return resultobj;
22565 fail:
22566 return NULL;
22567 }
22568
22569
22570 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22571 PyObject *resultobj;
22572 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22573 PyObject * obj0 = 0 ;
22574 char *kwnames[] = {
22575 (char *) "self", NULL
22576 };
22577
22578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22581 {
22582 PyThreadState* __tstate = wxPyBeginAllowThreads();
22583 (arg1)->base_OnBeginPrinting();
22584
22585 wxPyEndAllowThreads(__tstate);
22586 if (PyErr_Occurred()) SWIG_fail;
22587 }
22588 Py_INCREF(Py_None); resultobj = Py_None;
22589 return resultobj;
22590 fail:
22591 return NULL;
22592 }
22593
22594
22595 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22596 PyObject *resultobj;
22597 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22598 PyObject * obj0 = 0 ;
22599 char *kwnames[] = {
22600 (char *) "self", NULL
22601 };
22602
22603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22606 {
22607 PyThreadState* __tstate = wxPyBeginAllowThreads();
22608 (arg1)->base_OnEndPrinting();
22609
22610 wxPyEndAllowThreads(__tstate);
22611 if (PyErr_Occurred()) SWIG_fail;
22612 }
22613 Py_INCREF(Py_None); resultobj = Py_None;
22614 return resultobj;
22615 fail:
22616 return NULL;
22617 }
22618
22619
22620 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22621 PyObject *resultobj;
22622 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22623 PyObject * obj0 = 0 ;
22624 char *kwnames[] = {
22625 (char *) "self", NULL
22626 };
22627
22628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22631 {
22632 PyThreadState* __tstate = wxPyBeginAllowThreads();
22633 (arg1)->base_OnPreparePrinting();
22634
22635 wxPyEndAllowThreads(__tstate);
22636 if (PyErr_Occurred()) SWIG_fail;
22637 }
22638 Py_INCREF(Py_None); resultobj = Py_None;
22639 return resultobj;
22640 fail:
22641 return NULL;
22642 }
22643
22644
22645 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22646 PyObject *resultobj;
22647 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22648 int arg2 ;
22649 bool result;
22650 PyObject * obj0 = 0 ;
22651 PyObject * obj1 = 0 ;
22652 char *kwnames[] = {
22653 (char *) "self",(char *) "page", NULL
22654 };
22655
22656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22659 arg2 = (int) SWIG_AsInt(obj1);
22660 if (PyErr_Occurred()) SWIG_fail;
22661 {
22662 PyThreadState* __tstate = wxPyBeginAllowThreads();
22663 result = (bool)(arg1)->base_HasPage(arg2);
22664
22665 wxPyEndAllowThreads(__tstate);
22666 if (PyErr_Occurred()) SWIG_fail;
22667 }
22668 {
22669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22670 }
22671 return resultobj;
22672 fail:
22673 return NULL;
22674 }
22675
22676
22677 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22678 PyObject *resultobj;
22679 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22680 int *arg2 = (int *) 0 ;
22681 int *arg3 = (int *) 0 ;
22682 int *arg4 = (int *) 0 ;
22683 int *arg5 = (int *) 0 ;
22684 int temp2 ;
22685 int temp3 ;
22686 int temp4 ;
22687 int temp5 ;
22688 PyObject * obj0 = 0 ;
22689 char *kwnames[] = {
22690 (char *) "self", NULL
22691 };
22692
22693 arg2 = &temp2;
22694 arg3 = &temp3;
22695 arg4 = &temp4;
22696 arg5 = &temp5;
22697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22700 {
22701 PyThreadState* __tstate = wxPyBeginAllowThreads();
22702 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22703
22704 wxPyEndAllowThreads(__tstate);
22705 if (PyErr_Occurred()) SWIG_fail;
22706 }
22707 Py_INCREF(Py_None); resultobj = Py_None;
22708 {
22709 PyObject *o = PyInt_FromLong((long) (*arg2));
22710 resultobj = t_output_helper(resultobj,o);
22711 }
22712 {
22713 PyObject *o = PyInt_FromLong((long) (*arg3));
22714 resultobj = t_output_helper(resultobj,o);
22715 }
22716 {
22717 PyObject *o = PyInt_FromLong((long) (*arg4));
22718 resultobj = t_output_helper(resultobj,o);
22719 }
22720 {
22721 PyObject *o = PyInt_FromLong((long) (*arg5));
22722 resultobj = t_output_helper(resultobj,o);
22723 }
22724 return resultobj;
22725 fail:
22726 return NULL;
22727 }
22728
22729
22730 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22731 PyObject *obj;
22732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22733 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22734 Py_INCREF(obj);
22735 return Py_BuildValue((char *)"");
22736 }
22737 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22738 PyObject *resultobj;
22739 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22740 wxWindow *arg2 = (wxWindow *) 0 ;
22741 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22742 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22743 wxSize const &arg4_defvalue = wxDefaultSize ;
22744 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22745 long arg5 = (long) 0 ;
22746 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22747 wxString *arg6 = (wxString *) &arg6_defvalue ;
22748 wxPreviewCanvas *result;
22749 wxPoint temp3 ;
22750 wxSize temp4 ;
22751 bool temp6 = False ;
22752 PyObject * obj0 = 0 ;
22753 PyObject * obj1 = 0 ;
22754 PyObject * obj2 = 0 ;
22755 PyObject * obj3 = 0 ;
22756 PyObject * obj4 = 0 ;
22757 PyObject * obj5 = 0 ;
22758 char *kwnames[] = {
22759 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22760 };
22761
22762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22765 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22767 if (obj2) {
22768 {
22769 arg3 = &temp3;
22770 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22771 }
22772 }
22773 if (obj3) {
22774 {
22775 arg4 = &temp4;
22776 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22777 }
22778 }
22779 if (obj4) {
22780 arg5 = (long) SWIG_AsLong(obj4);
22781 if (PyErr_Occurred()) SWIG_fail;
22782 }
22783 if (obj5) {
22784 {
22785 arg6 = wxString_in_helper(obj5);
22786 if (arg6 == NULL) SWIG_fail;
22787 temp6 = True;
22788 }
22789 }
22790 {
22791 if (!wxPyCheckForApp()) SWIG_fail;
22792 PyThreadState* __tstate = wxPyBeginAllowThreads();
22793 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22794
22795 wxPyEndAllowThreads(__tstate);
22796 if (PyErr_Occurred()) SWIG_fail;
22797 }
22798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22799 {
22800 if (temp6)
22801 delete arg6;
22802 }
22803 return resultobj;
22804 fail:
22805 {
22806 if (temp6)
22807 delete arg6;
22808 }
22809 return NULL;
22810 }
22811
22812
22813 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22814 PyObject *obj;
22815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22816 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22817 Py_INCREF(obj);
22818 return Py_BuildValue((char *)"");
22819 }
22820 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22821 PyObject *resultobj;
22822 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22823 wxFrame *arg2 = (wxFrame *) 0 ;
22824 wxString *arg3 = 0 ;
22825 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22826 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22827 wxSize const &arg5_defvalue = wxDefaultSize ;
22828 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22829 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22830 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22831 wxString *arg7 = (wxString *) &arg7_defvalue ;
22832 wxPreviewFrame *result;
22833 bool temp3 = False ;
22834 wxPoint temp4 ;
22835 wxSize temp5 ;
22836 bool temp7 = False ;
22837 PyObject * obj0 = 0 ;
22838 PyObject * obj1 = 0 ;
22839 PyObject * obj2 = 0 ;
22840 PyObject * obj3 = 0 ;
22841 PyObject * obj4 = 0 ;
22842 PyObject * obj5 = 0 ;
22843 PyObject * obj6 = 0 ;
22844 char *kwnames[] = {
22845 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22846 };
22847
22848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22851 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22853 {
22854 arg3 = wxString_in_helper(obj2);
22855 if (arg3 == NULL) SWIG_fail;
22856 temp3 = True;
22857 }
22858 if (obj3) {
22859 {
22860 arg4 = &temp4;
22861 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22862 }
22863 }
22864 if (obj4) {
22865 {
22866 arg5 = &temp5;
22867 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22868 }
22869 }
22870 if (obj5) {
22871 arg6 = (long) SWIG_AsLong(obj5);
22872 if (PyErr_Occurred()) SWIG_fail;
22873 }
22874 if (obj6) {
22875 {
22876 arg7 = wxString_in_helper(obj6);
22877 if (arg7 == NULL) SWIG_fail;
22878 temp7 = True;
22879 }
22880 }
22881 {
22882 if (!wxPyCheckForApp()) SWIG_fail;
22883 PyThreadState* __tstate = wxPyBeginAllowThreads();
22884 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22885
22886 wxPyEndAllowThreads(__tstate);
22887 if (PyErr_Occurred()) SWIG_fail;
22888 }
22889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22890 {
22891 if (temp3)
22892 delete arg3;
22893 }
22894 {
22895 if (temp7)
22896 delete arg7;
22897 }
22898 return resultobj;
22899 fail:
22900 {
22901 if (temp3)
22902 delete arg3;
22903 }
22904 {
22905 if (temp7)
22906 delete arg7;
22907 }
22908 return NULL;
22909 }
22910
22911
22912 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22913 PyObject *resultobj;
22914 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22915 PyObject * obj0 = 0 ;
22916 char *kwnames[] = {
22917 (char *) "self", NULL
22918 };
22919
22920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22923 {
22924 PyThreadState* __tstate = wxPyBeginAllowThreads();
22925 (arg1)->Initialize();
22926
22927 wxPyEndAllowThreads(__tstate);
22928 if (PyErr_Occurred()) SWIG_fail;
22929 }
22930 Py_INCREF(Py_None); resultobj = Py_None;
22931 return resultobj;
22932 fail:
22933 return NULL;
22934 }
22935
22936
22937 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22938 PyObject *resultobj;
22939 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22940 PyObject * obj0 = 0 ;
22941 char *kwnames[] = {
22942 (char *) "self", NULL
22943 };
22944
22945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22948 {
22949 PyThreadState* __tstate = wxPyBeginAllowThreads();
22950 (arg1)->CreateControlBar();
22951
22952 wxPyEndAllowThreads(__tstate);
22953 if (PyErr_Occurred()) SWIG_fail;
22954 }
22955 Py_INCREF(Py_None); resultobj = Py_None;
22956 return resultobj;
22957 fail:
22958 return NULL;
22959 }
22960
22961
22962 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22963 PyObject *resultobj;
22964 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22965 PyObject * obj0 = 0 ;
22966 char *kwnames[] = {
22967 (char *) "self", NULL
22968 };
22969
22970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22973 {
22974 PyThreadState* __tstate = wxPyBeginAllowThreads();
22975 (arg1)->CreateCanvas();
22976
22977 wxPyEndAllowThreads(__tstate);
22978 if (PyErr_Occurred()) SWIG_fail;
22979 }
22980 Py_INCREF(Py_None); resultobj = Py_None;
22981 return resultobj;
22982 fail:
22983 return NULL;
22984 }
22985
22986
22987 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22988 PyObject *resultobj;
22989 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22990 wxPreviewControlBar *result;
22991 PyObject * obj0 = 0 ;
22992 char *kwnames[] = {
22993 (char *) "self", NULL
22994 };
22995
22996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22999 {
23000 PyThreadState* __tstate = wxPyBeginAllowThreads();
23001 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
23002
23003 wxPyEndAllowThreads(__tstate);
23004 if (PyErr_Occurred()) SWIG_fail;
23005 }
23006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
23007 return resultobj;
23008 fail:
23009 return NULL;
23010 }
23011
23012
23013 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
23014 PyObject *obj;
23015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23016 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
23017 Py_INCREF(obj);
23018 return Py_BuildValue((char *)"");
23019 }
23020 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23021 PyObject *resultobj;
23022 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23023 long arg2 ;
23024 wxWindow *arg3 = (wxWindow *) 0 ;
23025 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23026 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23027 wxSize const &arg5_defvalue = wxDefaultSize ;
23028 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23029 long arg6 = (long) wxTAB_TRAVERSAL ;
23030 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23031 wxString *arg7 = (wxString *) &arg7_defvalue ;
23032 wxPreviewControlBar *result;
23033 wxPoint temp4 ;
23034 wxSize temp5 ;
23035 bool temp7 = False ;
23036 PyObject * obj0 = 0 ;
23037 PyObject * obj1 = 0 ;
23038 PyObject * obj2 = 0 ;
23039 PyObject * obj3 = 0 ;
23040 PyObject * obj4 = 0 ;
23041 PyObject * obj5 = 0 ;
23042 PyObject * obj6 = 0 ;
23043 char *kwnames[] = {
23044 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23045 };
23046
23047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23050 arg2 = (long) SWIG_AsLong(obj1);
23051 if (PyErr_Occurred()) SWIG_fail;
23052 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23054 if (obj3) {
23055 {
23056 arg4 = &temp4;
23057 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23058 }
23059 }
23060 if (obj4) {
23061 {
23062 arg5 = &temp5;
23063 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23064 }
23065 }
23066 if (obj5) {
23067 arg6 = (long) SWIG_AsLong(obj5);
23068 if (PyErr_Occurred()) SWIG_fail;
23069 }
23070 if (obj6) {
23071 {
23072 arg7 = wxString_in_helper(obj6);
23073 if (arg7 == NULL) SWIG_fail;
23074 temp7 = True;
23075 }
23076 }
23077 {
23078 if (!wxPyCheckForApp()) SWIG_fail;
23079 PyThreadState* __tstate = wxPyBeginAllowThreads();
23080 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23081
23082 wxPyEndAllowThreads(__tstate);
23083 if (PyErr_Occurred()) SWIG_fail;
23084 }
23085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
23086 {
23087 if (temp7)
23088 delete arg7;
23089 }
23090 return resultobj;
23091 fail:
23092 {
23093 if (temp7)
23094 delete arg7;
23095 }
23096 return NULL;
23097 }
23098
23099
23100 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23101 PyObject *resultobj;
23102 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23103 int result;
23104 PyObject * obj0 = 0 ;
23105 char *kwnames[] = {
23106 (char *) "self", NULL
23107 };
23108
23109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
23110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23112 {
23113 PyThreadState* __tstate = wxPyBeginAllowThreads();
23114 result = (int)(arg1)->GetZoomControl();
23115
23116 wxPyEndAllowThreads(__tstate);
23117 if (PyErr_Occurred()) SWIG_fail;
23118 }
23119 resultobj = SWIG_FromInt((int)result);
23120 return resultobj;
23121 fail:
23122 return NULL;
23123 }
23124
23125
23126 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23127 PyObject *resultobj;
23128 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23129 int arg2 ;
23130 PyObject * obj0 = 0 ;
23131 PyObject * obj1 = 0 ;
23132 char *kwnames[] = {
23133 (char *) "self",(char *) "zoom", NULL
23134 };
23135
23136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
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)->SetZoomControl(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_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
23156 PyObject *resultobj;
23157 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23158 wxPrintPreview *result;
23159 PyObject * obj0 = 0 ;
23160 char *kwnames[] = {
23161 (char *) "self", NULL
23162 };
23163
23164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23170
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23175 return resultobj;
23176 fail:
23177 return NULL;
23178 }
23179
23180
23181 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
23182 PyObject *resultobj;
23183 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23184 PyObject * obj0 = 0 ;
23185 char *kwnames[] = {
23186 (char *) "self", NULL
23187 };
23188
23189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23192 {
23193 PyThreadState* __tstate = wxPyBeginAllowThreads();
23194 (arg1)->OnNext();
23195
23196 wxPyEndAllowThreads(__tstate);
23197 if (PyErr_Occurred()) SWIG_fail;
23198 }
23199 Py_INCREF(Py_None); resultobj = Py_None;
23200 return resultobj;
23201 fail:
23202 return NULL;
23203 }
23204
23205
23206 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
23207 PyObject *resultobj;
23208 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23209 PyObject * obj0 = 0 ;
23210 char *kwnames[] = {
23211 (char *) "self", NULL
23212 };
23213
23214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23217 {
23218 PyThreadState* __tstate = wxPyBeginAllowThreads();
23219 (arg1)->OnPrevious();
23220
23221 wxPyEndAllowThreads(__tstate);
23222 if (PyErr_Occurred()) SWIG_fail;
23223 }
23224 Py_INCREF(Py_None); resultobj = Py_None;
23225 return resultobj;
23226 fail:
23227 return NULL;
23228 }
23229
23230
23231 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
23232 PyObject *resultobj;
23233 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23234 PyObject * obj0 = 0 ;
23235 char *kwnames[] = {
23236 (char *) "self", NULL
23237 };
23238
23239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23242 {
23243 PyThreadState* __tstate = wxPyBeginAllowThreads();
23244 (arg1)->OnFirst();
23245
23246 wxPyEndAllowThreads(__tstate);
23247 if (PyErr_Occurred()) SWIG_fail;
23248 }
23249 Py_INCREF(Py_None); resultobj = Py_None;
23250 return resultobj;
23251 fail:
23252 return NULL;
23253 }
23254
23255
23256 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
23257 PyObject *resultobj;
23258 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23259 PyObject * obj0 = 0 ;
23260 char *kwnames[] = {
23261 (char *) "self", NULL
23262 };
23263
23264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23267 {
23268 PyThreadState* __tstate = wxPyBeginAllowThreads();
23269 (arg1)->OnLast();
23270
23271 wxPyEndAllowThreads(__tstate);
23272 if (PyErr_Occurred()) SWIG_fail;
23273 }
23274 Py_INCREF(Py_None); resultobj = Py_None;
23275 return resultobj;
23276 fail:
23277 return NULL;
23278 }
23279
23280
23281 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
23282 PyObject *resultobj;
23283 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23284 PyObject * obj0 = 0 ;
23285 char *kwnames[] = {
23286 (char *) "self", NULL
23287 };
23288
23289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23292 {
23293 PyThreadState* __tstate = wxPyBeginAllowThreads();
23294 (arg1)->OnGoto();
23295
23296 wxPyEndAllowThreads(__tstate);
23297 if (PyErr_Occurred()) SWIG_fail;
23298 }
23299 Py_INCREF(Py_None); resultobj = Py_None;
23300 return resultobj;
23301 fail:
23302 return NULL;
23303 }
23304
23305
23306 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
23307 PyObject *obj;
23308 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23309 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23310 Py_INCREF(obj);
23311 return Py_BuildValue((char *)"");
23312 }
23313 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23314 PyObject *resultobj;
23315 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23316 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23317 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23318 wxPrintPreview *result;
23319 PyObject * obj0 = 0 ;
23320 PyObject * obj1 = 0 ;
23321 PyObject * obj2 = 0 ;
23322
23323 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23328 if (obj2) {
23329 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23331 }
23332 {
23333 if (!wxPyCheckForApp()) SWIG_fail;
23334 PyThreadState* __tstate = wxPyBeginAllowThreads();
23335 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23336
23337 wxPyEndAllowThreads(__tstate);
23338 if (PyErr_Occurred()) SWIG_fail;
23339 }
23340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23341 return resultobj;
23342 fail:
23343 return NULL;
23344 }
23345
23346
23347 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23348 PyObject *resultobj;
23349 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23350 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23351 wxPrintData *arg3 = (wxPrintData *) 0 ;
23352 wxPrintPreview *result;
23353 PyObject * obj0 = 0 ;
23354 PyObject * obj1 = 0 ;
23355 PyObject * obj2 = 0 ;
23356
23357 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23362 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23364 {
23365 if (!wxPyCheckForApp()) SWIG_fail;
23366 PyThreadState* __tstate = wxPyBeginAllowThreads();
23367 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23368
23369 wxPyEndAllowThreads(__tstate);
23370 if (PyErr_Occurred()) SWIG_fail;
23371 }
23372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23373 return resultobj;
23374 fail:
23375 return NULL;
23376 }
23377
23378
23379 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23380 int argc;
23381 PyObject *argv[4];
23382 int ii;
23383
23384 argc = PyObject_Length(args);
23385 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23386 argv[ii] = PyTuple_GetItem(args,ii);
23387 }
23388 if ((argc >= 2) && (argc <= 3)) {
23389 int _v;
23390 {
23391 void *ptr;
23392 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23393 _v = 0;
23394 PyErr_Clear();
23395 } else {
23396 _v = 1;
23397 }
23398 }
23399 if (_v) {
23400 {
23401 void *ptr;
23402 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23403 _v = 0;
23404 PyErr_Clear();
23405 } else {
23406 _v = 1;
23407 }
23408 }
23409 if (_v) {
23410 if (argc <= 2) {
23411 return _wrap_new_PrintPreview__SWIG_0(self,args);
23412 }
23413 {
23414 void *ptr;
23415 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23416 _v = 0;
23417 PyErr_Clear();
23418 } else {
23419 _v = 1;
23420 }
23421 }
23422 if (_v) {
23423 return _wrap_new_PrintPreview__SWIG_0(self,args);
23424 }
23425 }
23426 }
23427 }
23428 if (argc == 3) {
23429 int _v;
23430 {
23431 void *ptr;
23432 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23433 _v = 0;
23434 PyErr_Clear();
23435 } else {
23436 _v = 1;
23437 }
23438 }
23439 if (_v) {
23440 {
23441 void *ptr;
23442 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23443 _v = 0;
23444 PyErr_Clear();
23445 } else {
23446 _v = 1;
23447 }
23448 }
23449 if (_v) {
23450 {
23451 void *ptr;
23452 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23453 _v = 0;
23454 PyErr_Clear();
23455 } else {
23456 _v = 1;
23457 }
23458 }
23459 if (_v) {
23460 return _wrap_new_PrintPreview__SWIG_1(self,args);
23461 }
23462 }
23463 }
23464 }
23465
23466 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23467 return NULL;
23468 }
23469
23470
23471 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23472 PyObject *resultobj;
23473 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23474 int arg2 ;
23475 bool result;
23476 PyObject * obj0 = 0 ;
23477 PyObject * obj1 = 0 ;
23478 char *kwnames[] = {
23479 (char *) "self",(char *) "pageNum", NULL
23480 };
23481
23482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23485 arg2 = (int) SWIG_AsInt(obj1);
23486 if (PyErr_Occurred()) SWIG_fail;
23487 {
23488 PyThreadState* __tstate = wxPyBeginAllowThreads();
23489 result = (bool)(arg1)->SetCurrentPage(arg2);
23490
23491 wxPyEndAllowThreads(__tstate);
23492 if (PyErr_Occurred()) SWIG_fail;
23493 }
23494 {
23495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23496 }
23497 return resultobj;
23498 fail:
23499 return NULL;
23500 }
23501
23502
23503 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23504 PyObject *resultobj;
23505 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23506 int result;
23507 PyObject * obj0 = 0 ;
23508 char *kwnames[] = {
23509 (char *) "self", NULL
23510 };
23511
23512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23515 {
23516 PyThreadState* __tstate = wxPyBeginAllowThreads();
23517 result = (int)(arg1)->GetCurrentPage();
23518
23519 wxPyEndAllowThreads(__tstate);
23520 if (PyErr_Occurred()) SWIG_fail;
23521 }
23522 resultobj = SWIG_FromInt((int)result);
23523 return resultobj;
23524 fail:
23525 return NULL;
23526 }
23527
23528
23529 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23530 PyObject *resultobj;
23531 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23532 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23533 PyObject * obj0 = 0 ;
23534 PyObject * obj1 = 0 ;
23535 char *kwnames[] = {
23536 (char *) "self",(char *) "printout", NULL
23537 };
23538
23539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23542 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23544 {
23545 PyThreadState* __tstate = wxPyBeginAllowThreads();
23546 (arg1)->SetPrintout(arg2);
23547
23548 wxPyEndAllowThreads(__tstate);
23549 if (PyErr_Occurred()) SWIG_fail;
23550 }
23551 Py_INCREF(Py_None); resultobj = Py_None;
23552 return resultobj;
23553 fail:
23554 return NULL;
23555 }
23556
23557
23558 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23559 PyObject *resultobj;
23560 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23561 wxPyPrintout *result;
23562 PyObject * obj0 = 0 ;
23563 char *kwnames[] = {
23564 (char *) "self", NULL
23565 };
23566
23567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23570 {
23571 PyThreadState* __tstate = wxPyBeginAllowThreads();
23572 result = (wxPyPrintout *)(arg1)->GetPrintout();
23573
23574 wxPyEndAllowThreads(__tstate);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 }
23577 {
23578 resultobj = wxPyMake_wxObject(result, 0);
23579 }
23580 return resultobj;
23581 fail:
23582 return NULL;
23583 }
23584
23585
23586 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
23587 PyObject *resultobj;
23588 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23589 wxPyPrintout *result;
23590 PyObject * obj0 = 0 ;
23591 char *kwnames[] = {
23592 (char *) "self", NULL
23593 };
23594
23595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23598 {
23599 PyThreadState* __tstate = wxPyBeginAllowThreads();
23600 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23601
23602 wxPyEndAllowThreads(__tstate);
23603 if (PyErr_Occurred()) SWIG_fail;
23604 }
23605 {
23606 resultobj = wxPyMake_wxObject(result, 0);
23607 }
23608 return resultobj;
23609 fail:
23610 return NULL;
23611 }
23612
23613
23614 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23615 PyObject *resultobj;
23616 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23617 wxFrame *arg2 = (wxFrame *) 0 ;
23618 PyObject * obj0 = 0 ;
23619 PyObject * obj1 = 0 ;
23620 char *kwnames[] = {
23621 (char *) "self",(char *) "frame", NULL
23622 };
23623
23624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23627 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23629 {
23630 PyThreadState* __tstate = wxPyBeginAllowThreads();
23631 (arg1)->SetFrame(arg2);
23632
23633 wxPyEndAllowThreads(__tstate);
23634 if (PyErr_Occurred()) SWIG_fail;
23635 }
23636 Py_INCREF(Py_None); resultobj = Py_None;
23637 return resultobj;
23638 fail:
23639 return NULL;
23640 }
23641
23642
23643 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23644 PyObject *resultobj;
23645 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23646 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23647 PyObject * obj0 = 0 ;
23648 PyObject * obj1 = 0 ;
23649 char *kwnames[] = {
23650 (char *) "self",(char *) "canvas", NULL
23651 };
23652
23653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23656 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23658 {
23659 PyThreadState* __tstate = wxPyBeginAllowThreads();
23660 (arg1)->SetCanvas(arg2);
23661
23662 wxPyEndAllowThreads(__tstate);
23663 if (PyErr_Occurred()) SWIG_fail;
23664 }
23665 Py_INCREF(Py_None); resultobj = Py_None;
23666 return resultobj;
23667 fail:
23668 return NULL;
23669 }
23670
23671
23672 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23673 PyObject *resultobj;
23674 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23675 wxFrame *result;
23676 PyObject * obj0 = 0 ;
23677 char *kwnames[] = {
23678 (char *) "self", NULL
23679 };
23680
23681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23684 {
23685 PyThreadState* __tstate = wxPyBeginAllowThreads();
23686 result = (wxFrame *)(arg1)->GetFrame();
23687
23688 wxPyEndAllowThreads(__tstate);
23689 if (PyErr_Occurred()) SWIG_fail;
23690 }
23691 {
23692 resultobj = wxPyMake_wxObject(result, 0);
23693 }
23694 return resultobj;
23695 fail:
23696 return NULL;
23697 }
23698
23699
23700 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23701 PyObject *resultobj;
23702 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23703 wxPreviewCanvas *result;
23704 PyObject * obj0 = 0 ;
23705 char *kwnames[] = {
23706 (char *) "self", NULL
23707 };
23708
23709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23712 {
23713 PyThreadState* __tstate = wxPyBeginAllowThreads();
23714 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23715
23716 wxPyEndAllowThreads(__tstate);
23717 if (PyErr_Occurred()) SWIG_fail;
23718 }
23719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23720 return resultobj;
23721 fail:
23722 return NULL;
23723 }
23724
23725
23726 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23727 PyObject *resultobj;
23728 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23729 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23730 wxDC *arg3 = 0 ;
23731 bool result;
23732 PyObject * obj0 = 0 ;
23733 PyObject * obj1 = 0 ;
23734 PyObject * obj2 = 0 ;
23735 char *kwnames[] = {
23736 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23737 };
23738
23739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23742 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23744 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23745 SWIG_POINTER_EXCEPTION | 0)) == -1)
23746 SWIG_fail;
23747 if (arg3 == NULL) {
23748 PyErr_SetString(PyExc_TypeError,"null reference");
23749 SWIG_fail;
23750 }
23751 {
23752 PyThreadState* __tstate = wxPyBeginAllowThreads();
23753 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23754
23755 wxPyEndAllowThreads(__tstate);
23756 if (PyErr_Occurred()) SWIG_fail;
23757 }
23758 {
23759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23760 }
23761 return resultobj;
23762 fail:
23763 return NULL;
23764 }
23765
23766
23767 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23768 PyObject *resultobj;
23769 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23770 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23771 wxDC *arg3 = 0 ;
23772 bool result;
23773 PyObject * obj0 = 0 ;
23774 PyObject * obj1 = 0 ;
23775 PyObject * obj2 = 0 ;
23776 char *kwnames[] = {
23777 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23778 };
23779
23780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23785 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23786 SWIG_POINTER_EXCEPTION | 0)) == -1)
23787 SWIG_fail;
23788 if (arg3 == NULL) {
23789 PyErr_SetString(PyExc_TypeError,"null reference");
23790 SWIG_fail;
23791 }
23792 {
23793 PyThreadState* __tstate = wxPyBeginAllowThreads();
23794 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23795
23796 wxPyEndAllowThreads(__tstate);
23797 if (PyErr_Occurred()) SWIG_fail;
23798 }
23799 {
23800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23801 }
23802 return resultobj;
23803 fail:
23804 return NULL;
23805 }
23806
23807
23808 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23809 PyObject *resultobj;
23810 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23811 int arg2 ;
23812 bool result;
23813 PyObject * obj0 = 0 ;
23814 PyObject * obj1 = 0 ;
23815 char *kwnames[] = {
23816 (char *) "self",(char *) "pageNum", NULL
23817 };
23818
23819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23822 arg2 = (int) SWIG_AsInt(obj1);
23823 if (PyErr_Occurred()) SWIG_fail;
23824 {
23825 PyThreadState* __tstate = wxPyBeginAllowThreads();
23826 result = (bool)(arg1)->RenderPage(arg2);
23827
23828 wxPyEndAllowThreads(__tstate);
23829 if (PyErr_Occurred()) SWIG_fail;
23830 }
23831 {
23832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23833 }
23834 return resultobj;
23835 fail:
23836 return NULL;
23837 }
23838
23839
23840 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23841 PyObject *resultobj;
23842 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23843 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23844 PyObject * obj0 = 0 ;
23845 PyObject * obj1 = 0 ;
23846 char *kwnames[] = {
23847 (char *) "self",(char *) "canvas", NULL
23848 };
23849
23850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23853 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23855 {
23856 PyThreadState* __tstate = wxPyBeginAllowThreads();
23857 (arg1)->AdjustScrollbars(arg2);
23858
23859 wxPyEndAllowThreads(__tstate);
23860 if (PyErr_Occurred()) SWIG_fail;
23861 }
23862 Py_INCREF(Py_None); resultobj = Py_None;
23863 return resultobj;
23864 fail:
23865 return NULL;
23866 }
23867
23868
23869 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23870 PyObject *resultobj;
23871 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23872 wxPrintDialogData *result;
23873 PyObject * obj0 = 0 ;
23874 char *kwnames[] = {
23875 (char *) "self", NULL
23876 };
23877
23878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23881 {
23882 PyThreadState* __tstate = wxPyBeginAllowThreads();
23883 {
23884 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23885 result = (wxPrintDialogData *) &_result_ref;
23886 }
23887
23888 wxPyEndAllowThreads(__tstate);
23889 if (PyErr_Occurred()) SWIG_fail;
23890 }
23891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23892 return resultobj;
23893 fail:
23894 return NULL;
23895 }
23896
23897
23898 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23899 PyObject *resultobj;
23900 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23901 int arg2 ;
23902 PyObject * obj0 = 0 ;
23903 PyObject * obj1 = 0 ;
23904 char *kwnames[] = {
23905 (char *) "self",(char *) "percent", NULL
23906 };
23907
23908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23911 arg2 = (int) SWIG_AsInt(obj1);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 {
23914 PyThreadState* __tstate = wxPyBeginAllowThreads();
23915 (arg1)->SetZoom(arg2);
23916
23917 wxPyEndAllowThreads(__tstate);
23918 if (PyErr_Occurred()) SWIG_fail;
23919 }
23920 Py_INCREF(Py_None); resultobj = Py_None;
23921 return resultobj;
23922 fail:
23923 return NULL;
23924 }
23925
23926
23927 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23928 PyObject *resultobj;
23929 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23930 int result;
23931 PyObject * obj0 = 0 ;
23932 char *kwnames[] = {
23933 (char *) "self", NULL
23934 };
23935
23936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23939 {
23940 PyThreadState* __tstate = wxPyBeginAllowThreads();
23941 result = (int)(arg1)->GetZoom();
23942
23943 wxPyEndAllowThreads(__tstate);
23944 if (PyErr_Occurred()) SWIG_fail;
23945 }
23946 resultobj = SWIG_FromInt((int)result);
23947 return resultobj;
23948 fail:
23949 return NULL;
23950 }
23951
23952
23953 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23954 PyObject *resultobj;
23955 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23956 int result;
23957 PyObject * obj0 = 0 ;
23958 char *kwnames[] = {
23959 (char *) "self", NULL
23960 };
23961
23962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23965 {
23966 PyThreadState* __tstate = wxPyBeginAllowThreads();
23967 result = (int)(arg1)->GetMaxPage();
23968
23969 wxPyEndAllowThreads(__tstate);
23970 if (PyErr_Occurred()) SWIG_fail;
23971 }
23972 resultobj = SWIG_FromInt((int)result);
23973 return resultobj;
23974 fail:
23975 return NULL;
23976 }
23977
23978
23979 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23980 PyObject *resultobj;
23981 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23982 int result;
23983 PyObject * obj0 = 0 ;
23984 char *kwnames[] = {
23985 (char *) "self", NULL
23986 };
23987
23988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23991 {
23992 PyThreadState* __tstate = wxPyBeginAllowThreads();
23993 result = (int)(arg1)->GetMinPage();
23994
23995 wxPyEndAllowThreads(__tstate);
23996 if (PyErr_Occurred()) SWIG_fail;
23997 }
23998 resultobj = SWIG_FromInt((int)result);
23999 return resultobj;
24000 fail:
24001 return NULL;
24002 }
24003
24004
24005 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
24006 PyObject *resultobj;
24007 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24008 bool result;
24009 PyObject * obj0 = 0 ;
24010 char *kwnames[] = {
24011 (char *) "self", NULL
24012 };
24013
24014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
24015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24017 {
24018 PyThreadState* __tstate = wxPyBeginAllowThreads();
24019 result = (bool)(arg1)->Ok();
24020
24021 wxPyEndAllowThreads(__tstate);
24022 if (PyErr_Occurred()) SWIG_fail;
24023 }
24024 {
24025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24026 }
24027 return resultobj;
24028 fail:
24029 return NULL;
24030 }
24031
24032
24033 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
24034 PyObject *resultobj;
24035 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24036 bool arg2 ;
24037 PyObject * obj0 = 0 ;
24038 PyObject * obj1 = 0 ;
24039 char *kwnames[] = {
24040 (char *) "self",(char *) "ok", NULL
24041 };
24042
24043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
24044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24046 arg2 = (bool) SWIG_AsBool(obj1);
24047 if (PyErr_Occurred()) SWIG_fail;
24048 {
24049 PyThreadState* __tstate = wxPyBeginAllowThreads();
24050 (arg1)->SetOk(arg2);
24051
24052 wxPyEndAllowThreads(__tstate);
24053 if (PyErr_Occurred()) SWIG_fail;
24054 }
24055 Py_INCREF(Py_None); resultobj = Py_None;
24056 return resultobj;
24057 fail:
24058 return NULL;
24059 }
24060
24061
24062 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
24063 PyObject *resultobj;
24064 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24065 bool arg2 ;
24066 bool result;
24067 PyObject * obj0 = 0 ;
24068 PyObject * obj1 = 0 ;
24069 char *kwnames[] = {
24070 (char *) "self",(char *) "interactive", NULL
24071 };
24072
24073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
24074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24076 arg2 = (bool) SWIG_AsBool(obj1);
24077 if (PyErr_Occurred()) SWIG_fail;
24078 {
24079 PyThreadState* __tstate = wxPyBeginAllowThreads();
24080 result = (bool)(arg1)->Print(arg2);
24081
24082 wxPyEndAllowThreads(__tstate);
24083 if (PyErr_Occurred()) SWIG_fail;
24084 }
24085 {
24086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24087 }
24088 return resultobj;
24089 fail:
24090 return NULL;
24091 }
24092
24093
24094 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
24095 PyObject *resultobj;
24096 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24097 PyObject * obj0 = 0 ;
24098 char *kwnames[] = {
24099 (char *) "self", NULL
24100 };
24101
24102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
24103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24105 {
24106 PyThreadState* __tstate = wxPyBeginAllowThreads();
24107 (arg1)->DetermineScaling();
24108
24109 wxPyEndAllowThreads(__tstate);
24110 if (PyErr_Occurred()) SWIG_fail;
24111 }
24112 Py_INCREF(Py_None); resultobj = Py_None;
24113 return resultobj;
24114 fail:
24115 return NULL;
24116 }
24117
24118
24119 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
24120 PyObject *obj;
24121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24122 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24123 Py_INCREF(obj);
24124 return Py_BuildValue((char *)"");
24125 }
24126 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
24127 PyObject *resultobj;
24128 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24129 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24130 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24131 wxPyPrintPreview *result;
24132 PyObject * obj0 = 0 ;
24133 PyObject * obj1 = 0 ;
24134 PyObject * obj2 = 0 ;
24135
24136 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24139 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24141 if (obj2) {
24142 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24144 }
24145 {
24146 if (!wxPyCheckForApp()) SWIG_fail;
24147 PyThreadState* __tstate = wxPyBeginAllowThreads();
24148 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24149
24150 wxPyEndAllowThreads(__tstate);
24151 if (PyErr_Occurred()) SWIG_fail;
24152 }
24153 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24154 return resultobj;
24155 fail:
24156 return NULL;
24157 }
24158
24159
24160 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
24161 PyObject *resultobj;
24162 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24163 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24164 wxPrintData *arg3 = (wxPrintData *) 0 ;
24165 wxPyPrintPreview *result;
24166 PyObject * obj0 = 0 ;
24167 PyObject * obj1 = 0 ;
24168 PyObject * obj2 = 0 ;
24169
24170 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24173 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24175 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24177 {
24178 if (!wxPyCheckForApp()) SWIG_fail;
24179 PyThreadState* __tstate = wxPyBeginAllowThreads();
24180 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24181
24182 wxPyEndAllowThreads(__tstate);
24183 if (PyErr_Occurred()) SWIG_fail;
24184 }
24185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24186 return resultobj;
24187 fail:
24188 return NULL;
24189 }
24190
24191
24192 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24193 int argc;
24194 PyObject *argv[4];
24195 int ii;
24196
24197 argc = PyObject_Length(args);
24198 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24199 argv[ii] = PyTuple_GetItem(args,ii);
24200 }
24201 if ((argc >= 2) && (argc <= 3)) {
24202 int _v;
24203 {
24204 void *ptr;
24205 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24206 _v = 0;
24207 PyErr_Clear();
24208 } else {
24209 _v = 1;
24210 }
24211 }
24212 if (_v) {
24213 {
24214 void *ptr;
24215 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24216 _v = 0;
24217 PyErr_Clear();
24218 } else {
24219 _v = 1;
24220 }
24221 }
24222 if (_v) {
24223 if (argc <= 2) {
24224 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24225 }
24226 {
24227 void *ptr;
24228 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24229 _v = 0;
24230 PyErr_Clear();
24231 } else {
24232 _v = 1;
24233 }
24234 }
24235 if (_v) {
24236 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24237 }
24238 }
24239 }
24240 }
24241 if (argc == 3) {
24242 int _v;
24243 {
24244 void *ptr;
24245 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24246 _v = 0;
24247 PyErr_Clear();
24248 } else {
24249 _v = 1;
24250 }
24251 }
24252 if (_v) {
24253 {
24254 void *ptr;
24255 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24256 _v = 0;
24257 PyErr_Clear();
24258 } else {
24259 _v = 1;
24260 }
24261 }
24262 if (_v) {
24263 {
24264 void *ptr;
24265 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24266 _v = 0;
24267 PyErr_Clear();
24268 } else {
24269 _v = 1;
24270 }
24271 }
24272 if (_v) {
24273 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24274 }
24275 }
24276 }
24277 }
24278
24279 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24280 return NULL;
24281 }
24282
24283
24284 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24285 PyObject *resultobj;
24286 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24287 PyObject *arg2 = (PyObject *) 0 ;
24288 PyObject *arg3 = (PyObject *) 0 ;
24289 PyObject * obj0 = 0 ;
24290 PyObject * obj1 = 0 ;
24291 PyObject * obj2 = 0 ;
24292 char *kwnames[] = {
24293 (char *) "self",(char *) "self",(char *) "_class", NULL
24294 };
24295
24296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24299 arg2 = obj1;
24300 arg3 = obj2;
24301 {
24302 PyThreadState* __tstate = wxPyBeginAllowThreads();
24303 (arg1)->_setCallbackInfo(arg2,arg3);
24304
24305 wxPyEndAllowThreads(__tstate);
24306 if (PyErr_Occurred()) SWIG_fail;
24307 }
24308 Py_INCREF(Py_None); resultobj = Py_None;
24309 return resultobj;
24310 fail:
24311 return NULL;
24312 }
24313
24314
24315 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24316 PyObject *resultobj;
24317 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24318 int arg2 ;
24319 bool result;
24320 PyObject * obj0 = 0 ;
24321 PyObject * obj1 = 0 ;
24322 char *kwnames[] = {
24323 (char *) "self",(char *) "pageNum", NULL
24324 };
24325
24326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24329 arg2 = (int) SWIG_AsInt(obj1);
24330 if (PyErr_Occurred()) SWIG_fail;
24331 {
24332 PyThreadState* __tstate = wxPyBeginAllowThreads();
24333 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24334
24335 wxPyEndAllowThreads(__tstate);
24336 if (PyErr_Occurred()) SWIG_fail;
24337 }
24338 {
24339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24340 }
24341 return resultobj;
24342 fail:
24343 return NULL;
24344 }
24345
24346
24347 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24348 PyObject *resultobj;
24349 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24350 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24351 wxDC *arg3 = 0 ;
24352 bool result;
24353 PyObject * obj0 = 0 ;
24354 PyObject * obj1 = 0 ;
24355 PyObject * obj2 = 0 ;
24356 char *kwnames[] = {
24357 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24358 };
24359
24360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24363 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24365 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24366 SWIG_POINTER_EXCEPTION | 0)) == -1)
24367 SWIG_fail;
24368 if (arg3 == NULL) {
24369 PyErr_SetString(PyExc_TypeError,"null reference");
24370 SWIG_fail;
24371 }
24372 {
24373 PyThreadState* __tstate = wxPyBeginAllowThreads();
24374 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24375
24376 wxPyEndAllowThreads(__tstate);
24377 if (PyErr_Occurred()) SWIG_fail;
24378 }
24379 {
24380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24381 }
24382 return resultobj;
24383 fail:
24384 return NULL;
24385 }
24386
24387
24388 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24389 PyObject *resultobj;
24390 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24391 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24392 wxDC *arg3 = 0 ;
24393 bool result;
24394 PyObject * obj0 = 0 ;
24395 PyObject * obj1 = 0 ;
24396 PyObject * obj2 = 0 ;
24397 char *kwnames[] = {
24398 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24399 };
24400
24401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24406 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24407 SWIG_POINTER_EXCEPTION | 0)) == -1)
24408 SWIG_fail;
24409 if (arg3 == NULL) {
24410 PyErr_SetString(PyExc_TypeError,"null reference");
24411 SWIG_fail;
24412 }
24413 {
24414 PyThreadState* __tstate = wxPyBeginAllowThreads();
24415 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24416
24417 wxPyEndAllowThreads(__tstate);
24418 if (PyErr_Occurred()) SWIG_fail;
24419 }
24420 {
24421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24422 }
24423 return resultobj;
24424 fail:
24425 return NULL;
24426 }
24427
24428
24429 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24430 PyObject *resultobj;
24431 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24432 int arg2 ;
24433 bool result;
24434 PyObject * obj0 = 0 ;
24435 PyObject * obj1 = 0 ;
24436 char *kwnames[] = {
24437 (char *) "self",(char *) "pageNum", NULL
24438 };
24439
24440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24443 arg2 = (int) SWIG_AsInt(obj1);
24444 if (PyErr_Occurred()) SWIG_fail;
24445 {
24446 PyThreadState* __tstate = wxPyBeginAllowThreads();
24447 result = (bool)(arg1)->base_RenderPage(arg2);
24448
24449 wxPyEndAllowThreads(__tstate);
24450 if (PyErr_Occurred()) SWIG_fail;
24451 }
24452 {
24453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24454 }
24455 return resultobj;
24456 fail:
24457 return NULL;
24458 }
24459
24460
24461 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
24462 PyObject *resultobj;
24463 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24464 int arg2 ;
24465 PyObject * obj0 = 0 ;
24466 PyObject * obj1 = 0 ;
24467 char *kwnames[] = {
24468 (char *) "self",(char *) "percent", NULL
24469 };
24470
24471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24474 arg2 = (int) SWIG_AsInt(obj1);
24475 if (PyErr_Occurred()) SWIG_fail;
24476 {
24477 PyThreadState* __tstate = wxPyBeginAllowThreads();
24478 (arg1)->base_SetZoom(arg2);
24479
24480 wxPyEndAllowThreads(__tstate);
24481 if (PyErr_Occurred()) SWIG_fail;
24482 }
24483 Py_INCREF(Py_None); resultobj = Py_None;
24484 return resultobj;
24485 fail:
24486 return NULL;
24487 }
24488
24489
24490 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
24491 PyObject *resultobj;
24492 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24493 bool arg2 ;
24494 bool result;
24495 PyObject * obj0 = 0 ;
24496 PyObject * obj1 = 0 ;
24497 char *kwnames[] = {
24498 (char *) "self",(char *) "interactive", NULL
24499 };
24500
24501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24504 arg2 = (bool) SWIG_AsBool(obj1);
24505 if (PyErr_Occurred()) SWIG_fail;
24506 {
24507 PyThreadState* __tstate = wxPyBeginAllowThreads();
24508 result = (bool)(arg1)->base_Print(arg2);
24509
24510 wxPyEndAllowThreads(__tstate);
24511 if (PyErr_Occurred()) SWIG_fail;
24512 }
24513 {
24514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24515 }
24516 return resultobj;
24517 fail:
24518 return NULL;
24519 }
24520
24521
24522 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
24523 PyObject *resultobj;
24524 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24525 PyObject * obj0 = 0 ;
24526 char *kwnames[] = {
24527 (char *) "self", NULL
24528 };
24529
24530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24533 {
24534 PyThreadState* __tstate = wxPyBeginAllowThreads();
24535 (arg1)->base_DetermineScaling();
24536
24537 wxPyEndAllowThreads(__tstate);
24538 if (PyErr_Occurred()) SWIG_fail;
24539 }
24540 Py_INCREF(Py_None); resultobj = Py_None;
24541 return resultobj;
24542 fail:
24543 return NULL;
24544 }
24545
24546
24547 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
24548 PyObject *obj;
24549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24550 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24551 Py_INCREF(obj);
24552 return Py_BuildValue((char *)"");
24553 }
24554 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
24555 PyObject *resultobj;
24556 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24557 wxFrame *arg2 = (wxFrame *) 0 ;
24558 wxString *arg3 = 0 ;
24559 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24560 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24561 wxSize const &arg5_defvalue = wxDefaultSize ;
24562 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24563 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24564 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24565 wxString *arg7 = (wxString *) &arg7_defvalue ;
24566 wxPyPreviewFrame *result;
24567 bool temp3 = False ;
24568 wxPoint temp4 ;
24569 wxSize temp5 ;
24570 bool temp7 = False ;
24571 PyObject * obj0 = 0 ;
24572 PyObject * obj1 = 0 ;
24573 PyObject * obj2 = 0 ;
24574 PyObject * obj3 = 0 ;
24575 PyObject * obj4 = 0 ;
24576 PyObject * obj5 = 0 ;
24577 PyObject * obj6 = 0 ;
24578 char *kwnames[] = {
24579 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24580 };
24581
24582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24585 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24587 {
24588 arg3 = wxString_in_helper(obj2);
24589 if (arg3 == NULL) SWIG_fail;
24590 temp3 = True;
24591 }
24592 if (obj3) {
24593 {
24594 arg4 = &temp4;
24595 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24596 }
24597 }
24598 if (obj4) {
24599 {
24600 arg5 = &temp5;
24601 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24602 }
24603 }
24604 if (obj5) {
24605 arg6 = (long) SWIG_AsLong(obj5);
24606 if (PyErr_Occurred()) SWIG_fail;
24607 }
24608 if (obj6) {
24609 {
24610 arg7 = wxString_in_helper(obj6);
24611 if (arg7 == NULL) SWIG_fail;
24612 temp7 = True;
24613 }
24614 }
24615 {
24616 if (!wxPyCheckForApp()) SWIG_fail;
24617 PyThreadState* __tstate = wxPyBeginAllowThreads();
24618 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24619
24620 wxPyEndAllowThreads(__tstate);
24621 if (PyErr_Occurred()) SWIG_fail;
24622 }
24623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24624 {
24625 if (temp3)
24626 delete arg3;
24627 }
24628 {
24629 if (temp7)
24630 delete arg7;
24631 }
24632 return resultobj;
24633 fail:
24634 {
24635 if (temp3)
24636 delete arg3;
24637 }
24638 {
24639 if (temp7)
24640 delete arg7;
24641 }
24642 return NULL;
24643 }
24644
24645
24646 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24647 PyObject *resultobj;
24648 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24649 PyObject *arg2 = (PyObject *) 0 ;
24650 PyObject *arg3 = (PyObject *) 0 ;
24651 PyObject * obj0 = 0 ;
24652 PyObject * obj1 = 0 ;
24653 PyObject * obj2 = 0 ;
24654 char *kwnames[] = {
24655 (char *) "self",(char *) "self",(char *) "_class", NULL
24656 };
24657
24658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24661 arg2 = obj1;
24662 arg3 = obj2;
24663 {
24664 PyThreadState* __tstate = wxPyBeginAllowThreads();
24665 (arg1)->_setCallbackInfo(arg2,arg3);
24666
24667 wxPyEndAllowThreads(__tstate);
24668 if (PyErr_Occurred()) SWIG_fail;
24669 }
24670 Py_INCREF(Py_None); resultobj = Py_None;
24671 return resultobj;
24672 fail:
24673 return NULL;
24674 }
24675
24676
24677 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24678 PyObject *resultobj;
24679 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24680 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24681 PyObject * obj0 = 0 ;
24682 PyObject * obj1 = 0 ;
24683 char *kwnames[] = {
24684 (char *) "self",(char *) "canvas", NULL
24685 };
24686
24687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24692 {
24693 PyThreadState* __tstate = wxPyBeginAllowThreads();
24694 (arg1)->SetPreviewCanvas(arg2);
24695
24696 wxPyEndAllowThreads(__tstate);
24697 if (PyErr_Occurred()) SWIG_fail;
24698 }
24699 Py_INCREF(Py_None); resultobj = Py_None;
24700 return resultobj;
24701 fail:
24702 return NULL;
24703 }
24704
24705
24706 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24707 PyObject *resultobj;
24708 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24709 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24710 PyObject * obj0 = 0 ;
24711 PyObject * obj1 = 0 ;
24712 char *kwnames[] = {
24713 (char *) "self",(char *) "bar", NULL
24714 };
24715
24716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24721 {
24722 PyThreadState* __tstate = wxPyBeginAllowThreads();
24723 (arg1)->SetControlBar(arg2);
24724
24725 wxPyEndAllowThreads(__tstate);
24726 if (PyErr_Occurred()) SWIG_fail;
24727 }
24728 Py_INCREF(Py_None); resultobj = Py_None;
24729 return resultobj;
24730 fail:
24731 return NULL;
24732 }
24733
24734
24735 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24736 PyObject *resultobj;
24737 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24738 PyObject * obj0 = 0 ;
24739 char *kwnames[] = {
24740 (char *) "self", NULL
24741 };
24742
24743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24746 {
24747 PyThreadState* __tstate = wxPyBeginAllowThreads();
24748 (arg1)->base_Initialize();
24749
24750 wxPyEndAllowThreads(__tstate);
24751 if (PyErr_Occurred()) SWIG_fail;
24752 }
24753 Py_INCREF(Py_None); resultobj = Py_None;
24754 return resultobj;
24755 fail:
24756 return NULL;
24757 }
24758
24759
24760 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24761 PyObject *resultobj;
24762 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24763 PyObject * obj0 = 0 ;
24764 char *kwnames[] = {
24765 (char *) "self", NULL
24766 };
24767
24768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24771 {
24772 PyThreadState* __tstate = wxPyBeginAllowThreads();
24773 (arg1)->base_CreateCanvas();
24774
24775 wxPyEndAllowThreads(__tstate);
24776 if (PyErr_Occurred()) SWIG_fail;
24777 }
24778 Py_INCREF(Py_None); resultobj = Py_None;
24779 return resultobj;
24780 fail:
24781 return NULL;
24782 }
24783
24784
24785 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24786 PyObject *resultobj;
24787 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24788 PyObject * obj0 = 0 ;
24789 char *kwnames[] = {
24790 (char *) "self", NULL
24791 };
24792
24793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24796 {
24797 PyThreadState* __tstate = wxPyBeginAllowThreads();
24798 (arg1)->base_CreateControlBar();
24799
24800 wxPyEndAllowThreads(__tstate);
24801 if (PyErr_Occurred()) SWIG_fail;
24802 }
24803 Py_INCREF(Py_None); resultobj = Py_None;
24804 return resultobj;
24805 fail:
24806 return NULL;
24807 }
24808
24809
24810 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24811 PyObject *obj;
24812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24813 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24814 Py_INCREF(obj);
24815 return Py_BuildValue((char *)"");
24816 }
24817 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24818 PyObject *resultobj;
24819 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24820 long arg2 ;
24821 wxWindow *arg3 = (wxWindow *) 0 ;
24822 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24823 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24824 wxSize const &arg5_defvalue = wxDefaultSize ;
24825 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24826 long arg6 = (long) 0 ;
24827 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24828 wxString *arg7 = (wxString *) &arg7_defvalue ;
24829 wxPyPreviewControlBar *result;
24830 wxPoint temp4 ;
24831 wxSize temp5 ;
24832 bool temp7 = False ;
24833 PyObject * obj0 = 0 ;
24834 PyObject * obj1 = 0 ;
24835 PyObject * obj2 = 0 ;
24836 PyObject * obj3 = 0 ;
24837 PyObject * obj4 = 0 ;
24838 PyObject * obj5 = 0 ;
24839 PyObject * obj6 = 0 ;
24840 char *kwnames[] = {
24841 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24842 };
24843
24844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24847 arg2 = (long) SWIG_AsLong(obj1);
24848 if (PyErr_Occurred()) SWIG_fail;
24849 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24851 if (obj3) {
24852 {
24853 arg4 = &temp4;
24854 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24855 }
24856 }
24857 if (obj4) {
24858 {
24859 arg5 = &temp5;
24860 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24861 }
24862 }
24863 if (obj5) {
24864 arg6 = (long) SWIG_AsLong(obj5);
24865 if (PyErr_Occurred()) SWIG_fail;
24866 }
24867 if (obj6) {
24868 {
24869 arg7 = wxString_in_helper(obj6);
24870 if (arg7 == NULL) SWIG_fail;
24871 temp7 = True;
24872 }
24873 }
24874 {
24875 if (!wxPyCheckForApp()) SWIG_fail;
24876 PyThreadState* __tstate = wxPyBeginAllowThreads();
24877 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24878
24879 wxPyEndAllowThreads(__tstate);
24880 if (PyErr_Occurred()) SWIG_fail;
24881 }
24882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24883 {
24884 if (temp7)
24885 delete arg7;
24886 }
24887 return resultobj;
24888 fail:
24889 {
24890 if (temp7)
24891 delete arg7;
24892 }
24893 return NULL;
24894 }
24895
24896
24897 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24898 PyObject *resultobj;
24899 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24900 PyObject *arg2 = (PyObject *) 0 ;
24901 PyObject *arg3 = (PyObject *) 0 ;
24902 PyObject * obj0 = 0 ;
24903 PyObject * obj1 = 0 ;
24904 PyObject * obj2 = 0 ;
24905 char *kwnames[] = {
24906 (char *) "self",(char *) "self",(char *) "_class", NULL
24907 };
24908
24909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24912 arg2 = obj1;
24913 arg3 = obj2;
24914 {
24915 PyThreadState* __tstate = wxPyBeginAllowThreads();
24916 (arg1)->_setCallbackInfo(arg2,arg3);
24917
24918 wxPyEndAllowThreads(__tstate);
24919 if (PyErr_Occurred()) SWIG_fail;
24920 }
24921 Py_INCREF(Py_None); resultobj = Py_None;
24922 return resultobj;
24923 fail:
24924 return NULL;
24925 }
24926
24927
24928 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24929 PyObject *resultobj;
24930 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24931 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24932 PyObject * obj0 = 0 ;
24933 PyObject * obj1 = 0 ;
24934 char *kwnames[] = {
24935 (char *) "self",(char *) "preview", NULL
24936 };
24937
24938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24941 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24943 {
24944 PyThreadState* __tstate = wxPyBeginAllowThreads();
24945 (arg1)->SetPrintPreview(arg2);
24946
24947 wxPyEndAllowThreads(__tstate);
24948 if (PyErr_Occurred()) SWIG_fail;
24949 }
24950 Py_INCREF(Py_None); resultobj = Py_None;
24951 return resultobj;
24952 fail:
24953 return NULL;
24954 }
24955
24956
24957 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24958 PyObject *resultobj;
24959 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24960 PyObject * obj0 = 0 ;
24961 char *kwnames[] = {
24962 (char *) "self", NULL
24963 };
24964
24965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24968 {
24969 PyThreadState* __tstate = wxPyBeginAllowThreads();
24970 (arg1)->base_CreateButtons();
24971
24972 wxPyEndAllowThreads(__tstate);
24973 if (PyErr_Occurred()) SWIG_fail;
24974 }
24975 Py_INCREF(Py_None); resultobj = Py_None;
24976 return resultobj;
24977 fail:
24978 return NULL;
24979 }
24980
24981
24982 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24983 PyObject *resultobj;
24984 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24985 int arg2 ;
24986 PyObject * obj0 = 0 ;
24987 PyObject * obj1 = 0 ;
24988 char *kwnames[] = {
24989 (char *) "self",(char *) "zoom", NULL
24990 };
24991
24992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24995 arg2 = (int) SWIG_AsInt(obj1);
24996 if (PyErr_Occurred()) SWIG_fail;
24997 {
24998 PyThreadState* __tstate = wxPyBeginAllowThreads();
24999 (arg1)->base_SetZoomControl(arg2);
25000
25001 wxPyEndAllowThreads(__tstate);
25002 if (PyErr_Occurred()) SWIG_fail;
25003 }
25004 Py_INCREF(Py_None); resultobj = Py_None;
25005 return resultobj;
25006 fail:
25007 return NULL;
25008 }
25009
25010
25011 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
25012 PyObject *obj;
25013 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25014 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
25015 Py_INCREF(obj);
25016 return Py_BuildValue((char *)"");
25017 }
25018 static PyMethodDef SwigMethods[] = {
25019 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
25025 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
25040 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
25041 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
25048 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
25062 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
25086 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
25098 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
25102 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
25106 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
25111 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
25128 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
25156 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
25163 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
25186 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
25194 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25202 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
25206 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
25212 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
25221 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
25227 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
25232 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
25238 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
25242 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
25251 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
25260 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
25272 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
25273 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
25279 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
25286 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
25288 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25289 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
25294 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
25295 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
25297 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
25300 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
25301 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
25303 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
25304 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
25305 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
25306 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
25307 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
25308 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
25309 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
25310 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
25311 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
25312 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
25313 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
25314 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
25316 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
25317 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
25318 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25319 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25320 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25322 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
25324 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25326 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
25327 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
25328 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
25329 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
25330 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
25331 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25332 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25333 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25334 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
25336 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
25337 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25338 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25340 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
25341 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
25342 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25343 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
25344 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
25345 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
25346 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25347 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
25348 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25349 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
25350 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
25351 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
25352 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
25353 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
25354 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
25355 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
25356 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
25357 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
25358 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25359 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
25360 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
25361 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
25362 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
25363 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
25364 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25365 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
25366 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
25367 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
25368 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
25369 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
25370 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
25371 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
25372 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
25373 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
25374 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
25375 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
25376 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
25377 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
25378 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
25379 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
25380 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
25381 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25382 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
25383 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25384 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
25385 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25386 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
25387 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25388 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
25389 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25390 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25391 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
25392 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25393 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
25394 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
25395 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
25396 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25397 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
25398 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25399 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25400 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
25401 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
25402 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
25403 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
25404 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25405 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25406 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
25407 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
25408 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
25409 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
25410 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
25411 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
25412 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
25413 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25414 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
25415 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
25416 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25417 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25418 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
25419 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
25420 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
25421 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
25422 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
25423 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25424 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25425 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
25426 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
25427 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
25428 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
25429 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25430 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25431 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25432 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25433 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25434 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25435 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25436 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25437 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25438 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25439 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25440 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25441 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25442 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25443 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25444 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25445 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25446 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25447 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25448 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25449 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25450 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25451 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25452 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
25453 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
25454 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
25455 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25456 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25457 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25458 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25459 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25460 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25461 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25462 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25463 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25464 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25465 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25466 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25467 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25468 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25469 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
25470 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25471 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25472 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25473 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25474 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25475 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25476 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25477 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25478 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
25479 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25480 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25481 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25482 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25483 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25484 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25485 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25486 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25487 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25488 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25489 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25490 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25491 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25492 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25493 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25494 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25495 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25496 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25497 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25498 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25499 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25500 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25501 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25502 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25503 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25504 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
25505 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS },
25506 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
25507 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25508 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25509 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25510 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
25511 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
25512 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
25513 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
25514 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25515 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25516 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
25517 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25518 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25519 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25520 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
25521 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
25522 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
25523 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25524 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25525 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
25526 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25527 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25528 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25529 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
25530 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25531 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25532 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25533 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25534 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25535 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
25536 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25537 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25538 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25539 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
25540 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25541 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25542 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25543 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
25544 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25545 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25546 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
25547 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
25548 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
25549 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
25550 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
25551 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS },
25552 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25553 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25554 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
25555 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
25556 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
25557 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
25558 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25559 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
25560 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
25561 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
25562 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
25563 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25564 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25565 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25566 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25567 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25568 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25569 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25570 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25571 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25572 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25573 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25574 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25575 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25576 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25577 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25578 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25579 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25580 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25581 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25582 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
25583 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
25584 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
25585 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25586 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
25587 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
25588 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
25589 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
25590 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
25591 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25592 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25593 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25594 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
25595 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
25596 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25597 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25598 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25599 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
25600 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
25601 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
25602 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
25603 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25604 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
25605 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
25606 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25607 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25608 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25609 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25610 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
25611 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25612 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25613 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25614 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
25615 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25616 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25617 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25618 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25619 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25620 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
25621 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25622 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25623 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
25624 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25625 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
25626 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
25627 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
25628 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
25629 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25630 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
25631 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25632 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
25633 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
25634 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
25635 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
25636 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
25637 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
25638 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25639 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25640 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25641 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
25642 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25643 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25644 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25645 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25646 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25647 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25648 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25649 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25650 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25651 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25652 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25653 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25654 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25655 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25656 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25657 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25658 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25659 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25660 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25661 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25662 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25663 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25664 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25665 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25666 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25667 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25668 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25669 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25670 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25671 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25672 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25673 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25674 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25675 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25676 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25677 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25678 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25679 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25680 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25681 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25682 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25683 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25684 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25685 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25686 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25687 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25688 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25689 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25690 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25691 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25692 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25693 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25694 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25695 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25696 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25697 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25698 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25699 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25700 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25701 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25702 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25703 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25704 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25705 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25706 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25707 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25708 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25709 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25710 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25711 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25712 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25713 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25714 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25715 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25716 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25717 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25718 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25719 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25720 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25721 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25722 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25723 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25724 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25725 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25726 { NULL, NULL }
25727 };
25728
25729
25730 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25731
25732 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25733 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25734 }
25735 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25736 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25737 }
25738 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25739 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25740 }
25741 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25742 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25743 }
25744 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25745 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25746 }
25747 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25748 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25749 }
25750 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25751 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25752 }
25753 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25754 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25755 }
25756 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25757 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25758 }
25759 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25760 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25761 }
25762 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25763 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25764 }
25765 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25766 return (void *)((wxEvent *) ((wxPyEvent *) x));
25767 }
25768 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25769 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25770 }
25771 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25772 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25773 }
25774 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25775 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25776 }
25777 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25778 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25779 }
25780 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25781 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25782 }
25783 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25784 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25785 }
25786 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25787 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25788 }
25789 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25790 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25791 }
25792 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25793 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25794 }
25795 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25796 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25797 }
25798 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25799 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25800 }
25801 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25802 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25803 }
25804 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25805 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25806 }
25807 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25808 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25809 }
25810 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25811 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25812 }
25813 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25814 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25815 }
25816 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25817 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25818 }
25819 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25820 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25821 }
25822 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25823 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25824 }
25825 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25826 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25827 }
25828 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25829 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25830 }
25831 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25832 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25833 }
25834 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25835 return (void *)((wxEvent *) ((wxShowEvent *) x));
25836 }
25837 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25838 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25839 }
25840 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25841 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25842 }
25843 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25844 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25845 }
25846 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25847 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25848 }
25849 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25850 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25851 }
25852 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25853 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25854 }
25855 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25856 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25857 }
25858 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25859 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25860 }
25861 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25862 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25863 }
25864 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25865 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25866 }
25867 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25868 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25869 }
25870 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25871 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25872 }
25873 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25874 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25875 }
25876 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25877 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25878 }
25879 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25880 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25881 }
25882 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25883 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25884 }
25885 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25886 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25887 }
25888 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25889 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25890 }
25891 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25892 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25893 }
25894 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25895 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25896 }
25897 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25898 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25899 }
25900 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25901 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25902 }
25903 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25904 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25905 }
25906 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25907 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25908 }
25909 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25910 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25911 }
25912 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25913 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25914 }
25915 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25916 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25917 }
25918 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25919 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25920 }
25921 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25922 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25923 }
25924 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25925 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25926 }
25927 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25928 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25929 }
25930 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25931 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25932 }
25933 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25934 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25935 }
25936 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25937 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25938 }
25939 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25940 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25941 }
25942 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25943 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25944 }
25945 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25946 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25947 }
25948 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25949 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25950 }
25951 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25952 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25953 }
25954 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25955 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25956 }
25957 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25958 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25959 }
25960 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25961 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25962 }
25963 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25964 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25965 }
25966 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25967 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25968 }
25969 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25970 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25971 }
25972 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25973 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25974 }
25975 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25976 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25977 }
25978 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25979 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25980 }
25981 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25982 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25983 }
25984 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25985 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25986 }
25987 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25988 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25989 }
25990 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25991 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25992 }
25993 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25994 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25995 }
25996 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25997 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25998 }
25999 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
26000 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26001 }
26002 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
26003 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26004 }
26005 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
26006 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26007 }
26008 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
26009 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26010 }
26011 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
26012 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
26013 }
26014 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
26015 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
26016 }
26017 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
26018 return (void *)((wxFrame *) ((wxProgressDialog *) x));
26019 }
26020 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
26021 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
26022 }
26023 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
26024 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26025 }
26026 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
26027 return (void *)((wxFrame *) ((wxMiniFrame *) x));
26028 }
26029 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
26030 return (void *)((wxFrame *) ((wxSplashScreen *) x));
26031 }
26032 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
26033 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
26034 }
26035 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26036 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26037 }
26038 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
26039 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
26040 }
26041 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
26042 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26043 }
26044 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
26045 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26046 }
26047 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26048 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26049 }
26050 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26051 return (void *)((wxObject *) ((wxSizerItem *) x));
26052 }
26053 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26054 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26055 }
26056 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26057 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26058 }
26059 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26060 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26061 }
26062 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26063 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26064 }
26065 static void *_p_wxSizerTo_p_wxObject(void *x) {
26066 return (void *)((wxObject *) ((wxSizer *) x));
26067 }
26068 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26069 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26070 }
26071 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26072 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26073 }
26074 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26075 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26076 }
26077 static void *_p_wxEventTo_p_wxObject(void *x) {
26078 return (void *)((wxObject *) ((wxEvent *) x));
26079 }
26080 static void *_p_wxFontDataTo_p_wxObject(void *x) {
26081 return (void *)((wxObject *) ((wxFontData *) x));
26082 }
26083 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26084 return (void *)((wxObject *) ((wxPrintData *) x));
26085 }
26086 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26087 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26088 }
26089 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26090 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26091 }
26092 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26093 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26094 }
26095 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26096 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26097 }
26098 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
26099 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
26100 }
26101 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26102 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26103 }
26104 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26105 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26106 }
26107 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26108 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26109 }
26110 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26111 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26112 }
26113 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26114 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26115 }
26116 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26117 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26118 }
26119 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26120 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26121 }
26122 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26123 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26124 }
26125 static void *_p_wxControlTo_p_wxObject(void *x) {
26126 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26127 }
26128 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26129 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26130 }
26131 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26132 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26133 }
26134 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26135 return (void *)((wxObject *) ((wxFSFile *) x));
26136 }
26137 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26138 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26139 }
26140 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26141 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26142 }
26143 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26144 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26145 }
26146 static void *_p_wxColourDataTo_p_wxObject(void *x) {
26147 return (void *)((wxObject *) ((wxColourData *) x));
26148 }
26149 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26150 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26151 }
26152 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26153 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26154 }
26155 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26156 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26157 }
26158 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26159 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26160 }
26161 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26162 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26163 }
26164 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26165 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26166 }
26167 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26168 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26169 }
26170 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26171 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26172 }
26173 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26174 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26175 }
26176 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26177 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26178 }
26179 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26181 }
26182 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26183 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26184 }
26185 static void *_p_wxPrinterTo_p_wxObject(void *x) {
26186 return (void *)((wxObject *) ((wxPrinter *) x));
26187 }
26188 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26189 return (void *)((wxObject *) ((wxMenuItem *) x));
26190 }
26191 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26192 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26193 }
26194 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26195 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26196 }
26197 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26198 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26199 }
26200 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26201 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26202 }
26203 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26204 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26205 }
26206 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26207 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26208 }
26209 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26210 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26211 }
26212 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26213 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26214 }
26215 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26216 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26217 }
26218 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26219 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26220 }
26221 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26222 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26223 }
26224 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26225 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26226 }
26227 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26228 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26229 }
26230 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26231 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26232 }
26233 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26234 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26235 }
26236 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26237 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26238 }
26239 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26240 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26241 }
26242 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26243 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26244 }
26245 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26246 return (void *)((wxObject *) ((wxImageHandler *) x));
26247 }
26248 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26249 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26250 }
26251 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26252 return (void *)((wxObject *) ((wxEvtHandler *) x));
26253 }
26254 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26255 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26256 }
26257 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26258 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26259 }
26260 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26261 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26262 }
26263 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26264 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26265 }
26266 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26267 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26268 }
26269 static void *_p_wxImageTo_p_wxObject(void *x) {
26270 return (void *)((wxObject *) ((wxImage *) x));
26271 }
26272 static void *_p_wxFrameTo_p_wxObject(void *x) {
26273 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26274 }
26275 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26276 return (void *)((wxObject *) ((wxPyPrintout *) x));
26277 }
26278 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26279 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26280 }
26281 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26282 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26283 }
26284 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26285 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26286 }
26287 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26288 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26289 }
26290 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26291 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26292 }
26293 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26294 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26295 }
26296 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26297 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26298 }
26299 static void *_p_wxWindowTo_p_wxObject(void *x) {
26300 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26301 }
26302 static void *_p_wxMenuTo_p_wxObject(void *x) {
26303 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26304 }
26305 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26306 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26307 }
26308 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26310 }
26311 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26312 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26313 }
26314 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26316 }
26317 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26318 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26319 }
26320 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26321 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26322 }
26323 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26324 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26325 }
26326 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26327 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26328 }
26329 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26331 }
26332 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26333 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26334 }
26335 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26336 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26337 }
26338 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26339 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26340 }
26341 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26342 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26343 }
26344 static void *_p_wxSashEventTo_p_wxObject(void *x) {
26345 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26346 }
26347 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26348 return (void *)((wxObject *) ((wxPrintPreview *) x));
26349 }
26350 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26351 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26352 }
26353 static void *_p_wxPanelTo_p_wxObject(void *x) {
26354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26355 }
26356 static void *_p_wxDialogTo_p_wxObject(void *x) {
26357 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26358 }
26359 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26360 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26361 }
26362 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26363 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26364 }
26365 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26366 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26367 }
26368 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26370 }
26371 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26373 }
26374 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26375 return (void *)((wxObject *) ((wxFileSystem *) x));
26376 }
26377 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26378 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26379 }
26380 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26381 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26382 }
26383 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26384 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26385 }
26386 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26387 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26388 }
26389 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26390 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26391 }
26392 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26393 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26394 }
26395 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26396 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26397 }
26398 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26399 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26400 }
26401 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26402 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26403 }
26404 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26405 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26406 }
26407 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26408 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26409 }
26410 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26411 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26412 }
26413 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26414 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26415 }
26416 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26418 }
26419 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26420 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26421 }
26422 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26423 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26424 }
26425 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26426 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26427 }
26428 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26429 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26430 }
26431 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26432 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26433 }
26434 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26435 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26436 }
26437 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26438 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26439 }
26440 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26441 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26442 }
26443 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26444 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26445 }
26446 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26447 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26448 }
26449 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26450 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26451 }
26452 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26453 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26454 }
26455 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26456 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26457 }
26458 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26459 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26460 }
26461 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26462 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26463 }
26464 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26465 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26466 }
26467 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26468 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26469 }
26470 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26471 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26472 }
26473 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26474 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26475 }
26476 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26477 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26478 }
26479 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26480 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26481 }
26482 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26483 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26484 }
26485 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26486 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26487 }
26488 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26489 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26490 }
26491 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26492 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26493 }
26494 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26495 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26496 }
26497 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26498 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26499 }
26500 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26501 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26502 }
26503 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26504 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26505 }
26506 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26507 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26508 }
26509 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26510 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26511 }
26512 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26513 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26514 }
26515 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26516 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26517 }
26518 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26519 return (void *)((wxWindow *) ((wxMenuBar *) x));
26520 }
26521 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26522 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26523 }
26524 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26525 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26526 }
26527 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26528 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26529 }
26530 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26531 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26532 }
26533 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26534 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26535 }
26536 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26537 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26538 }
26539 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26540 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26541 }
26542 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26543 return (void *)((wxWindow *) ((wxPanel *) x));
26544 }
26545 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26546 return (void *)((wxWindow *) ((wxStatusBar *) x));
26547 }
26548 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26549 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26550 }
26551 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26552 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26553 }
26554 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26555 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26556 }
26557 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26558 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26559 }
26560 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26561 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26562 }
26563 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26564 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26565 }
26566 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26567 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26568 }
26569 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26570 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26571 }
26572 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26573 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26574 }
26575 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26576 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26577 }
26578 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26579 return (void *)((wxWindow *) ((wxSashWindow *) x));
26580 }
26581 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26582 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26583 }
26584 static void *_p_wxControlTo_p_wxWindow(void *x) {
26585 return (void *)((wxWindow *) ((wxControl *) x));
26586 }
26587 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26588 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26589 }
26590 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26591 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26592 }
26593 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26594 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26595 }
26596 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26597 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26598 }
26599 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26600 return (void *)((wxWindow *) ((wxPyWindow *) x));
26601 }
26602 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26603 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26604 }
26605 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26606 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26607 }
26608 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26609 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26610 }
26611 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26612 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26613 }
26614 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26615 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26616 }
26617 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26618 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26619 }
26620 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26621 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26622 }
26623 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26624 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26625 }
26626 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26627 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26628 }
26629 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26630 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26631 }
26632 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26633 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26634 }
26635 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26636 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26637 }
26638 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26639 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26640 }
26641 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26642 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26643 }
26644 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26645 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26646 }
26647 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26648 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26649 }
26650 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26651 return (void *)((wxDialog *) ((wxColourDialog *) x));
26652 }
26653 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26654 return (void *)((wxDialog *) ((wxDirDialog *) x));
26655 }
26656 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26657 return (void *)((wxDialog *) ((wxFontDialog *) x));
26658 }
26659 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26660 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26661 }
26662 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26663 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26664 }
26665 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26666 return (void *)((wxDialog *) ((wxFileDialog *) x));
26667 }
26668 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26669 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26670 }
26671 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26672 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26673 }
26674 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26675 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26676 }
26677 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26678 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26679 }
26680 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26681 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26682 }
26683 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26684 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26685 }
26686 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26687 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26688 }
26689 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26690 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26691 }
26692 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26693 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26694 }
26695 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26696 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26697 }
26698 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26699 return (void *)((wxPanel *) ((wxPyPanel *) x));
26700 }
26701 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26702 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26703 }
26704 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26705 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26706 }
26707 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26708 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26709 }
26710 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26711 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26712 }
26713 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26714 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26715 }
26716 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26717 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26718 }
26719 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26720 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26721 }
26722 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26723 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26724 }
26725 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26726 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26727 }
26728 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26729 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26730 }
26731 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26732 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26733 }
26734 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26735 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26736 }
26737 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26738 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26739 }
26740 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26741 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26742 }
26743 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26744 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26745 }
26746 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}};
26747 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}};
26748 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}};
26749 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}};
26750 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}};
26751 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}};
26752 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}};
26753 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}};
26754 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}};
26755 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}};
26756 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}};
26757 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}};
26758 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}};
26759 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}};
26760 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}};
26761 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}};
26762 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}};
26763 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}};
26764 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}};
26765 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}};
26766 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}};
26767 static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26768 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}};
26769 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}};
26770 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}};
26771 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}};
26772 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}};
26773 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}};
26774 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}};
26775 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}};
26776 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}};
26777 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}};
26778 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}};
26779 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}};
26780 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}};
26781 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}};
26782 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}};
26783 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}};
26784 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}};
26785 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}};
26786 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}};
26787 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}};
26788 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}};
26789 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}};
26790 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}};
26791 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}};
26792 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}};
26793 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}};
26794 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}};
26795 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}};
26796 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}};
26797 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}};
26798 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}};
26799 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}};
26800 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}};
26801 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}};
26802 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}};
26803 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}};
26804 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}};
26805 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}};
26806 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}};
26807 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}};
26808 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}};
26809 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}};
26810 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}};
26811 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}};
26812 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}};
26813 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}};
26814 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}};
26815 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}};
26816 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}};
26817 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}};
26818 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}};
26819 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}};
26820 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}};
26821 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}};
26822 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}};
26823 static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26824 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}};
26825 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}};
26826 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}};
26827 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}};
26828 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}};
26829 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}};
26830 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}};
26831 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}};
26832
26833 static swig_type_info *swig_types_initial[] = {
26834 _swigt__p_wxQueryLayoutInfoEvent,
26835 _swigt__p_wxPreviewFrame,
26836 _swigt__p_wxPyPreviewFrame,
26837 _swigt__p_wxPyPanel,
26838 _swigt__p_wxMenu,
26839 _swigt__p_wxFontData,
26840 _swigt__p_wxEvent,
26841 _swigt__p_wxPrintData,
26842 _swigt__p_wxTaskBarIcon,
26843 _swigt__p_wxIconBundle,
26844 _swigt__p_wxLayoutAlgorithm,
26845 _swigt__p_wxFindDialogEvent,
26846 _swigt__p_wxPreviewCanvas,
26847 _swigt__p_wxFont,
26848 _swigt__p_wxSplitterEvent,
26849 _swigt__p_wxRegion,
26850 _swigt__p_wxFindReplaceData,
26851 _swigt__p_int,
26852 _swigt__p_wxSize,
26853 _swigt__p_wxDC,
26854 _swigt__p_wxIcon,
26855 _swigt__p_wxVisualAttributes,
26856 _swigt__p_wxMDIChildFrame,
26857 _swigt__p_wxColourData,
26858 _swigt__p_wxNotifyEvent,
26859 _swigt__p_wxPyWindow,
26860 _swigt__p_wxSplashScreen,
26861 _swigt__p_wxFindReplaceDialog,
26862 _swigt__p_wxProgressDialog,
26863 _swigt__p_wxMessageDialog,
26864 _swigt__p_wxTextEntryDialog,
26865 _swigt__p_wxSingleChoiceDialog,
26866 _swigt__p_wxMultiChoiceDialog,
26867 _swigt__p_wxFileDialog,
26868 _swigt__p_wxPrinter,
26869 _swigt__p_wxArrayInt,
26870 _swigt__p_wxEvtHandler,
26871 _swigt__p_wxCalculateLayoutEvent,
26872 _swigt__p_wxPyHtmlListBox,
26873 _swigt__p_wxPyVListBox,
26874 _swigt__p_wxRect,
26875 _swigt__p_char,
26876 _swigt__p_wxMiniFrame,
26877 _swigt__p_wxFrame,
26878 _swigt__p_wxPyPrintout,
26879 _swigt__p_wxTaskBarIconEvent,
26880 _swigt__p_wxScrollWinEvent,
26881 _swigt__p_wxStatusBar,
26882 _swigt__p_wxMDIParentFrame,
26883 _swigt__p_wxPoint,
26884 _swigt__p_wxObject,
26885 _swigt__p_wxOutputStream,
26886 _swigt__p_wxPyScrolledWindow,
26887 _swigt__p_wxMDIClientWindow,
26888 _swigt__p_wxTipWindow,
26889 _swigt__p_wxSashLayoutWindow,
26890 _swigt__p_wxSplitterWindow,
26891 _swigt__p_wxSplashScreenWindow,
26892 _swigt__p_wxPyVScrolledWindow,
26893 _swigt__p_wxPyPopupTransientWindow,
26894 _swigt__p_wxPopupWindow,
26895 _swigt__p_wxSashWindow,
26896 _swigt__p_wxTopLevelWindow,
26897 _swigt__p_wxWindow,
26898 _swigt__p_wxScrolledWindow,
26899 _swigt__p_wxMenuBar,
26900 _swigt__p_wxPrintPreview,
26901 _swigt__p_wxSashEvent,
26902 _swigt__p_wxString,
26903 _swigt__p_wxPyPrintPreview,
26904 _swigt__p_wxFontDialog,
26905 _swigt__p_wxDirDialog,
26906 _swigt__p_wxColourDialog,
26907 _swigt__p_wxDialog,
26908 _swigt__p_wxPanel,
26909 _swigt__p_wxPageSetupDialog,
26910 _swigt__p_wxPrintDialog,
26911 _swigt__p_wxFileSystem,
26912 _swigt__p_wxBitmap,
26913 _swigt__p_wxCommandEvent,
26914 _swigt__p_wxPreviewControlBar,
26915 _swigt__p_wxPyPreviewControlBar,
26916 _swigt__p_wxColour,
26917 _swigt__p_wxToolBar,
26918 _swigt__p_wxPageSetupDialogData,
26919 _swigt__p_wxPrintDialogData,
26920 0
26921 };
26922
26923
26924 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26925
26926 static swig_const_info swig_const_table[] = {
26927 {0}};
26928
26929 #ifdef __cplusplus
26930 }
26931 #endif
26932
26933 #ifdef __cplusplus
26934 extern "C"
26935 #endif
26936 SWIGEXPORT(void) SWIG_init(void) {
26937 static PyObject *SWIG_globals = 0;
26938 static int typeinit = 0;
26939 PyObject *m, *d;
26940 int i;
26941 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26942 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26943 d = PyModule_GetDict(m);
26944
26945 if (!typeinit) {
26946 for (i = 0; swig_types_initial[i]; i++) {
26947 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26948 }
26949 typeinit = 1;
26950 }
26951 SWIG_InstallConstants(d,swig_const_table);
26952
26953 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26954 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26955 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26956 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26957 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26958 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26959 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26960 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26961 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26962 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26963 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26964 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26965 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26966 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26967 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26968 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26969 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26970 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26971 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26972 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26973 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26974 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26975 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26976 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26977 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26978 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26979 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26980 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26981 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26982 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
26983 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26984 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26985 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26986 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26987 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26988 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26989 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26990 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26991 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26992 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26993 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26994 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26995 PyDict_SetItemString(d,"SB_NORMAL", SWIG_FromInt((int)wxSB_NORMAL));
26996 PyDict_SetItemString(d,"SB_FLAT", SWIG_FromInt((int)wxSB_FLAT));
26997 PyDict_SetItemString(d,"SB_RAISED", SWIG_FromInt((int)wxSB_RAISED));
26998 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26999 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
27000 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
27001 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
27002 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
27003 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
27004 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
27005 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
27006 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
27007 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
27008 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
27009 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
27010 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
27011 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
27012 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
27013 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
27014 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
27015 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
27016 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
27017 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
27018 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
27019 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
27020 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
27021 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
27022 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
27023 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
27024 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
27025 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
27026 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
27027 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
27028 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
27029 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
27030 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
27031 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
27032 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
27033 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
27034 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
27035 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
27036 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
27037 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
27038 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
27039 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
27040 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
27041 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
27042 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
27043 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
27044 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
27045 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
27046 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
27047 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
27048 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
27049
27050 // Map renamed classes back to their common name for OOR
27051 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27052 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27053 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27054
27055 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27056 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27057 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27058 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27059 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27060 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27061 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
27062 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27063 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27064 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27065 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27066 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27067 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
27068 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
27069 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
27070 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
27071 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
27072 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
27073 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
27074 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
27075 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
27076 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27077 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27078 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27079 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27080 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
27081 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
27082 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
27083 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
27084 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
27085 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
27086 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
27087 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
27088 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
27089 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27090 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
27091 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
27092 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
27093 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
27094 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
27095 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
27096 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
27097 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
27098 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
27099 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
27100 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
27101 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
27102 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
27103 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
27104 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
27105 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
27106 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
27107 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
27108 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
27109 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
27110 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
27111 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
27112 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
27113 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
27114 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
27115
27116 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27117
27118 }
27119