]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows_wrap.cpp
Remove some obsolete window styles, added a new sizer flag
[wxWidgets.git] / wxPython / src / gtk / windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long swig_types[51]
261 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxBitmap swig_types[77]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[78]
288 #define SWIGTYPE_p_wxPreviewControlBar swig_types[79]
289 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[83]
293 #define SWIGTYPE_p_wxPrintDialogData swig_types[84]
294 static swig_type_info *swig_types[86];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302 #define SWIG_init init_windows
303
304 #define SWIG_name "_windows"
305
306 /* Auxiliar swig macros */
307
308 #ifdef __cplusplus
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #else
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
321 #endif
322
323 #else /* C case */
324
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
333
334 #endif /* __cplusplus */
335
336
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347
348
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351
352
353 static const wxString wxPyEmptyString(wxEmptyString);
354 static const wxString wxPyPanelNameStr(wxPanelNameStr);
355
356
357
358 #include <limits.h>
359
360
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value, const char* type,
363 long min_value, long max_value)
364 {
365 if (!PyErr_Occurred()) {
366 if (value < min_value) {
367 PyObject *err =
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value, type, min_value);
370
371 PyErr_SetObject(PyExc_OverflowError, err);
372 Py_DECREF(err);
373 } else if (value > max_value) {
374 PyObject *err =
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value, type, max_value);
377 PyErr_SetObject(PyExc_OverflowError, err);
378 Py_DECREF(err);
379 }
380 }
381 return value;
382 }
383
384
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject * obj)
387 {
388 if (PyNumber_Check(obj))
389 return PyInt_AsLong(obj);
390 else {
391 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
392 obj->ob_type->tp_name);
393 PyErr_SetObject(PyExc_TypeError, errmsg);
394 Py_DECREF(errmsg);
395 return 0;
396 }
397 }
398
399
400 #if INT_MAX != LONG_MAX
401 SWIGSTATICINLINE(int)
402 SWIG_AsInt(PyObject *obj)
403 {
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj),
406 "int", INT_MIN, INT_MAX));
407 }
408 #else
409 #define SWIG_AsInt SWIG_AsLong
410 #endif
411
412
413 SWIGSTATICINLINE(int)
414 SWIG_CheckInt(PyObject* obj)
415 {
416 SWIG_AsInt(obj);
417 if (PyErr_Occurred()) {
418 PyErr_Clear();
419 return 0;
420 } else {
421 return 1;
422 }
423 }
424
425
426 SWIGSTATICINLINE(int)
427 SWIG_CheckLong(PyObject* obj)
428 {
429 SWIG_AsLong(obj);
430 if (PyErr_Occurred()) {
431 PyErr_Clear();
432 return 0;
433 } else {
434 return 1;
435 }
436 }
437
438
439 SWIGSTATICINLINE(bool)
440 SWIG_AsBool(PyObject *obj)
441 {
442 return PyObject_IsTrue(obj) ? true : false;
443 }
444
445
446 SWIGSTATICINLINE(int)
447 SWIG_CheckBool(PyObject* obj)
448 {
449 SWIG_AsBool(obj);
450 if (PyErr_Occurred()) {
451 PyErr_Clear();
452 return 0;
453 } else {
454 return 1;
455 }
456 }
457
458
459 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
460 PyObject* o2;
461 PyObject* o3;
462
463 if (!target) {
464 target = o;
465 } else if (target == Py_None) {
466 Py_DECREF(Py_None);
467 target = o;
468 } else {
469 if (!PyTuple_Check(target)) {
470 o2 = target;
471 target = PyTuple_New(1);
472 PyTuple_SetItem(target, 0, o2);
473 }
474 o3 = PyTuple_New(1);
475 PyTuple_SetItem(o3, 0, o);
476
477 o2 = target;
478 target = PySequence_Concat(o2, o3);
479 Py_DECREF(o2);
480 Py_DECREF(o3);
481 }
482 return target;
483 }
484
485
486 SWIGSTATICINLINE(double)
487 SWIG_AsDouble(PyObject *obj)
488 {
489 if (PyNumber_Check(obj))
490 return PyFloat_AsDouble(obj);
491 else {
492 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
493 obj->ob_type->tp_name);
494 PyErr_SetObject(PyExc_TypeError, errmsg);
495 Py_DECREF(errmsg);
496 return 0;
497 }
498 }
499
500
501 SWIGSTATICINLINE(int)
502 SWIG_CheckDouble(PyObject* obj)
503 {
504 SWIG_AsDouble(obj);
505 if (PyErr_Occurred()) {
506 PyErr_Clear();
507 return 0;
508 } else {
509 return 1;
510 }
511 }
512
513 static const wxString wxPyFrameNameStr(wxFrameNameStr);
514 static const wxString wxPyDialogNameStr(wxDialogNameStr);
515 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
516 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
517 bool wxDialog_IsModalShowing(wxDialog *self){
518
519 return self->m_modalShowing;
520
521
522
523 }
524
525
526 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
527 wxRect r;
528 self->GetFieldRect(i, r);
529 return r;
530 }
531 static const wxString wxPySplitterNameStr(wxT("splitter"));
532 static const wxString wxPySashNameStr(wxT("sashWindow"));
533 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
534
535 #include <wx/popupwin.h>
536
537
538 class wxPyPopupTransientWindow : public wxPopupTransientWindow
539 {
540 public:
541 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
542 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
543 : wxPopupTransientWindow(parent, style) {}
544
545 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
546 DEC_PYCALLBACK__(OnDismiss);
547 DEC_PYCALLBACK_BOOL_(CanDismiss);
548 PYPRIVATE;
549 };
550
551
552 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
553 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
554 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
555
556
557 #include <wx/tipwin.h>
558
559 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
560 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
561 }
562
563 #include <wx/tipwin.h>
564
565
566 #include <wx/vscroll.h>
567
568
569 class wxPyVScrolledWindow : public wxVScrolledWindow
570 {
571 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
572 public:
573 wxPyVScrolledWindow() : wxVScrolledWindow() {}
574
575 wxPyVScrolledWindow(wxWindow *parent,
576 wxWindowID id = wxID_ANY,
577 const wxPoint& pos = wxDefaultPosition,
578 const wxSize& size = wxDefaultSize,
579 long style = 0,
580 const wxString& name = wxPyPanelNameStr)
581 : wxVScrolledWindow(parent, id, pos, size, style, name)
582 {}
583
584 // Overridable virtuals
585
586 // this function must be overridden in the derived class and it should
587 // return the height of the given line in pixels
588 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
589
590
591 // this function doesn't have to be overridden but it may be useful to do
592 // it if calculating the lines heights is a relatively expensive operation
593 // as it gives the user code a possibility to calculate several of them at
594 // once
595 //
596 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
597 // shouldn't rely on the latter being called for all lines in the interval
598 // specified here. It is also possible that OnGetLineHeight() will be
599 // called for the lines outside of this interval, so this is really just a
600 // hint, not a promise.
601 //
602 // finally note that lineMin is inclusive, while lineMax is exclusive, as
603 // usual
604 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
605
606
607 // when the number of lines changes, we try to estimate the total height
608 // of all lines which is a rather expensive operation in terms of lines
609 // access, so if the user code may estimate the average height
610 // better/faster than we do, it should override this function to implement
611 // its own logic
612 //
613 // this function should return the best guess for the total height it may
614 // make
615 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
616
617
618 // Also expose some other interesting protected methods
619
620
621 // find the index of the line we need to show at the top of the window such
622 // that the last (fully or partially) visible line is the given one
623 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
624 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
625
626 // get the total height of the lines between lineMin (inclusive) and
627 // lineMax (exclusive)
628 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
629 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
630
631
632 PYPRIVATE;
633 };
634
635 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
636
637 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
638 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
639 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
640
641
642 SWIGSTATICINLINE(unsigned long)
643 SWIG_AsUnsignedLong(PyObject * obj)
644 {
645 if (PyLong_Check(obj)) {
646 return PyLong_AsUnsignedLong(obj);
647 } else {
648 long i = SWIG_AsLong(obj);
649 if ( !PyErr_Occurred() && (i < 0)) {
650 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
651 }
652 return i;
653 }
654 }
655
656
657 SWIGSTATICINLINE(int)
658 SWIG_CheckUnsignedLong(PyObject* obj)
659 {
660 SWIG_AsUnsignedLong(obj);
661 if (PyErr_Occurred()) {
662 PyErr_Clear();
663 return 0;
664 } else {
665 return 1;
666 }
667 }
668
669
670 SWIGSTATICINLINE(PyObject* )
671 SWIG_FromUnsignedLong(unsigned long value)
672 {
673 return (value > LONG_MAX) ?
674 PyLong_FromUnsignedLong(value)
675 : PyInt_FromLong(swig_numeric_cast(long,value));
676 }
677
678
679 #include <wx/vlbox.h>
680
681 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
682
683 class wxPyVListBox : public wxVListBox
684 {
685 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
686 public:
687 wxPyVListBox() : wxVListBox() {}
688
689 wxPyVListBox(wxWindow *parent,
690 wxWindowID id = wxID_ANY,
691 const wxPoint& pos = wxDefaultPosition,
692 const wxSize& size = wxDefaultSize,
693 long style = 0,
694 const wxString& name = wxPyVListBoxNameStr)
695 : wxVListBox(parent, id, pos, size, style, name)
696 {}
697
698 // Overridable virtuals
699
700 // the derived class must implement this function to actually draw the item
701 // with the given index on the provided DC
702 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
703 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
704
705
706 // the derived class must implement this method to return the height of the
707 // specified item
708 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
709 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
710
711
712 // this method may be used to draw separators between the lines; note that
713 // the rectangle may be modified, typically to deflate it a bit before
714 // passing to OnDrawItem()
715 //
716 // the base class version doesn't do anything
717 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
718 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
719
720
721 // this method is used to draw the items background and, maybe, a border
722 // around it
723 //
724 // the base class version implements a reasonable default behaviour which
725 // consists in drawing the selected item with the standard background
726 // colour and drawing a border around the item if it is either selected or
727 // current
728 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
729 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
730
731
732 PYPRIVATE;
733 };
734
735 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
736
737 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
738 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
739 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
740 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
741
742
743
744 #include <wx/htmllbox.h>
745
746
747 class wxPyHtmlListBox : public wxHtmlListBox
748 {
749 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
750 public:
751 wxPyHtmlListBox() : wxHtmlListBox() {}
752
753 wxPyHtmlListBox(wxWindow *parent,
754 wxWindowID id = wxID_ANY,
755 const wxPoint& pos = wxDefaultPosition,
756 const wxSize& size = wxDefaultSize,
757 long style = 0,
758 const wxString& name = wxPyVListBoxNameStr)
759 : wxHtmlListBox(parent, id, pos, size, style, name)
760 {}
761
762 // Overridable virtuals
763
764 // this method must be implemented in the derived class and should return
765 // the body (i.e. without <html>) of the HTML for the given item
766 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
767
768 // this function may be overridden to decorate HTML returned by OnGetItem()
769 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
770
771 // TODO:
772 // // this method allows to customize the selection appearance: it may be used
773 // // to specify the colour of the text which normally has the given colour
774 // // colFg when it is inside the selection
775 // //
776 // // by default, the original colour is not used at all and all text has the
777 // // same (default for this system) colour inside selection
778 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
779
780 // // this is the same as GetSelectedTextColour() but allows to customize the
781 // // background colour -- this is even more rarely used as you can change it
782 // // globally using SetSelectionBackground()
783 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
784
785
786 PYPRIVATE;
787 };
788
789
790 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
791
792 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
793 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
794
795
796
797
798
799 #ifdef __WXMAC__
800 // implement dummy classes and such for wxMac
801
802 class wxTaskBarIcon : public wxEvtHandler
803 {
804 public:
805 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
806 };
807
808
809 class wxTaskBarIconEvent : public wxEvent
810 {
811 public:
812 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
813 { wxPyRaiseNotImplemented(); }
814 virtual wxEvent* Clone() const { return NULL; }
815 };
816
817 enum {
818 wxEVT_TASKBAR_MOVE = 0,
819 wxEVT_TASKBAR_LEFT_DOWN = 0,
820 wxEVT_TASKBAR_LEFT_UP = 0,
821 wxEVT_TASKBAR_RIGHT_DOWN = 0,
822 wxEVT_TASKBAR_RIGHT_UP = 0,
823 wxEVT_TASKBAR_LEFT_DCLICK = 0,
824 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
825 };
826 #endif
827
828 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
829
830 self->RemoveIcon();
831
832 }
833 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
834 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
835 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
836 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
837 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
838 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
839 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
840 wxArrayString arr;
841 self->GetFilenames(arr);
842 return wxArrayString2PyList_helper(arr);
843 }
844 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
845 wxArrayString arr;
846 self->GetPaths(arr);
847 return wxArrayString2PyList_helper(arr);
848 }
849 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
850 return wxArrayInt2PyList_helper(self->GetSelections());
851 }
852 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
853 return new wxSingleChoiceDialog(parent, message, caption,
854 choices, choices_array, NULL, style, pos);
855 }
856
857 #include <wx/mdi.h>
858
859 // C++ version of Python aware wxWindow
860 class wxPyWindow : public wxWindow
861 {
862 DECLARE_DYNAMIC_CLASS(wxPyWindow)
863 public:
864 wxPyWindow() : wxWindow() {}
865 wxPyWindow(wxWindow* parent, const wxWindowID id,
866 const wxPoint& pos = wxDefaultPosition,
867 const wxSize& size = wxDefaultSize,
868 long style = 0,
869 const wxString& name = wxPyPanelNameStr)
870 : wxWindow(parent, id, pos, size, style, name) {}
871
872
873 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
874 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
875 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
876 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
877
878 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
879 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
880 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
881
882 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
883 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
884
885 DEC_PYCALLBACK__(InitDialog);
886 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
887 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
888 DEC_PYCALLBACK_BOOL_(Validate);
889
890 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
891 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
892 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
893
894 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
895 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
896
897 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
898 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
899
900 PYPRIVATE;
901 };
902
903 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
904
905 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
906 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
907 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
908 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
909
910 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
911 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
912 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
913
914 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
915 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
916
917 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
918 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
919 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
920 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
921
922 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
923 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
924 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
925
926 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
927 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
928
929 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
930 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
931
932
933 // C++ version of Python aware wxPanel
934 class wxPyPanel : public wxPanel
935 {
936 DECLARE_DYNAMIC_CLASS(wxPyPanel)
937 public:
938 wxPyPanel() : wxPanel() {}
939 wxPyPanel(wxWindow* parent, const wxWindowID id,
940 const wxPoint& pos = wxDefaultPosition,
941 const wxSize& size = wxDefaultSize,
942 long style = 0,
943 const wxString& name = wxPyPanelNameStr)
944 : wxPanel(parent, id, pos, size, style, name) {}
945
946
947 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
948 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
949 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
950 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
951
952 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
953 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
955
956 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
957 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
958
959 DEC_PYCALLBACK__(InitDialog);
960 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
961 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
962 DEC_PYCALLBACK_BOOL_(Validate);
963
964 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
965 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
966 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
967
968 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
969 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
970
971 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
972 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
973
974 PYPRIVATE;
975 };
976
977 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
978
979 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
980 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
981 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
982 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
983
984 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
985 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
987
988 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
989 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
990
991 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
992 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
993 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
994 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
995
996 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
997 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
998 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
999
1000 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1001 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1002
1003 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
1004 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1005
1006 // C++ version of Python aware wxScrolledWindow
1007 class wxPyScrolledWindow : public wxScrolledWindow
1008 {
1009 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1010 public:
1011 wxPyScrolledWindow() : wxScrolledWindow() {}
1012 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1013 const wxPoint& pos = wxDefaultPosition,
1014 const wxSize& size = wxDefaultSize,
1015 long style = 0,
1016 const wxString& name = wxPyPanelNameStr)
1017 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1018
1019
1020 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1021 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1022 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1023 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1024
1025 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1026 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1027 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1028
1029 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1030 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1031
1032 DEC_PYCALLBACK__(InitDialog);
1033 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1034 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1035 DEC_PYCALLBACK_BOOL_(Validate);
1036
1037 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1038 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1039 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1040
1041 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1042 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1043
1044 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1045 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1046
1047 PYPRIVATE;
1048 };
1049
1050 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1051
1052 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1053 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1054 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1055 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1056
1057 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1058 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1059 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1060
1061 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1062 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1063
1064 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1065 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1066 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1067 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1068
1069 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1070 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1071 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1072
1073 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1074 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1075
1076 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1077 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1078
1079
1080 #include "wx/wxPython/printfw.h"
1081
1082
1083 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1084 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1085
1086
1087
1088 // Since this one would be tough and ugly to do with the Macros...
1089 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1090 bool hadErr = False;
1091 bool found;
1092
1093 bool blocked = wxPyBeginBlockThreads();
1094 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1095 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1096 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1097 PyObject* val;
1098
1099 val = PyTuple_GetItem(result, 0);
1100 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1101 else hadErr = True;
1102
1103 val = PyTuple_GetItem(result, 1);
1104 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1105 else hadErr = True;
1106
1107 val = PyTuple_GetItem(result, 2);
1108 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1109 else hadErr = True;
1110
1111 val = PyTuple_GetItem(result, 3);
1112 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1113 else hadErr = True;
1114 }
1115 else
1116 hadErr = True;
1117
1118 if (hadErr) {
1119 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1120 PyErr_Print();
1121 }
1122 Py_DECREF(result);
1123 }
1124 wxPyEndBlockThreads(blocked);
1125 if (! found)
1126 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1127 }
1128
1129 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1130 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1131 }
1132
1133
1134 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1135 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1136 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1137 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1138 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1139 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1140 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1141
1142
1143
1144
1145
1146 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1147 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1148 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1149
1150
1151 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1152 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1153 bool rval=False; \
1154 bool found; \
1155 bool blocked = wxPyBeginBlockThreads(); \
1156 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1157 PyObject* win = wxPyMake_wxObject(a); \
1158 PyObject* dc = wxPyMake_wxObject(&b); \
1159 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1160 Py_DECREF(win); \
1161 Py_DECREF(dc); \
1162 } \
1163 wxPyEndBlockThreads(blocked); \
1164 if (! found) \
1165 rval = PCLASS::CBNAME(a, b); \
1166 return rval; \
1167 } \
1168 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1169 return PCLASS::CBNAME(a, b); \
1170 }
1171
1172
1173
1174
1175 class wxPyPrintPreview : public wxPrintPreview
1176 {
1177 DECLARE_CLASS(wxPyPrintPreview)
1178 public:
1179 wxPyPrintPreview(wxPyPrintout* printout,
1180 wxPyPrintout* printoutForPrinting,
1181 wxPrintDialogData* data=NULL)
1182 : wxPrintPreview(printout, printoutForPrinting, data)
1183 {}
1184 wxPyPrintPreview(wxPyPrintout* printout,
1185 wxPyPrintout* printoutForPrinting,
1186 wxPrintData* data=NULL)
1187 : wxPrintPreview(printout, printoutForPrinting, data)
1188 {}
1189
1190 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1191 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1192 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1193 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1194 DEC_PYCALLBACK_VOID_INT(SetZoom);
1195 DEC_PYCALLBACK_BOOL_BOOL(Print);
1196 DEC_PYCALLBACK_VOID_(DetermineScaling);
1197
1198 PYPRIVATE;
1199 };
1200
1201 // Stupid renamed classes... Fix this in 2.5...
1202 #if defined(__WXMSW__)
1203 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1204 #elif defined(__WXMAC__)
1205 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1206 #else
1207 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1208 #endif
1209
1210 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1211 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1212 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1213 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1214 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1215 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1216 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1217
1218
1219 class wxPyPreviewFrame : public wxPreviewFrame
1220 {
1221 DECLARE_CLASS(wxPyPreviewFrame);
1222 public:
1223 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1224 const wxString& title,
1225 const wxPoint& pos = wxDefaultPosition,
1226 const wxSize& size = wxDefaultSize,
1227 long style = wxDEFAULT_FRAME_STYLE,
1228 const wxString& name = wxPyFrameNameStr)
1229 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1230 {}
1231
1232 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1233 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1234
1235 DEC_PYCALLBACK_VOID_(Initialize);
1236 DEC_PYCALLBACK_VOID_(CreateCanvas);
1237 DEC_PYCALLBACK_VOID_(CreateControlBar);
1238
1239 PYPRIVATE;
1240 };
1241
1242 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1243
1244 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1245 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1246 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1247
1248
1249 class wxPyPreviewControlBar : public wxPreviewControlBar
1250 {
1251 DECLARE_CLASS(wxPyPreviewControlBar);
1252 public:
1253 wxPyPreviewControlBar(wxPrintPreview *preview,
1254 long buttons,
1255 wxWindow *parent,
1256 const wxPoint& pos = wxDefaultPosition,
1257 const wxSize& size = wxDefaultSize,
1258 long style = 0,
1259 const wxString& name = wxPyPanelNameStr)
1260 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1261 {}
1262
1263 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1264
1265 DEC_PYCALLBACK_VOID_(CreateButtons);
1266 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1267
1268 PYPRIVATE;
1269 };
1270
1271 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1272 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1273 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1274
1275 #ifdef __cplusplus
1276 extern "C" {
1277 #endif
1278 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1279 PyObject *resultobj;
1280 wxWindow *arg1 = (wxWindow *) 0 ;
1281 int arg2 = (int) (int)-1 ;
1282 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1283 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1284 wxSize const &arg4_defvalue = wxDefaultSize ;
1285 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1286 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1287 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1288 wxString *arg6 = (wxString *) &arg6_defvalue ;
1289 wxPanel *result;
1290 wxPoint temp3 ;
1291 wxSize temp4 ;
1292 bool temp6 = False ;
1293 PyObject * obj0 = 0 ;
1294 PyObject * obj1 = 0 ;
1295 PyObject * obj2 = 0 ;
1296 PyObject * obj3 = 0 ;
1297 PyObject * obj4 = 0 ;
1298 PyObject * obj5 = 0 ;
1299 char *kwnames[] = {
1300 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1301 };
1302
1303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1306 if (obj1) {
1307 arg2 = (int const) SWIG_AsInt(obj1);
1308 if (PyErr_Occurred()) SWIG_fail;
1309 }
1310 if (obj2) {
1311 {
1312 arg3 = &temp3;
1313 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1314 }
1315 }
1316 if (obj3) {
1317 {
1318 arg4 = &temp4;
1319 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1320 }
1321 }
1322 if (obj4) {
1323 arg5 = (long) SWIG_AsLong(obj4);
1324 if (PyErr_Occurred()) SWIG_fail;
1325 }
1326 if (obj5) {
1327 {
1328 arg6 = wxString_in_helper(obj5);
1329 if (arg6 == NULL) SWIG_fail;
1330 temp6 = True;
1331 }
1332 }
1333 {
1334 PyThreadState* __tstate = wxPyBeginAllowThreads();
1335 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1336
1337 wxPyEndAllowThreads(__tstate);
1338 if (PyErr_Occurred()) SWIG_fail;
1339 }
1340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1341 {
1342 if (temp6)
1343 delete arg6;
1344 }
1345 return resultobj;
1346 fail:
1347 {
1348 if (temp6)
1349 delete arg6;
1350 }
1351 return NULL;
1352 }
1353
1354
1355 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1356 PyObject *resultobj;
1357 wxPanel *result;
1358 char *kwnames[] = {
1359 NULL
1360 };
1361
1362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1363 {
1364 PyThreadState* __tstate = wxPyBeginAllowThreads();
1365 result = (wxPanel *)new wxPanel();
1366
1367 wxPyEndAllowThreads(__tstate);
1368 if (PyErr_Occurred()) SWIG_fail;
1369 }
1370 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1371 return resultobj;
1372 fail:
1373 return NULL;
1374 }
1375
1376
1377 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1378 PyObject *resultobj;
1379 wxPanel *arg1 = (wxPanel *) 0 ;
1380 wxWindow *arg2 = (wxWindow *) 0 ;
1381 int arg3 = (int) (int)-1 ;
1382 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1383 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1384 wxSize const &arg5_defvalue = wxDefaultSize ;
1385 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1386 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1387 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1388 wxString *arg7 = (wxString *) &arg7_defvalue ;
1389 bool result;
1390 wxPoint temp4 ;
1391 wxSize temp5 ;
1392 bool temp7 = False ;
1393 PyObject * obj0 = 0 ;
1394 PyObject * obj1 = 0 ;
1395 PyObject * obj2 = 0 ;
1396 PyObject * obj3 = 0 ;
1397 PyObject * obj4 = 0 ;
1398 PyObject * obj5 = 0 ;
1399 PyObject * obj6 = 0 ;
1400 char *kwnames[] = {
1401 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1402 };
1403
1404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1407 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1409 if (obj2) {
1410 arg3 = (int const) SWIG_AsInt(obj2);
1411 if (PyErr_Occurred()) SWIG_fail;
1412 }
1413 if (obj3) {
1414 {
1415 arg4 = &temp4;
1416 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1417 }
1418 }
1419 if (obj4) {
1420 {
1421 arg5 = &temp5;
1422 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1423 }
1424 }
1425 if (obj5) {
1426 arg6 = (long) SWIG_AsLong(obj5);
1427 if (PyErr_Occurred()) SWIG_fail;
1428 }
1429 if (obj6) {
1430 {
1431 arg7 = wxString_in_helper(obj6);
1432 if (arg7 == NULL) SWIG_fail;
1433 temp7 = True;
1434 }
1435 }
1436 {
1437 PyThreadState* __tstate = wxPyBeginAllowThreads();
1438 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1439
1440 wxPyEndAllowThreads(__tstate);
1441 if (PyErr_Occurred()) SWIG_fail;
1442 }
1443 {
1444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1445 }
1446 {
1447 if (temp7)
1448 delete arg7;
1449 }
1450 return resultobj;
1451 fail:
1452 {
1453 if (temp7)
1454 delete arg7;
1455 }
1456 return NULL;
1457 }
1458
1459
1460 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1461 PyObject *resultobj;
1462 wxPanel *arg1 = (wxPanel *) 0 ;
1463 PyObject * obj0 = 0 ;
1464 char *kwnames[] = {
1465 (char *) "self", NULL
1466 };
1467
1468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1471 {
1472 PyThreadState* __tstate = wxPyBeginAllowThreads();
1473 (arg1)->InitDialog();
1474
1475 wxPyEndAllowThreads(__tstate);
1476 if (PyErr_Occurred()) SWIG_fail;
1477 }
1478 Py_INCREF(Py_None); resultobj = Py_None;
1479 return resultobj;
1480 fail:
1481 return NULL;
1482 }
1483
1484
1485 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1486 PyObject *obj;
1487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1488 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1489 Py_INCREF(obj);
1490 return Py_BuildValue((char *)"");
1491 }
1492 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1493 PyObject *resultobj;
1494 wxWindow *arg1 = (wxWindow *) 0 ;
1495 int arg2 = (int) (int)-1 ;
1496 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1497 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1498 wxSize const &arg4_defvalue = wxDefaultSize ;
1499 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1500 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1501 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1502 wxString *arg6 = (wxString *) &arg6_defvalue ;
1503 wxScrolledWindow *result;
1504 wxPoint temp3 ;
1505 wxSize temp4 ;
1506 bool temp6 = False ;
1507 PyObject * obj0 = 0 ;
1508 PyObject * obj1 = 0 ;
1509 PyObject * obj2 = 0 ;
1510 PyObject * obj3 = 0 ;
1511 PyObject * obj4 = 0 ;
1512 PyObject * obj5 = 0 ;
1513 char *kwnames[] = {
1514 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1515 };
1516
1517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1520 if (obj1) {
1521 arg2 = (int const) SWIG_AsInt(obj1);
1522 if (PyErr_Occurred()) SWIG_fail;
1523 }
1524 if (obj2) {
1525 {
1526 arg3 = &temp3;
1527 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1528 }
1529 }
1530 if (obj3) {
1531 {
1532 arg4 = &temp4;
1533 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1534 }
1535 }
1536 if (obj4) {
1537 arg5 = (long) SWIG_AsLong(obj4);
1538 if (PyErr_Occurred()) SWIG_fail;
1539 }
1540 if (obj5) {
1541 {
1542 arg6 = wxString_in_helper(obj5);
1543 if (arg6 == NULL) SWIG_fail;
1544 temp6 = True;
1545 }
1546 }
1547 {
1548 PyThreadState* __tstate = wxPyBeginAllowThreads();
1549 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1550
1551 wxPyEndAllowThreads(__tstate);
1552 if (PyErr_Occurred()) SWIG_fail;
1553 }
1554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1555 {
1556 if (temp6)
1557 delete arg6;
1558 }
1559 return resultobj;
1560 fail:
1561 {
1562 if (temp6)
1563 delete arg6;
1564 }
1565 return NULL;
1566 }
1567
1568
1569 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1570 PyObject *resultobj;
1571 wxScrolledWindow *result;
1572 char *kwnames[] = {
1573 NULL
1574 };
1575
1576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1577 {
1578 PyThreadState* __tstate = wxPyBeginAllowThreads();
1579 result = (wxScrolledWindow *)new wxScrolledWindow();
1580
1581 wxPyEndAllowThreads(__tstate);
1582 if (PyErr_Occurred()) SWIG_fail;
1583 }
1584 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1585 return resultobj;
1586 fail:
1587 return NULL;
1588 }
1589
1590
1591 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1592 PyObject *resultobj;
1593 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1594 wxWindow *arg2 = (wxWindow *) 0 ;
1595 int arg3 = (int) (int)-1 ;
1596 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1597 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1598 wxSize const &arg5_defvalue = wxDefaultSize ;
1599 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1600 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1601 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1602 wxString *arg7 = (wxString *) &arg7_defvalue ;
1603 bool result;
1604 wxPoint temp4 ;
1605 wxSize temp5 ;
1606 bool temp7 = False ;
1607 PyObject * obj0 = 0 ;
1608 PyObject * obj1 = 0 ;
1609 PyObject * obj2 = 0 ;
1610 PyObject * obj3 = 0 ;
1611 PyObject * obj4 = 0 ;
1612 PyObject * obj5 = 0 ;
1613 PyObject * obj6 = 0 ;
1614 char *kwnames[] = {
1615 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1616 };
1617
1618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1621 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1623 if (obj2) {
1624 arg3 = (int const) SWIG_AsInt(obj2);
1625 if (PyErr_Occurred()) SWIG_fail;
1626 }
1627 if (obj3) {
1628 {
1629 arg4 = &temp4;
1630 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1631 }
1632 }
1633 if (obj4) {
1634 {
1635 arg5 = &temp5;
1636 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1637 }
1638 }
1639 if (obj5) {
1640 arg6 = (long) SWIG_AsLong(obj5);
1641 if (PyErr_Occurred()) SWIG_fail;
1642 }
1643 if (obj6) {
1644 {
1645 arg7 = wxString_in_helper(obj6);
1646 if (arg7 == NULL) SWIG_fail;
1647 temp7 = True;
1648 }
1649 }
1650 {
1651 PyThreadState* __tstate = wxPyBeginAllowThreads();
1652 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1653
1654 wxPyEndAllowThreads(__tstate);
1655 if (PyErr_Occurred()) SWIG_fail;
1656 }
1657 {
1658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1659 }
1660 {
1661 if (temp7)
1662 delete arg7;
1663 }
1664 return resultobj;
1665 fail:
1666 {
1667 if (temp7)
1668 delete arg7;
1669 }
1670 return NULL;
1671 }
1672
1673
1674 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1675 PyObject *resultobj;
1676 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1677 int arg2 ;
1678 int arg3 ;
1679 int arg4 ;
1680 int arg5 ;
1681 int arg6 = (int) 0 ;
1682 int arg7 = (int) 0 ;
1683 bool arg8 = (bool) False ;
1684 PyObject * obj0 = 0 ;
1685 PyObject * obj1 = 0 ;
1686 PyObject * obj2 = 0 ;
1687 PyObject * obj3 = 0 ;
1688 PyObject * obj4 = 0 ;
1689 PyObject * obj5 = 0 ;
1690 PyObject * obj6 = 0 ;
1691 PyObject * obj7 = 0 ;
1692 char *kwnames[] = {
1693 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1694 };
1695
1696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1699 arg2 = (int) SWIG_AsInt(obj1);
1700 if (PyErr_Occurred()) SWIG_fail;
1701 arg3 = (int) SWIG_AsInt(obj2);
1702 if (PyErr_Occurred()) SWIG_fail;
1703 arg4 = (int) SWIG_AsInt(obj3);
1704 if (PyErr_Occurred()) SWIG_fail;
1705 arg5 = (int) SWIG_AsInt(obj4);
1706 if (PyErr_Occurred()) SWIG_fail;
1707 if (obj5) {
1708 arg6 = (int) SWIG_AsInt(obj5);
1709 if (PyErr_Occurred()) SWIG_fail;
1710 }
1711 if (obj6) {
1712 arg7 = (int) SWIG_AsInt(obj6);
1713 if (PyErr_Occurred()) SWIG_fail;
1714 }
1715 if (obj7) {
1716 arg8 = (bool) SWIG_AsBool(obj7);
1717 if (PyErr_Occurred()) SWIG_fail;
1718 }
1719 {
1720 PyThreadState* __tstate = wxPyBeginAllowThreads();
1721 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1722
1723 wxPyEndAllowThreads(__tstate);
1724 if (PyErr_Occurred()) SWIG_fail;
1725 }
1726 Py_INCREF(Py_None); resultobj = Py_None;
1727 return resultobj;
1728 fail:
1729 return NULL;
1730 }
1731
1732
1733 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1734 PyObject *resultobj;
1735 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1736 int arg2 ;
1737 int arg3 ;
1738 PyObject * obj0 = 0 ;
1739 PyObject * obj1 = 0 ;
1740 PyObject * obj2 = 0 ;
1741 char *kwnames[] = {
1742 (char *) "self",(char *) "x",(char *) "y", NULL
1743 };
1744
1745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1748 arg2 = (int) SWIG_AsInt(obj1);
1749 if (PyErr_Occurred()) SWIG_fail;
1750 arg3 = (int) SWIG_AsInt(obj2);
1751 if (PyErr_Occurred()) SWIG_fail;
1752 {
1753 PyThreadState* __tstate = wxPyBeginAllowThreads();
1754 (arg1)->Scroll(arg2,arg3);
1755
1756 wxPyEndAllowThreads(__tstate);
1757 if (PyErr_Occurred()) SWIG_fail;
1758 }
1759 Py_INCREF(Py_None); resultobj = Py_None;
1760 return resultobj;
1761 fail:
1762 return NULL;
1763 }
1764
1765
1766 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1767 PyObject *resultobj;
1768 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1769 int arg2 ;
1770 int result;
1771 PyObject * obj0 = 0 ;
1772 PyObject * obj1 = 0 ;
1773 char *kwnames[] = {
1774 (char *) "self",(char *) "orient", NULL
1775 };
1776
1777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1780 arg2 = (int) SWIG_AsInt(obj1);
1781 if (PyErr_Occurred()) SWIG_fail;
1782 {
1783 PyThreadState* __tstate = wxPyBeginAllowThreads();
1784 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1785
1786 wxPyEndAllowThreads(__tstate);
1787 if (PyErr_Occurred()) SWIG_fail;
1788 }
1789 resultobj = SWIG_FromInt((int)result);
1790 return resultobj;
1791 fail:
1792 return NULL;
1793 }
1794
1795
1796 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1797 PyObject *resultobj;
1798 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1799 int arg2 ;
1800 int arg3 ;
1801 PyObject * obj0 = 0 ;
1802 PyObject * obj1 = 0 ;
1803 PyObject * obj2 = 0 ;
1804 char *kwnames[] = {
1805 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1806 };
1807
1808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1811 arg2 = (int) SWIG_AsInt(obj1);
1812 if (PyErr_Occurred()) SWIG_fail;
1813 arg3 = (int) SWIG_AsInt(obj2);
1814 if (PyErr_Occurred()) SWIG_fail;
1815 {
1816 PyThreadState* __tstate = wxPyBeginAllowThreads();
1817 (arg1)->SetScrollPageSize(arg2,arg3);
1818
1819 wxPyEndAllowThreads(__tstate);
1820 if (PyErr_Occurred()) SWIG_fail;
1821 }
1822 Py_INCREF(Py_None); resultobj = Py_None;
1823 return resultobj;
1824 fail:
1825 return NULL;
1826 }
1827
1828
1829 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1830 PyObject *resultobj;
1831 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1832 int arg2 ;
1833 int arg3 ;
1834 PyObject * obj0 = 0 ;
1835 PyObject * obj1 = 0 ;
1836 PyObject * obj2 = 0 ;
1837 char *kwnames[] = {
1838 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1839 };
1840
1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1844 arg2 = (int) SWIG_AsInt(obj1);
1845 if (PyErr_Occurred()) SWIG_fail;
1846 arg3 = (int) SWIG_AsInt(obj2);
1847 if (PyErr_Occurred()) SWIG_fail;
1848 {
1849 PyThreadState* __tstate = wxPyBeginAllowThreads();
1850 (arg1)->SetScrollRate(arg2,arg3);
1851
1852 wxPyEndAllowThreads(__tstate);
1853 if (PyErr_Occurred()) SWIG_fail;
1854 }
1855 Py_INCREF(Py_None); resultobj = Py_None;
1856 return resultobj;
1857 fail:
1858 return NULL;
1859 }
1860
1861
1862 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1863 PyObject *resultobj;
1864 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1865 int *arg2 = (int *) 0 ;
1866 int *arg3 = (int *) 0 ;
1867 int temp2 ;
1868 int temp3 ;
1869 PyObject * obj0 = 0 ;
1870 char *kwnames[] = {
1871 (char *) "self", NULL
1872 };
1873
1874 arg2 = &temp2;
1875 arg3 = &temp3;
1876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1879 {
1880 PyThreadState* __tstate = wxPyBeginAllowThreads();
1881 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1882
1883 wxPyEndAllowThreads(__tstate);
1884 if (PyErr_Occurred()) SWIG_fail;
1885 }
1886 Py_INCREF(Py_None); resultobj = Py_None;
1887 {
1888 PyObject *o = PyInt_FromLong((long) (*arg2));
1889 resultobj = t_output_helper(resultobj,o);
1890 }
1891 {
1892 PyObject *o = PyInt_FromLong((long) (*arg3));
1893 resultobj = t_output_helper(resultobj,o);
1894 }
1895 return resultobj;
1896 fail:
1897 return NULL;
1898 }
1899
1900
1901 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1902 PyObject *resultobj;
1903 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1904 bool arg2 ;
1905 bool arg3 ;
1906 PyObject * obj0 = 0 ;
1907 PyObject * obj1 = 0 ;
1908 PyObject * obj2 = 0 ;
1909 char *kwnames[] = {
1910 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1911 };
1912
1913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1916 arg2 = (bool) SWIG_AsBool(obj1);
1917 if (PyErr_Occurred()) SWIG_fail;
1918 arg3 = (bool) SWIG_AsBool(obj2);
1919 if (PyErr_Occurred()) SWIG_fail;
1920 {
1921 PyThreadState* __tstate = wxPyBeginAllowThreads();
1922 (arg1)->EnableScrolling(arg2,arg3);
1923
1924 wxPyEndAllowThreads(__tstate);
1925 if (PyErr_Occurred()) SWIG_fail;
1926 }
1927 Py_INCREF(Py_None); resultobj = Py_None;
1928 return resultobj;
1929 fail:
1930 return NULL;
1931 }
1932
1933
1934 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1935 PyObject *resultobj;
1936 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1937 int *arg2 = (int *) 0 ;
1938 int *arg3 = (int *) 0 ;
1939 int temp2 ;
1940 int temp3 ;
1941 PyObject * obj0 = 0 ;
1942 char *kwnames[] = {
1943 (char *) "self", NULL
1944 };
1945
1946 arg2 = &temp2;
1947 arg3 = &temp3;
1948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1951 {
1952 PyThreadState* __tstate = wxPyBeginAllowThreads();
1953 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1954
1955 wxPyEndAllowThreads(__tstate);
1956 if (PyErr_Occurred()) SWIG_fail;
1957 }
1958 Py_INCREF(Py_None); resultobj = Py_None;
1959 {
1960 PyObject *o = PyInt_FromLong((long) (*arg2));
1961 resultobj = t_output_helper(resultobj,o);
1962 }
1963 {
1964 PyObject *o = PyInt_FromLong((long) (*arg3));
1965 resultobj = t_output_helper(resultobj,o);
1966 }
1967 return resultobj;
1968 fail:
1969 return NULL;
1970 }
1971
1972
1973 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1974 PyObject *resultobj;
1975 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1976 double arg2 ;
1977 double arg3 ;
1978 PyObject * obj0 = 0 ;
1979 PyObject * obj1 = 0 ;
1980 PyObject * obj2 = 0 ;
1981 char *kwnames[] = {
1982 (char *) "self",(char *) "xs",(char *) "ys", NULL
1983 };
1984
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1988 arg2 = (double) SWIG_AsDouble(obj1);
1989 if (PyErr_Occurred()) SWIG_fail;
1990 arg3 = (double) SWIG_AsDouble(obj2);
1991 if (PyErr_Occurred()) SWIG_fail;
1992 {
1993 PyThreadState* __tstate = wxPyBeginAllowThreads();
1994 (arg1)->SetScale(arg2,arg3);
1995
1996 wxPyEndAllowThreads(__tstate);
1997 if (PyErr_Occurred()) SWIG_fail;
1998 }
1999 Py_INCREF(Py_None); resultobj = Py_None;
2000 return resultobj;
2001 fail:
2002 return NULL;
2003 }
2004
2005
2006 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2007 PyObject *resultobj;
2008 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2009 double result;
2010 PyObject * obj0 = 0 ;
2011 char *kwnames[] = {
2012 (char *) "self", NULL
2013 };
2014
2015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2018 {
2019 PyThreadState* __tstate = wxPyBeginAllowThreads();
2020 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2021
2022 wxPyEndAllowThreads(__tstate);
2023 if (PyErr_Occurred()) SWIG_fail;
2024 }
2025 resultobj = SWIG_FromDouble((double)result);
2026 return resultobj;
2027 fail:
2028 return NULL;
2029 }
2030
2031
2032 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2033 PyObject *resultobj;
2034 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2035 double result;
2036 PyObject * obj0 = 0 ;
2037 char *kwnames[] = {
2038 (char *) "self", NULL
2039 };
2040
2041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2044 {
2045 PyThreadState* __tstate = wxPyBeginAllowThreads();
2046 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2047
2048 wxPyEndAllowThreads(__tstate);
2049 if (PyErr_Occurred()) SWIG_fail;
2050 }
2051 resultobj = SWIG_FromDouble((double)result);
2052 return resultobj;
2053 fail:
2054 return NULL;
2055 }
2056
2057
2058 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2059 PyObject *resultobj;
2060 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2061 wxPoint *arg2 = 0 ;
2062 wxPoint result;
2063 wxPoint temp2 ;
2064 PyObject * obj0 = 0 ;
2065 PyObject * obj1 = 0 ;
2066
2067 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2070 {
2071 arg2 = &temp2;
2072 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2073 }
2074 {
2075 PyThreadState* __tstate = wxPyBeginAllowThreads();
2076 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2077
2078 wxPyEndAllowThreads(__tstate);
2079 if (PyErr_Occurred()) SWIG_fail;
2080 }
2081 {
2082 wxPoint * resultptr;
2083 resultptr = new wxPoint((wxPoint &) result);
2084 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2085 }
2086 return resultobj;
2087 fail:
2088 return NULL;
2089 }
2090
2091
2092 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2093 PyObject *resultobj;
2094 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2095 int arg2 ;
2096 int arg3 ;
2097 int *arg4 = (int *) 0 ;
2098 int *arg5 = (int *) 0 ;
2099 int temp4 ;
2100 int temp5 ;
2101 PyObject * obj0 = 0 ;
2102 PyObject * obj1 = 0 ;
2103 PyObject * obj2 = 0 ;
2104
2105 arg4 = &temp4;
2106 arg5 = &temp5;
2107 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2110 arg2 = (int) SWIG_AsInt(obj1);
2111 if (PyErr_Occurred()) SWIG_fail;
2112 arg3 = (int) SWIG_AsInt(obj2);
2113 if (PyErr_Occurred()) SWIG_fail;
2114 {
2115 PyThreadState* __tstate = wxPyBeginAllowThreads();
2116 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2117
2118 wxPyEndAllowThreads(__tstate);
2119 if (PyErr_Occurred()) SWIG_fail;
2120 }
2121 Py_INCREF(Py_None); resultobj = Py_None;
2122 {
2123 PyObject *o = PyInt_FromLong((long) (*arg4));
2124 resultobj = t_output_helper(resultobj,o);
2125 }
2126 {
2127 PyObject *o = PyInt_FromLong((long) (*arg5));
2128 resultobj = t_output_helper(resultobj,o);
2129 }
2130 return resultobj;
2131 fail:
2132 return NULL;
2133 }
2134
2135
2136 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2137 int argc;
2138 PyObject *argv[4];
2139 int ii;
2140
2141 argc = PyObject_Length(args);
2142 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2143 argv[ii] = PyTuple_GetItem(args,ii);
2144 }
2145 if (argc == 2) {
2146 int _v;
2147 {
2148 void *ptr;
2149 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2150 _v = 0;
2151 PyErr_Clear();
2152 } else {
2153 _v = 1;
2154 }
2155 }
2156 if (_v) {
2157 {
2158 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2159 }
2160 if (_v) {
2161 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2162 }
2163 }
2164 }
2165 if (argc == 3) {
2166 int _v;
2167 {
2168 void *ptr;
2169 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2170 _v = 0;
2171 PyErr_Clear();
2172 } else {
2173 _v = 1;
2174 }
2175 }
2176 if (_v) {
2177 _v = SWIG_CheckInt(argv[1]);
2178 if (_v) {
2179 _v = SWIG_CheckInt(argv[2]);
2180 if (_v) {
2181 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2182 }
2183 }
2184 }
2185 }
2186
2187 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2188 return NULL;
2189 }
2190
2191
2192 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2193 PyObject *resultobj;
2194 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2195 wxPoint *arg2 = 0 ;
2196 wxPoint result;
2197 wxPoint temp2 ;
2198 PyObject * obj0 = 0 ;
2199 PyObject * obj1 = 0 ;
2200
2201 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2204 {
2205 arg2 = &temp2;
2206 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2207 }
2208 {
2209 PyThreadState* __tstate = wxPyBeginAllowThreads();
2210 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2211
2212 wxPyEndAllowThreads(__tstate);
2213 if (PyErr_Occurred()) SWIG_fail;
2214 }
2215 {
2216 wxPoint * resultptr;
2217 resultptr = new wxPoint((wxPoint &) result);
2218 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2219 }
2220 return resultobj;
2221 fail:
2222 return NULL;
2223 }
2224
2225
2226 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2227 PyObject *resultobj;
2228 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2229 int arg2 ;
2230 int arg3 ;
2231 int *arg4 = (int *) 0 ;
2232 int *arg5 = (int *) 0 ;
2233 int temp4 ;
2234 int temp5 ;
2235 PyObject * obj0 = 0 ;
2236 PyObject * obj1 = 0 ;
2237 PyObject * obj2 = 0 ;
2238
2239 arg4 = &temp4;
2240 arg5 = &temp5;
2241 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2244 arg2 = (int) SWIG_AsInt(obj1);
2245 if (PyErr_Occurred()) SWIG_fail;
2246 arg3 = (int) SWIG_AsInt(obj2);
2247 if (PyErr_Occurred()) SWIG_fail;
2248 {
2249 PyThreadState* __tstate = wxPyBeginAllowThreads();
2250 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2251
2252 wxPyEndAllowThreads(__tstate);
2253 if (PyErr_Occurred()) SWIG_fail;
2254 }
2255 Py_INCREF(Py_None); resultobj = Py_None;
2256 {
2257 PyObject *o = PyInt_FromLong((long) (*arg4));
2258 resultobj = t_output_helper(resultobj,o);
2259 }
2260 {
2261 PyObject *o = PyInt_FromLong((long) (*arg5));
2262 resultobj = t_output_helper(resultobj,o);
2263 }
2264 return resultobj;
2265 fail:
2266 return NULL;
2267 }
2268
2269
2270 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2271 int argc;
2272 PyObject *argv[4];
2273 int ii;
2274
2275 argc = PyObject_Length(args);
2276 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2277 argv[ii] = PyTuple_GetItem(args,ii);
2278 }
2279 if (argc == 2) {
2280 int _v;
2281 {
2282 void *ptr;
2283 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2284 _v = 0;
2285 PyErr_Clear();
2286 } else {
2287 _v = 1;
2288 }
2289 }
2290 if (_v) {
2291 {
2292 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2293 }
2294 if (_v) {
2295 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2296 }
2297 }
2298 }
2299 if (argc == 3) {
2300 int _v;
2301 {
2302 void *ptr;
2303 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2304 _v = 0;
2305 PyErr_Clear();
2306 } else {
2307 _v = 1;
2308 }
2309 }
2310 if (_v) {
2311 _v = SWIG_CheckInt(argv[1]);
2312 if (_v) {
2313 _v = SWIG_CheckInt(argv[2]);
2314 if (_v) {
2315 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2316 }
2317 }
2318 }
2319 }
2320
2321 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2322 return NULL;
2323 }
2324
2325
2326 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2327 PyObject *resultobj;
2328 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2329 PyObject * obj0 = 0 ;
2330 char *kwnames[] = {
2331 (char *) "self", NULL
2332 };
2333
2334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2337 {
2338 PyThreadState* __tstate = wxPyBeginAllowThreads();
2339 (arg1)->AdjustScrollbars();
2340
2341 wxPyEndAllowThreads(__tstate);
2342 if (PyErr_Occurred()) SWIG_fail;
2343 }
2344 Py_INCREF(Py_None); resultobj = Py_None;
2345 return resultobj;
2346 fail:
2347 return NULL;
2348 }
2349
2350
2351 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2352 PyObject *resultobj;
2353 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2354 wxScrollWinEvent *arg2 = 0 ;
2355 int result;
2356 PyObject * obj0 = 0 ;
2357 PyObject * obj1 = 0 ;
2358 char *kwnames[] = {
2359 (char *) "self",(char *) "event", NULL
2360 };
2361
2362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2365 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2366 SWIG_POINTER_EXCEPTION | 0)) == -1)
2367 SWIG_fail;
2368 if (arg2 == NULL) {
2369 PyErr_SetString(PyExc_TypeError,"null reference");
2370 SWIG_fail;
2371 }
2372 {
2373 PyThreadState* __tstate = wxPyBeginAllowThreads();
2374 result = (int)(arg1)->CalcScrollInc(*arg2);
2375
2376 wxPyEndAllowThreads(__tstate);
2377 if (PyErr_Occurred()) SWIG_fail;
2378 }
2379 resultobj = SWIG_FromInt((int)result);
2380 return resultobj;
2381 fail:
2382 return NULL;
2383 }
2384
2385
2386 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2387 PyObject *resultobj;
2388 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2389 wxWindow *arg2 = (wxWindow *) 0 ;
2390 PyObject * obj0 = 0 ;
2391 PyObject * obj1 = 0 ;
2392 char *kwnames[] = {
2393 (char *) "self",(char *) "target", NULL
2394 };
2395
2396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2399 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2401 {
2402 PyThreadState* __tstate = wxPyBeginAllowThreads();
2403 (arg1)->SetTargetWindow(arg2);
2404
2405 wxPyEndAllowThreads(__tstate);
2406 if (PyErr_Occurred()) SWIG_fail;
2407 }
2408 Py_INCREF(Py_None); resultobj = Py_None;
2409 return resultobj;
2410 fail:
2411 return NULL;
2412 }
2413
2414
2415 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2416 PyObject *resultobj;
2417 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2418 wxWindow *result;
2419 PyObject * obj0 = 0 ;
2420 char *kwnames[] = {
2421 (char *) "self", NULL
2422 };
2423
2424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2427 {
2428 PyThreadState* __tstate = wxPyBeginAllowThreads();
2429 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2430
2431 wxPyEndAllowThreads(__tstate);
2432 if (PyErr_Occurred()) SWIG_fail;
2433 }
2434 {
2435 resultobj = wxPyMake_wxObject(result);
2436 }
2437 return resultobj;
2438 fail:
2439 return NULL;
2440 }
2441
2442
2443 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2444 PyObject *obj;
2445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2446 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2447 Py_INCREF(obj);
2448 return Py_BuildValue((char *)"");
2449 }
2450 static int _wrap_FrameNameStr_set(PyObject *_val) {
2451 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2452 return 1;
2453 }
2454
2455
2456 static PyObject *_wrap_FrameNameStr_get() {
2457 PyObject *pyobj;
2458
2459 {
2460 #if wxUSE_UNICODE
2461 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2462 #else
2463 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2464 #endif
2465 }
2466 return pyobj;
2467 }
2468
2469
2470 static int _wrap_DialogNameStr_set(PyObject *_val) {
2471 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2472 return 1;
2473 }
2474
2475
2476 static PyObject *_wrap_DialogNameStr_get() {
2477 PyObject *pyobj;
2478
2479 {
2480 #if wxUSE_UNICODE
2481 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2482 #else
2483 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2484 #endif
2485 }
2486 return pyobj;
2487 }
2488
2489
2490 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2491 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2492 return 1;
2493 }
2494
2495
2496 static PyObject *_wrap_StatusLineNameStr_get() {
2497 PyObject *pyobj;
2498
2499 {
2500 #if wxUSE_UNICODE
2501 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2502 #else
2503 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2504 #endif
2505 }
2506 return pyobj;
2507 }
2508
2509
2510 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2511 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2512 return 1;
2513 }
2514
2515
2516 static PyObject *_wrap_ToolBarNameStr_get() {
2517 PyObject *pyobj;
2518
2519 {
2520 #if wxUSE_UNICODE
2521 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2522 #else
2523 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2524 #endif
2525 }
2526 return pyobj;
2527 }
2528
2529
2530 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2531 PyObject *resultobj;
2532 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2533 bool arg2 = (bool) True ;
2534 PyObject * obj0 = 0 ;
2535 PyObject * obj1 = 0 ;
2536 char *kwnames[] = {
2537 (char *) "self",(char *) "maximize", NULL
2538 };
2539
2540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2543 if (obj1) {
2544 arg2 = (bool) SWIG_AsBool(obj1);
2545 if (PyErr_Occurred()) SWIG_fail;
2546 }
2547 {
2548 PyThreadState* __tstate = wxPyBeginAllowThreads();
2549 (arg1)->Maximize(arg2);
2550
2551 wxPyEndAllowThreads(__tstate);
2552 if (PyErr_Occurred()) SWIG_fail;
2553 }
2554 Py_INCREF(Py_None); resultobj = Py_None;
2555 return resultobj;
2556 fail:
2557 return NULL;
2558 }
2559
2560
2561 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2562 PyObject *resultobj;
2563 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2564 PyObject * obj0 = 0 ;
2565 char *kwnames[] = {
2566 (char *) "self", NULL
2567 };
2568
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2572 {
2573 PyThreadState* __tstate = wxPyBeginAllowThreads();
2574 (arg1)->Restore();
2575
2576 wxPyEndAllowThreads(__tstate);
2577 if (PyErr_Occurred()) SWIG_fail;
2578 }
2579 Py_INCREF(Py_None); resultobj = Py_None;
2580 return resultobj;
2581 fail:
2582 return NULL;
2583 }
2584
2585
2586 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2587 PyObject *resultobj;
2588 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2589 bool arg2 = (bool) True ;
2590 PyObject * obj0 = 0 ;
2591 PyObject * obj1 = 0 ;
2592 char *kwnames[] = {
2593 (char *) "self",(char *) "iconize", NULL
2594 };
2595
2596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2599 if (obj1) {
2600 arg2 = (bool) SWIG_AsBool(obj1);
2601 if (PyErr_Occurred()) SWIG_fail;
2602 }
2603 {
2604 PyThreadState* __tstate = wxPyBeginAllowThreads();
2605 (arg1)->Iconize(arg2);
2606
2607 wxPyEndAllowThreads(__tstate);
2608 if (PyErr_Occurred()) SWIG_fail;
2609 }
2610 Py_INCREF(Py_None); resultobj = Py_None;
2611 return resultobj;
2612 fail:
2613 return NULL;
2614 }
2615
2616
2617 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2618 PyObject *resultobj;
2619 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2620 bool result;
2621 PyObject * obj0 = 0 ;
2622 char *kwnames[] = {
2623 (char *) "self", NULL
2624 };
2625
2626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2629 {
2630 PyThreadState* __tstate = wxPyBeginAllowThreads();
2631 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2632
2633 wxPyEndAllowThreads(__tstate);
2634 if (PyErr_Occurred()) SWIG_fail;
2635 }
2636 {
2637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2638 }
2639 return resultobj;
2640 fail:
2641 return NULL;
2642 }
2643
2644
2645 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2646 PyObject *resultobj;
2647 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2648 bool result;
2649 PyObject * obj0 = 0 ;
2650 char *kwnames[] = {
2651 (char *) "self", NULL
2652 };
2653
2654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2657 {
2658 PyThreadState* __tstate = wxPyBeginAllowThreads();
2659 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2660
2661 wxPyEndAllowThreads(__tstate);
2662 if (PyErr_Occurred()) SWIG_fail;
2663 }
2664 {
2665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2666 }
2667 return resultobj;
2668 fail:
2669 return NULL;
2670 }
2671
2672
2673 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2674 PyObject *resultobj;
2675 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2676 wxIcon result;
2677 PyObject * obj0 = 0 ;
2678 char *kwnames[] = {
2679 (char *) "self", NULL
2680 };
2681
2682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2685 {
2686 PyThreadState* __tstate = wxPyBeginAllowThreads();
2687 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2688
2689 wxPyEndAllowThreads(__tstate);
2690 if (PyErr_Occurred()) SWIG_fail;
2691 }
2692 {
2693 wxIcon * resultptr;
2694 resultptr = new wxIcon((wxIcon &) result);
2695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2696 }
2697 return resultobj;
2698 fail:
2699 return NULL;
2700 }
2701
2702
2703 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2704 PyObject *resultobj;
2705 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2706 wxIcon *arg2 = 0 ;
2707 PyObject * obj0 = 0 ;
2708 PyObject * obj1 = 0 ;
2709 char *kwnames[] = {
2710 (char *) "self",(char *) "icon", NULL
2711 };
2712
2713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2716 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2717 SWIG_POINTER_EXCEPTION | 0)) == -1)
2718 SWIG_fail;
2719 if (arg2 == NULL) {
2720 PyErr_SetString(PyExc_TypeError,"null reference");
2721 SWIG_fail;
2722 }
2723 {
2724 PyThreadState* __tstate = wxPyBeginAllowThreads();
2725 (arg1)->SetIcon((wxIcon const &)*arg2);
2726
2727 wxPyEndAllowThreads(__tstate);
2728 if (PyErr_Occurred()) SWIG_fail;
2729 }
2730 Py_INCREF(Py_None); resultobj = Py_None;
2731 return resultobj;
2732 fail:
2733 return NULL;
2734 }
2735
2736
2737 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2738 PyObject *resultobj;
2739 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2740 wxIconBundle *arg2 = 0 ;
2741 PyObject * obj0 = 0 ;
2742 PyObject * obj1 = 0 ;
2743 char *kwnames[] = {
2744 (char *) "self",(char *) "icons", NULL
2745 };
2746
2747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2750 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2751 SWIG_POINTER_EXCEPTION | 0)) == -1)
2752 SWIG_fail;
2753 if (arg2 == NULL) {
2754 PyErr_SetString(PyExc_TypeError,"null reference");
2755 SWIG_fail;
2756 }
2757 {
2758 PyThreadState* __tstate = wxPyBeginAllowThreads();
2759 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2760
2761 wxPyEndAllowThreads(__tstate);
2762 if (PyErr_Occurred()) SWIG_fail;
2763 }
2764 Py_INCREF(Py_None); resultobj = Py_None;
2765 return resultobj;
2766 fail:
2767 return NULL;
2768 }
2769
2770
2771 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2772 PyObject *resultobj;
2773 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2774 bool arg2 ;
2775 long arg3 = (long) wxFULLSCREEN_ALL ;
2776 bool result;
2777 PyObject * obj0 = 0 ;
2778 PyObject * obj1 = 0 ;
2779 PyObject * obj2 = 0 ;
2780 char *kwnames[] = {
2781 (char *) "self",(char *) "show",(char *) "style", NULL
2782 };
2783
2784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2787 arg2 = (bool) SWIG_AsBool(obj1);
2788 if (PyErr_Occurred()) SWIG_fail;
2789 if (obj2) {
2790 arg3 = (long) SWIG_AsLong(obj2);
2791 if (PyErr_Occurred()) SWIG_fail;
2792 }
2793 {
2794 PyThreadState* __tstate = wxPyBeginAllowThreads();
2795 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2796
2797 wxPyEndAllowThreads(__tstate);
2798 if (PyErr_Occurred()) SWIG_fail;
2799 }
2800 {
2801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2802 }
2803 return resultobj;
2804 fail:
2805 return NULL;
2806 }
2807
2808
2809 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2810 PyObject *resultobj;
2811 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2812 bool result;
2813 PyObject * obj0 = 0 ;
2814 char *kwnames[] = {
2815 (char *) "self", NULL
2816 };
2817
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2821 {
2822 PyThreadState* __tstate = wxPyBeginAllowThreads();
2823 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2824
2825 wxPyEndAllowThreads(__tstate);
2826 if (PyErr_Occurred()) SWIG_fail;
2827 }
2828 {
2829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2830 }
2831 return resultobj;
2832 fail:
2833 return NULL;
2834 }
2835
2836
2837 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2838 PyObject *resultobj;
2839 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2840 wxString *arg2 = 0 ;
2841 bool temp2 = False ;
2842 PyObject * obj0 = 0 ;
2843 PyObject * obj1 = 0 ;
2844 char *kwnames[] = {
2845 (char *) "self",(char *) "title", NULL
2846 };
2847
2848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2851 {
2852 arg2 = wxString_in_helper(obj1);
2853 if (arg2 == NULL) SWIG_fail;
2854 temp2 = True;
2855 }
2856 {
2857 PyThreadState* __tstate = wxPyBeginAllowThreads();
2858 (arg1)->SetTitle((wxString const &)*arg2);
2859
2860 wxPyEndAllowThreads(__tstate);
2861 if (PyErr_Occurred()) SWIG_fail;
2862 }
2863 Py_INCREF(Py_None); resultobj = Py_None;
2864 {
2865 if (temp2)
2866 delete arg2;
2867 }
2868 return resultobj;
2869 fail:
2870 {
2871 if (temp2)
2872 delete arg2;
2873 }
2874 return NULL;
2875 }
2876
2877
2878 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2879 PyObject *resultobj;
2880 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2881 wxString result;
2882 PyObject * obj0 = 0 ;
2883 char *kwnames[] = {
2884 (char *) "self", NULL
2885 };
2886
2887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2890 {
2891 PyThreadState* __tstate = wxPyBeginAllowThreads();
2892 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2893
2894 wxPyEndAllowThreads(__tstate);
2895 if (PyErr_Occurred()) SWIG_fail;
2896 }
2897 {
2898 #if wxUSE_UNICODE
2899 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2900 #else
2901 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2902 #endif
2903 }
2904 return resultobj;
2905 fail:
2906 return NULL;
2907 }
2908
2909
2910 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2911 PyObject *resultobj;
2912 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2913 wxRegion *arg2 = 0 ;
2914 bool result;
2915 PyObject * obj0 = 0 ;
2916 PyObject * obj1 = 0 ;
2917 char *kwnames[] = {
2918 (char *) "self",(char *) "region", NULL
2919 };
2920
2921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2925 SWIG_POINTER_EXCEPTION | 0)) == -1)
2926 SWIG_fail;
2927 if (arg2 == NULL) {
2928 PyErr_SetString(PyExc_TypeError,"null reference");
2929 SWIG_fail;
2930 }
2931 {
2932 PyThreadState* __tstate = wxPyBeginAllowThreads();
2933 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2934
2935 wxPyEndAllowThreads(__tstate);
2936 if (PyErr_Occurred()) SWIG_fail;
2937 }
2938 {
2939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2940 }
2941 return resultobj;
2942 fail:
2943 return NULL;
2944 }
2945
2946
2947 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2948 PyObject *obj;
2949 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2950 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2951 Py_INCREF(obj);
2952 return Py_BuildValue((char *)"");
2953 }
2954 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2955 PyObject *resultobj;
2956 wxWindow *arg1 = (wxWindow *) 0 ;
2957 int arg2 ;
2958 wxString *arg3 = 0 ;
2959 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2960 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2961 wxSize const &arg5_defvalue = wxDefaultSize ;
2962 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2963 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2964 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2965 wxString *arg7 = (wxString *) &arg7_defvalue ;
2966 wxFrame *result;
2967 bool temp3 = False ;
2968 wxPoint temp4 ;
2969 wxSize temp5 ;
2970 bool temp7 = False ;
2971 PyObject * obj0 = 0 ;
2972 PyObject * obj1 = 0 ;
2973 PyObject * obj2 = 0 ;
2974 PyObject * obj3 = 0 ;
2975 PyObject * obj4 = 0 ;
2976 PyObject * obj5 = 0 ;
2977 PyObject * obj6 = 0 ;
2978 char *kwnames[] = {
2979 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2980 };
2981
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2985 arg2 = (int const) SWIG_AsInt(obj1);
2986 if (PyErr_Occurred()) SWIG_fail;
2987 {
2988 arg3 = wxString_in_helper(obj2);
2989 if (arg3 == NULL) SWIG_fail;
2990 temp3 = True;
2991 }
2992 if (obj3) {
2993 {
2994 arg4 = &temp4;
2995 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2996 }
2997 }
2998 if (obj4) {
2999 {
3000 arg5 = &temp5;
3001 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3002 }
3003 }
3004 if (obj5) {
3005 arg6 = (long) SWIG_AsLong(obj5);
3006 if (PyErr_Occurred()) SWIG_fail;
3007 }
3008 if (obj6) {
3009 {
3010 arg7 = wxString_in_helper(obj6);
3011 if (arg7 == NULL) SWIG_fail;
3012 temp7 = True;
3013 }
3014 }
3015 {
3016 PyThreadState* __tstate = wxPyBeginAllowThreads();
3017 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3018
3019 wxPyEndAllowThreads(__tstate);
3020 if (PyErr_Occurred()) SWIG_fail;
3021 }
3022 {
3023 resultobj = wxPyMake_wxObject(result);
3024 }
3025 {
3026 if (temp3)
3027 delete arg3;
3028 }
3029 {
3030 if (temp7)
3031 delete arg7;
3032 }
3033 return resultobj;
3034 fail:
3035 {
3036 if (temp3)
3037 delete arg3;
3038 }
3039 {
3040 if (temp7)
3041 delete arg7;
3042 }
3043 return NULL;
3044 }
3045
3046
3047 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3048 PyObject *resultobj;
3049 wxFrame *result;
3050 char *kwnames[] = {
3051 NULL
3052 };
3053
3054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3055 {
3056 PyThreadState* __tstate = wxPyBeginAllowThreads();
3057 result = (wxFrame *)new wxFrame();
3058
3059 wxPyEndAllowThreads(__tstate);
3060 if (PyErr_Occurred()) SWIG_fail;
3061 }
3062 {
3063 resultobj = wxPyMake_wxObject(result);
3064 }
3065 return resultobj;
3066 fail:
3067 return NULL;
3068 }
3069
3070
3071 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3072 PyObject *resultobj;
3073 wxFrame *arg1 = (wxFrame *) 0 ;
3074 wxWindow *arg2 = (wxWindow *) 0 ;
3075 int arg3 ;
3076 wxString *arg4 = 0 ;
3077 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3078 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3079 wxSize const &arg6_defvalue = wxDefaultSize ;
3080 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3081 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3082 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3083 wxString *arg8 = (wxString *) &arg8_defvalue ;
3084 bool result;
3085 bool temp4 = False ;
3086 wxPoint temp5 ;
3087 wxSize temp6 ;
3088 bool temp8 = False ;
3089 PyObject * obj0 = 0 ;
3090 PyObject * obj1 = 0 ;
3091 PyObject * obj2 = 0 ;
3092 PyObject * obj3 = 0 ;
3093 PyObject * obj4 = 0 ;
3094 PyObject * obj5 = 0 ;
3095 PyObject * obj6 = 0 ;
3096 PyObject * obj7 = 0 ;
3097 char *kwnames[] = {
3098 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3099 };
3100
3101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3104 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3106 arg3 = (int const) SWIG_AsInt(obj2);
3107 if (PyErr_Occurred()) SWIG_fail;
3108 {
3109 arg4 = wxString_in_helper(obj3);
3110 if (arg4 == NULL) SWIG_fail;
3111 temp4 = True;
3112 }
3113 if (obj4) {
3114 {
3115 arg5 = &temp5;
3116 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3117 }
3118 }
3119 if (obj5) {
3120 {
3121 arg6 = &temp6;
3122 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3123 }
3124 }
3125 if (obj6) {
3126 arg7 = (long) SWIG_AsLong(obj6);
3127 if (PyErr_Occurred()) SWIG_fail;
3128 }
3129 if (obj7) {
3130 {
3131 arg8 = wxString_in_helper(obj7);
3132 if (arg8 == NULL) SWIG_fail;
3133 temp8 = True;
3134 }
3135 }
3136 {
3137 PyThreadState* __tstate = wxPyBeginAllowThreads();
3138 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3139
3140 wxPyEndAllowThreads(__tstate);
3141 if (PyErr_Occurred()) SWIG_fail;
3142 }
3143 {
3144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3145 }
3146 {
3147 if (temp4)
3148 delete arg4;
3149 }
3150 {
3151 if (temp8)
3152 delete arg8;
3153 }
3154 return resultobj;
3155 fail:
3156 {
3157 if (temp4)
3158 delete arg4;
3159 }
3160 {
3161 if (temp8)
3162 delete arg8;
3163 }
3164 return NULL;
3165 }
3166
3167
3168 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3169 PyObject *resultobj;
3170 wxFrame *arg1 = (wxFrame *) 0 ;
3171 wxPoint result;
3172 PyObject * obj0 = 0 ;
3173 char *kwnames[] = {
3174 (char *) "self", NULL
3175 };
3176
3177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3180 {
3181 PyThreadState* __tstate = wxPyBeginAllowThreads();
3182 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3183
3184 wxPyEndAllowThreads(__tstate);
3185 if (PyErr_Occurred()) SWIG_fail;
3186 }
3187 {
3188 wxPoint * resultptr;
3189 resultptr = new wxPoint((wxPoint &) result);
3190 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3191 }
3192 return resultobj;
3193 fail:
3194 return NULL;
3195 }
3196
3197
3198 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3199 PyObject *resultobj;
3200 wxFrame *arg1 = (wxFrame *) 0 ;
3201 PyObject * obj0 = 0 ;
3202 char *kwnames[] = {
3203 (char *) "self", NULL
3204 };
3205
3206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3209 {
3210 PyThreadState* __tstate = wxPyBeginAllowThreads();
3211 (arg1)->SendSizeEvent();
3212
3213 wxPyEndAllowThreads(__tstate);
3214 if (PyErr_Occurred()) SWIG_fail;
3215 }
3216 Py_INCREF(Py_None); resultobj = Py_None;
3217 return resultobj;
3218 fail:
3219 return NULL;
3220 }
3221
3222
3223 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3224 PyObject *resultobj;
3225 wxFrame *arg1 = (wxFrame *) 0 ;
3226 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3227 PyObject * obj0 = 0 ;
3228 PyObject * obj1 = 0 ;
3229 char *kwnames[] = {
3230 (char *) "self",(char *) "menubar", NULL
3231 };
3232
3233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3236 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3238 {
3239 PyThreadState* __tstate = wxPyBeginAllowThreads();
3240 (arg1)->SetMenuBar(arg2);
3241
3242 wxPyEndAllowThreads(__tstate);
3243 if (PyErr_Occurred()) SWIG_fail;
3244 }
3245 Py_INCREF(Py_None); resultobj = Py_None;
3246 return resultobj;
3247 fail:
3248 return NULL;
3249 }
3250
3251
3252 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3253 PyObject *resultobj;
3254 wxFrame *arg1 = (wxFrame *) 0 ;
3255 wxMenuBar *result;
3256 PyObject * obj0 = 0 ;
3257 char *kwnames[] = {
3258 (char *) "self", NULL
3259 };
3260
3261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3264 {
3265 PyThreadState* __tstate = wxPyBeginAllowThreads();
3266 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3267
3268 wxPyEndAllowThreads(__tstate);
3269 if (PyErr_Occurred()) SWIG_fail;
3270 }
3271 {
3272 resultobj = wxPyMake_wxObject(result);
3273 }
3274 return resultobj;
3275 fail:
3276 return NULL;
3277 }
3278
3279
3280 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3281 PyObject *resultobj;
3282 wxFrame *arg1 = (wxFrame *) 0 ;
3283 int arg2 ;
3284 bool result;
3285 PyObject * obj0 = 0 ;
3286 PyObject * obj1 = 0 ;
3287 char *kwnames[] = {
3288 (char *) "self",(char *) "winid", NULL
3289 };
3290
3291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3294 arg2 = (int) SWIG_AsInt(obj1);
3295 if (PyErr_Occurred()) SWIG_fail;
3296 {
3297 PyThreadState* __tstate = wxPyBeginAllowThreads();
3298 result = (bool)(arg1)->ProcessCommand(arg2);
3299
3300 wxPyEndAllowThreads(__tstate);
3301 if (PyErr_Occurred()) SWIG_fail;
3302 }
3303 {
3304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3305 }
3306 return resultobj;
3307 fail:
3308 return NULL;
3309 }
3310
3311
3312 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3313 PyObject *resultobj;
3314 wxFrame *arg1 = (wxFrame *) 0 ;
3315 int arg2 = (int) 1 ;
3316 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
3317 int arg4 = (int) 0 ;
3318 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3319 wxString *arg5 = (wxString *) &arg5_defvalue ;
3320 wxStatusBar *result;
3321 bool temp5 = False ;
3322 PyObject * obj0 = 0 ;
3323 PyObject * obj1 = 0 ;
3324 PyObject * obj2 = 0 ;
3325 PyObject * obj3 = 0 ;
3326 PyObject * obj4 = 0 ;
3327 char *kwnames[] = {
3328 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3329 };
3330
3331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3334 if (obj1) {
3335 arg2 = (int) SWIG_AsInt(obj1);
3336 if (PyErr_Occurred()) SWIG_fail;
3337 }
3338 if (obj2) {
3339 arg3 = (long) SWIG_AsLong(obj2);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 }
3342 if (obj3) {
3343 arg4 = (int) SWIG_AsInt(obj3);
3344 if (PyErr_Occurred()) SWIG_fail;
3345 }
3346 if (obj4) {
3347 {
3348 arg5 = wxString_in_helper(obj4);
3349 if (arg5 == NULL) SWIG_fail;
3350 temp5 = True;
3351 }
3352 }
3353 {
3354 PyThreadState* __tstate = wxPyBeginAllowThreads();
3355 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3356
3357 wxPyEndAllowThreads(__tstate);
3358 if (PyErr_Occurred()) SWIG_fail;
3359 }
3360 {
3361 resultobj = wxPyMake_wxObject(result);
3362 }
3363 {
3364 if (temp5)
3365 delete arg5;
3366 }
3367 return resultobj;
3368 fail:
3369 {
3370 if (temp5)
3371 delete arg5;
3372 }
3373 return NULL;
3374 }
3375
3376
3377 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3378 PyObject *resultobj;
3379 wxFrame *arg1 = (wxFrame *) 0 ;
3380 wxStatusBar *result;
3381 PyObject * obj0 = 0 ;
3382 char *kwnames[] = {
3383 (char *) "self", NULL
3384 };
3385
3386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3389 {
3390 PyThreadState* __tstate = wxPyBeginAllowThreads();
3391 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3392
3393 wxPyEndAllowThreads(__tstate);
3394 if (PyErr_Occurred()) SWIG_fail;
3395 }
3396 {
3397 resultobj = wxPyMake_wxObject(result);
3398 }
3399 return resultobj;
3400 fail:
3401 return NULL;
3402 }
3403
3404
3405 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3406 PyObject *resultobj;
3407 wxFrame *arg1 = (wxFrame *) 0 ;
3408 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3409 PyObject * obj0 = 0 ;
3410 PyObject * obj1 = 0 ;
3411 char *kwnames[] = {
3412 (char *) "self",(char *) "statBar", NULL
3413 };
3414
3415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3418 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3420 {
3421 PyThreadState* __tstate = wxPyBeginAllowThreads();
3422 (arg1)->SetStatusBar(arg2);
3423
3424 wxPyEndAllowThreads(__tstate);
3425 if (PyErr_Occurred()) SWIG_fail;
3426 }
3427 Py_INCREF(Py_None); resultobj = Py_None;
3428 return resultobj;
3429 fail:
3430 return NULL;
3431 }
3432
3433
3434 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3435 PyObject *resultobj;
3436 wxFrame *arg1 = (wxFrame *) 0 ;
3437 wxString *arg2 = 0 ;
3438 int arg3 = (int) 0 ;
3439 bool temp2 = False ;
3440 PyObject * obj0 = 0 ;
3441 PyObject * obj1 = 0 ;
3442 PyObject * obj2 = 0 ;
3443 char *kwnames[] = {
3444 (char *) "self",(char *) "text",(char *) "number", NULL
3445 };
3446
3447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3450 {
3451 arg2 = wxString_in_helper(obj1);
3452 if (arg2 == NULL) SWIG_fail;
3453 temp2 = True;
3454 }
3455 if (obj2) {
3456 arg3 = (int) SWIG_AsInt(obj2);
3457 if (PyErr_Occurred()) SWIG_fail;
3458 }
3459 {
3460 PyThreadState* __tstate = wxPyBeginAllowThreads();
3461 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3462
3463 wxPyEndAllowThreads(__tstate);
3464 if (PyErr_Occurred()) SWIG_fail;
3465 }
3466 Py_INCREF(Py_None); resultobj = Py_None;
3467 {
3468 if (temp2)
3469 delete arg2;
3470 }
3471 return resultobj;
3472 fail:
3473 {
3474 if (temp2)
3475 delete arg2;
3476 }
3477 return NULL;
3478 }
3479
3480
3481 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3482 PyObject *resultobj;
3483 wxFrame *arg1 = (wxFrame *) 0 ;
3484 int arg2 ;
3485 int *arg3 = (int *) 0 ;
3486 PyObject * obj0 = 0 ;
3487 PyObject * obj1 = 0 ;
3488 char *kwnames[] = {
3489 (char *) "self",(char *) "widths", NULL
3490 };
3491
3492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3495 {
3496 arg2 = PyList_Size(obj1);
3497 arg3 = int_LIST_helper(obj1);
3498 if (arg3 == NULL) SWIG_fail;
3499 }
3500 {
3501 PyThreadState* __tstate = wxPyBeginAllowThreads();
3502 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3503
3504 wxPyEndAllowThreads(__tstate);
3505 if (PyErr_Occurred()) SWIG_fail;
3506 }
3507 Py_INCREF(Py_None); resultobj = Py_None;
3508 {
3509 if (arg3) delete [] arg3;
3510 }
3511 return resultobj;
3512 fail:
3513 {
3514 if (arg3) delete [] arg3;
3515 }
3516 return NULL;
3517 }
3518
3519
3520 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3521 PyObject *resultobj;
3522 wxFrame *arg1 = (wxFrame *) 0 ;
3523 wxString *arg2 = 0 ;
3524 int arg3 = (int) 0 ;
3525 bool temp2 = False ;
3526 PyObject * obj0 = 0 ;
3527 PyObject * obj1 = 0 ;
3528 PyObject * obj2 = 0 ;
3529 char *kwnames[] = {
3530 (char *) "self",(char *) "text",(char *) "number", NULL
3531 };
3532
3533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3536 {
3537 arg2 = wxString_in_helper(obj1);
3538 if (arg2 == NULL) SWIG_fail;
3539 temp2 = True;
3540 }
3541 if (obj2) {
3542 arg3 = (int) SWIG_AsInt(obj2);
3543 if (PyErr_Occurred()) SWIG_fail;
3544 }
3545 {
3546 PyThreadState* __tstate = wxPyBeginAllowThreads();
3547 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3548
3549 wxPyEndAllowThreads(__tstate);
3550 if (PyErr_Occurred()) SWIG_fail;
3551 }
3552 Py_INCREF(Py_None); resultobj = Py_None;
3553 {
3554 if (temp2)
3555 delete arg2;
3556 }
3557 return resultobj;
3558 fail:
3559 {
3560 if (temp2)
3561 delete arg2;
3562 }
3563 return NULL;
3564 }
3565
3566
3567 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3568 PyObject *resultobj;
3569 wxFrame *arg1 = (wxFrame *) 0 ;
3570 int arg2 = (int) 0 ;
3571 PyObject * obj0 = 0 ;
3572 PyObject * obj1 = 0 ;
3573 char *kwnames[] = {
3574 (char *) "self",(char *) "number", NULL
3575 };
3576
3577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3580 if (obj1) {
3581 arg2 = (int) SWIG_AsInt(obj1);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 {
3585 PyThreadState* __tstate = wxPyBeginAllowThreads();
3586 (arg1)->PopStatusText(arg2);
3587
3588 wxPyEndAllowThreads(__tstate);
3589 if (PyErr_Occurred()) SWIG_fail;
3590 }
3591 Py_INCREF(Py_None); resultobj = Py_None;
3592 return resultobj;
3593 fail:
3594 return NULL;
3595 }
3596
3597
3598 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3599 PyObject *resultobj;
3600 wxFrame *arg1 = (wxFrame *) 0 ;
3601 int arg2 ;
3602 PyObject * obj0 = 0 ;
3603 PyObject * obj1 = 0 ;
3604 char *kwnames[] = {
3605 (char *) "self",(char *) "n", NULL
3606 };
3607
3608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3611 arg2 = (int) SWIG_AsInt(obj1);
3612 if (PyErr_Occurred()) SWIG_fail;
3613 {
3614 PyThreadState* __tstate = wxPyBeginAllowThreads();
3615 (arg1)->SetStatusBarPane(arg2);
3616
3617 wxPyEndAllowThreads(__tstate);
3618 if (PyErr_Occurred()) SWIG_fail;
3619 }
3620 Py_INCREF(Py_None); resultobj = Py_None;
3621 return resultobj;
3622 fail:
3623 return NULL;
3624 }
3625
3626
3627 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3628 PyObject *resultobj;
3629 wxFrame *arg1 = (wxFrame *) 0 ;
3630 int result;
3631 PyObject * obj0 = 0 ;
3632 char *kwnames[] = {
3633 (char *) "self", NULL
3634 };
3635
3636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3639 {
3640 PyThreadState* __tstate = wxPyBeginAllowThreads();
3641 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3642
3643 wxPyEndAllowThreads(__tstate);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 }
3646 resultobj = SWIG_FromInt((int)result);
3647 return resultobj;
3648 fail:
3649 return NULL;
3650 }
3651
3652
3653 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3654 PyObject *resultobj;
3655 wxFrame *arg1 = (wxFrame *) 0 ;
3656 long arg2 = (long) -1 ;
3657 int arg3 = (int) -1 ;
3658 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3659 wxString *arg4 = (wxString *) &arg4_defvalue ;
3660 wxToolBar *result;
3661 bool temp4 = False ;
3662 PyObject * obj0 = 0 ;
3663 PyObject * obj1 = 0 ;
3664 PyObject * obj2 = 0 ;
3665 PyObject * obj3 = 0 ;
3666 char *kwnames[] = {
3667 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3668 };
3669
3670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3673 if (obj1) {
3674 arg2 = (long) SWIG_AsLong(obj1);
3675 if (PyErr_Occurred()) SWIG_fail;
3676 }
3677 if (obj2) {
3678 arg3 = (int) SWIG_AsInt(obj2);
3679 if (PyErr_Occurred()) SWIG_fail;
3680 }
3681 if (obj3) {
3682 {
3683 arg4 = wxString_in_helper(obj3);
3684 if (arg4 == NULL) SWIG_fail;
3685 temp4 = True;
3686 }
3687 }
3688 {
3689 PyThreadState* __tstate = wxPyBeginAllowThreads();
3690 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3691
3692 wxPyEndAllowThreads(__tstate);
3693 if (PyErr_Occurred()) SWIG_fail;
3694 }
3695 {
3696 resultobj = wxPyMake_wxObject(result);
3697 }
3698 {
3699 if (temp4)
3700 delete arg4;
3701 }
3702 return resultobj;
3703 fail:
3704 {
3705 if (temp4)
3706 delete arg4;
3707 }
3708 return NULL;
3709 }
3710
3711
3712 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3713 PyObject *resultobj;
3714 wxFrame *arg1 = (wxFrame *) 0 ;
3715 wxToolBar *result;
3716 PyObject * obj0 = 0 ;
3717 char *kwnames[] = {
3718 (char *) "self", NULL
3719 };
3720
3721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3724 {
3725 PyThreadState* __tstate = wxPyBeginAllowThreads();
3726 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3727
3728 wxPyEndAllowThreads(__tstate);
3729 if (PyErr_Occurred()) SWIG_fail;
3730 }
3731 {
3732 resultobj = wxPyMake_wxObject(result);
3733 }
3734 return resultobj;
3735 fail:
3736 return NULL;
3737 }
3738
3739
3740 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3741 PyObject *resultobj;
3742 wxFrame *arg1 = (wxFrame *) 0 ;
3743 wxToolBar *arg2 = (wxToolBar *) 0 ;
3744 PyObject * obj0 = 0 ;
3745 PyObject * obj1 = 0 ;
3746 char *kwnames[] = {
3747 (char *) "self",(char *) "toolbar", NULL
3748 };
3749
3750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",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 ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3755 {
3756 PyThreadState* __tstate = wxPyBeginAllowThreads();
3757 (arg1)->SetToolBar(arg2);
3758
3759 wxPyEndAllowThreads(__tstate);
3760 if (PyErr_Occurred()) SWIG_fail;
3761 }
3762 Py_INCREF(Py_None); resultobj = Py_None;
3763 return resultobj;
3764 fail:
3765 return NULL;
3766 }
3767
3768
3769 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3770 PyObject *resultobj;
3771 wxFrame *arg1 = (wxFrame *) 0 ;
3772 wxString *arg2 = 0 ;
3773 bool arg3 ;
3774 bool temp2 = False ;
3775 PyObject * obj0 = 0 ;
3776 PyObject * obj1 = 0 ;
3777 PyObject * obj2 = 0 ;
3778 char *kwnames[] = {
3779 (char *) "self",(char *) "text",(char *) "show", NULL
3780 };
3781
3782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3785 {
3786 arg2 = wxString_in_helper(obj1);
3787 if (arg2 == NULL) SWIG_fail;
3788 temp2 = True;
3789 }
3790 arg3 = (bool) SWIG_AsBool(obj2);
3791 if (PyErr_Occurred()) SWIG_fail;
3792 {
3793 PyThreadState* __tstate = wxPyBeginAllowThreads();
3794 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3795
3796 wxPyEndAllowThreads(__tstate);
3797 if (PyErr_Occurred()) SWIG_fail;
3798 }
3799 Py_INCREF(Py_None); resultobj = Py_None;
3800 {
3801 if (temp2)
3802 delete arg2;
3803 }
3804 return resultobj;
3805 fail:
3806 {
3807 if (temp2)
3808 delete arg2;
3809 }
3810 return NULL;
3811 }
3812
3813
3814 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3815 PyObject *resultobj;
3816 wxFrame *arg1 = (wxFrame *) 0 ;
3817 wxMenu *arg2 = (wxMenu *) NULL ;
3818 PyObject * obj0 = 0 ;
3819 PyObject * obj1 = 0 ;
3820 char *kwnames[] = {
3821 (char *) "self",(char *) "menu", NULL
3822 };
3823
3824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3827 if (obj1) {
3828 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3830 }
3831 {
3832 PyThreadState* __tstate = wxPyBeginAllowThreads();
3833 (arg1)->DoMenuUpdates(arg2);
3834
3835 wxPyEndAllowThreads(__tstate);
3836 if (PyErr_Occurred()) SWIG_fail;
3837 }
3838 Py_INCREF(Py_None); resultobj = Py_None;
3839 return resultobj;
3840 fail:
3841 return NULL;
3842 }
3843
3844
3845 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3846 PyObject *obj;
3847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3848 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3849 Py_INCREF(obj);
3850 return Py_BuildValue((char *)"");
3851 }
3852 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3853 PyObject *resultobj;
3854 wxWindow *arg1 = (wxWindow *) 0 ;
3855 int arg2 ;
3856 wxString *arg3 = 0 ;
3857 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3858 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3859 wxSize const &arg5_defvalue = wxDefaultSize ;
3860 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3861 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3862 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3863 wxString *arg7 = (wxString *) &arg7_defvalue ;
3864 wxDialog *result;
3865 bool temp3 = False ;
3866 wxPoint temp4 ;
3867 wxSize temp5 ;
3868 bool temp7 = False ;
3869 PyObject * obj0 = 0 ;
3870 PyObject * obj1 = 0 ;
3871 PyObject * obj2 = 0 ;
3872 PyObject * obj3 = 0 ;
3873 PyObject * obj4 = 0 ;
3874 PyObject * obj5 = 0 ;
3875 PyObject * obj6 = 0 ;
3876 char *kwnames[] = {
3877 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3878 };
3879
3880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3883 arg2 = (int const) SWIG_AsInt(obj1);
3884 if (PyErr_Occurred()) SWIG_fail;
3885 {
3886 arg3 = wxString_in_helper(obj2);
3887 if (arg3 == NULL) SWIG_fail;
3888 temp3 = True;
3889 }
3890 if (obj3) {
3891 {
3892 arg4 = &temp4;
3893 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3894 }
3895 }
3896 if (obj4) {
3897 {
3898 arg5 = &temp5;
3899 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3900 }
3901 }
3902 if (obj5) {
3903 arg6 = (long) SWIG_AsLong(obj5);
3904 if (PyErr_Occurred()) SWIG_fail;
3905 }
3906 if (obj6) {
3907 {
3908 arg7 = wxString_in_helper(obj6);
3909 if (arg7 == NULL) SWIG_fail;
3910 temp7 = True;
3911 }
3912 }
3913 {
3914 PyThreadState* __tstate = wxPyBeginAllowThreads();
3915 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3916
3917 wxPyEndAllowThreads(__tstate);
3918 if (PyErr_Occurred()) SWIG_fail;
3919 }
3920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3921 {
3922 if (temp3)
3923 delete arg3;
3924 }
3925 {
3926 if (temp7)
3927 delete arg7;
3928 }
3929 return resultobj;
3930 fail:
3931 {
3932 if (temp3)
3933 delete arg3;
3934 }
3935 {
3936 if (temp7)
3937 delete arg7;
3938 }
3939 return NULL;
3940 }
3941
3942
3943 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3944 PyObject *resultobj;
3945 wxDialog *result;
3946 char *kwnames[] = {
3947 NULL
3948 };
3949
3950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3951 {
3952 PyThreadState* __tstate = wxPyBeginAllowThreads();
3953 result = (wxDialog *)new wxDialog();
3954
3955 wxPyEndAllowThreads(__tstate);
3956 if (PyErr_Occurred()) SWIG_fail;
3957 }
3958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3959 return resultobj;
3960 fail:
3961 return NULL;
3962 }
3963
3964
3965 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3966 PyObject *resultobj;
3967 wxDialog *arg1 = (wxDialog *) 0 ;
3968 wxWindow *arg2 = (wxWindow *) 0 ;
3969 int arg3 ;
3970 wxString *arg4 = 0 ;
3971 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3972 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3973 wxSize const &arg6_defvalue = wxDefaultSize ;
3974 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3975 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3976 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3977 wxString *arg8 = (wxString *) &arg8_defvalue ;
3978 bool result;
3979 bool temp4 = False ;
3980 wxPoint temp5 ;
3981 wxSize temp6 ;
3982 bool temp8 = False ;
3983 PyObject * obj0 = 0 ;
3984 PyObject * obj1 = 0 ;
3985 PyObject * obj2 = 0 ;
3986 PyObject * obj3 = 0 ;
3987 PyObject * obj4 = 0 ;
3988 PyObject * obj5 = 0 ;
3989 PyObject * obj6 = 0 ;
3990 PyObject * obj7 = 0 ;
3991 char *kwnames[] = {
3992 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3993 };
3994
3995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
3997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3998 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4000 arg3 = (int const) SWIG_AsInt(obj2);
4001 if (PyErr_Occurred()) SWIG_fail;
4002 {
4003 arg4 = wxString_in_helper(obj3);
4004 if (arg4 == NULL) SWIG_fail;
4005 temp4 = True;
4006 }
4007 if (obj4) {
4008 {
4009 arg5 = &temp5;
4010 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4011 }
4012 }
4013 if (obj5) {
4014 {
4015 arg6 = &temp6;
4016 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4017 }
4018 }
4019 if (obj6) {
4020 arg7 = (long) SWIG_AsLong(obj6);
4021 if (PyErr_Occurred()) SWIG_fail;
4022 }
4023 if (obj7) {
4024 {
4025 arg8 = wxString_in_helper(obj7);
4026 if (arg8 == NULL) SWIG_fail;
4027 temp8 = True;
4028 }
4029 }
4030 {
4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
4032 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4033
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
4037 {
4038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4039 }
4040 {
4041 if (temp4)
4042 delete arg4;
4043 }
4044 {
4045 if (temp8)
4046 delete arg8;
4047 }
4048 return resultobj;
4049 fail:
4050 {
4051 if (temp4)
4052 delete arg4;
4053 }
4054 {
4055 if (temp8)
4056 delete arg8;
4057 }
4058 return NULL;
4059 }
4060
4061
4062 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4063 PyObject *resultobj;
4064 wxDialog *arg1 = (wxDialog *) 0 ;
4065 int arg2 ;
4066 PyObject * obj0 = 0 ;
4067 PyObject * obj1 = 0 ;
4068 char *kwnames[] = {
4069 (char *) "self",(char *) "returnCode", NULL
4070 };
4071
4072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4075 arg2 = (int) SWIG_AsInt(obj1);
4076 if (PyErr_Occurred()) SWIG_fail;
4077 {
4078 PyThreadState* __tstate = wxPyBeginAllowThreads();
4079 (arg1)->SetReturnCode(arg2);
4080
4081 wxPyEndAllowThreads(__tstate);
4082 if (PyErr_Occurred()) SWIG_fail;
4083 }
4084 Py_INCREF(Py_None); resultobj = Py_None;
4085 return resultobj;
4086 fail:
4087 return NULL;
4088 }
4089
4090
4091 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4092 PyObject *resultobj;
4093 wxDialog *arg1 = (wxDialog *) 0 ;
4094 int result;
4095 PyObject * obj0 = 0 ;
4096 char *kwnames[] = {
4097 (char *) "self", NULL
4098 };
4099
4100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4103 {
4104 PyThreadState* __tstate = wxPyBeginAllowThreads();
4105 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4106
4107 wxPyEndAllowThreads(__tstate);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 }
4110 resultobj = SWIG_FromInt((int)result);
4111 return resultobj;
4112 fail:
4113 return NULL;
4114 }
4115
4116
4117 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4118 PyObject *resultobj;
4119 wxDialog *arg1 = (wxDialog *) 0 ;
4120 wxString *arg2 = 0 ;
4121 wxSizer *result;
4122 bool temp2 = False ;
4123 PyObject * obj0 = 0 ;
4124 PyObject * obj1 = 0 ;
4125 char *kwnames[] = {
4126 (char *) "self",(char *) "message", NULL
4127 };
4128
4129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4132 {
4133 arg2 = wxString_in_helper(obj1);
4134 if (arg2 == NULL) SWIG_fail;
4135 temp2 = True;
4136 }
4137 {
4138 PyThreadState* __tstate = wxPyBeginAllowThreads();
4139 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4140
4141 wxPyEndAllowThreads(__tstate);
4142 if (PyErr_Occurred()) SWIG_fail;
4143 }
4144 {
4145 resultobj = wxPyMake_wxSizer(result);
4146 }
4147 {
4148 if (temp2)
4149 delete arg2;
4150 }
4151 return resultobj;
4152 fail:
4153 {
4154 if (temp2)
4155 delete arg2;
4156 }
4157 return NULL;
4158 }
4159
4160
4161 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4162 PyObject *resultobj;
4163 wxDialog *arg1 = (wxDialog *) 0 ;
4164 long arg2 ;
4165 wxSizer *result;
4166 PyObject * obj0 = 0 ;
4167 PyObject * obj1 = 0 ;
4168 char *kwnames[] = {
4169 (char *) "self",(char *) "flags", NULL
4170 };
4171
4172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4175 arg2 = (long) SWIG_AsLong(obj1);
4176 if (PyErr_Occurred()) SWIG_fail;
4177 {
4178 PyThreadState* __tstate = wxPyBeginAllowThreads();
4179 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4180
4181 wxPyEndAllowThreads(__tstate);
4182 if (PyErr_Occurred()) SWIG_fail;
4183 }
4184 {
4185 resultobj = wxPyMake_wxSizer(result);
4186 }
4187 return resultobj;
4188 fail:
4189 return NULL;
4190 }
4191
4192
4193 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4194 PyObject *resultobj;
4195 wxDialog *arg1 = (wxDialog *) 0 ;
4196 bool result;
4197 PyObject * obj0 = 0 ;
4198 char *kwnames[] = {
4199 (char *) "self", NULL
4200 };
4201
4202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4205 {
4206 PyThreadState* __tstate = wxPyBeginAllowThreads();
4207 result = (bool)((wxDialog const *)arg1)->IsModal();
4208
4209 wxPyEndAllowThreads(__tstate);
4210 if (PyErr_Occurred()) SWIG_fail;
4211 }
4212 {
4213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4214 }
4215 return resultobj;
4216 fail:
4217 return NULL;
4218 }
4219
4220
4221 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4222 PyObject *resultobj;
4223 wxDialog *arg1 = (wxDialog *) 0 ;
4224 int result;
4225 PyObject * obj0 = 0 ;
4226 char *kwnames[] = {
4227 (char *) "self", NULL
4228 };
4229
4230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 result = (int)(arg1)->ShowModal();
4236
4237 wxPyEndAllowThreads(__tstate);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 }
4240 resultobj = SWIG_FromInt((int)result);
4241 return resultobj;
4242 fail:
4243 return NULL;
4244 }
4245
4246
4247 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4248 PyObject *resultobj;
4249 wxDialog *arg1 = (wxDialog *) 0 ;
4250 int arg2 ;
4251 PyObject * obj0 = 0 ;
4252 PyObject * obj1 = 0 ;
4253 char *kwnames[] = {
4254 (char *) "self",(char *) "retCode", NULL
4255 };
4256
4257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4260 arg2 = (int) SWIG_AsInt(obj1);
4261 if (PyErr_Occurred()) SWIG_fail;
4262 {
4263 PyThreadState* __tstate = wxPyBeginAllowThreads();
4264 (arg1)->EndModal(arg2);
4265
4266 wxPyEndAllowThreads(__tstate);
4267 if (PyErr_Occurred()) SWIG_fail;
4268 }
4269 Py_INCREF(Py_None); resultobj = Py_None;
4270 return resultobj;
4271 fail:
4272 return NULL;
4273 }
4274
4275
4276 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4277 PyObject *resultobj;
4278 wxDialog *arg1 = (wxDialog *) 0 ;
4279 bool result;
4280 PyObject * obj0 = 0 ;
4281 char *kwnames[] = {
4282 (char *) "self", NULL
4283 };
4284
4285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4288 {
4289 PyThreadState* __tstate = wxPyBeginAllowThreads();
4290 result = (bool)wxDialog_IsModalShowing(arg1);
4291
4292 wxPyEndAllowThreads(__tstate);
4293 if (PyErr_Occurred()) SWIG_fail;
4294 }
4295 {
4296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4297 }
4298 return resultobj;
4299 fail:
4300 return NULL;
4301 }
4302
4303
4304 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4305 PyObject *obj;
4306 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4307 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4308 Py_INCREF(obj);
4309 return Py_BuildValue((char *)"");
4310 }
4311 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4312 PyObject *resultobj;
4313 wxWindow *arg1 = (wxWindow *) 0 ;
4314 int arg2 ;
4315 wxString *arg3 = 0 ;
4316 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4317 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4318 wxSize const &arg5_defvalue = wxDefaultSize ;
4319 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4320 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4321 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4322 wxString *arg7 = (wxString *) &arg7_defvalue ;
4323 wxMiniFrame *result;
4324 bool temp3 = False ;
4325 wxPoint temp4 ;
4326 wxSize temp5 ;
4327 bool temp7 = False ;
4328 PyObject * obj0 = 0 ;
4329 PyObject * obj1 = 0 ;
4330 PyObject * obj2 = 0 ;
4331 PyObject * obj3 = 0 ;
4332 PyObject * obj4 = 0 ;
4333 PyObject * obj5 = 0 ;
4334 PyObject * obj6 = 0 ;
4335 char *kwnames[] = {
4336 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4337 };
4338
4339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4342 arg2 = (int const) SWIG_AsInt(obj1);
4343 if (PyErr_Occurred()) SWIG_fail;
4344 {
4345 arg3 = wxString_in_helper(obj2);
4346 if (arg3 == NULL) SWIG_fail;
4347 temp3 = True;
4348 }
4349 if (obj3) {
4350 {
4351 arg4 = &temp4;
4352 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4353 }
4354 }
4355 if (obj4) {
4356 {
4357 arg5 = &temp5;
4358 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4359 }
4360 }
4361 if (obj5) {
4362 arg6 = (long) SWIG_AsLong(obj5);
4363 if (PyErr_Occurred()) SWIG_fail;
4364 }
4365 if (obj6) {
4366 {
4367 arg7 = wxString_in_helper(obj6);
4368 if (arg7 == NULL) SWIG_fail;
4369 temp7 = True;
4370 }
4371 }
4372 {
4373 PyThreadState* __tstate = wxPyBeginAllowThreads();
4374 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4375
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
4379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4380 {
4381 if (temp3)
4382 delete arg3;
4383 }
4384 {
4385 if (temp7)
4386 delete arg7;
4387 }
4388 return resultobj;
4389 fail:
4390 {
4391 if (temp3)
4392 delete arg3;
4393 }
4394 {
4395 if (temp7)
4396 delete arg7;
4397 }
4398 return NULL;
4399 }
4400
4401
4402 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4403 PyObject *resultobj;
4404 wxMiniFrame *result;
4405 char *kwnames[] = {
4406 NULL
4407 };
4408
4409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4410 {
4411 PyThreadState* __tstate = wxPyBeginAllowThreads();
4412 result = (wxMiniFrame *)new wxMiniFrame();
4413
4414 wxPyEndAllowThreads(__tstate);
4415 if (PyErr_Occurred()) SWIG_fail;
4416 }
4417 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4418 return resultobj;
4419 fail:
4420 return NULL;
4421 }
4422
4423
4424 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4425 PyObject *resultobj;
4426 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4427 wxWindow *arg2 = (wxWindow *) 0 ;
4428 int arg3 ;
4429 wxString *arg4 = 0 ;
4430 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4431 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4432 wxSize const &arg6_defvalue = wxDefaultSize ;
4433 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4434 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4435 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4436 wxString *arg8 = (wxString *) &arg8_defvalue ;
4437 bool result;
4438 bool temp4 = False ;
4439 wxPoint temp5 ;
4440 wxSize temp6 ;
4441 bool temp8 = False ;
4442 PyObject * obj0 = 0 ;
4443 PyObject * obj1 = 0 ;
4444 PyObject * obj2 = 0 ;
4445 PyObject * obj3 = 0 ;
4446 PyObject * obj4 = 0 ;
4447 PyObject * obj5 = 0 ;
4448 PyObject * obj6 = 0 ;
4449 PyObject * obj7 = 0 ;
4450 char *kwnames[] = {
4451 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4452 };
4453
4454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4457 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4459 arg3 = (int const) SWIG_AsInt(obj2);
4460 if (PyErr_Occurred()) SWIG_fail;
4461 {
4462 arg4 = wxString_in_helper(obj3);
4463 if (arg4 == NULL) SWIG_fail;
4464 temp4 = True;
4465 }
4466 if (obj4) {
4467 {
4468 arg5 = &temp5;
4469 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4470 }
4471 }
4472 if (obj5) {
4473 {
4474 arg6 = &temp6;
4475 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4476 }
4477 }
4478 if (obj6) {
4479 arg7 = (long) SWIG_AsLong(obj6);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 if (obj7) {
4483 {
4484 arg8 = wxString_in_helper(obj7);
4485 if (arg8 == NULL) SWIG_fail;
4486 temp8 = True;
4487 }
4488 }
4489 {
4490 PyThreadState* __tstate = wxPyBeginAllowThreads();
4491 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4492
4493 wxPyEndAllowThreads(__tstate);
4494 if (PyErr_Occurred()) SWIG_fail;
4495 }
4496 {
4497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4498 }
4499 {
4500 if (temp4)
4501 delete arg4;
4502 }
4503 {
4504 if (temp8)
4505 delete arg8;
4506 }
4507 return resultobj;
4508 fail:
4509 {
4510 if (temp4)
4511 delete arg4;
4512 }
4513 {
4514 if (temp8)
4515 delete arg8;
4516 }
4517 return NULL;
4518 }
4519
4520
4521 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4522 PyObject *obj;
4523 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4524 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4525 Py_INCREF(obj);
4526 return Py_BuildValue((char *)"");
4527 }
4528 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4529 PyObject *resultobj;
4530 wxBitmap *arg1 = 0 ;
4531 wxWindow *arg2 = (wxWindow *) 0 ;
4532 int arg3 ;
4533 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4534 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4535 wxSize const &arg5_defvalue = wxDefaultSize ;
4536 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4537 long arg6 = (long) wxNO_BORDER ;
4538 wxSplashScreenWindow *result;
4539 wxPoint temp4 ;
4540 wxSize temp5 ;
4541 PyObject * obj0 = 0 ;
4542 PyObject * obj1 = 0 ;
4543 PyObject * obj2 = 0 ;
4544 PyObject * obj3 = 0 ;
4545 PyObject * obj4 = 0 ;
4546 PyObject * obj5 = 0 ;
4547 char *kwnames[] = {
4548 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4549 };
4550
4551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4553 SWIG_POINTER_EXCEPTION | 0)) == -1)
4554 SWIG_fail;
4555 if (arg1 == NULL) {
4556 PyErr_SetString(PyExc_TypeError,"null reference");
4557 SWIG_fail;
4558 }
4559 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4561 arg3 = (int) SWIG_AsInt(obj2);
4562 if (PyErr_Occurred()) SWIG_fail;
4563 if (obj3) {
4564 {
4565 arg4 = &temp4;
4566 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4567 }
4568 }
4569 if (obj4) {
4570 {
4571 arg5 = &temp5;
4572 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4573 }
4574 }
4575 if (obj5) {
4576 arg6 = (long) SWIG_AsLong(obj5);
4577 if (PyErr_Occurred()) SWIG_fail;
4578 }
4579 {
4580 PyThreadState* __tstate = wxPyBeginAllowThreads();
4581 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4582
4583 wxPyEndAllowThreads(__tstate);
4584 if (PyErr_Occurred()) SWIG_fail;
4585 }
4586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4587 return resultobj;
4588 fail:
4589 return NULL;
4590 }
4591
4592
4593 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4594 PyObject *resultobj;
4595 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4596 wxBitmap *arg2 = 0 ;
4597 PyObject * obj0 = 0 ;
4598 PyObject * obj1 = 0 ;
4599 char *kwnames[] = {
4600 (char *) "self",(char *) "bitmap", NULL
4601 };
4602
4603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4606 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4607 SWIG_POINTER_EXCEPTION | 0)) == -1)
4608 SWIG_fail;
4609 if (arg2 == NULL) {
4610 PyErr_SetString(PyExc_TypeError,"null reference");
4611 SWIG_fail;
4612 }
4613 {
4614 PyThreadState* __tstate = wxPyBeginAllowThreads();
4615 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4616
4617 wxPyEndAllowThreads(__tstate);
4618 if (PyErr_Occurred()) SWIG_fail;
4619 }
4620 Py_INCREF(Py_None); resultobj = Py_None;
4621 return resultobj;
4622 fail:
4623 return NULL;
4624 }
4625
4626
4627 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4628 PyObject *resultobj;
4629 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4630 wxBitmap *result;
4631 PyObject * obj0 = 0 ;
4632 char *kwnames[] = {
4633 (char *) "self", NULL
4634 };
4635
4636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4639 {
4640 PyThreadState* __tstate = wxPyBeginAllowThreads();
4641 {
4642 wxBitmap &_result_ref = (arg1)->GetBitmap();
4643 result = (wxBitmap *) &_result_ref;
4644 }
4645
4646 wxPyEndAllowThreads(__tstate);
4647 if (PyErr_Occurred()) SWIG_fail;
4648 }
4649 {
4650 wxBitmap* resultptr = new wxBitmap(*result);
4651 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4652 }
4653 return resultobj;
4654 fail:
4655 return NULL;
4656 }
4657
4658
4659 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4660 PyObject *obj;
4661 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4662 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4663 Py_INCREF(obj);
4664 return Py_BuildValue((char *)"");
4665 }
4666 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4667 PyObject *resultobj;
4668 wxBitmap *arg1 = 0 ;
4669 long arg2 ;
4670 int arg3 ;
4671 wxWindow *arg4 = (wxWindow *) 0 ;
4672 int arg5 ;
4673 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4674 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4675 wxSize const &arg7_defvalue = wxDefaultSize ;
4676 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4677 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4678 wxSplashScreen *result;
4679 wxPoint temp6 ;
4680 wxSize temp7 ;
4681 PyObject * obj0 = 0 ;
4682 PyObject * obj1 = 0 ;
4683 PyObject * obj2 = 0 ;
4684 PyObject * obj3 = 0 ;
4685 PyObject * obj4 = 0 ;
4686 PyObject * obj5 = 0 ;
4687 PyObject * obj6 = 0 ;
4688 PyObject * obj7 = 0 ;
4689 char *kwnames[] = {
4690 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4691 };
4692
4693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4695 SWIG_POINTER_EXCEPTION | 0)) == -1)
4696 SWIG_fail;
4697 if (arg1 == NULL) {
4698 PyErr_SetString(PyExc_TypeError,"null reference");
4699 SWIG_fail;
4700 }
4701 arg2 = (long) SWIG_AsLong(obj1);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 arg3 = (int) SWIG_AsInt(obj2);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4707 arg5 = (int) SWIG_AsInt(obj4);
4708 if (PyErr_Occurred()) SWIG_fail;
4709 if (obj5) {
4710 {
4711 arg6 = &temp6;
4712 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4713 }
4714 }
4715 if (obj6) {
4716 {
4717 arg7 = &temp7;
4718 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4719 }
4720 }
4721 if (obj7) {
4722 arg8 = (long) SWIG_AsLong(obj7);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 {
4726 PyThreadState* __tstate = wxPyBeginAllowThreads();
4727 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4728
4729 wxPyEndAllowThreads(__tstate);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
4732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4733 return resultobj;
4734 fail:
4735 return NULL;
4736 }
4737
4738
4739 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject *resultobj;
4741 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4742 long result;
4743 PyObject * obj0 = 0 ;
4744 char *kwnames[] = {
4745 (char *) "self", NULL
4746 };
4747
4748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4751 {
4752 PyThreadState* __tstate = wxPyBeginAllowThreads();
4753 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4754
4755 wxPyEndAllowThreads(__tstate);
4756 if (PyErr_Occurred()) SWIG_fail;
4757 }
4758 resultobj = SWIG_FromLong((long)result);
4759 return resultobj;
4760 fail:
4761 return NULL;
4762 }
4763
4764
4765 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4766 PyObject *resultobj;
4767 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4768 wxSplashScreenWindow *result;
4769 PyObject * obj0 = 0 ;
4770 char *kwnames[] = {
4771 (char *) "self", NULL
4772 };
4773
4774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4777 {
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4780
4781 wxPyEndAllowThreads(__tstate);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 }
4784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4785 return resultobj;
4786 fail:
4787 return NULL;
4788 }
4789
4790
4791 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4792 PyObject *resultobj;
4793 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4794 int result;
4795 PyObject * obj0 = 0 ;
4796 char *kwnames[] = {
4797 (char *) "self", NULL
4798 };
4799
4800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4803 {
4804 PyThreadState* __tstate = wxPyBeginAllowThreads();
4805 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4806
4807 wxPyEndAllowThreads(__tstate);
4808 if (PyErr_Occurred()) SWIG_fail;
4809 }
4810 resultobj = SWIG_FromInt((int)result);
4811 return resultobj;
4812 fail:
4813 return NULL;
4814 }
4815
4816
4817 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4818 PyObject *obj;
4819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4820 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4821 Py_INCREF(obj);
4822 return Py_BuildValue((char *)"");
4823 }
4824 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4825 PyObject *resultobj;
4826 wxWindow *arg1 = (wxWindow *) 0 ;
4827 int arg2 = (int) -1 ;
4828 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
4829 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4830 wxString *arg4 = (wxString *) &arg4_defvalue ;
4831 wxStatusBar *result;
4832 bool temp4 = False ;
4833 PyObject * obj0 = 0 ;
4834 PyObject * obj1 = 0 ;
4835 PyObject * obj2 = 0 ;
4836 PyObject * obj3 = 0 ;
4837 char *kwnames[] = {
4838 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4839 };
4840
4841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4844 if (obj1) {
4845 arg2 = (int) SWIG_AsInt(obj1);
4846 if (PyErr_Occurred()) SWIG_fail;
4847 }
4848 if (obj2) {
4849 arg3 = (long) SWIG_AsLong(obj2);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 if (obj3) {
4853 {
4854 arg4 = wxString_in_helper(obj3);
4855 if (arg4 == NULL) SWIG_fail;
4856 temp4 = True;
4857 }
4858 }
4859 {
4860 PyThreadState* __tstate = wxPyBeginAllowThreads();
4861 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4862
4863 wxPyEndAllowThreads(__tstate);
4864 if (PyErr_Occurred()) SWIG_fail;
4865 }
4866 {
4867 resultobj = wxPyMake_wxObject(result);
4868 }
4869 {
4870 if (temp4)
4871 delete arg4;
4872 }
4873 return resultobj;
4874 fail:
4875 {
4876 if (temp4)
4877 delete arg4;
4878 }
4879 return NULL;
4880 }
4881
4882
4883 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4884 PyObject *resultobj;
4885 wxStatusBar *result;
4886 char *kwnames[] = {
4887 NULL
4888 };
4889
4890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 result = (wxStatusBar *)new wxStatusBar();
4894
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
4898 {
4899 resultobj = wxPyMake_wxObject(result);
4900 }
4901 return resultobj;
4902 fail:
4903 return NULL;
4904 }
4905
4906
4907 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4908 PyObject *resultobj;
4909 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4910 wxWindow *arg2 = (wxWindow *) 0 ;
4911 int arg3 ;
4912 long arg4 = (long) wxST_SIZEGRIP ;
4913 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4914 wxString *arg5 = (wxString *) &arg5_defvalue ;
4915 bool result;
4916 bool temp5 = False ;
4917 PyObject * obj0 = 0 ;
4918 PyObject * obj1 = 0 ;
4919 PyObject * obj2 = 0 ;
4920 PyObject * obj3 = 0 ;
4921 PyObject * obj4 = 0 ;
4922 char *kwnames[] = {
4923 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4924 };
4925
4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4931 arg3 = (int) SWIG_AsInt(obj2);
4932 if (PyErr_Occurred()) SWIG_fail;
4933 if (obj3) {
4934 arg4 = (long) SWIG_AsLong(obj3);
4935 if (PyErr_Occurred()) SWIG_fail;
4936 }
4937 if (obj4) {
4938 {
4939 arg5 = wxString_in_helper(obj4);
4940 if (arg5 == NULL) SWIG_fail;
4941 temp5 = True;
4942 }
4943 }
4944 {
4945 PyThreadState* __tstate = wxPyBeginAllowThreads();
4946 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4947
4948 wxPyEndAllowThreads(__tstate);
4949 if (PyErr_Occurred()) SWIG_fail;
4950 }
4951 {
4952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4953 }
4954 {
4955 if (temp5)
4956 delete arg5;
4957 }
4958 return resultobj;
4959 fail:
4960 {
4961 if (temp5)
4962 delete arg5;
4963 }
4964 return NULL;
4965 }
4966
4967
4968 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4969 PyObject *resultobj;
4970 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4971 int arg2 = (int) 1 ;
4972 PyObject * obj0 = 0 ;
4973 PyObject * obj1 = 0 ;
4974 char *kwnames[] = {
4975 (char *) "self",(char *) "number", NULL
4976 };
4977
4978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
4979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4981 if (obj1) {
4982 arg2 = (int) SWIG_AsInt(obj1);
4983 if (PyErr_Occurred()) SWIG_fail;
4984 }
4985 {
4986 PyThreadState* __tstate = wxPyBeginAllowThreads();
4987 (arg1)->SetFieldsCount(arg2);
4988
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 Py_INCREF(Py_None); resultobj = Py_None;
4993 return resultobj;
4994 fail:
4995 return NULL;
4996 }
4997
4998
4999 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5000 PyObject *resultobj;
5001 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5002 int result;
5003 PyObject * obj0 = 0 ;
5004 char *kwnames[] = {
5005 (char *) "self", NULL
5006 };
5007
5008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5011 {
5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
5013 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5014
5015 wxPyEndAllowThreads(__tstate);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 resultobj = SWIG_FromInt((int)result);
5019 return resultobj;
5020 fail:
5021 return NULL;
5022 }
5023
5024
5025 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5026 PyObject *resultobj;
5027 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5028 wxString *arg2 = 0 ;
5029 int arg3 = (int) 0 ;
5030 bool temp2 = False ;
5031 PyObject * obj0 = 0 ;
5032 PyObject * obj1 = 0 ;
5033 PyObject * obj2 = 0 ;
5034 char *kwnames[] = {
5035 (char *) "self",(char *) "text",(char *) "number", NULL
5036 };
5037
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5041 {
5042 arg2 = wxString_in_helper(obj1);
5043 if (arg2 == NULL) SWIG_fail;
5044 temp2 = True;
5045 }
5046 if (obj2) {
5047 arg3 = (int) SWIG_AsInt(obj2);
5048 if (PyErr_Occurred()) SWIG_fail;
5049 }
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5053
5054 wxPyEndAllowThreads(__tstate);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 }
5057 Py_INCREF(Py_None); resultobj = Py_None;
5058 {
5059 if (temp2)
5060 delete arg2;
5061 }
5062 return resultobj;
5063 fail:
5064 {
5065 if (temp2)
5066 delete arg2;
5067 }
5068 return NULL;
5069 }
5070
5071
5072 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5073 PyObject *resultobj;
5074 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5075 int arg2 = (int) 0 ;
5076 wxString result;
5077 PyObject * obj0 = 0 ;
5078 PyObject * obj1 = 0 ;
5079 char *kwnames[] = {
5080 (char *) "self",(char *) "number", NULL
5081 };
5082
5083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5086 if (obj1) {
5087 arg2 = (int) SWIG_AsInt(obj1);
5088 if (PyErr_Occurred()) SWIG_fail;
5089 }
5090 {
5091 PyThreadState* __tstate = wxPyBeginAllowThreads();
5092 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5093
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 {
5098 #if wxUSE_UNICODE
5099 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5100 #else
5101 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5102 #endif
5103 }
5104 return resultobj;
5105 fail:
5106 return NULL;
5107 }
5108
5109
5110 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5111 PyObject *resultobj;
5112 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5113 wxString *arg2 = 0 ;
5114 int arg3 = (int) 0 ;
5115 bool temp2 = False ;
5116 PyObject * obj0 = 0 ;
5117 PyObject * obj1 = 0 ;
5118 PyObject * obj2 = 0 ;
5119 char *kwnames[] = {
5120 (char *) "self",(char *) "text",(char *) "number", NULL
5121 };
5122
5123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5126 {
5127 arg2 = wxString_in_helper(obj1);
5128 if (arg2 == NULL) SWIG_fail;
5129 temp2 = True;
5130 }
5131 if (obj2) {
5132 arg3 = (int) SWIG_AsInt(obj2);
5133 if (PyErr_Occurred()) SWIG_fail;
5134 }
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5138
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
5142 Py_INCREF(Py_None); resultobj = Py_None;
5143 {
5144 if (temp2)
5145 delete arg2;
5146 }
5147 return resultobj;
5148 fail:
5149 {
5150 if (temp2)
5151 delete arg2;
5152 }
5153 return NULL;
5154 }
5155
5156
5157 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5158 PyObject *resultobj;
5159 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5160 int arg2 = (int) 0 ;
5161 PyObject * obj0 = 0 ;
5162 PyObject * obj1 = 0 ;
5163 char *kwnames[] = {
5164 (char *) "self",(char *) "number", NULL
5165 };
5166
5167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5170 if (obj1) {
5171 arg2 = (int) SWIG_AsInt(obj1);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 {
5175 PyThreadState* __tstate = wxPyBeginAllowThreads();
5176 (arg1)->PopStatusText(arg2);
5177
5178 wxPyEndAllowThreads(__tstate);
5179 if (PyErr_Occurred()) SWIG_fail;
5180 }
5181 Py_INCREF(Py_None); resultobj = Py_None;
5182 return resultobj;
5183 fail:
5184 return NULL;
5185 }
5186
5187
5188 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5189 PyObject *resultobj;
5190 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5191 int arg2 ;
5192 int *arg3 = (int *) 0 ;
5193 PyObject * obj0 = 0 ;
5194 PyObject * obj1 = 0 ;
5195 char *kwnames[] = {
5196 (char *) "self",(char *) "widths", NULL
5197 };
5198
5199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5202 {
5203 arg2 = PyList_Size(obj1);
5204 arg3 = int_LIST_helper(obj1);
5205 if (arg3 == NULL) SWIG_fail;
5206 }
5207 {
5208 PyThreadState* __tstate = wxPyBeginAllowThreads();
5209 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5210
5211 wxPyEndAllowThreads(__tstate);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 Py_INCREF(Py_None); resultobj = Py_None;
5215 {
5216 if (arg3) delete [] arg3;
5217 }
5218 return resultobj;
5219 fail:
5220 {
5221 if (arg3) delete [] arg3;
5222 }
5223 return NULL;
5224 }
5225
5226
5227 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5228 PyObject *resultobj;
5229 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5230 int arg2 ;
5231 wxRect result;
5232 PyObject * obj0 = 0 ;
5233 PyObject * obj1 = 0 ;
5234 char *kwnames[] = {
5235 (char *) "self",(char *) "i", NULL
5236 };
5237
5238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5241 arg2 = (int) SWIG_AsInt(obj1);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 {
5244 PyThreadState* __tstate = wxPyBeginAllowThreads();
5245 result = wxStatusBar_GetFieldRect(arg1,arg2);
5246
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 {
5251 wxRect * resultptr;
5252 resultptr = new wxRect((wxRect &) result);
5253 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5254 }
5255 return resultobj;
5256 fail:
5257 return NULL;
5258 }
5259
5260
5261 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5262 PyObject *resultobj;
5263 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5264 int arg2 ;
5265 PyObject * obj0 = 0 ;
5266 PyObject * obj1 = 0 ;
5267 char *kwnames[] = {
5268 (char *) "self",(char *) "height", NULL
5269 };
5270
5271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5274 arg2 = (int) SWIG_AsInt(obj1);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 {
5277 PyThreadState* __tstate = wxPyBeginAllowThreads();
5278 (arg1)->SetMinHeight(arg2);
5279
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 Py_INCREF(Py_None); resultobj = Py_None;
5284 return resultobj;
5285 fail:
5286 return NULL;
5287 }
5288
5289
5290 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5291 PyObject *resultobj;
5292 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5293 int result;
5294 PyObject * obj0 = 0 ;
5295 char *kwnames[] = {
5296 (char *) "self", NULL
5297 };
5298
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5302 {
5303 PyThreadState* __tstate = wxPyBeginAllowThreads();
5304 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5305
5306 wxPyEndAllowThreads(__tstate);
5307 if (PyErr_Occurred()) SWIG_fail;
5308 }
5309 resultobj = SWIG_FromInt((int)result);
5310 return resultobj;
5311 fail:
5312 return NULL;
5313 }
5314
5315
5316 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5317 PyObject *resultobj;
5318 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5319 int result;
5320 PyObject * obj0 = 0 ;
5321 char *kwnames[] = {
5322 (char *) "self", NULL
5323 };
5324
5325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5328 {
5329 PyThreadState* __tstate = wxPyBeginAllowThreads();
5330 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5331
5332 wxPyEndAllowThreads(__tstate);
5333 if (PyErr_Occurred()) SWIG_fail;
5334 }
5335 resultobj = SWIG_FromInt((int)result);
5336 return resultobj;
5337 fail:
5338 return NULL;
5339 }
5340
5341
5342 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5343 PyObject *obj;
5344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5345 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5346 Py_INCREF(obj);
5347 return Py_BuildValue((char *)"");
5348 }
5349 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5350 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5351 return 1;
5352 }
5353
5354
5355 static PyObject *_wrap_SplitterNameStr_get() {
5356 PyObject *pyobj;
5357
5358 {
5359 #if wxUSE_UNICODE
5360 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5361 #else
5362 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5363 #endif
5364 }
5365 return pyobj;
5366 }
5367
5368
5369 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5370 PyObject *resultobj;
5371 wxWindow *arg1 = (wxWindow *) 0 ;
5372 int arg2 = (int) -1 ;
5373 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5374 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5375 wxSize const &arg4_defvalue = wxDefaultSize ;
5376 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5377 long arg5 = (long) wxSP_3D ;
5378 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5379 wxString *arg6 = (wxString *) &arg6_defvalue ;
5380 wxSplitterWindow *result;
5381 wxPoint temp3 ;
5382 wxSize temp4 ;
5383 bool temp6 = False ;
5384 PyObject * obj0 = 0 ;
5385 PyObject * obj1 = 0 ;
5386 PyObject * obj2 = 0 ;
5387 PyObject * obj3 = 0 ;
5388 PyObject * obj4 = 0 ;
5389 PyObject * obj5 = 0 ;
5390 char *kwnames[] = {
5391 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5392 };
5393
5394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5397 if (obj1) {
5398 arg2 = (int) SWIG_AsInt(obj1);
5399 if (PyErr_Occurred()) SWIG_fail;
5400 }
5401 if (obj2) {
5402 {
5403 arg3 = &temp3;
5404 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5405 }
5406 }
5407 if (obj3) {
5408 {
5409 arg4 = &temp4;
5410 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5411 }
5412 }
5413 if (obj4) {
5414 arg5 = (long) SWIG_AsLong(obj4);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 if (obj5) {
5418 {
5419 arg6 = wxString_in_helper(obj5);
5420 if (arg6 == NULL) SWIG_fail;
5421 temp6 = True;
5422 }
5423 }
5424 {
5425 PyThreadState* __tstate = wxPyBeginAllowThreads();
5426 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5427
5428 wxPyEndAllowThreads(__tstate);
5429 if (PyErr_Occurred()) SWIG_fail;
5430 }
5431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5432 {
5433 if (temp6)
5434 delete arg6;
5435 }
5436 return resultobj;
5437 fail:
5438 {
5439 if (temp6)
5440 delete arg6;
5441 }
5442 return NULL;
5443 }
5444
5445
5446 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5447 PyObject *resultobj;
5448 wxSplitterWindow *result;
5449 char *kwnames[] = {
5450 NULL
5451 };
5452
5453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5454 {
5455 PyThreadState* __tstate = wxPyBeginAllowThreads();
5456 result = (wxSplitterWindow *)new wxSplitterWindow();
5457
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5462 return resultobj;
5463 fail:
5464 return NULL;
5465 }
5466
5467
5468 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5469 PyObject *resultobj;
5470 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5471 wxWindow *arg2 = (wxWindow *) 0 ;
5472 int arg3 = (int) -1 ;
5473 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5474 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5475 wxSize const &arg5_defvalue = wxDefaultSize ;
5476 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5477 long arg6 = (long) wxSP_3D ;
5478 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5479 wxString *arg7 = (wxString *) &arg7_defvalue ;
5480 bool result;
5481 wxPoint temp4 ;
5482 wxSize temp5 ;
5483 bool temp7 = False ;
5484 PyObject * obj0 = 0 ;
5485 PyObject * obj1 = 0 ;
5486 PyObject * obj2 = 0 ;
5487 PyObject * obj3 = 0 ;
5488 PyObject * obj4 = 0 ;
5489 PyObject * obj5 = 0 ;
5490 PyObject * obj6 = 0 ;
5491 char *kwnames[] = {
5492 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5493 };
5494
5495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5498 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5500 if (obj2) {
5501 arg3 = (int) SWIG_AsInt(obj2);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 }
5504 if (obj3) {
5505 {
5506 arg4 = &temp4;
5507 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5508 }
5509 }
5510 if (obj4) {
5511 {
5512 arg5 = &temp5;
5513 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5514 }
5515 }
5516 if (obj5) {
5517 arg6 = (long) SWIG_AsLong(obj5);
5518 if (PyErr_Occurred()) SWIG_fail;
5519 }
5520 if (obj6) {
5521 {
5522 arg7 = wxString_in_helper(obj6);
5523 if (arg7 == NULL) SWIG_fail;
5524 temp7 = True;
5525 }
5526 }
5527 {
5528 PyThreadState* __tstate = wxPyBeginAllowThreads();
5529 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5530
5531 wxPyEndAllowThreads(__tstate);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 }
5534 {
5535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5536 }
5537 {
5538 if (temp7)
5539 delete arg7;
5540 }
5541 return resultobj;
5542 fail:
5543 {
5544 if (temp7)
5545 delete arg7;
5546 }
5547 return NULL;
5548 }
5549
5550
5551 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5552 PyObject *resultobj;
5553 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5554 wxWindow *result;
5555 PyObject * obj0 = 0 ;
5556 char *kwnames[] = {
5557 (char *) "self", NULL
5558 };
5559
5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5563 {
5564 PyThreadState* __tstate = wxPyBeginAllowThreads();
5565 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5566
5567 wxPyEndAllowThreads(__tstate);
5568 if (PyErr_Occurred()) SWIG_fail;
5569 }
5570 {
5571 resultobj = wxPyMake_wxObject(result);
5572 }
5573 return resultobj;
5574 fail:
5575 return NULL;
5576 }
5577
5578
5579 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5580 PyObject *resultobj;
5581 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5582 wxWindow *result;
5583 PyObject * obj0 = 0 ;
5584 char *kwnames[] = {
5585 (char *) "self", NULL
5586 };
5587
5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5591 {
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5593 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5594
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 }
5598 {
5599 resultobj = wxPyMake_wxObject(result);
5600 }
5601 return resultobj;
5602 fail:
5603 return NULL;
5604 }
5605
5606
5607 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5608 PyObject *resultobj;
5609 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5610 int arg2 ;
5611 PyObject * obj0 = 0 ;
5612 PyObject * obj1 = 0 ;
5613 char *kwnames[] = {
5614 (char *) "self",(char *) "mode", NULL
5615 };
5616
5617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5620 arg2 = (int) SWIG_AsInt(obj1);
5621 if (PyErr_Occurred()) SWIG_fail;
5622 {
5623 PyThreadState* __tstate = wxPyBeginAllowThreads();
5624 (arg1)->SetSplitMode(arg2);
5625
5626 wxPyEndAllowThreads(__tstate);
5627 if (PyErr_Occurred()) SWIG_fail;
5628 }
5629 Py_INCREF(Py_None); resultobj = Py_None;
5630 return resultobj;
5631 fail:
5632 return NULL;
5633 }
5634
5635
5636 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5637 PyObject *resultobj;
5638 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5639 int result;
5640 PyObject * obj0 = 0 ;
5641 char *kwnames[] = {
5642 (char *) "self", NULL
5643 };
5644
5645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5648 {
5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
5650 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5651
5652 wxPyEndAllowThreads(__tstate);
5653 if (PyErr_Occurred()) SWIG_fail;
5654 }
5655 resultobj = SWIG_FromInt((int)result);
5656 return resultobj;
5657 fail:
5658 return NULL;
5659 }
5660
5661
5662 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5663 PyObject *resultobj;
5664 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5665 wxWindow *arg2 = (wxWindow *) 0 ;
5666 PyObject * obj0 = 0 ;
5667 PyObject * obj1 = 0 ;
5668 char *kwnames[] = {
5669 (char *) "self",(char *) "window", NULL
5670 };
5671
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5677 {
5678 PyThreadState* __tstate = wxPyBeginAllowThreads();
5679 (arg1)->Initialize(arg2);
5680
5681 wxPyEndAllowThreads(__tstate);
5682 if (PyErr_Occurred()) SWIG_fail;
5683 }
5684 Py_INCREF(Py_None); resultobj = Py_None;
5685 return resultobj;
5686 fail:
5687 return NULL;
5688 }
5689
5690
5691 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5692 PyObject *resultobj;
5693 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5694 wxWindow *arg2 = (wxWindow *) 0 ;
5695 wxWindow *arg3 = (wxWindow *) 0 ;
5696 int arg4 = (int) 0 ;
5697 bool result;
5698 PyObject * obj0 = 0 ;
5699 PyObject * obj1 = 0 ;
5700 PyObject * obj2 = 0 ;
5701 PyObject * obj3 = 0 ;
5702 char *kwnames[] = {
5703 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5704 };
5705
5706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5709 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5711 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5713 if (obj3) {
5714 arg4 = (int) SWIG_AsInt(obj3);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 {
5718 PyThreadState* __tstate = wxPyBeginAllowThreads();
5719 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5720
5721 wxPyEndAllowThreads(__tstate);
5722 if (PyErr_Occurred()) SWIG_fail;
5723 }
5724 {
5725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5726 }
5727 return resultobj;
5728 fail:
5729 return NULL;
5730 }
5731
5732
5733 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5734 PyObject *resultobj;
5735 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5736 wxWindow *arg2 = (wxWindow *) 0 ;
5737 wxWindow *arg3 = (wxWindow *) 0 ;
5738 int arg4 = (int) 0 ;
5739 bool result;
5740 PyObject * obj0 = 0 ;
5741 PyObject * obj1 = 0 ;
5742 PyObject * obj2 = 0 ;
5743 PyObject * obj3 = 0 ;
5744 char *kwnames[] = {
5745 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5746 };
5747
5748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5751 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5753 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5755 if (obj3) {
5756 arg4 = (int) SWIG_AsInt(obj3);
5757 if (PyErr_Occurred()) SWIG_fail;
5758 }
5759 {
5760 PyThreadState* __tstate = wxPyBeginAllowThreads();
5761 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5762
5763 wxPyEndAllowThreads(__tstate);
5764 if (PyErr_Occurred()) SWIG_fail;
5765 }
5766 {
5767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5768 }
5769 return resultobj;
5770 fail:
5771 return NULL;
5772 }
5773
5774
5775 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5776 PyObject *resultobj;
5777 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5778 wxWindow *arg2 = (wxWindow *) NULL ;
5779 bool result;
5780 PyObject * obj0 = 0 ;
5781 PyObject * obj1 = 0 ;
5782 char *kwnames[] = {
5783 (char *) "self",(char *) "toRemove", NULL
5784 };
5785
5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5789 if (obj1) {
5790 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5792 }
5793 {
5794 PyThreadState* __tstate = wxPyBeginAllowThreads();
5795 result = (bool)(arg1)->Unsplit(arg2);
5796
5797 wxPyEndAllowThreads(__tstate);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 {
5801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5802 }
5803 return resultobj;
5804 fail:
5805 return NULL;
5806 }
5807
5808
5809 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5810 PyObject *resultobj;
5811 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5812 wxWindow *arg2 = (wxWindow *) 0 ;
5813 wxWindow *arg3 = (wxWindow *) 0 ;
5814 bool result;
5815 PyObject * obj0 = 0 ;
5816 PyObject * obj1 = 0 ;
5817 PyObject * obj2 = 0 ;
5818 char *kwnames[] = {
5819 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5820 };
5821
5822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5825 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5827 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5829 {
5830 PyThreadState* __tstate = wxPyBeginAllowThreads();
5831 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5832
5833 wxPyEndAllowThreads(__tstate);
5834 if (PyErr_Occurred()) SWIG_fail;
5835 }
5836 {
5837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5838 }
5839 return resultobj;
5840 fail:
5841 return NULL;
5842 }
5843
5844
5845 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5846 PyObject *resultobj;
5847 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5848 PyObject * obj0 = 0 ;
5849 char *kwnames[] = {
5850 (char *) "self", NULL
5851 };
5852
5853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5856 {
5857 PyThreadState* __tstate = wxPyBeginAllowThreads();
5858 (arg1)->UpdateSize();
5859
5860 wxPyEndAllowThreads(__tstate);
5861 if (PyErr_Occurred()) SWIG_fail;
5862 }
5863 Py_INCREF(Py_None); resultobj = Py_None;
5864 return resultobj;
5865 fail:
5866 return NULL;
5867 }
5868
5869
5870 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5871 PyObject *resultobj;
5872 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5873 bool result;
5874 PyObject * obj0 = 0 ;
5875 char *kwnames[] = {
5876 (char *) "self", NULL
5877 };
5878
5879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5882 {
5883 PyThreadState* __tstate = wxPyBeginAllowThreads();
5884 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5885
5886 wxPyEndAllowThreads(__tstate);
5887 if (PyErr_Occurred()) SWIG_fail;
5888 }
5889 {
5890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5891 }
5892 return resultobj;
5893 fail:
5894 return NULL;
5895 }
5896
5897
5898 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5899 PyObject *resultobj;
5900 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5901 int arg2 ;
5902 PyObject * obj0 = 0 ;
5903 PyObject * obj1 = 0 ;
5904 char *kwnames[] = {
5905 (char *) "self",(char *) "width", NULL
5906 };
5907
5908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5911 arg2 = (int) SWIG_AsInt(obj1);
5912 if (PyErr_Occurred()) SWIG_fail;
5913 {
5914 PyThreadState* __tstate = wxPyBeginAllowThreads();
5915 (arg1)->SetSashSize(arg2);
5916
5917 wxPyEndAllowThreads(__tstate);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 Py_INCREF(Py_None); resultobj = Py_None;
5921 return resultobj;
5922 fail:
5923 return NULL;
5924 }
5925
5926
5927 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5928 PyObject *resultobj;
5929 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5930 int arg2 ;
5931 PyObject * obj0 = 0 ;
5932 PyObject * obj1 = 0 ;
5933 char *kwnames[] = {
5934 (char *) "self",(char *) "width", NULL
5935 };
5936
5937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5940 arg2 = (int) SWIG_AsInt(obj1);
5941 if (PyErr_Occurred()) SWIG_fail;
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 (arg1)->SetBorderSize(arg2);
5945
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 Py_INCREF(Py_None); resultobj = Py_None;
5950 return resultobj;
5951 fail:
5952 return NULL;
5953 }
5954
5955
5956 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5957 PyObject *resultobj;
5958 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5959 int result;
5960 PyObject * obj0 = 0 ;
5961 char *kwnames[] = {
5962 (char *) "self", NULL
5963 };
5964
5965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5971
5972 wxPyEndAllowThreads(__tstate);
5973 if (PyErr_Occurred()) SWIG_fail;
5974 }
5975 resultobj = SWIG_FromInt((int)result);
5976 return resultobj;
5977 fail:
5978 return NULL;
5979 }
5980
5981
5982 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5983 PyObject *resultobj;
5984 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5985 int result;
5986 PyObject * obj0 = 0 ;
5987 char *kwnames[] = {
5988 (char *) "self", NULL
5989 };
5990
5991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
6001 resultobj = SWIG_FromInt((int)result);
6002 return resultobj;
6003 fail:
6004 return NULL;
6005 }
6006
6007
6008 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6009 PyObject *resultobj;
6010 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6011 int arg2 ;
6012 bool arg3 = (bool) True ;
6013 PyObject * obj0 = 0 ;
6014 PyObject * obj1 = 0 ;
6015 PyObject * obj2 = 0 ;
6016 char *kwnames[] = {
6017 (char *) "self",(char *) "position",(char *) "redraw", NULL
6018 };
6019
6020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6023 arg2 = (int) SWIG_AsInt(obj1);
6024 if (PyErr_Occurred()) SWIG_fail;
6025 if (obj2) {
6026 arg3 = (bool) SWIG_AsBool(obj2);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 {
6030 PyThreadState* __tstate = wxPyBeginAllowThreads();
6031 (arg1)->SetSashPosition(arg2,arg3);
6032
6033 wxPyEndAllowThreads(__tstate);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
6036 Py_INCREF(Py_None); resultobj = Py_None;
6037 return resultobj;
6038 fail:
6039 return NULL;
6040 }
6041
6042
6043 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6044 PyObject *resultobj;
6045 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6046 int result;
6047 PyObject * obj0 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6055 {
6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6057 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6058
6059 wxPyEndAllowThreads(__tstate);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 resultobj = SWIG_FromInt((int)result);
6063 return resultobj;
6064 fail:
6065 return NULL;
6066 }
6067
6068
6069 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6070 PyObject *resultobj;
6071 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6072 int arg2 ;
6073 PyObject * obj0 = 0 ;
6074 PyObject * obj1 = 0 ;
6075 char *kwnames[] = {
6076 (char *) "self",(char *) "min", NULL
6077 };
6078
6079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6082 arg2 = (int) SWIG_AsInt(obj1);
6083 if (PyErr_Occurred()) SWIG_fail;
6084 {
6085 PyThreadState* __tstate = wxPyBeginAllowThreads();
6086 (arg1)->SetMinimumPaneSize(arg2);
6087
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 Py_INCREF(Py_None); resultobj = Py_None;
6092 return resultobj;
6093 fail:
6094 return NULL;
6095 }
6096
6097
6098 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject *resultobj;
6100 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6101 int result;
6102 PyObject * obj0 = 0 ;
6103 char *kwnames[] = {
6104 (char *) "self", NULL
6105 };
6106
6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6110 {
6111 PyThreadState* __tstate = wxPyBeginAllowThreads();
6112 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6113
6114 wxPyEndAllowThreads(__tstate);
6115 if (PyErr_Occurred()) SWIG_fail;
6116 }
6117 resultobj = SWIG_FromInt((int)result);
6118 return resultobj;
6119 fail:
6120 return NULL;
6121 }
6122
6123
6124 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6125 PyObject *resultobj;
6126 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6127 int arg2 ;
6128 int arg3 ;
6129 int arg4 = (int) 5 ;
6130 bool result;
6131 PyObject * obj0 = 0 ;
6132 PyObject * obj1 = 0 ;
6133 PyObject * obj2 = 0 ;
6134 PyObject * obj3 = 0 ;
6135 char *kwnames[] = {
6136 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6137 };
6138
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6142 arg2 = (int) SWIG_AsInt(obj1);
6143 if (PyErr_Occurred()) SWIG_fail;
6144 arg3 = (int) SWIG_AsInt(obj2);
6145 if (PyErr_Occurred()) SWIG_fail;
6146 if (obj3) {
6147 arg4 = (int) SWIG_AsInt(obj3);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 {
6151 PyThreadState* __tstate = wxPyBeginAllowThreads();
6152 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6153
6154 wxPyEndAllowThreads(__tstate);
6155 if (PyErr_Occurred()) SWIG_fail;
6156 }
6157 {
6158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6159 }
6160 return resultobj;
6161 fail:
6162 return NULL;
6163 }
6164
6165
6166 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6167 PyObject *resultobj;
6168 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6169 PyObject * obj0 = 0 ;
6170 char *kwnames[] = {
6171 (char *) "self", NULL
6172 };
6173
6174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6177 {
6178 PyThreadState* __tstate = wxPyBeginAllowThreads();
6179 (arg1)->SizeWindows();
6180
6181 wxPyEndAllowThreads(__tstate);
6182 if (PyErr_Occurred()) SWIG_fail;
6183 }
6184 Py_INCREF(Py_None); resultobj = Py_None;
6185 return resultobj;
6186 fail:
6187 return NULL;
6188 }
6189
6190
6191 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6192 PyObject *resultobj;
6193 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6194 bool arg2 ;
6195 PyObject * obj0 = 0 ;
6196 PyObject * obj1 = 0 ;
6197 char *kwnames[] = {
6198 (char *) "self",(char *) "needUpdating", NULL
6199 };
6200
6201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6204 arg2 = (bool) SWIG_AsBool(obj1);
6205 if (PyErr_Occurred()) SWIG_fail;
6206 {
6207 PyThreadState* __tstate = wxPyBeginAllowThreads();
6208 (arg1)->SetNeedUpdating(arg2);
6209
6210 wxPyEndAllowThreads(__tstate);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 }
6213 Py_INCREF(Py_None); resultobj = Py_None;
6214 return resultobj;
6215 fail:
6216 return NULL;
6217 }
6218
6219
6220 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6221 PyObject *resultobj;
6222 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6223 bool result;
6224 PyObject * obj0 = 0 ;
6225 char *kwnames[] = {
6226 (char *) "self", NULL
6227 };
6228
6229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6232 {
6233 PyThreadState* __tstate = wxPyBeginAllowThreads();
6234 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6235
6236 wxPyEndAllowThreads(__tstate);
6237 if (PyErr_Occurred()) SWIG_fail;
6238 }
6239 {
6240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6241 }
6242 return resultobj;
6243 fail:
6244 return NULL;
6245 }
6246
6247
6248 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6249 PyObject *obj;
6250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6251 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6252 Py_INCREF(obj);
6253 return Py_BuildValue((char *)"");
6254 }
6255 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj;
6257 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6258 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6259 wxSplitterEvent *result;
6260 PyObject * obj0 = 0 ;
6261 PyObject * obj1 = 0 ;
6262 char *kwnames[] = {
6263 (char *) "type",(char *) "splitter", NULL
6264 };
6265
6266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6267 if (obj0) {
6268 arg1 = (wxEventType) SWIG_AsInt(obj0);
6269 if (PyErr_Occurred()) SWIG_fail;
6270 }
6271 if (obj1) {
6272 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6274 }
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6278
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6283 return resultobj;
6284 fail:
6285 return NULL;
6286 }
6287
6288
6289 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6290 PyObject *resultobj;
6291 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6292 int arg2 ;
6293 PyObject * obj0 = 0 ;
6294 PyObject * obj1 = 0 ;
6295 char *kwnames[] = {
6296 (char *) "self",(char *) "pos", NULL
6297 };
6298
6299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6302 arg2 = (int) SWIG_AsInt(obj1);
6303 if (PyErr_Occurred()) SWIG_fail;
6304 {
6305 PyThreadState* __tstate = wxPyBeginAllowThreads();
6306 (arg1)->SetSashPosition(arg2);
6307
6308 wxPyEndAllowThreads(__tstate);
6309 if (PyErr_Occurred()) SWIG_fail;
6310 }
6311 Py_INCREF(Py_None); resultobj = Py_None;
6312 return resultobj;
6313 fail:
6314 return NULL;
6315 }
6316
6317
6318 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6319 PyObject *resultobj;
6320 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6321 int result;
6322 PyObject * obj0 = 0 ;
6323 char *kwnames[] = {
6324 (char *) "self", NULL
6325 };
6326
6327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6330 {
6331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6332 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6333
6334 wxPyEndAllowThreads(__tstate);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 }
6337 resultobj = SWIG_FromInt((int)result);
6338 return resultobj;
6339 fail:
6340 return NULL;
6341 }
6342
6343
6344 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6345 PyObject *resultobj;
6346 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6347 wxWindow *result;
6348 PyObject * obj0 = 0 ;
6349 char *kwnames[] = {
6350 (char *) "self", NULL
6351 };
6352
6353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6356 {
6357 PyThreadState* __tstate = wxPyBeginAllowThreads();
6358 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6359
6360 wxPyEndAllowThreads(__tstate);
6361 if (PyErr_Occurred()) SWIG_fail;
6362 }
6363 {
6364 resultobj = wxPyMake_wxObject(result);
6365 }
6366 return resultobj;
6367 fail:
6368 return NULL;
6369 }
6370
6371
6372 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6373 PyObject *resultobj;
6374 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6375 int result;
6376 PyObject * obj0 = 0 ;
6377 char *kwnames[] = {
6378 (char *) "self", NULL
6379 };
6380
6381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6384 {
6385 PyThreadState* __tstate = wxPyBeginAllowThreads();
6386 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6387
6388 wxPyEndAllowThreads(__tstate);
6389 if (PyErr_Occurred()) SWIG_fail;
6390 }
6391 resultobj = SWIG_FromInt((int)result);
6392 return resultobj;
6393 fail:
6394 return NULL;
6395 }
6396
6397
6398 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6399 PyObject *resultobj;
6400 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6401 int result;
6402 PyObject * obj0 = 0 ;
6403 char *kwnames[] = {
6404 (char *) "self", NULL
6405 };
6406
6407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6410 {
6411 PyThreadState* __tstate = wxPyBeginAllowThreads();
6412 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6413
6414 wxPyEndAllowThreads(__tstate);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
6417 resultobj = SWIG_FromInt((int)result);
6418 return resultobj;
6419 fail:
6420 return NULL;
6421 }
6422
6423
6424 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6425 PyObject *obj;
6426 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6427 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6428 Py_INCREF(obj);
6429 return Py_BuildValue((char *)"");
6430 }
6431 static int _wrap_SashNameStr_set(PyObject *_val) {
6432 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6433 return 1;
6434 }
6435
6436
6437 static PyObject *_wrap_SashNameStr_get() {
6438 PyObject *pyobj;
6439
6440 {
6441 #if wxUSE_UNICODE
6442 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6443 #else
6444 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6445 #endif
6446 }
6447 return pyobj;
6448 }
6449
6450
6451 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6452 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6453 return 1;
6454 }
6455
6456
6457 static PyObject *_wrap_SashLayoutNameStr_get() {
6458 PyObject *pyobj;
6459
6460 {
6461 #if wxUSE_UNICODE
6462 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6463 #else
6464 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6465 #endif
6466 }
6467 return pyobj;
6468 }
6469
6470
6471 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6472 PyObject *resultobj;
6473 wxWindow *arg1 = (wxWindow *) 0 ;
6474 int arg2 ;
6475 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6476 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6477 wxSize const &arg4_defvalue = wxDefaultSize ;
6478 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6479 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6480 wxString const &arg6_defvalue = wxPySashNameStr ;
6481 wxString *arg6 = (wxString *) &arg6_defvalue ;
6482 wxSashWindow *result;
6483 wxPoint temp3 ;
6484 wxSize temp4 ;
6485 bool temp6 = False ;
6486 PyObject * obj0 = 0 ;
6487 PyObject * obj1 = 0 ;
6488 PyObject * obj2 = 0 ;
6489 PyObject * obj3 = 0 ;
6490 PyObject * obj4 = 0 ;
6491 PyObject * obj5 = 0 ;
6492 char *kwnames[] = {
6493 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6494 };
6495
6496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6499 arg2 = (int) SWIG_AsInt(obj1);
6500 if (PyErr_Occurred()) SWIG_fail;
6501 if (obj2) {
6502 {
6503 arg3 = &temp3;
6504 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6505 }
6506 }
6507 if (obj3) {
6508 {
6509 arg4 = &temp4;
6510 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6511 }
6512 }
6513 if (obj4) {
6514 arg5 = (long) SWIG_AsLong(obj4);
6515 if (PyErr_Occurred()) SWIG_fail;
6516 }
6517 if (obj5) {
6518 {
6519 arg6 = wxString_in_helper(obj5);
6520 if (arg6 == NULL) SWIG_fail;
6521 temp6 = True;
6522 }
6523 }
6524 {
6525 PyThreadState* __tstate = wxPyBeginAllowThreads();
6526 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6527
6528 wxPyEndAllowThreads(__tstate);
6529 if (PyErr_Occurred()) SWIG_fail;
6530 }
6531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6532 {
6533 if (temp6)
6534 delete arg6;
6535 }
6536 return resultobj;
6537 fail:
6538 {
6539 if (temp6)
6540 delete arg6;
6541 }
6542 return NULL;
6543 }
6544
6545
6546 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6547 PyObject *resultobj;
6548 wxSashWindow *result;
6549 char *kwnames[] = {
6550 NULL
6551 };
6552
6553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6554 {
6555 PyThreadState* __tstate = wxPyBeginAllowThreads();
6556 result = (wxSashWindow *)new wxSashWindow();
6557
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6562 return resultobj;
6563 fail:
6564 return NULL;
6565 }
6566
6567
6568 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6569 PyObject *resultobj;
6570 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6571 wxWindow *arg2 = (wxWindow *) 0 ;
6572 int arg3 ;
6573 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6574 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6575 wxSize const &arg5_defvalue = wxDefaultSize ;
6576 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6577 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6578 wxString const &arg7_defvalue = wxPySashNameStr ;
6579 wxString *arg7 = (wxString *) &arg7_defvalue ;
6580 bool result;
6581 wxPoint temp4 ;
6582 wxSize temp5 ;
6583 bool temp7 = False ;
6584 PyObject * obj0 = 0 ;
6585 PyObject * obj1 = 0 ;
6586 PyObject * obj2 = 0 ;
6587 PyObject * obj3 = 0 ;
6588 PyObject * obj4 = 0 ;
6589 PyObject * obj5 = 0 ;
6590 PyObject * obj6 = 0 ;
6591 char *kwnames[] = {
6592 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6593 };
6594
6595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6598 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6600 arg3 = (int) SWIG_AsInt(obj2);
6601 if (PyErr_Occurred()) SWIG_fail;
6602 if (obj3) {
6603 {
6604 arg4 = &temp4;
6605 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6606 }
6607 }
6608 if (obj4) {
6609 {
6610 arg5 = &temp5;
6611 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6612 }
6613 }
6614 if (obj5) {
6615 arg6 = (long) SWIG_AsLong(obj5);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 if (obj6) {
6619 {
6620 arg7 = wxString_in_helper(obj6);
6621 if (arg7 == NULL) SWIG_fail;
6622 temp7 = True;
6623 }
6624 }
6625 {
6626 PyThreadState* __tstate = wxPyBeginAllowThreads();
6627 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6628
6629 wxPyEndAllowThreads(__tstate);
6630 if (PyErr_Occurred()) SWIG_fail;
6631 }
6632 {
6633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6634 }
6635 {
6636 if (temp7)
6637 delete arg7;
6638 }
6639 return resultobj;
6640 fail:
6641 {
6642 if (temp7)
6643 delete arg7;
6644 }
6645 return NULL;
6646 }
6647
6648
6649 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6650 PyObject *resultobj;
6651 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6652 int arg2 ;
6653 bool arg3 ;
6654 PyObject * obj0 = 0 ;
6655 PyObject * obj1 = 0 ;
6656 PyObject * obj2 = 0 ;
6657 char *kwnames[] = {
6658 (char *) "self",(char *) "edge",(char *) "sash", NULL
6659 };
6660
6661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6664 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6665 if (PyErr_Occurred()) SWIG_fail;
6666 arg3 = (bool) SWIG_AsBool(obj2);
6667 if (PyErr_Occurred()) SWIG_fail;
6668 {
6669 PyThreadState* __tstate = wxPyBeginAllowThreads();
6670 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6671
6672 wxPyEndAllowThreads(__tstate);
6673 if (PyErr_Occurred()) SWIG_fail;
6674 }
6675 Py_INCREF(Py_None); resultobj = Py_None;
6676 return resultobj;
6677 fail:
6678 return NULL;
6679 }
6680
6681
6682 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6683 PyObject *resultobj;
6684 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6685 int arg2 ;
6686 bool result;
6687 PyObject * obj0 = 0 ;
6688 PyObject * obj1 = 0 ;
6689 char *kwnames[] = {
6690 (char *) "self",(char *) "edge", NULL
6691 };
6692
6693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6696 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 {
6699 PyThreadState* __tstate = wxPyBeginAllowThreads();
6700 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6701
6702 wxPyEndAllowThreads(__tstate);
6703 if (PyErr_Occurred()) SWIG_fail;
6704 }
6705 {
6706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6707 }
6708 return resultobj;
6709 fail:
6710 return NULL;
6711 }
6712
6713
6714 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6715 PyObject *resultobj;
6716 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6717 int arg2 ;
6718 bool arg3 ;
6719 PyObject * obj0 = 0 ;
6720 PyObject * obj1 = 0 ;
6721 PyObject * obj2 = 0 ;
6722 char *kwnames[] = {
6723 (char *) "self",(char *) "edge",(char *) "border", NULL
6724 };
6725
6726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6729 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 arg3 = (bool) SWIG_AsBool(obj2);
6732 if (PyErr_Occurred()) SWIG_fail;
6733 {
6734 PyThreadState* __tstate = wxPyBeginAllowThreads();
6735 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6736
6737 wxPyEndAllowThreads(__tstate);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 Py_INCREF(Py_None); resultobj = Py_None;
6741 return resultobj;
6742 fail:
6743 return NULL;
6744 }
6745
6746
6747 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6748 PyObject *resultobj;
6749 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6750 int arg2 ;
6751 bool result;
6752 PyObject * obj0 = 0 ;
6753 PyObject * obj1 = 0 ;
6754 char *kwnames[] = {
6755 (char *) "self",(char *) "edge", NULL
6756 };
6757
6758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6761 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6762 if (PyErr_Occurred()) SWIG_fail;
6763 {
6764 PyThreadState* __tstate = wxPyBeginAllowThreads();
6765 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6766
6767 wxPyEndAllowThreads(__tstate);
6768 if (PyErr_Occurred()) SWIG_fail;
6769 }
6770 {
6771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6772 }
6773 return resultobj;
6774 fail:
6775 return NULL;
6776 }
6777
6778
6779 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6780 PyObject *resultobj;
6781 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6782 int arg2 ;
6783 int result;
6784 PyObject * obj0 = 0 ;
6785 PyObject * obj1 = 0 ;
6786 char *kwnames[] = {
6787 (char *) "self",(char *) "edge", NULL
6788 };
6789
6790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6793 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6794 if (PyErr_Occurred()) SWIG_fail;
6795 {
6796 PyThreadState* __tstate = wxPyBeginAllowThreads();
6797 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6798
6799 wxPyEndAllowThreads(__tstate);
6800 if (PyErr_Occurred()) SWIG_fail;
6801 }
6802 resultobj = SWIG_FromInt((int)result);
6803 return resultobj;
6804 fail:
6805 return NULL;
6806 }
6807
6808
6809 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6810 PyObject *resultobj;
6811 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6812 int arg2 ;
6813 PyObject * obj0 = 0 ;
6814 PyObject * obj1 = 0 ;
6815 char *kwnames[] = {
6816 (char *) "self",(char *) "width", NULL
6817 };
6818
6819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6822 arg2 = (int) SWIG_AsInt(obj1);
6823 if (PyErr_Occurred()) SWIG_fail;
6824 {
6825 PyThreadState* __tstate = wxPyBeginAllowThreads();
6826 (arg1)->SetDefaultBorderSize(arg2);
6827
6828 wxPyEndAllowThreads(__tstate);
6829 if (PyErr_Occurred()) SWIG_fail;
6830 }
6831 Py_INCREF(Py_None); resultobj = Py_None;
6832 return resultobj;
6833 fail:
6834 return NULL;
6835 }
6836
6837
6838 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6839 PyObject *resultobj;
6840 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6841 int result;
6842 PyObject * obj0 = 0 ;
6843 char *kwnames[] = {
6844 (char *) "self", NULL
6845 };
6846
6847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6850 {
6851 PyThreadState* __tstate = wxPyBeginAllowThreads();
6852 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6853
6854 wxPyEndAllowThreads(__tstate);
6855 if (PyErr_Occurred()) SWIG_fail;
6856 }
6857 resultobj = SWIG_FromInt((int)result);
6858 return resultobj;
6859 fail:
6860 return NULL;
6861 }
6862
6863
6864 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6865 PyObject *resultobj;
6866 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6867 int arg2 ;
6868 PyObject * obj0 = 0 ;
6869 PyObject * obj1 = 0 ;
6870 char *kwnames[] = {
6871 (char *) "self",(char *) "width", NULL
6872 };
6873
6874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6877 arg2 = (int) SWIG_AsInt(obj1);
6878 if (PyErr_Occurred()) SWIG_fail;
6879 {
6880 PyThreadState* __tstate = wxPyBeginAllowThreads();
6881 (arg1)->SetExtraBorderSize(arg2);
6882
6883 wxPyEndAllowThreads(__tstate);
6884 if (PyErr_Occurred()) SWIG_fail;
6885 }
6886 Py_INCREF(Py_None); resultobj = Py_None;
6887 return resultobj;
6888 fail:
6889 return NULL;
6890 }
6891
6892
6893 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6894 PyObject *resultobj;
6895 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6896 int result;
6897 PyObject * obj0 = 0 ;
6898 char *kwnames[] = {
6899 (char *) "self", NULL
6900 };
6901
6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6905 {
6906 PyThreadState* __tstate = wxPyBeginAllowThreads();
6907 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6908
6909 wxPyEndAllowThreads(__tstate);
6910 if (PyErr_Occurred()) SWIG_fail;
6911 }
6912 resultobj = SWIG_FromInt((int)result);
6913 return resultobj;
6914 fail:
6915 return NULL;
6916 }
6917
6918
6919 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6920 PyObject *resultobj;
6921 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6922 int arg2 ;
6923 PyObject * obj0 = 0 ;
6924 PyObject * obj1 = 0 ;
6925 char *kwnames[] = {
6926 (char *) "self",(char *) "min", NULL
6927 };
6928
6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6932 arg2 = (int) SWIG_AsInt(obj1);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 {
6935 PyThreadState* __tstate = wxPyBeginAllowThreads();
6936 (arg1)->SetMinimumSizeX(arg2);
6937
6938 wxPyEndAllowThreads(__tstate);
6939 if (PyErr_Occurred()) SWIG_fail;
6940 }
6941 Py_INCREF(Py_None); resultobj = Py_None;
6942 return resultobj;
6943 fail:
6944 return NULL;
6945 }
6946
6947
6948 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6949 PyObject *resultobj;
6950 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6951 int arg2 ;
6952 PyObject * obj0 = 0 ;
6953 PyObject * obj1 = 0 ;
6954 char *kwnames[] = {
6955 (char *) "self",(char *) "min", NULL
6956 };
6957
6958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
6959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6961 arg2 = (int) SWIG_AsInt(obj1);
6962 if (PyErr_Occurred()) SWIG_fail;
6963 {
6964 PyThreadState* __tstate = wxPyBeginAllowThreads();
6965 (arg1)->SetMinimumSizeY(arg2);
6966
6967 wxPyEndAllowThreads(__tstate);
6968 if (PyErr_Occurred()) SWIG_fail;
6969 }
6970 Py_INCREF(Py_None); resultobj = Py_None;
6971 return resultobj;
6972 fail:
6973 return NULL;
6974 }
6975
6976
6977 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6978 PyObject *resultobj;
6979 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6980 int result;
6981 PyObject * obj0 = 0 ;
6982 char *kwnames[] = {
6983 (char *) "self", NULL
6984 };
6985
6986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6989 {
6990 PyThreadState* __tstate = wxPyBeginAllowThreads();
6991 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6992
6993 wxPyEndAllowThreads(__tstate);
6994 if (PyErr_Occurred()) SWIG_fail;
6995 }
6996 resultobj = SWIG_FromInt((int)result);
6997 return resultobj;
6998 fail:
6999 return NULL;
7000 }
7001
7002
7003 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7004 PyObject *resultobj;
7005 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7006 int result;
7007 PyObject * obj0 = 0 ;
7008 char *kwnames[] = {
7009 (char *) "self", NULL
7010 };
7011
7012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7015 {
7016 PyThreadState* __tstate = wxPyBeginAllowThreads();
7017 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7018
7019 wxPyEndAllowThreads(__tstate);
7020 if (PyErr_Occurred()) SWIG_fail;
7021 }
7022 resultobj = SWIG_FromInt((int)result);
7023 return resultobj;
7024 fail:
7025 return NULL;
7026 }
7027
7028
7029 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7030 PyObject *resultobj;
7031 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7032 int arg2 ;
7033 PyObject * obj0 = 0 ;
7034 PyObject * obj1 = 0 ;
7035 char *kwnames[] = {
7036 (char *) "self",(char *) "max", NULL
7037 };
7038
7039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7042 arg2 = (int) SWIG_AsInt(obj1);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 {
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
7046 (arg1)->SetMaximumSizeX(arg2);
7047
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 Py_INCREF(Py_None); resultobj = Py_None;
7052 return resultobj;
7053 fail:
7054 return NULL;
7055 }
7056
7057
7058 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7059 PyObject *resultobj;
7060 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7061 int arg2 ;
7062 PyObject * obj0 = 0 ;
7063 PyObject * obj1 = 0 ;
7064 char *kwnames[] = {
7065 (char *) "self",(char *) "max", NULL
7066 };
7067
7068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7071 arg2 = (int) SWIG_AsInt(obj1);
7072 if (PyErr_Occurred()) SWIG_fail;
7073 {
7074 PyThreadState* __tstate = wxPyBeginAllowThreads();
7075 (arg1)->SetMaximumSizeY(arg2);
7076
7077 wxPyEndAllowThreads(__tstate);
7078 if (PyErr_Occurred()) SWIG_fail;
7079 }
7080 Py_INCREF(Py_None); resultobj = Py_None;
7081 return resultobj;
7082 fail:
7083 return NULL;
7084 }
7085
7086
7087 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7088 PyObject *resultobj;
7089 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7090 int result;
7091 PyObject * obj0 = 0 ;
7092 char *kwnames[] = {
7093 (char *) "self", NULL
7094 };
7095
7096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7099 {
7100 PyThreadState* __tstate = wxPyBeginAllowThreads();
7101 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7102
7103 wxPyEndAllowThreads(__tstate);
7104 if (PyErr_Occurred()) SWIG_fail;
7105 }
7106 resultobj = SWIG_FromInt((int)result);
7107 return resultobj;
7108 fail:
7109 return NULL;
7110 }
7111
7112
7113 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7114 PyObject *resultobj;
7115 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7116 int result;
7117 PyObject * obj0 = 0 ;
7118 char *kwnames[] = {
7119 (char *) "self", NULL
7120 };
7121
7122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7125 {
7126 PyThreadState* __tstate = wxPyBeginAllowThreads();
7127 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7128
7129 wxPyEndAllowThreads(__tstate);
7130 if (PyErr_Occurred()) SWIG_fail;
7131 }
7132 resultobj = SWIG_FromInt((int)result);
7133 return resultobj;
7134 fail:
7135 return NULL;
7136 }
7137
7138
7139 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7140 PyObject *resultobj;
7141 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7142 int arg2 ;
7143 int arg3 ;
7144 int arg4 = (int) 2 ;
7145 int result;
7146 PyObject * obj0 = 0 ;
7147 PyObject * obj1 = 0 ;
7148 PyObject * obj2 = 0 ;
7149 PyObject * obj3 = 0 ;
7150 char *kwnames[] = {
7151 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7152 };
7153
7154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7157 arg2 = (int) SWIG_AsInt(obj1);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 arg3 = (int) SWIG_AsInt(obj2);
7160 if (PyErr_Occurred()) SWIG_fail;
7161 if (obj3) {
7162 arg4 = (int) SWIG_AsInt(obj3);
7163 if (PyErr_Occurred()) SWIG_fail;
7164 }
7165 {
7166 PyThreadState* __tstate = wxPyBeginAllowThreads();
7167 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7168
7169 wxPyEndAllowThreads(__tstate);
7170 if (PyErr_Occurred()) SWIG_fail;
7171 }
7172 resultobj = SWIG_FromInt((int)result);
7173 return resultobj;
7174 fail:
7175 return NULL;
7176 }
7177
7178
7179 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7180 PyObject *resultobj;
7181 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7182 PyObject * obj0 = 0 ;
7183 char *kwnames[] = {
7184 (char *) "self", NULL
7185 };
7186
7187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7190 {
7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
7192 (arg1)->SizeWindows();
7193
7194 wxPyEndAllowThreads(__tstate);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 Py_INCREF(Py_None); resultobj = Py_None;
7198 return resultobj;
7199 fail:
7200 return NULL;
7201 }
7202
7203
7204 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7205 PyObject *obj;
7206 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7207 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7208 Py_INCREF(obj);
7209 return Py_BuildValue((char *)"");
7210 }
7211 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7212 PyObject *resultobj;
7213 int arg1 = (int) 0 ;
7214 int arg2 = (int) wxSASH_NONE ;
7215 wxSashEvent *result;
7216 PyObject * obj0 = 0 ;
7217 PyObject * obj1 = 0 ;
7218 char *kwnames[] = {
7219 (char *) "id",(char *) "edge", NULL
7220 };
7221
7222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7223 if (obj0) {
7224 arg1 = (int) SWIG_AsInt(obj0);
7225 if (PyErr_Occurred()) SWIG_fail;
7226 }
7227 if (obj1) {
7228 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7229 if (PyErr_Occurred()) SWIG_fail;
7230 }
7231 {
7232 PyThreadState* __tstate = wxPyBeginAllowThreads();
7233 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7234
7235 wxPyEndAllowThreads(__tstate);
7236 if (PyErr_Occurred()) SWIG_fail;
7237 }
7238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7239 return resultobj;
7240 fail:
7241 return NULL;
7242 }
7243
7244
7245 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7246 PyObject *resultobj;
7247 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7248 int arg2 ;
7249 PyObject * obj0 = 0 ;
7250 PyObject * obj1 = 0 ;
7251 char *kwnames[] = {
7252 (char *) "self",(char *) "edge", NULL
7253 };
7254
7255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7258 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7259 if (PyErr_Occurred()) SWIG_fail;
7260 {
7261 PyThreadState* __tstate = wxPyBeginAllowThreads();
7262 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7263
7264 wxPyEndAllowThreads(__tstate);
7265 if (PyErr_Occurred()) SWIG_fail;
7266 }
7267 Py_INCREF(Py_None); resultobj = Py_None;
7268 return resultobj;
7269 fail:
7270 return NULL;
7271 }
7272
7273
7274 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7275 PyObject *resultobj;
7276 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7277 int result;
7278 PyObject * obj0 = 0 ;
7279 char *kwnames[] = {
7280 (char *) "self", NULL
7281 };
7282
7283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7286 {
7287 PyThreadState* __tstate = wxPyBeginAllowThreads();
7288 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7289
7290 wxPyEndAllowThreads(__tstate);
7291 if (PyErr_Occurred()) SWIG_fail;
7292 }
7293 resultobj = SWIG_FromInt((int)result);
7294 return resultobj;
7295 fail:
7296 return NULL;
7297 }
7298
7299
7300 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7301 PyObject *resultobj;
7302 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7303 wxRect *arg2 = 0 ;
7304 wxRect temp2 ;
7305 PyObject * obj0 = 0 ;
7306 PyObject * obj1 = 0 ;
7307 char *kwnames[] = {
7308 (char *) "self",(char *) "rect", NULL
7309 };
7310
7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7314 {
7315 arg2 = &temp2;
7316 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7317 }
7318 {
7319 PyThreadState* __tstate = wxPyBeginAllowThreads();
7320 (arg1)->SetDragRect((wxRect const &)*arg2);
7321
7322 wxPyEndAllowThreads(__tstate);
7323 if (PyErr_Occurred()) SWIG_fail;
7324 }
7325 Py_INCREF(Py_None); resultobj = Py_None;
7326 return resultobj;
7327 fail:
7328 return NULL;
7329 }
7330
7331
7332 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7333 PyObject *resultobj;
7334 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7335 wxRect result;
7336 PyObject * obj0 = 0 ;
7337 char *kwnames[] = {
7338 (char *) "self", NULL
7339 };
7340
7341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 result = ((wxSashEvent const *)arg1)->GetDragRect();
7347
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 {
7352 wxRect * resultptr;
7353 resultptr = new wxRect((wxRect &) result);
7354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7355 }
7356 return resultobj;
7357 fail:
7358 return NULL;
7359 }
7360
7361
7362 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj;
7364 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7365 int arg2 ;
7366 PyObject * obj0 = 0 ;
7367 PyObject * obj1 = 0 ;
7368 char *kwnames[] = {
7369 (char *) "self",(char *) "status", NULL
7370 };
7371
7372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7375 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7376 if (PyErr_Occurred()) SWIG_fail;
7377 {
7378 PyThreadState* __tstate = wxPyBeginAllowThreads();
7379 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7380
7381 wxPyEndAllowThreads(__tstate);
7382 if (PyErr_Occurred()) SWIG_fail;
7383 }
7384 Py_INCREF(Py_None); resultobj = Py_None;
7385 return resultobj;
7386 fail:
7387 return NULL;
7388 }
7389
7390
7391 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7392 PyObject *resultobj;
7393 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7394 int result;
7395 PyObject * obj0 = 0 ;
7396 char *kwnames[] = {
7397 (char *) "self", NULL
7398 };
7399
7400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7403 {
7404 PyThreadState* __tstate = wxPyBeginAllowThreads();
7405 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7406
7407 wxPyEndAllowThreads(__tstate);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 resultobj = SWIG_FromInt((int)result);
7411 return resultobj;
7412 fail:
7413 return NULL;
7414 }
7415
7416
7417 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7418 PyObject *obj;
7419 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7420 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7421 Py_INCREF(obj);
7422 return Py_BuildValue((char *)"");
7423 }
7424 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7425 PyObject *resultobj;
7426 int arg1 = (int) 0 ;
7427 wxQueryLayoutInfoEvent *result;
7428 PyObject * obj0 = 0 ;
7429 char *kwnames[] = {
7430 (char *) "id", NULL
7431 };
7432
7433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7434 if (obj0) {
7435 arg1 = (int) SWIG_AsInt(obj0);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 {
7439 PyThreadState* __tstate = wxPyBeginAllowThreads();
7440 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7441
7442 wxPyEndAllowThreads(__tstate);
7443 if (PyErr_Occurred()) SWIG_fail;
7444 }
7445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7446 return resultobj;
7447 fail:
7448 return NULL;
7449 }
7450
7451
7452 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7453 PyObject *resultobj;
7454 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7455 int arg2 ;
7456 PyObject * obj0 = 0 ;
7457 PyObject * obj1 = 0 ;
7458 char *kwnames[] = {
7459 (char *) "self",(char *) "length", NULL
7460 };
7461
7462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7465 arg2 = (int) SWIG_AsInt(obj1);
7466 if (PyErr_Occurred()) SWIG_fail;
7467 {
7468 PyThreadState* __tstate = wxPyBeginAllowThreads();
7469 (arg1)->SetRequestedLength(arg2);
7470
7471 wxPyEndAllowThreads(__tstate);
7472 if (PyErr_Occurred()) SWIG_fail;
7473 }
7474 Py_INCREF(Py_None); resultobj = Py_None;
7475 return resultobj;
7476 fail:
7477 return NULL;
7478 }
7479
7480
7481 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7482 PyObject *resultobj;
7483 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7484 int result;
7485 PyObject * obj0 = 0 ;
7486 char *kwnames[] = {
7487 (char *) "self", NULL
7488 };
7489
7490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7493 {
7494 PyThreadState* __tstate = wxPyBeginAllowThreads();
7495 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7496
7497 wxPyEndAllowThreads(__tstate);
7498 if (PyErr_Occurred()) SWIG_fail;
7499 }
7500 resultobj = SWIG_FromInt((int)result);
7501 return resultobj;
7502 fail:
7503 return NULL;
7504 }
7505
7506
7507 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7508 PyObject *resultobj;
7509 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7510 int arg2 ;
7511 PyObject * obj0 = 0 ;
7512 PyObject * obj1 = 0 ;
7513 char *kwnames[] = {
7514 (char *) "self",(char *) "flags", NULL
7515 };
7516
7517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7520 arg2 = (int) SWIG_AsInt(obj1);
7521 if (PyErr_Occurred()) SWIG_fail;
7522 {
7523 PyThreadState* __tstate = wxPyBeginAllowThreads();
7524 (arg1)->SetFlags(arg2);
7525
7526 wxPyEndAllowThreads(__tstate);
7527 if (PyErr_Occurred()) SWIG_fail;
7528 }
7529 Py_INCREF(Py_None); resultobj = Py_None;
7530 return resultobj;
7531 fail:
7532 return NULL;
7533 }
7534
7535
7536 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7537 PyObject *resultobj;
7538 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7539 int result;
7540 PyObject * obj0 = 0 ;
7541 char *kwnames[] = {
7542 (char *) "self", NULL
7543 };
7544
7545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7548 {
7549 PyThreadState* __tstate = wxPyBeginAllowThreads();
7550 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7551
7552 wxPyEndAllowThreads(__tstate);
7553 if (PyErr_Occurred()) SWIG_fail;
7554 }
7555 resultobj = SWIG_FromInt((int)result);
7556 return resultobj;
7557 fail:
7558 return NULL;
7559 }
7560
7561
7562 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7563 PyObject *resultobj;
7564 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7565 wxSize *arg2 = 0 ;
7566 wxSize temp2 ;
7567 PyObject * obj0 = 0 ;
7568 PyObject * obj1 = 0 ;
7569 char *kwnames[] = {
7570 (char *) "self",(char *) "size", NULL
7571 };
7572
7573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7576 {
7577 arg2 = &temp2;
7578 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7579 }
7580 {
7581 PyThreadState* __tstate = wxPyBeginAllowThreads();
7582 (arg1)->SetSize((wxSize const &)*arg2);
7583
7584 wxPyEndAllowThreads(__tstate);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
7587 Py_INCREF(Py_None); resultobj = Py_None;
7588 return resultobj;
7589 fail:
7590 return NULL;
7591 }
7592
7593
7594 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7595 PyObject *resultobj;
7596 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7597 wxSize result;
7598 PyObject * obj0 = 0 ;
7599 char *kwnames[] = {
7600 (char *) "self", NULL
7601 };
7602
7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7606 {
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7609
7610 wxPyEndAllowThreads(__tstate);
7611 if (PyErr_Occurred()) SWIG_fail;
7612 }
7613 {
7614 wxSize * resultptr;
7615 resultptr = new wxSize((wxSize &) result);
7616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7617 }
7618 return resultobj;
7619 fail:
7620 return NULL;
7621 }
7622
7623
7624 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7625 PyObject *resultobj;
7626 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7627 int arg2 ;
7628 PyObject * obj0 = 0 ;
7629 PyObject * obj1 = 0 ;
7630 char *kwnames[] = {
7631 (char *) "self",(char *) "orient", NULL
7632 };
7633
7634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7637 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7638 if (PyErr_Occurred()) SWIG_fail;
7639 {
7640 PyThreadState* __tstate = wxPyBeginAllowThreads();
7641 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7642
7643 wxPyEndAllowThreads(__tstate);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 }
7646 Py_INCREF(Py_None); resultobj = Py_None;
7647 return resultobj;
7648 fail:
7649 return NULL;
7650 }
7651
7652
7653 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7654 PyObject *resultobj;
7655 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7656 int result;
7657 PyObject * obj0 = 0 ;
7658 char *kwnames[] = {
7659 (char *) "self", NULL
7660 };
7661
7662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7665 {
7666 PyThreadState* __tstate = wxPyBeginAllowThreads();
7667 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7668
7669 wxPyEndAllowThreads(__tstate);
7670 if (PyErr_Occurred()) SWIG_fail;
7671 }
7672 resultobj = SWIG_FromInt((int)result);
7673 return resultobj;
7674 fail:
7675 return NULL;
7676 }
7677
7678
7679 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7680 PyObject *resultobj;
7681 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7682 int arg2 ;
7683 PyObject * obj0 = 0 ;
7684 PyObject * obj1 = 0 ;
7685 char *kwnames[] = {
7686 (char *) "self",(char *) "align", NULL
7687 };
7688
7689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7692 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7693 if (PyErr_Occurred()) SWIG_fail;
7694 {
7695 PyThreadState* __tstate = wxPyBeginAllowThreads();
7696 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7697
7698 wxPyEndAllowThreads(__tstate);
7699 if (PyErr_Occurred()) SWIG_fail;
7700 }
7701 Py_INCREF(Py_None); resultobj = Py_None;
7702 return resultobj;
7703 fail:
7704 return NULL;
7705 }
7706
7707
7708 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7709 PyObject *resultobj;
7710 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7711 int result;
7712 PyObject * obj0 = 0 ;
7713 char *kwnames[] = {
7714 (char *) "self", NULL
7715 };
7716
7717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7723
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 resultobj = SWIG_FromInt((int)result);
7728 return resultobj;
7729 fail:
7730 return NULL;
7731 }
7732
7733
7734 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7735 PyObject *obj;
7736 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7737 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7738 Py_INCREF(obj);
7739 return Py_BuildValue((char *)"");
7740 }
7741 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7742 PyObject *resultobj;
7743 int arg1 = (int) 0 ;
7744 wxCalculateLayoutEvent *result;
7745 PyObject * obj0 = 0 ;
7746 char *kwnames[] = {
7747 (char *) "id", NULL
7748 };
7749
7750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7751 if (obj0) {
7752 arg1 = (int) SWIG_AsInt(obj0);
7753 if (PyErr_Occurred()) SWIG_fail;
7754 }
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7758
7759 wxPyEndAllowThreads(__tstate);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 }
7762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7763 return resultobj;
7764 fail:
7765 return NULL;
7766 }
7767
7768
7769 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7770 PyObject *resultobj;
7771 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7772 int arg2 ;
7773 PyObject * obj0 = 0 ;
7774 PyObject * obj1 = 0 ;
7775 char *kwnames[] = {
7776 (char *) "self",(char *) "flags", NULL
7777 };
7778
7779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7782 arg2 = (int) SWIG_AsInt(obj1);
7783 if (PyErr_Occurred()) SWIG_fail;
7784 {
7785 PyThreadState* __tstate = wxPyBeginAllowThreads();
7786 (arg1)->SetFlags(arg2);
7787
7788 wxPyEndAllowThreads(__tstate);
7789 if (PyErr_Occurred()) SWIG_fail;
7790 }
7791 Py_INCREF(Py_None); resultobj = Py_None;
7792 return resultobj;
7793 fail:
7794 return NULL;
7795 }
7796
7797
7798 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7799 PyObject *resultobj;
7800 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7801 int result;
7802 PyObject * obj0 = 0 ;
7803 char *kwnames[] = {
7804 (char *) "self", NULL
7805 };
7806
7807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
7812 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7813
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
7817 resultobj = SWIG_FromInt((int)result);
7818 return resultobj;
7819 fail:
7820 return NULL;
7821 }
7822
7823
7824 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7825 PyObject *resultobj;
7826 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7827 wxRect *arg2 = 0 ;
7828 wxRect temp2 ;
7829 PyObject * obj0 = 0 ;
7830 PyObject * obj1 = 0 ;
7831 char *kwnames[] = {
7832 (char *) "self",(char *) "rect", NULL
7833 };
7834
7835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7838 {
7839 arg2 = &temp2;
7840 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7841 }
7842 {
7843 PyThreadState* __tstate = wxPyBeginAllowThreads();
7844 (arg1)->SetRect((wxRect const &)*arg2);
7845
7846 wxPyEndAllowThreads(__tstate);
7847 if (PyErr_Occurred()) SWIG_fail;
7848 }
7849 Py_INCREF(Py_None); resultobj = Py_None;
7850 return resultobj;
7851 fail:
7852 return NULL;
7853 }
7854
7855
7856 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7857 PyObject *resultobj;
7858 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7859 wxRect result;
7860 PyObject * obj0 = 0 ;
7861 char *kwnames[] = {
7862 (char *) "self", NULL
7863 };
7864
7865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7868 {
7869 PyThreadState* __tstate = wxPyBeginAllowThreads();
7870 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7871
7872 wxPyEndAllowThreads(__tstate);
7873 if (PyErr_Occurred()) SWIG_fail;
7874 }
7875 {
7876 wxRect * resultptr;
7877 resultptr = new wxRect((wxRect &) result);
7878 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7879 }
7880 return resultobj;
7881 fail:
7882 return NULL;
7883 }
7884
7885
7886 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7887 PyObject *obj;
7888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7889 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7890 Py_INCREF(obj);
7891 return Py_BuildValue((char *)"");
7892 }
7893 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7894 PyObject *resultobj;
7895 wxWindow *arg1 = (wxWindow *) 0 ;
7896 int arg2 ;
7897 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7898 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7899 wxSize const &arg4_defvalue = wxDefaultSize ;
7900 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7901 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7902 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7903 wxString *arg6 = (wxString *) &arg6_defvalue ;
7904 wxSashLayoutWindow *result;
7905 wxPoint temp3 ;
7906 wxSize temp4 ;
7907 bool temp6 = False ;
7908 PyObject * obj0 = 0 ;
7909 PyObject * obj1 = 0 ;
7910 PyObject * obj2 = 0 ;
7911 PyObject * obj3 = 0 ;
7912 PyObject * obj4 = 0 ;
7913 PyObject * obj5 = 0 ;
7914 char *kwnames[] = {
7915 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7916 };
7917
7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7921 arg2 = (int) SWIG_AsInt(obj1);
7922 if (PyErr_Occurred()) SWIG_fail;
7923 if (obj2) {
7924 {
7925 arg3 = &temp3;
7926 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7927 }
7928 }
7929 if (obj3) {
7930 {
7931 arg4 = &temp4;
7932 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7933 }
7934 }
7935 if (obj4) {
7936 arg5 = (long) SWIG_AsLong(obj4);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 }
7939 if (obj5) {
7940 {
7941 arg6 = wxString_in_helper(obj5);
7942 if (arg6 == NULL) SWIG_fail;
7943 temp6 = True;
7944 }
7945 }
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7954 {
7955 if (temp6)
7956 delete arg6;
7957 }
7958 return resultobj;
7959 fail:
7960 {
7961 if (temp6)
7962 delete arg6;
7963 }
7964 return NULL;
7965 }
7966
7967
7968 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7969 PyObject *resultobj;
7970 wxSashLayoutWindow *result;
7971 char *kwnames[] = {
7972 NULL
7973 };
7974
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7976 {
7977 PyThreadState* __tstate = wxPyBeginAllowThreads();
7978 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7979
7980 wxPyEndAllowThreads(__tstate);
7981 if (PyErr_Occurred()) SWIG_fail;
7982 }
7983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7984 return resultobj;
7985 fail:
7986 return NULL;
7987 }
7988
7989
7990 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7991 PyObject *resultobj;
7992 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7993 wxWindow *arg2 = (wxWindow *) 0 ;
7994 int arg3 ;
7995 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7996 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7997 wxSize const &arg5_defvalue = wxDefaultSize ;
7998 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7999 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8000 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8001 wxString *arg7 = (wxString *) &arg7_defvalue ;
8002 bool result;
8003 wxPoint temp4 ;
8004 wxSize temp5 ;
8005 bool temp7 = False ;
8006 PyObject * obj0 = 0 ;
8007 PyObject * obj1 = 0 ;
8008 PyObject * obj2 = 0 ;
8009 PyObject * obj3 = 0 ;
8010 PyObject * obj4 = 0 ;
8011 PyObject * obj5 = 0 ;
8012 PyObject * obj6 = 0 ;
8013 char *kwnames[] = {
8014 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8015 };
8016
8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8022 arg3 = (int) SWIG_AsInt(obj2);
8023 if (PyErr_Occurred()) SWIG_fail;
8024 if (obj3) {
8025 {
8026 arg4 = &temp4;
8027 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8028 }
8029 }
8030 if (obj4) {
8031 {
8032 arg5 = &temp5;
8033 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8034 }
8035 }
8036 if (obj5) {
8037 arg6 = (long) SWIG_AsLong(obj5);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 if (obj6) {
8041 {
8042 arg7 = wxString_in_helper(obj6);
8043 if (arg7 == NULL) SWIG_fail;
8044 temp7 = True;
8045 }
8046 }
8047 {
8048 PyThreadState* __tstate = wxPyBeginAllowThreads();
8049 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8050
8051 wxPyEndAllowThreads(__tstate);
8052 if (PyErr_Occurred()) SWIG_fail;
8053 }
8054 {
8055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8056 }
8057 {
8058 if (temp7)
8059 delete arg7;
8060 }
8061 return resultobj;
8062 fail:
8063 {
8064 if (temp7)
8065 delete arg7;
8066 }
8067 return NULL;
8068 }
8069
8070
8071 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8072 PyObject *resultobj;
8073 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8074 int result;
8075 PyObject * obj0 = 0 ;
8076 char *kwnames[] = {
8077 (char *) "self", NULL
8078 };
8079
8080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8083 {
8084 PyThreadState* __tstate = wxPyBeginAllowThreads();
8085 result = (int)(arg1)->GetAlignment();
8086
8087 wxPyEndAllowThreads(__tstate);
8088 if (PyErr_Occurred()) SWIG_fail;
8089 }
8090 resultobj = SWIG_FromInt((int)result);
8091 return resultobj;
8092 fail:
8093 return NULL;
8094 }
8095
8096
8097 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8098 PyObject *resultobj;
8099 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8100 int result;
8101 PyObject * obj0 = 0 ;
8102 char *kwnames[] = {
8103 (char *) "self", NULL
8104 };
8105
8106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8109 {
8110 PyThreadState* __tstate = wxPyBeginAllowThreads();
8111 result = (int)(arg1)->GetOrientation();
8112
8113 wxPyEndAllowThreads(__tstate);
8114 if (PyErr_Occurred()) SWIG_fail;
8115 }
8116 resultobj = SWIG_FromInt((int)result);
8117 return resultobj;
8118 fail:
8119 return NULL;
8120 }
8121
8122
8123 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8124 PyObject *resultobj;
8125 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8126 int arg2 ;
8127 PyObject * obj0 = 0 ;
8128 PyObject * obj1 = 0 ;
8129 char *kwnames[] = {
8130 (char *) "self",(char *) "alignment", NULL
8131 };
8132
8133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8136 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8137 if (PyErr_Occurred()) SWIG_fail;
8138 {
8139 PyThreadState* __tstate = wxPyBeginAllowThreads();
8140 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8141
8142 wxPyEndAllowThreads(__tstate);
8143 if (PyErr_Occurred()) SWIG_fail;
8144 }
8145 Py_INCREF(Py_None); resultobj = Py_None;
8146 return resultobj;
8147 fail:
8148 return NULL;
8149 }
8150
8151
8152 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8153 PyObject *resultobj;
8154 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8155 wxSize *arg2 = 0 ;
8156 wxSize temp2 ;
8157 PyObject * obj0 = 0 ;
8158 PyObject * obj1 = 0 ;
8159 char *kwnames[] = {
8160 (char *) "self",(char *) "size", NULL
8161 };
8162
8163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8166 {
8167 arg2 = &temp2;
8168 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8169 }
8170 {
8171 PyThreadState* __tstate = wxPyBeginAllowThreads();
8172 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8173
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 Py_INCREF(Py_None); resultobj = Py_None;
8178 return resultobj;
8179 fail:
8180 return NULL;
8181 }
8182
8183
8184 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8185 PyObject *resultobj;
8186 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8187 int arg2 ;
8188 PyObject * obj0 = 0 ;
8189 PyObject * obj1 = 0 ;
8190 char *kwnames[] = {
8191 (char *) "self",(char *) "orientation", NULL
8192 };
8193
8194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8197 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 {
8200 PyThreadState* __tstate = wxPyBeginAllowThreads();
8201 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8202
8203 wxPyEndAllowThreads(__tstate);
8204 if (PyErr_Occurred()) SWIG_fail;
8205 }
8206 Py_INCREF(Py_None); resultobj = Py_None;
8207 return resultobj;
8208 fail:
8209 return NULL;
8210 }
8211
8212
8213 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8214 PyObject *obj;
8215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8216 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8217 Py_INCREF(obj);
8218 return Py_BuildValue((char *)"");
8219 }
8220 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8221 PyObject *resultobj;
8222 wxLayoutAlgorithm *result;
8223 char *kwnames[] = {
8224 NULL
8225 };
8226
8227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8228 {
8229 PyThreadState* __tstate = wxPyBeginAllowThreads();
8230 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8231
8232 wxPyEndAllowThreads(__tstate);
8233 if (PyErr_Occurred()) SWIG_fail;
8234 }
8235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8236 return resultobj;
8237 fail:
8238 return NULL;
8239 }
8240
8241
8242 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8243 PyObject *resultobj;
8244 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8245 PyObject * obj0 = 0 ;
8246 char *kwnames[] = {
8247 (char *) "self", NULL
8248 };
8249
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8253 {
8254 PyThreadState* __tstate = wxPyBeginAllowThreads();
8255 delete arg1;
8256
8257 wxPyEndAllowThreads(__tstate);
8258 if (PyErr_Occurred()) SWIG_fail;
8259 }
8260 Py_INCREF(Py_None); resultobj = Py_None;
8261 return resultobj;
8262 fail:
8263 return NULL;
8264 }
8265
8266
8267 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8268 PyObject *resultobj;
8269 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8270 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8271 wxRect *arg3 = (wxRect *) NULL ;
8272 bool result;
8273 PyObject * obj0 = 0 ;
8274 PyObject * obj1 = 0 ;
8275 PyObject * obj2 = 0 ;
8276 char *kwnames[] = {
8277 (char *) "self",(char *) "frame",(char *) "rect", NULL
8278 };
8279
8280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8283 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8285 if (obj2) {
8286 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8288 }
8289 {
8290 PyThreadState* __tstate = wxPyBeginAllowThreads();
8291 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8292
8293 wxPyEndAllowThreads(__tstate);
8294 if (PyErr_Occurred()) SWIG_fail;
8295 }
8296 {
8297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8298 }
8299 return resultobj;
8300 fail:
8301 return NULL;
8302 }
8303
8304
8305 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8306 PyObject *resultobj;
8307 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8308 wxFrame *arg2 = (wxFrame *) 0 ;
8309 wxWindow *arg3 = (wxWindow *) NULL ;
8310 bool result;
8311 PyObject * obj0 = 0 ;
8312 PyObject * obj1 = 0 ;
8313 PyObject * obj2 = 0 ;
8314 char *kwnames[] = {
8315 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8316 };
8317
8318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8321 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8323 if (obj2) {
8324 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8326 }
8327 {
8328 PyThreadState* __tstate = wxPyBeginAllowThreads();
8329 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8330
8331 wxPyEndAllowThreads(__tstate);
8332 if (PyErr_Occurred()) SWIG_fail;
8333 }
8334 {
8335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8336 }
8337 return resultobj;
8338 fail:
8339 return NULL;
8340 }
8341
8342
8343 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8344 PyObject *resultobj;
8345 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8346 wxWindow *arg2 = (wxWindow *) 0 ;
8347 wxWindow *arg3 = (wxWindow *) NULL ;
8348 bool result;
8349 PyObject * obj0 = 0 ;
8350 PyObject * obj1 = 0 ;
8351 PyObject * obj2 = 0 ;
8352 char *kwnames[] = {
8353 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8354 };
8355
8356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8359 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8361 if (obj2) {
8362 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8364 }
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 {
8373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8374 }
8375 return resultobj;
8376 fail:
8377 return NULL;
8378 }
8379
8380
8381 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8382 PyObject *obj;
8383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8384 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8385 Py_INCREF(obj);
8386 return Py_BuildValue((char *)"");
8387 }
8388 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8389 PyObject *resultobj;
8390 wxWindow *arg1 = (wxWindow *) 0 ;
8391 int arg2 = (int) wxBORDER_NONE ;
8392 wxPopupWindow *result;
8393 PyObject * obj0 = 0 ;
8394 PyObject * obj1 = 0 ;
8395 char *kwnames[] = {
8396 (char *) "parent",(char *) "flags", NULL
8397 };
8398
8399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8402 if (obj1) {
8403 arg2 = (int) SWIG_AsInt(obj1);
8404 if (PyErr_Occurred()) SWIG_fail;
8405 }
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8409
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) SWIG_fail;
8412 }
8413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8414 return resultobj;
8415 fail:
8416 return NULL;
8417 }
8418
8419
8420 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8421 PyObject *resultobj;
8422 wxPopupWindow *result;
8423 char *kwnames[] = {
8424 NULL
8425 };
8426
8427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8428 {
8429 PyThreadState* __tstate = wxPyBeginAllowThreads();
8430 result = (wxPopupWindow *)new wxPopupWindow();
8431
8432 wxPyEndAllowThreads(__tstate);
8433 if (PyErr_Occurred()) SWIG_fail;
8434 }
8435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8436 return resultobj;
8437 fail:
8438 return NULL;
8439 }
8440
8441
8442 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8443 PyObject *resultobj;
8444 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8445 wxWindow *arg2 = (wxWindow *) 0 ;
8446 int arg3 = (int) wxBORDER_NONE ;
8447 bool result;
8448 PyObject * obj0 = 0 ;
8449 PyObject * obj1 = 0 ;
8450 PyObject * obj2 = 0 ;
8451 char *kwnames[] = {
8452 (char *) "self",(char *) "parent",(char *) "flags", NULL
8453 };
8454
8455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8458 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8460 if (obj2) {
8461 arg3 = (int) SWIG_AsInt(obj2);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
8464 {
8465 PyThreadState* __tstate = wxPyBeginAllowThreads();
8466 result = (bool)(arg1)->Create(arg2,arg3);
8467
8468 wxPyEndAllowThreads(__tstate);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 }
8471 {
8472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8473 }
8474 return resultobj;
8475 fail:
8476 return NULL;
8477 }
8478
8479
8480 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8481 PyObject *resultobj;
8482 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8483 wxPoint *arg2 = 0 ;
8484 wxSize *arg3 = 0 ;
8485 wxPoint temp2 ;
8486 wxSize temp3 ;
8487 PyObject * obj0 = 0 ;
8488 PyObject * obj1 = 0 ;
8489 PyObject * obj2 = 0 ;
8490 char *kwnames[] = {
8491 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8492 };
8493
8494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8497 {
8498 arg2 = &temp2;
8499 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8500 }
8501 {
8502 arg3 = &temp3;
8503 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8504 }
8505 {
8506 PyThreadState* __tstate = wxPyBeginAllowThreads();
8507 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8508
8509 wxPyEndAllowThreads(__tstate);
8510 if (PyErr_Occurred()) SWIG_fail;
8511 }
8512 Py_INCREF(Py_None); resultobj = Py_None;
8513 return resultobj;
8514 fail:
8515 return NULL;
8516 }
8517
8518
8519 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8520 PyObject *obj;
8521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8522 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8523 Py_INCREF(obj);
8524 return Py_BuildValue((char *)"");
8525 }
8526 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8527 PyObject *resultobj;
8528 wxWindow *arg1 = (wxWindow *) 0 ;
8529 int arg2 = (int) wxBORDER_NONE ;
8530 wxPyPopupTransientWindow *result;
8531 PyObject * obj0 = 0 ;
8532 PyObject * obj1 = 0 ;
8533 char *kwnames[] = {
8534 (char *) "parent",(char *) "style", NULL
8535 };
8536
8537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8540 if (obj1) {
8541 arg2 = (int) SWIG_AsInt(obj1);
8542 if (PyErr_Occurred()) SWIG_fail;
8543 }
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8547
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) SWIG_fail;
8550 }
8551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8552 return resultobj;
8553 fail:
8554 return NULL;
8555 }
8556
8557
8558 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8559 PyObject *resultobj;
8560 wxPyPopupTransientWindow *result;
8561 char *kwnames[] = {
8562 NULL
8563 };
8564
8565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8566 {
8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
8568 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8569
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
8573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8574 return resultobj;
8575 fail:
8576 return NULL;
8577 }
8578
8579
8580 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8581 PyObject *resultobj;
8582 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8583 PyObject *arg2 = (PyObject *) 0 ;
8584 PyObject *arg3 = (PyObject *) 0 ;
8585 PyObject * obj0 = 0 ;
8586 PyObject * obj1 = 0 ;
8587 PyObject * obj2 = 0 ;
8588 char *kwnames[] = {
8589 (char *) "self",(char *) "self",(char *) "_class", NULL
8590 };
8591
8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8595 arg2 = obj1;
8596 arg3 = obj2;
8597 {
8598 PyThreadState* __tstate = wxPyBeginAllowThreads();
8599 (arg1)->_setCallbackInfo(arg2,arg3);
8600
8601 wxPyEndAllowThreads(__tstate);
8602 if (PyErr_Occurred()) SWIG_fail;
8603 }
8604 Py_INCREF(Py_None); resultobj = Py_None;
8605 return resultobj;
8606 fail:
8607 return NULL;
8608 }
8609
8610
8611 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8612 PyObject *resultobj;
8613 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8614 wxWindow *arg2 = (wxWindow *) NULL ;
8615 PyObject * obj0 = 0 ;
8616 PyObject * obj1 = 0 ;
8617 char *kwnames[] = {
8618 (char *) "self",(char *) "focus", NULL
8619 };
8620
8621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8624 if (obj1) {
8625 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8627 }
8628 {
8629 PyThreadState* __tstate = wxPyBeginAllowThreads();
8630 (arg1)->Popup(arg2);
8631
8632 wxPyEndAllowThreads(__tstate);
8633 if (PyErr_Occurred()) SWIG_fail;
8634 }
8635 Py_INCREF(Py_None); resultobj = Py_None;
8636 return resultobj;
8637 fail:
8638 return NULL;
8639 }
8640
8641
8642 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8643 PyObject *resultobj;
8644 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8645 PyObject * obj0 = 0 ;
8646 char *kwnames[] = {
8647 (char *) "self", NULL
8648 };
8649
8650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8653 {
8654 PyThreadState* __tstate = wxPyBeginAllowThreads();
8655 (arg1)->Dismiss();
8656
8657 wxPyEndAllowThreads(__tstate);
8658 if (PyErr_Occurred()) SWIG_fail;
8659 }
8660 Py_INCREF(Py_None); resultobj = Py_None;
8661 return resultobj;
8662 fail:
8663 return NULL;
8664 }
8665
8666
8667 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8668 PyObject *obj;
8669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8670 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8671 Py_INCREF(obj);
8672 return Py_BuildValue((char *)"");
8673 }
8674 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8675 PyObject *resultobj;
8676 wxWindow *arg1 = (wxWindow *) 0 ;
8677 wxString *arg2 = 0 ;
8678 int arg3 = (int) 100 ;
8679 wxRect *arg4 = (wxRect *) NULL ;
8680 wxTipWindow *result;
8681 bool temp2 = False ;
8682 PyObject * obj0 = 0 ;
8683 PyObject * obj1 = 0 ;
8684 PyObject * obj2 = 0 ;
8685 PyObject * obj3 = 0 ;
8686 char *kwnames[] = {
8687 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8688 };
8689
8690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8693 {
8694 arg2 = wxString_in_helper(obj1);
8695 if (arg2 == NULL) SWIG_fail;
8696 temp2 = True;
8697 }
8698 if (obj2) {
8699 arg3 = (int) SWIG_AsInt(obj2);
8700 if (PyErr_Occurred()) SWIG_fail;
8701 }
8702 if (obj3) {
8703 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8705 }
8706 {
8707 PyThreadState* __tstate = wxPyBeginAllowThreads();
8708 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8709
8710 wxPyEndAllowThreads(__tstate);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8714 {
8715 if (temp2)
8716 delete arg2;
8717 }
8718 return resultobj;
8719 fail:
8720 {
8721 if (temp2)
8722 delete arg2;
8723 }
8724 return NULL;
8725 }
8726
8727
8728 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8729 PyObject *resultobj;
8730 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8731 wxRect *arg2 = 0 ;
8732 wxRect temp2 ;
8733 PyObject * obj0 = 0 ;
8734 PyObject * obj1 = 0 ;
8735 char *kwnames[] = {
8736 (char *) "self",(char *) "rectBound", NULL
8737 };
8738
8739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8742 {
8743 arg2 = &temp2;
8744 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8745 }
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8749
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 Py_INCREF(Py_None); resultobj = Py_None;
8754 return resultobj;
8755 fail:
8756 return NULL;
8757 }
8758
8759
8760 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8761 PyObject *resultobj;
8762 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8763 PyObject * obj0 = 0 ;
8764 char *kwnames[] = {
8765 (char *) "self", NULL
8766 };
8767
8768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8771 {
8772 PyThreadState* __tstate = wxPyBeginAllowThreads();
8773 (arg1)->Close();
8774
8775 wxPyEndAllowThreads(__tstate);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 }
8778 Py_INCREF(Py_None); resultobj = Py_None;
8779 return resultobj;
8780 fail:
8781 return NULL;
8782 }
8783
8784
8785 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8786 PyObject *obj;
8787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8788 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8789 Py_INCREF(obj);
8790 return Py_BuildValue((char *)"");
8791 }
8792 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8793 PyObject *resultobj;
8794 wxWindow *arg1 = (wxWindow *) 0 ;
8795 int arg2 = (int) wxID_ANY ;
8796 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8797 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8798 wxSize const &arg4_defvalue = wxDefaultSize ;
8799 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8800 long arg5 = (long) 0 ;
8801 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8802 wxString *arg6 = (wxString *) &arg6_defvalue ;
8803 wxPyVScrolledWindow *result;
8804 wxPoint temp3 ;
8805 wxSize temp4 ;
8806 bool temp6 = False ;
8807 PyObject * obj0 = 0 ;
8808 PyObject * obj1 = 0 ;
8809 PyObject * obj2 = 0 ;
8810 PyObject * obj3 = 0 ;
8811 PyObject * obj4 = 0 ;
8812 PyObject * obj5 = 0 ;
8813 char *kwnames[] = {
8814 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8815 };
8816
8817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8820 if (obj1) {
8821 arg2 = (int) SWIG_AsInt(obj1);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 }
8824 if (obj2) {
8825 {
8826 arg3 = &temp3;
8827 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8828 }
8829 }
8830 if (obj3) {
8831 {
8832 arg4 = &temp4;
8833 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8834 }
8835 }
8836 if (obj4) {
8837 arg5 = (long) SWIG_AsLong(obj4);
8838 if (PyErr_Occurred()) SWIG_fail;
8839 }
8840 if (obj5) {
8841 {
8842 arg6 = wxString_in_helper(obj5);
8843 if (arg6 == NULL) SWIG_fail;
8844 temp6 = True;
8845 }
8846 }
8847 {
8848 PyThreadState* __tstate = wxPyBeginAllowThreads();
8849 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8850
8851 wxPyEndAllowThreads(__tstate);
8852 if (PyErr_Occurred()) SWIG_fail;
8853 }
8854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8855 {
8856 if (temp6)
8857 delete arg6;
8858 }
8859 return resultobj;
8860 fail:
8861 {
8862 if (temp6)
8863 delete arg6;
8864 }
8865 return NULL;
8866 }
8867
8868
8869 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8870 PyObject *resultobj;
8871 wxPyVScrolledWindow *result;
8872 char *kwnames[] = {
8873 NULL
8874 };
8875
8876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8877 {
8878 PyThreadState* __tstate = wxPyBeginAllowThreads();
8879 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8880
8881 wxPyEndAllowThreads(__tstate);
8882 if (PyErr_Occurred()) SWIG_fail;
8883 }
8884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8885 return resultobj;
8886 fail:
8887 return NULL;
8888 }
8889
8890
8891 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8892 PyObject *resultobj;
8893 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8894 PyObject *arg2 = (PyObject *) 0 ;
8895 PyObject *arg3 = (PyObject *) 0 ;
8896 PyObject * obj0 = 0 ;
8897 PyObject * obj1 = 0 ;
8898 PyObject * obj2 = 0 ;
8899 char *kwnames[] = {
8900 (char *) "self",(char *) "self",(char *) "_class", NULL
8901 };
8902
8903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8906 arg2 = obj1;
8907 arg3 = obj2;
8908 {
8909 PyThreadState* __tstate = wxPyBeginAllowThreads();
8910 (arg1)->_setCallbackInfo(arg2,arg3);
8911
8912 wxPyEndAllowThreads(__tstate);
8913 if (PyErr_Occurred()) SWIG_fail;
8914 }
8915 Py_INCREF(Py_None); resultobj = Py_None;
8916 return resultobj;
8917 fail:
8918 return NULL;
8919 }
8920
8921
8922 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8923 PyObject *resultobj;
8924 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8925 wxWindow *arg2 = (wxWindow *) 0 ;
8926 int arg3 = (int) wxID_ANY ;
8927 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8928 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8929 wxSize const &arg5_defvalue = wxDefaultSize ;
8930 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8931 long arg6 = (long) 0 ;
8932 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8933 wxString *arg7 = (wxString *) &arg7_defvalue ;
8934 bool result;
8935 wxPoint temp4 ;
8936 wxSize temp5 ;
8937 bool temp7 = False ;
8938 PyObject * obj0 = 0 ;
8939 PyObject * obj1 = 0 ;
8940 PyObject * obj2 = 0 ;
8941 PyObject * obj3 = 0 ;
8942 PyObject * obj4 = 0 ;
8943 PyObject * obj5 = 0 ;
8944 PyObject * obj6 = 0 ;
8945 char *kwnames[] = {
8946 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8947 };
8948
8949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8952 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8954 if (obj2) {
8955 arg3 = (int) SWIG_AsInt(obj2);
8956 if (PyErr_Occurred()) SWIG_fail;
8957 }
8958 if (obj3) {
8959 {
8960 arg4 = &temp4;
8961 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8962 }
8963 }
8964 if (obj4) {
8965 {
8966 arg5 = &temp5;
8967 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8968 }
8969 }
8970 if (obj5) {
8971 arg6 = (long) SWIG_AsLong(obj5);
8972 if (PyErr_Occurred()) SWIG_fail;
8973 }
8974 if (obj6) {
8975 {
8976 arg7 = wxString_in_helper(obj6);
8977 if (arg7 == NULL) SWIG_fail;
8978 temp7 = True;
8979 }
8980 }
8981 {
8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
8983 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8984
8985 wxPyEndAllowThreads(__tstate);
8986 if (PyErr_Occurred()) SWIG_fail;
8987 }
8988 {
8989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8990 }
8991 {
8992 if (temp7)
8993 delete arg7;
8994 }
8995 return resultobj;
8996 fail:
8997 {
8998 if (temp7)
8999 delete arg7;
9000 }
9001 return NULL;
9002 }
9003
9004
9005 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9006 PyObject *resultobj;
9007 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9008 size_t arg2 ;
9009 PyObject * obj0 = 0 ;
9010 PyObject * obj1 = 0 ;
9011 char *kwnames[] = {
9012 (char *) "self",(char *) "count", NULL
9013 };
9014
9015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9018 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9019 if (PyErr_Occurred()) SWIG_fail;
9020 {
9021 PyThreadState* __tstate = wxPyBeginAllowThreads();
9022 (arg1)->SetLineCount(arg2);
9023
9024 wxPyEndAllowThreads(__tstate);
9025 if (PyErr_Occurred()) SWIG_fail;
9026 }
9027 Py_INCREF(Py_None); resultobj = Py_None;
9028 return resultobj;
9029 fail:
9030 return NULL;
9031 }
9032
9033
9034 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9035 PyObject *resultobj;
9036 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9037 size_t arg2 ;
9038 bool result;
9039 PyObject * obj0 = 0 ;
9040 PyObject * obj1 = 0 ;
9041 char *kwnames[] = {
9042 (char *) "self",(char *) "line", NULL
9043 };
9044
9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9048 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9049 if (PyErr_Occurred()) SWIG_fail;
9050 {
9051 PyThreadState* __tstate = wxPyBeginAllowThreads();
9052 result = (bool)(arg1)->ScrollToLine(arg2);
9053
9054 wxPyEndAllowThreads(__tstate);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 }
9057 {
9058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9059 }
9060 return resultobj;
9061 fail:
9062 return NULL;
9063 }
9064
9065
9066 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9067 PyObject *resultobj;
9068 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9069 int arg2 ;
9070 bool result;
9071 PyObject * obj0 = 0 ;
9072 PyObject * obj1 = 0 ;
9073 char *kwnames[] = {
9074 (char *) "self",(char *) "lines", NULL
9075 };
9076
9077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9080 arg2 = (int) SWIG_AsInt(obj1);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 {
9083 PyThreadState* __tstate = wxPyBeginAllowThreads();
9084 result = (bool)(arg1)->ScrollLines(arg2);
9085
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 {
9090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9091 }
9092 return resultobj;
9093 fail:
9094 return NULL;
9095 }
9096
9097
9098 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9099 PyObject *resultobj;
9100 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9101 int arg2 ;
9102 bool result;
9103 PyObject * obj0 = 0 ;
9104 PyObject * obj1 = 0 ;
9105 char *kwnames[] = {
9106 (char *) "self",(char *) "pages", NULL
9107 };
9108
9109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9112 arg2 = (int) SWIG_AsInt(obj1);
9113 if (PyErr_Occurred()) SWIG_fail;
9114 {
9115 PyThreadState* __tstate = wxPyBeginAllowThreads();
9116 result = (bool)(arg1)->ScrollPages(arg2);
9117
9118 wxPyEndAllowThreads(__tstate);
9119 if (PyErr_Occurred()) SWIG_fail;
9120 }
9121 {
9122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9123 }
9124 return resultobj;
9125 fail:
9126 return NULL;
9127 }
9128
9129
9130 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9131 PyObject *resultobj;
9132 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9133 size_t arg2 ;
9134 PyObject * obj0 = 0 ;
9135 PyObject * obj1 = 0 ;
9136 char *kwnames[] = {
9137 (char *) "self",(char *) "line", NULL
9138 };
9139
9140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9143 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9144 if (PyErr_Occurred()) SWIG_fail;
9145 {
9146 PyThreadState* __tstate = wxPyBeginAllowThreads();
9147 (arg1)->RefreshLine(arg2);
9148
9149 wxPyEndAllowThreads(__tstate);
9150 if (PyErr_Occurred()) SWIG_fail;
9151 }
9152 Py_INCREF(Py_None); resultobj = Py_None;
9153 return resultobj;
9154 fail:
9155 return NULL;
9156 }
9157
9158
9159 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9160 PyObject *resultobj;
9161 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9162 size_t arg2 ;
9163 size_t arg3 ;
9164 PyObject * obj0 = 0 ;
9165 PyObject * obj1 = 0 ;
9166 PyObject * obj2 = 0 ;
9167 char *kwnames[] = {
9168 (char *) "self",(char *) "from",(char *) "to", NULL
9169 };
9170
9171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9174 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 {
9179 PyThreadState* __tstate = wxPyBeginAllowThreads();
9180 (arg1)->RefreshLines(arg2,arg3);
9181
9182 wxPyEndAllowThreads(__tstate);
9183 if (PyErr_Occurred()) SWIG_fail;
9184 }
9185 Py_INCREF(Py_None); resultobj = Py_None;
9186 return resultobj;
9187 fail:
9188 return NULL;
9189 }
9190
9191
9192 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9193 PyObject *resultobj;
9194 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9195 int arg2 ;
9196 int arg3 ;
9197 int result;
9198 PyObject * obj0 = 0 ;
9199 PyObject * obj1 = 0 ;
9200 PyObject * obj2 = 0 ;
9201 char *kwnames[] = {
9202 (char *) "self",(char *) "x",(char *) "y", NULL
9203 };
9204
9205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9208 arg2 = (int) SWIG_AsInt(obj1);
9209 if (PyErr_Occurred()) SWIG_fail;
9210 arg3 = (int) SWIG_AsInt(obj2);
9211 if (PyErr_Occurred()) SWIG_fail;
9212 {
9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
9214 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9215
9216 wxPyEndAllowThreads(__tstate);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 }
9219 resultobj = SWIG_FromInt((int)result);
9220 return resultobj;
9221 fail:
9222 return NULL;
9223 }
9224
9225
9226 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9227 PyObject *resultobj;
9228 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9229 wxPoint *arg2 = 0 ;
9230 int result;
9231 wxPoint temp2 ;
9232 PyObject * obj0 = 0 ;
9233 PyObject * obj1 = 0 ;
9234 char *kwnames[] = {
9235 (char *) "self",(char *) "pt", NULL
9236 };
9237
9238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9241 {
9242 arg2 = &temp2;
9243 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9244 }
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
9247 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9248
9249 wxPyEndAllowThreads(__tstate);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 }
9252 resultobj = SWIG_FromInt((int)result);
9253 return resultobj;
9254 fail:
9255 return NULL;
9256 }
9257
9258
9259 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9260 PyObject *resultobj;
9261 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9262 PyObject * obj0 = 0 ;
9263 char *kwnames[] = {
9264 (char *) "self", NULL
9265 };
9266
9267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9270 {
9271 PyThreadState* __tstate = wxPyBeginAllowThreads();
9272 (arg1)->RefreshAll();
9273
9274 wxPyEndAllowThreads(__tstate);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 }
9277 Py_INCREF(Py_None); resultobj = Py_None;
9278 return resultobj;
9279 fail:
9280 return NULL;
9281 }
9282
9283
9284 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9285 PyObject *resultobj;
9286 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9287 size_t result;
9288 PyObject * obj0 = 0 ;
9289 char *kwnames[] = {
9290 (char *) "self", NULL
9291 };
9292
9293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9296 {
9297 PyThreadState* __tstate = wxPyBeginAllowThreads();
9298 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9299
9300 wxPyEndAllowThreads(__tstate);
9301 if (PyErr_Occurred()) SWIG_fail;
9302 }
9303 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9304 return resultobj;
9305 fail:
9306 return NULL;
9307 }
9308
9309
9310 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9311 PyObject *resultobj;
9312 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9313 size_t result;
9314 PyObject * obj0 = 0 ;
9315 char *kwnames[] = {
9316 (char *) "self", NULL
9317 };
9318
9319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9322 {
9323 PyThreadState* __tstate = wxPyBeginAllowThreads();
9324 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9325
9326 wxPyEndAllowThreads(__tstate);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 }
9329 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9330 return resultobj;
9331 fail:
9332 return NULL;
9333 }
9334
9335
9336 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9337 PyObject *resultobj;
9338 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9339 size_t result;
9340 PyObject * obj0 = 0 ;
9341 char *kwnames[] = {
9342 (char *) "self", NULL
9343 };
9344
9345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9348 {
9349 PyThreadState* __tstate = wxPyBeginAllowThreads();
9350 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9351
9352 wxPyEndAllowThreads(__tstate);
9353 if (PyErr_Occurred()) SWIG_fail;
9354 }
9355 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9356 return resultobj;
9357 fail:
9358 return NULL;
9359 }
9360
9361
9362 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9363 PyObject *resultobj;
9364 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9365 size_t arg2 ;
9366 bool result;
9367 PyObject * obj0 = 0 ;
9368 PyObject * obj1 = 0 ;
9369 char *kwnames[] = {
9370 (char *) "self",(char *) "line", NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9376 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 {
9379 PyThreadState* __tstate = wxPyBeginAllowThreads();
9380 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9381
9382 wxPyEndAllowThreads(__tstate);
9383 if (PyErr_Occurred()) SWIG_fail;
9384 }
9385 {
9386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9387 }
9388 return resultobj;
9389 fail:
9390 return NULL;
9391 }
9392
9393
9394 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9395 PyObject *obj;
9396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9397 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9398 Py_INCREF(obj);
9399 return Py_BuildValue((char *)"");
9400 }
9401 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9402 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9403 return 1;
9404 }
9405
9406
9407 static PyObject *_wrap_VListBoxNameStr_get() {
9408 PyObject *pyobj;
9409
9410 {
9411 #if wxUSE_UNICODE
9412 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9413 #else
9414 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9415 #endif
9416 }
9417 return pyobj;
9418 }
9419
9420
9421 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9422 PyObject *resultobj;
9423 wxWindow *arg1 = (wxWindow *) 0 ;
9424 int arg2 = (int) wxID_ANY ;
9425 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9426 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9427 wxSize const &arg4_defvalue = wxDefaultSize ;
9428 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9429 long arg5 = (long) 0 ;
9430 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9431 wxString *arg6 = (wxString *) &arg6_defvalue ;
9432 wxPyVListBox *result;
9433 wxPoint temp3 ;
9434 wxSize temp4 ;
9435 bool temp6 = False ;
9436 PyObject * obj0 = 0 ;
9437 PyObject * obj1 = 0 ;
9438 PyObject * obj2 = 0 ;
9439 PyObject * obj3 = 0 ;
9440 PyObject * obj4 = 0 ;
9441 PyObject * obj5 = 0 ;
9442 char *kwnames[] = {
9443 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9444 };
9445
9446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9449 if (obj1) {
9450 arg2 = (int) SWIG_AsInt(obj1);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 }
9453 if (obj2) {
9454 {
9455 arg3 = &temp3;
9456 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9457 }
9458 }
9459 if (obj3) {
9460 {
9461 arg4 = &temp4;
9462 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9463 }
9464 }
9465 if (obj4) {
9466 arg5 = (long) SWIG_AsLong(obj4);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 }
9469 if (obj5) {
9470 {
9471 arg6 = wxString_in_helper(obj5);
9472 if (arg6 == NULL) SWIG_fail;
9473 temp6 = True;
9474 }
9475 }
9476 {
9477 PyThreadState* __tstate = wxPyBeginAllowThreads();
9478 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9479
9480 wxPyEndAllowThreads(__tstate);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
9483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9484 {
9485 if (temp6)
9486 delete arg6;
9487 }
9488 return resultobj;
9489 fail:
9490 {
9491 if (temp6)
9492 delete arg6;
9493 }
9494 return NULL;
9495 }
9496
9497
9498 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9499 PyObject *resultobj;
9500 wxPyVListBox *result;
9501 char *kwnames[] = {
9502 NULL
9503 };
9504
9505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9506 {
9507 PyThreadState* __tstate = wxPyBeginAllowThreads();
9508 result = (wxPyVListBox *)new wxPyVListBox();
9509
9510 wxPyEndAllowThreads(__tstate);
9511 if (PyErr_Occurred()) SWIG_fail;
9512 }
9513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9514 return resultobj;
9515 fail:
9516 return NULL;
9517 }
9518
9519
9520 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9521 PyObject *resultobj;
9522 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9523 PyObject *arg2 = (PyObject *) 0 ;
9524 PyObject *arg3 = (PyObject *) 0 ;
9525 PyObject * obj0 = 0 ;
9526 PyObject * obj1 = 0 ;
9527 PyObject * obj2 = 0 ;
9528 char *kwnames[] = {
9529 (char *) "self",(char *) "self",(char *) "_class", NULL
9530 };
9531
9532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9535 arg2 = obj1;
9536 arg3 = obj2;
9537 {
9538 PyThreadState* __tstate = wxPyBeginAllowThreads();
9539 (arg1)->_setCallbackInfo(arg2,arg3);
9540
9541 wxPyEndAllowThreads(__tstate);
9542 if (PyErr_Occurred()) SWIG_fail;
9543 }
9544 Py_INCREF(Py_None); resultobj = Py_None;
9545 return resultobj;
9546 fail:
9547 return NULL;
9548 }
9549
9550
9551 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9552 PyObject *resultobj;
9553 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9554 wxWindow *arg2 = (wxWindow *) 0 ;
9555 int arg3 = (int) wxID_ANY ;
9556 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9557 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9558 wxSize const &arg5_defvalue = wxDefaultSize ;
9559 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9560 long arg6 = (long) 0 ;
9561 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9562 wxString *arg7 = (wxString *) &arg7_defvalue ;
9563 bool result;
9564 wxPoint temp4 ;
9565 wxSize temp5 ;
9566 bool temp7 = False ;
9567 PyObject * obj0 = 0 ;
9568 PyObject * obj1 = 0 ;
9569 PyObject * obj2 = 0 ;
9570 PyObject * obj3 = 0 ;
9571 PyObject * obj4 = 0 ;
9572 PyObject * obj5 = 0 ;
9573 PyObject * obj6 = 0 ;
9574 char *kwnames[] = {
9575 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9576 };
9577
9578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9581 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9583 if (obj2) {
9584 arg3 = (int) SWIG_AsInt(obj2);
9585 if (PyErr_Occurred()) SWIG_fail;
9586 }
9587 if (obj3) {
9588 {
9589 arg4 = &temp4;
9590 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9591 }
9592 }
9593 if (obj4) {
9594 {
9595 arg5 = &temp5;
9596 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9597 }
9598 }
9599 if (obj5) {
9600 arg6 = (long) SWIG_AsLong(obj5);
9601 if (PyErr_Occurred()) SWIG_fail;
9602 }
9603 if (obj6) {
9604 {
9605 arg7 = wxString_in_helper(obj6);
9606 if (arg7 == NULL) SWIG_fail;
9607 temp7 = True;
9608 }
9609 }
9610 {
9611 PyThreadState* __tstate = wxPyBeginAllowThreads();
9612 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9613
9614 wxPyEndAllowThreads(__tstate);
9615 if (PyErr_Occurred()) SWIG_fail;
9616 }
9617 {
9618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9619 }
9620 {
9621 if (temp7)
9622 delete arg7;
9623 }
9624 return resultobj;
9625 fail:
9626 {
9627 if (temp7)
9628 delete arg7;
9629 }
9630 return NULL;
9631 }
9632
9633
9634 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9635 PyObject *resultobj;
9636 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9637 size_t result;
9638 PyObject * obj0 = 0 ;
9639 char *kwnames[] = {
9640 (char *) "self", NULL
9641 };
9642
9643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9646 {
9647 PyThreadState* __tstate = wxPyBeginAllowThreads();
9648 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9649
9650 wxPyEndAllowThreads(__tstate);
9651 if (PyErr_Occurred()) SWIG_fail;
9652 }
9653 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9654 return resultobj;
9655 fail:
9656 return NULL;
9657 }
9658
9659
9660 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9661 PyObject *resultobj;
9662 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9663 bool result;
9664 PyObject * obj0 = 0 ;
9665 char *kwnames[] = {
9666 (char *) "self", NULL
9667 };
9668
9669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9672 {
9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
9674 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9675
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 {
9680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9681 }
9682 return resultobj;
9683 fail:
9684 return NULL;
9685 }
9686
9687
9688 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9689 PyObject *resultobj;
9690 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9691 int result;
9692 PyObject * obj0 = 0 ;
9693 char *kwnames[] = {
9694 (char *) "self", NULL
9695 };
9696
9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9700 {
9701 PyThreadState* __tstate = wxPyBeginAllowThreads();
9702 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9703
9704 wxPyEndAllowThreads(__tstate);
9705 if (PyErr_Occurred()) SWIG_fail;
9706 }
9707 resultobj = SWIG_FromInt((int)result);
9708 return resultobj;
9709 fail:
9710 return NULL;
9711 }
9712
9713
9714 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9715 PyObject *resultobj;
9716 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9717 size_t arg2 ;
9718 bool result;
9719 PyObject * obj0 = 0 ;
9720 PyObject * obj1 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self",(char *) "item", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9728 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9729 if (PyErr_Occurred()) SWIG_fail;
9730 {
9731 PyThreadState* __tstate = wxPyBeginAllowThreads();
9732 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9733
9734 wxPyEndAllowThreads(__tstate);
9735 if (PyErr_Occurred()) SWIG_fail;
9736 }
9737 {
9738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9739 }
9740 return resultobj;
9741 fail:
9742 return NULL;
9743 }
9744
9745
9746 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9747 PyObject *resultobj;
9748 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9749 size_t arg2 ;
9750 bool result;
9751 PyObject * obj0 = 0 ;
9752 PyObject * obj1 = 0 ;
9753 char *kwnames[] = {
9754 (char *) "self",(char *) "item", NULL
9755 };
9756
9757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9760 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 {
9763 PyThreadState* __tstate = wxPyBeginAllowThreads();
9764 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9765
9766 wxPyEndAllowThreads(__tstate);
9767 if (PyErr_Occurred()) SWIG_fail;
9768 }
9769 {
9770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9771 }
9772 return resultobj;
9773 fail:
9774 return NULL;
9775 }
9776
9777
9778 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9779 PyObject *resultobj;
9780 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9781 size_t result;
9782 PyObject * obj0 = 0 ;
9783 char *kwnames[] = {
9784 (char *) "self", NULL
9785 };
9786
9787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9793
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9798 return resultobj;
9799 fail:
9800 return NULL;
9801 }
9802
9803
9804 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9805 PyObject *resultobj;
9806 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9807 unsigned long *arg2 = 0 ;
9808 int result;
9809 PyObject * obj0 = 0 ;
9810 PyObject * obj1 = 0 ;
9811 char *kwnames[] = {
9812 (char *) "self",(char *) "cookie", NULL
9813 };
9814
9815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9819 SWIG_POINTER_EXCEPTION | 0)) == -1)
9820 SWIG_fail;
9821 if (arg2 == NULL) {
9822 PyErr_SetString(PyExc_TypeError,"null reference");
9823 SWIG_fail;
9824 }
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 resultobj = SWIG_FromInt((int)result);
9833 return resultobj;
9834 fail:
9835 return NULL;
9836 }
9837
9838
9839 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9840 PyObject *resultobj;
9841 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9842 unsigned long *arg2 = 0 ;
9843 int result;
9844 PyObject * obj0 = 0 ;
9845 PyObject * obj1 = 0 ;
9846 char *kwnames[] = {
9847 (char *) "self",(char *) "cookie", NULL
9848 };
9849
9850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9853 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9854 SWIG_POINTER_EXCEPTION | 0)) == -1)
9855 SWIG_fail;
9856 if (arg2 == NULL) {
9857 PyErr_SetString(PyExc_TypeError,"null reference");
9858 SWIG_fail;
9859 }
9860 {
9861 PyThreadState* __tstate = wxPyBeginAllowThreads();
9862 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9863
9864 wxPyEndAllowThreads(__tstate);
9865 if (PyErr_Occurred()) SWIG_fail;
9866 }
9867 resultobj = SWIG_FromInt((int)result);
9868 return resultobj;
9869 fail:
9870 return NULL;
9871 }
9872
9873
9874 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9875 PyObject *resultobj;
9876 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9877 wxPoint result;
9878 PyObject * obj0 = 0 ;
9879 char *kwnames[] = {
9880 (char *) "self", NULL
9881 };
9882
9883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9886 {
9887 PyThreadState* __tstate = wxPyBeginAllowThreads();
9888 result = ((wxPyVListBox const *)arg1)->GetMargins();
9889
9890 wxPyEndAllowThreads(__tstate);
9891 if (PyErr_Occurred()) SWIG_fail;
9892 }
9893 {
9894 wxPoint * resultptr;
9895 resultptr = new wxPoint((wxPoint &) result);
9896 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9897 }
9898 return resultobj;
9899 fail:
9900 return NULL;
9901 }
9902
9903
9904 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9905 PyObject *resultobj;
9906 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9907 wxColour *result;
9908 PyObject * obj0 = 0 ;
9909 char *kwnames[] = {
9910 (char *) "self", NULL
9911 };
9912
9913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9916 {
9917 PyThreadState* __tstate = wxPyBeginAllowThreads();
9918 {
9919 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9920 result = (wxColour *) &_result_ref;
9921 }
9922
9923 wxPyEndAllowThreads(__tstate);
9924 if (PyErr_Occurred()) SWIG_fail;
9925 }
9926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9927 return resultobj;
9928 fail:
9929 return NULL;
9930 }
9931
9932
9933 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9934 PyObject *resultobj;
9935 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9936 size_t arg2 ;
9937 PyObject * obj0 = 0 ;
9938 PyObject * obj1 = 0 ;
9939 char *kwnames[] = {
9940 (char *) "self",(char *) "count", NULL
9941 };
9942
9943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9946 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9947 if (PyErr_Occurred()) SWIG_fail;
9948 {
9949 PyThreadState* __tstate = wxPyBeginAllowThreads();
9950 (arg1)->SetItemCount(arg2);
9951
9952 wxPyEndAllowThreads(__tstate);
9953 if (PyErr_Occurred()) SWIG_fail;
9954 }
9955 Py_INCREF(Py_None); resultobj = Py_None;
9956 return resultobj;
9957 fail:
9958 return NULL;
9959 }
9960
9961
9962 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9963 PyObject *resultobj;
9964 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9965 PyObject * obj0 = 0 ;
9966 char *kwnames[] = {
9967 (char *) "self", NULL
9968 };
9969
9970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9973 {
9974 PyThreadState* __tstate = wxPyBeginAllowThreads();
9975 (arg1)->Clear();
9976
9977 wxPyEndAllowThreads(__tstate);
9978 if (PyErr_Occurred()) SWIG_fail;
9979 }
9980 Py_INCREF(Py_None); resultobj = Py_None;
9981 return resultobj;
9982 fail:
9983 return NULL;
9984 }
9985
9986
9987 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9988 PyObject *resultobj;
9989 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9990 int arg2 ;
9991 PyObject * obj0 = 0 ;
9992 PyObject * obj1 = 0 ;
9993 char *kwnames[] = {
9994 (char *) "self",(char *) "selection", NULL
9995 };
9996
9997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10000 arg2 = (int) SWIG_AsInt(obj1);
10001 if (PyErr_Occurred()) SWIG_fail;
10002 {
10003 PyThreadState* __tstate = wxPyBeginAllowThreads();
10004 (arg1)->SetSelection(arg2);
10005
10006 wxPyEndAllowThreads(__tstate);
10007 if (PyErr_Occurred()) SWIG_fail;
10008 }
10009 Py_INCREF(Py_None); resultobj = Py_None;
10010 return resultobj;
10011 fail:
10012 return NULL;
10013 }
10014
10015
10016 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10017 PyObject *resultobj;
10018 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10019 size_t arg2 ;
10020 bool arg3 = (bool) True ;
10021 bool result;
10022 PyObject * obj0 = 0 ;
10023 PyObject * obj1 = 0 ;
10024 PyObject * obj2 = 0 ;
10025 char *kwnames[] = {
10026 (char *) "self",(char *) "item",(char *) "select", NULL
10027 };
10028
10029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10032 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 if (obj2) {
10035 arg3 = (bool) SWIG_AsBool(obj2);
10036 if (PyErr_Occurred()) SWIG_fail;
10037 }
10038 {
10039 PyThreadState* __tstate = wxPyBeginAllowThreads();
10040 result = (bool)(arg1)->Select(arg2,arg3);
10041
10042 wxPyEndAllowThreads(__tstate);
10043 if (PyErr_Occurred()) SWIG_fail;
10044 }
10045 {
10046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10047 }
10048 return resultobj;
10049 fail:
10050 return NULL;
10051 }
10052
10053
10054 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10055 PyObject *resultobj;
10056 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10057 size_t arg2 ;
10058 size_t arg3 ;
10059 bool result;
10060 PyObject * obj0 = 0 ;
10061 PyObject * obj1 = 0 ;
10062 PyObject * obj2 = 0 ;
10063 char *kwnames[] = {
10064 (char *) "self",(char *) "from",(char *) "to", NULL
10065 };
10066
10067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10070 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10071 if (PyErr_Occurred()) SWIG_fail;
10072 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 result = (bool)(arg1)->SelectRange(arg2,arg3);
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 {
10082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10083 }
10084 return resultobj;
10085 fail:
10086 return NULL;
10087 }
10088
10089
10090 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10091 PyObject *resultobj;
10092 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10093 size_t arg2 ;
10094 PyObject * obj0 = 0 ;
10095 PyObject * obj1 = 0 ;
10096 char *kwnames[] = {
10097 (char *) "self",(char *) "item", NULL
10098 };
10099
10100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10103 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 {
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 (arg1)->Toggle(arg2);
10108
10109 wxPyEndAllowThreads(__tstate);
10110 if (PyErr_Occurred()) SWIG_fail;
10111 }
10112 Py_INCREF(Py_None); resultobj = Py_None;
10113 return resultobj;
10114 fail:
10115 return NULL;
10116 }
10117
10118
10119 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10120 PyObject *resultobj;
10121 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10122 bool result;
10123 PyObject * obj0 = 0 ;
10124 char *kwnames[] = {
10125 (char *) "self", NULL
10126 };
10127
10128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10131 {
10132 PyThreadState* __tstate = wxPyBeginAllowThreads();
10133 result = (bool)(arg1)->SelectAll();
10134
10135 wxPyEndAllowThreads(__tstate);
10136 if (PyErr_Occurred()) SWIG_fail;
10137 }
10138 {
10139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10140 }
10141 return resultobj;
10142 fail:
10143 return NULL;
10144 }
10145
10146
10147 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10148 PyObject *resultobj;
10149 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10150 bool result;
10151 PyObject * obj0 = 0 ;
10152 char *kwnames[] = {
10153 (char *) "self", NULL
10154 };
10155
10156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10159 {
10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
10161 result = (bool)(arg1)->DeselectAll();
10162
10163 wxPyEndAllowThreads(__tstate);
10164 if (PyErr_Occurred()) SWIG_fail;
10165 }
10166 {
10167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10168 }
10169 return resultobj;
10170 fail:
10171 return NULL;
10172 }
10173
10174
10175 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10176 PyObject *resultobj;
10177 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10178 wxPoint *arg2 = 0 ;
10179 wxPoint temp2 ;
10180 PyObject * obj0 = 0 ;
10181 PyObject * obj1 = 0 ;
10182 char *kwnames[] = {
10183 (char *) "self",(char *) "pt", NULL
10184 };
10185
10186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10189 {
10190 arg2 = &temp2;
10191 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10192 }
10193 {
10194 PyThreadState* __tstate = wxPyBeginAllowThreads();
10195 (arg1)->SetMargins((wxPoint const &)*arg2);
10196
10197 wxPyEndAllowThreads(__tstate);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 Py_INCREF(Py_None); resultobj = Py_None;
10201 return resultobj;
10202 fail:
10203 return NULL;
10204 }
10205
10206
10207 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10208 PyObject *resultobj;
10209 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10210 int arg2 ;
10211 int arg3 ;
10212 PyObject * obj0 = 0 ;
10213 PyObject * obj1 = 0 ;
10214 PyObject * obj2 = 0 ;
10215 char *kwnames[] = {
10216 (char *) "self",(char *) "x",(char *) "y", NULL
10217 };
10218
10219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10222 arg2 = (int) SWIG_AsInt(obj1);
10223 if (PyErr_Occurred()) SWIG_fail;
10224 arg3 = (int) SWIG_AsInt(obj2);
10225 if (PyErr_Occurred()) SWIG_fail;
10226 {
10227 PyThreadState* __tstate = wxPyBeginAllowThreads();
10228 (arg1)->SetMargins(arg2,arg3);
10229
10230 wxPyEndAllowThreads(__tstate);
10231 if (PyErr_Occurred()) SWIG_fail;
10232 }
10233 Py_INCREF(Py_None); resultobj = Py_None;
10234 return resultobj;
10235 fail:
10236 return NULL;
10237 }
10238
10239
10240 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10241 PyObject *resultobj;
10242 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10243 wxColour *arg2 = 0 ;
10244 wxColour temp2 ;
10245 PyObject * obj0 = 0 ;
10246 PyObject * obj1 = 0 ;
10247 char *kwnames[] = {
10248 (char *) "self",(char *) "col", NULL
10249 };
10250
10251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10254 {
10255 arg2 = &temp2;
10256 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10257 }
10258 {
10259 PyThreadState* __tstate = wxPyBeginAllowThreads();
10260 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10261
10262 wxPyEndAllowThreads(__tstate);
10263 if (PyErr_Occurred()) SWIG_fail;
10264 }
10265 Py_INCREF(Py_None); resultobj = Py_None;
10266 return resultobj;
10267 fail:
10268 return NULL;
10269 }
10270
10271
10272 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10273 PyObject *obj;
10274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10275 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10276 Py_INCREF(obj);
10277 return Py_BuildValue((char *)"");
10278 }
10279 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10280 PyObject *resultobj;
10281 wxWindow *arg1 = (wxWindow *) 0 ;
10282 int arg2 = (int) wxID_ANY ;
10283 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10284 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10285 wxSize const &arg4_defvalue = wxDefaultSize ;
10286 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10287 long arg5 = (long) 0 ;
10288 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10289 wxString *arg6 = (wxString *) &arg6_defvalue ;
10290 wxPyHtmlListBox *result;
10291 wxPoint temp3 ;
10292 wxSize temp4 ;
10293 bool temp6 = False ;
10294 PyObject * obj0 = 0 ;
10295 PyObject * obj1 = 0 ;
10296 PyObject * obj2 = 0 ;
10297 PyObject * obj3 = 0 ;
10298 PyObject * obj4 = 0 ;
10299 PyObject * obj5 = 0 ;
10300 char *kwnames[] = {
10301 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10302 };
10303
10304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10307 if (obj1) {
10308 arg2 = (int) SWIG_AsInt(obj1);
10309 if (PyErr_Occurred()) SWIG_fail;
10310 }
10311 if (obj2) {
10312 {
10313 arg3 = &temp3;
10314 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10315 }
10316 }
10317 if (obj3) {
10318 {
10319 arg4 = &temp4;
10320 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10321 }
10322 }
10323 if (obj4) {
10324 arg5 = (long) SWIG_AsLong(obj4);
10325 if (PyErr_Occurred()) SWIG_fail;
10326 }
10327 if (obj5) {
10328 {
10329 arg6 = wxString_in_helper(obj5);
10330 if (arg6 == NULL) SWIG_fail;
10331 temp6 = True;
10332 }
10333 }
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10337
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) SWIG_fail;
10340 }
10341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10342 {
10343 if (temp6)
10344 delete arg6;
10345 }
10346 return resultobj;
10347 fail:
10348 {
10349 if (temp6)
10350 delete arg6;
10351 }
10352 return NULL;
10353 }
10354
10355
10356 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10357 PyObject *resultobj;
10358 wxPyHtmlListBox *result;
10359 char *kwnames[] = {
10360 NULL
10361 };
10362
10363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10364 {
10365 PyThreadState* __tstate = wxPyBeginAllowThreads();
10366 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10367
10368 wxPyEndAllowThreads(__tstate);
10369 if (PyErr_Occurred()) SWIG_fail;
10370 }
10371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10372 return resultobj;
10373 fail:
10374 return NULL;
10375 }
10376
10377
10378 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10379 PyObject *resultobj;
10380 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10381 PyObject *arg2 = (PyObject *) 0 ;
10382 PyObject *arg3 = (PyObject *) 0 ;
10383 PyObject * obj0 = 0 ;
10384 PyObject * obj1 = 0 ;
10385 PyObject * obj2 = 0 ;
10386 char *kwnames[] = {
10387 (char *) "self",(char *) "self",(char *) "_class", NULL
10388 };
10389
10390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10393 arg2 = obj1;
10394 arg3 = obj2;
10395 {
10396 PyThreadState* __tstate = wxPyBeginAllowThreads();
10397 (arg1)->_setCallbackInfo(arg2,arg3);
10398
10399 wxPyEndAllowThreads(__tstate);
10400 if (PyErr_Occurred()) SWIG_fail;
10401 }
10402 Py_INCREF(Py_None); resultobj = Py_None;
10403 return resultobj;
10404 fail:
10405 return NULL;
10406 }
10407
10408
10409 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10410 PyObject *resultobj;
10411 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10412 wxWindow *arg2 = (wxWindow *) 0 ;
10413 int arg3 = (int) wxID_ANY ;
10414 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10415 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10416 wxSize const &arg5_defvalue = wxDefaultSize ;
10417 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10418 long arg6 = (long) 0 ;
10419 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10420 wxString *arg7 = (wxString *) &arg7_defvalue ;
10421 bool result;
10422 wxPoint temp4 ;
10423 wxSize temp5 ;
10424 bool temp7 = False ;
10425 PyObject * obj0 = 0 ;
10426 PyObject * obj1 = 0 ;
10427 PyObject * obj2 = 0 ;
10428 PyObject * obj3 = 0 ;
10429 PyObject * obj4 = 0 ;
10430 PyObject * obj5 = 0 ;
10431 PyObject * obj6 = 0 ;
10432 char *kwnames[] = {
10433 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10434 };
10435
10436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10441 if (obj2) {
10442 arg3 = (int) SWIG_AsInt(obj2);
10443 if (PyErr_Occurred()) SWIG_fail;
10444 }
10445 if (obj3) {
10446 {
10447 arg4 = &temp4;
10448 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10449 }
10450 }
10451 if (obj4) {
10452 {
10453 arg5 = &temp5;
10454 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10455 }
10456 }
10457 if (obj5) {
10458 arg6 = (long) SWIG_AsLong(obj5);
10459 if (PyErr_Occurred()) SWIG_fail;
10460 }
10461 if (obj6) {
10462 {
10463 arg7 = wxString_in_helper(obj6);
10464 if (arg7 == NULL) SWIG_fail;
10465 temp7 = True;
10466 }
10467 }
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10471
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 {
10476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10477 }
10478 {
10479 if (temp7)
10480 delete arg7;
10481 }
10482 return resultobj;
10483 fail:
10484 {
10485 if (temp7)
10486 delete arg7;
10487 }
10488 return NULL;
10489 }
10490
10491
10492 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10493 PyObject *resultobj;
10494 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10495 PyObject * obj0 = 0 ;
10496 char *kwnames[] = {
10497 (char *) "self", NULL
10498 };
10499
10500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10503 {
10504 PyThreadState* __tstate = wxPyBeginAllowThreads();
10505 (arg1)->RefreshAll();
10506
10507 wxPyEndAllowThreads(__tstate);
10508 if (PyErr_Occurred()) SWIG_fail;
10509 }
10510 Py_INCREF(Py_None); resultobj = Py_None;
10511 return resultobj;
10512 fail:
10513 return NULL;
10514 }
10515
10516
10517 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10518 PyObject *resultobj;
10519 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10520 size_t arg2 ;
10521 PyObject * obj0 = 0 ;
10522 PyObject * obj1 = 0 ;
10523 char *kwnames[] = {
10524 (char *) "self",(char *) "count", NULL
10525 };
10526
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10530 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 {
10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
10534 (arg1)->SetItemCount(arg2);
10535
10536 wxPyEndAllowThreads(__tstate);
10537 if (PyErr_Occurred()) SWIG_fail;
10538 }
10539 Py_INCREF(Py_None); resultobj = Py_None;
10540 return resultobj;
10541 fail:
10542 return NULL;
10543 }
10544
10545
10546 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10547 PyObject *obj;
10548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10549 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10550 Py_INCREF(obj);
10551 return Py_BuildValue((char *)"");
10552 }
10553 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10554 PyObject *resultobj;
10555 wxTaskBarIcon *result;
10556 char *kwnames[] = {
10557 NULL
10558 };
10559
10560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10564
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10569 return resultobj;
10570 fail:
10571 return NULL;
10572 }
10573
10574
10575 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10576 PyObject *resultobj;
10577 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10578 PyObject * obj0 = 0 ;
10579 char *kwnames[] = {
10580 (char *) "self", NULL
10581 };
10582
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10586 {
10587 PyThreadState* __tstate = wxPyBeginAllowThreads();
10588 delete arg1;
10589
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 Py_INCREF(Py_None); resultobj = Py_None;
10594 return resultobj;
10595 fail:
10596 return NULL;
10597 }
10598
10599
10600 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10601 PyObject *resultobj;
10602 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10603 PyObject * obj0 = 0 ;
10604 char *kwnames[] = {
10605 (char *) "self", NULL
10606 };
10607
10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10611 {
10612 PyThreadState* __tstate = wxPyBeginAllowThreads();
10613 wxTaskBarIcon_Destroy(arg1);
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 *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10626 PyObject *resultobj;
10627 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10628 bool result;
10629 PyObject * obj0 = 0 ;
10630 char *kwnames[] = {
10631 (char *) "self", NULL
10632 };
10633
10634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10637 {
10638 PyThreadState* __tstate = wxPyBeginAllowThreads();
10639 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10640
10641 wxPyEndAllowThreads(__tstate);
10642 if (PyErr_Occurred()) SWIG_fail;
10643 }
10644 {
10645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10646 }
10647 return resultobj;
10648 fail:
10649 return NULL;
10650 }
10651
10652
10653 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10654 PyObject *resultobj;
10655 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10656 bool result;
10657 PyObject * obj0 = 0 ;
10658 char *kwnames[] = {
10659 (char *) "self", NULL
10660 };
10661
10662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10665 {
10666 PyThreadState* __tstate = wxPyBeginAllowThreads();
10667 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10668
10669 wxPyEndAllowThreads(__tstate);
10670 if (PyErr_Occurred()) SWIG_fail;
10671 }
10672 {
10673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10674 }
10675 return resultobj;
10676 fail:
10677 return NULL;
10678 }
10679
10680
10681 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10682 PyObject *resultobj;
10683 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10684 wxIcon *arg2 = 0 ;
10685 wxString const &arg3_defvalue = wxPyEmptyString ;
10686 wxString *arg3 = (wxString *) &arg3_defvalue ;
10687 bool result;
10688 bool temp3 = False ;
10689 PyObject * obj0 = 0 ;
10690 PyObject * obj1 = 0 ;
10691 PyObject * obj2 = 0 ;
10692 char *kwnames[] = {
10693 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10694 };
10695
10696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10700 SWIG_POINTER_EXCEPTION | 0)) == -1)
10701 SWIG_fail;
10702 if (arg2 == NULL) {
10703 PyErr_SetString(PyExc_TypeError,"null reference");
10704 SWIG_fail;
10705 }
10706 if (obj2) {
10707 {
10708 arg3 = wxString_in_helper(obj2);
10709 if (arg3 == NULL) SWIG_fail;
10710 temp3 = True;
10711 }
10712 }
10713 {
10714 PyThreadState* __tstate = wxPyBeginAllowThreads();
10715 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10716
10717 wxPyEndAllowThreads(__tstate);
10718 if (PyErr_Occurred()) SWIG_fail;
10719 }
10720 {
10721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10722 }
10723 {
10724 if (temp3)
10725 delete arg3;
10726 }
10727 return resultobj;
10728 fail:
10729 {
10730 if (temp3)
10731 delete arg3;
10732 }
10733 return NULL;
10734 }
10735
10736
10737 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10738 PyObject *resultobj;
10739 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10740 bool result;
10741 PyObject * obj0 = 0 ;
10742 char *kwnames[] = {
10743 (char *) "self", NULL
10744 };
10745
10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10749 {
10750 PyThreadState* __tstate = wxPyBeginAllowThreads();
10751 result = (bool)(arg1)->RemoveIcon();
10752
10753 wxPyEndAllowThreads(__tstate);
10754 if (PyErr_Occurred()) SWIG_fail;
10755 }
10756 {
10757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10758 }
10759 return resultobj;
10760 fail:
10761 return NULL;
10762 }
10763
10764
10765 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10766 PyObject *resultobj;
10767 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10768 wxMenu *arg2 = (wxMenu *) 0 ;
10769 bool result;
10770 PyObject * obj0 = 0 ;
10771 PyObject * obj1 = 0 ;
10772 char *kwnames[] = {
10773 (char *) "self",(char *) "menu", NULL
10774 };
10775
10776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10779 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
10780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10781 {
10782 PyThreadState* __tstate = wxPyBeginAllowThreads();
10783 result = (bool)(arg1)->PopupMenu(arg2);
10784
10785 wxPyEndAllowThreads(__tstate);
10786 if (PyErr_Occurred()) SWIG_fail;
10787 }
10788 {
10789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10790 }
10791 return resultobj;
10792 fail:
10793 return NULL;
10794 }
10795
10796
10797 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10798 PyObject *obj;
10799 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10800 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10801 Py_INCREF(obj);
10802 return Py_BuildValue((char *)"");
10803 }
10804 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10805 PyObject *resultobj;
10806 wxEventType arg1 ;
10807 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10808 wxTaskBarIconEvent *result;
10809 PyObject * obj0 = 0 ;
10810 PyObject * obj1 = 0 ;
10811 char *kwnames[] = {
10812 (char *) "evtType",(char *) "tbIcon", NULL
10813 };
10814
10815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10816 arg1 = (wxEventType) SWIG_AsInt(obj0);
10817 if (PyErr_Occurred()) SWIG_fail;
10818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10820 {
10821 PyThreadState* __tstate = wxPyBeginAllowThreads();
10822 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10823
10824 wxPyEndAllowThreads(__tstate);
10825 if (PyErr_Occurred()) SWIG_fail;
10826 }
10827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10828 return resultobj;
10829 fail:
10830 return NULL;
10831 }
10832
10833
10834 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10835 PyObject *obj;
10836 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10837 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10838 Py_INCREF(obj);
10839 return Py_BuildValue((char *)"");
10840 }
10841 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10842 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10843 return 1;
10844 }
10845
10846
10847 static PyObject *_wrap_FileSelectorPromptStr_get() {
10848 PyObject *pyobj;
10849
10850 {
10851 #if wxUSE_UNICODE
10852 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10853 #else
10854 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10855 #endif
10856 }
10857 return pyobj;
10858 }
10859
10860
10861 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10862 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10863 return 1;
10864 }
10865
10866
10867 static PyObject *_wrap_DirSelectorPromptStr_get() {
10868 PyObject *pyobj;
10869
10870 {
10871 #if wxUSE_UNICODE
10872 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10873 #else
10874 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10875 #endif
10876 }
10877 return pyobj;
10878 }
10879
10880
10881 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10882 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10883 return 1;
10884 }
10885
10886
10887 static PyObject *_wrap_DirDialogNameStr_get() {
10888 PyObject *pyobj;
10889
10890 {
10891 #if wxUSE_UNICODE
10892 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10893 #else
10894 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10895 #endif
10896 }
10897 return pyobj;
10898 }
10899
10900
10901 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10902 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10903 return 1;
10904 }
10905
10906
10907 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10908 PyObject *pyobj;
10909
10910 {
10911 #if wxUSE_UNICODE
10912 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10913 #else
10914 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10915 #endif
10916 }
10917 return pyobj;
10918 }
10919
10920
10921 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10922 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10923 return 1;
10924 }
10925
10926
10927 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10928 PyObject *pyobj;
10929
10930 {
10931 #if wxUSE_UNICODE
10932 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10933 #else
10934 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10935 #endif
10936 }
10937 return pyobj;
10938 }
10939
10940
10941 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10942 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10943 return 1;
10944 }
10945
10946
10947 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10948 PyObject *pyobj;
10949
10950 {
10951 #if wxUSE_UNICODE
10952 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10953 #else
10954 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10955 #endif
10956 }
10957 return pyobj;
10958 }
10959
10960
10961 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10962 PyObject *resultobj;
10963 wxColourData *result;
10964 char *kwnames[] = {
10965 NULL
10966 };
10967
10968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10969 {
10970 PyThreadState* __tstate = wxPyBeginAllowThreads();
10971 result = (wxColourData *)new wxColourData();
10972
10973 wxPyEndAllowThreads(__tstate);
10974 if (PyErr_Occurred()) SWIG_fail;
10975 }
10976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
10977 return resultobj;
10978 fail:
10979 return NULL;
10980 }
10981
10982
10983 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10984 PyObject *resultobj;
10985 wxColourData *arg1 = (wxColourData *) 0 ;
10986 PyObject * obj0 = 0 ;
10987 char *kwnames[] = {
10988 (char *) "self", NULL
10989 };
10990
10991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10994 {
10995 PyThreadState* __tstate = wxPyBeginAllowThreads();
10996 delete arg1;
10997
10998 wxPyEndAllowThreads(__tstate);
10999 if (PyErr_Occurred()) SWIG_fail;
11000 }
11001 Py_INCREF(Py_None); resultobj = Py_None;
11002 return resultobj;
11003 fail:
11004 return NULL;
11005 }
11006
11007
11008 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11009 PyObject *resultobj;
11010 wxColourData *arg1 = (wxColourData *) 0 ;
11011 bool result;
11012 PyObject * obj0 = 0 ;
11013 char *kwnames[] = {
11014 (char *) "self", NULL
11015 };
11016
11017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11020 {
11021 PyThreadState* __tstate = wxPyBeginAllowThreads();
11022 result = (bool)(arg1)->GetChooseFull();
11023
11024 wxPyEndAllowThreads(__tstate);
11025 if (PyErr_Occurred()) SWIG_fail;
11026 }
11027 {
11028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11029 }
11030 return resultobj;
11031 fail:
11032 return NULL;
11033 }
11034
11035
11036 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11037 PyObject *resultobj;
11038 wxColourData *arg1 = (wxColourData *) 0 ;
11039 wxColour result;
11040 PyObject * obj0 = 0 ;
11041 char *kwnames[] = {
11042 (char *) "self", NULL
11043 };
11044
11045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11048 {
11049 PyThreadState* __tstate = wxPyBeginAllowThreads();
11050 result = (arg1)->GetColour();
11051
11052 wxPyEndAllowThreads(__tstate);
11053 if (PyErr_Occurred()) SWIG_fail;
11054 }
11055 {
11056 wxColour * resultptr;
11057 resultptr = new wxColour((wxColour &) result);
11058 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11059 }
11060 return resultobj;
11061 fail:
11062 return NULL;
11063 }
11064
11065
11066 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11067 PyObject *resultobj;
11068 wxColourData *arg1 = (wxColourData *) 0 ;
11069 int arg2 ;
11070 wxColour result;
11071 PyObject * obj0 = 0 ;
11072 PyObject * obj1 = 0 ;
11073 char *kwnames[] = {
11074 (char *) "self",(char *) "i", NULL
11075 };
11076
11077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11080 arg2 = (int) SWIG_AsInt(obj1);
11081 if (PyErr_Occurred()) SWIG_fail;
11082 {
11083 PyThreadState* __tstate = wxPyBeginAllowThreads();
11084 result = (arg1)->GetCustomColour(arg2);
11085
11086 wxPyEndAllowThreads(__tstate);
11087 if (PyErr_Occurred()) SWIG_fail;
11088 }
11089 {
11090 wxColour * resultptr;
11091 resultptr = new wxColour((wxColour &) result);
11092 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11093 }
11094 return resultobj;
11095 fail:
11096 return NULL;
11097 }
11098
11099
11100 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11101 PyObject *resultobj;
11102 wxColourData *arg1 = (wxColourData *) 0 ;
11103 int arg2 ;
11104 PyObject * obj0 = 0 ;
11105 PyObject * obj1 = 0 ;
11106 char *kwnames[] = {
11107 (char *) "self",(char *) "flag", NULL
11108 };
11109
11110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11113 arg2 = (int) SWIG_AsInt(obj1);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 {
11116 PyThreadState* __tstate = wxPyBeginAllowThreads();
11117 (arg1)->SetChooseFull(arg2);
11118
11119 wxPyEndAllowThreads(__tstate);
11120 if (PyErr_Occurred()) SWIG_fail;
11121 }
11122 Py_INCREF(Py_None); resultobj = Py_None;
11123 return resultobj;
11124 fail:
11125 return NULL;
11126 }
11127
11128
11129 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11130 PyObject *resultobj;
11131 wxColourData *arg1 = (wxColourData *) 0 ;
11132 wxColour *arg2 = 0 ;
11133 wxColour temp2 ;
11134 PyObject * obj0 = 0 ;
11135 PyObject * obj1 = 0 ;
11136 char *kwnames[] = {
11137 (char *) "self",(char *) "colour", NULL
11138 };
11139
11140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11143 {
11144 arg2 = &temp2;
11145 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11146 }
11147 {
11148 PyThreadState* __tstate = wxPyBeginAllowThreads();
11149 (arg1)->SetColour((wxColour const &)*arg2);
11150
11151 wxPyEndAllowThreads(__tstate);
11152 if (PyErr_Occurred()) SWIG_fail;
11153 }
11154 Py_INCREF(Py_None); resultobj = Py_None;
11155 return resultobj;
11156 fail:
11157 return NULL;
11158 }
11159
11160
11161 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11162 PyObject *resultobj;
11163 wxColourData *arg1 = (wxColourData *) 0 ;
11164 int arg2 ;
11165 wxColour *arg3 = 0 ;
11166 wxColour temp3 ;
11167 PyObject * obj0 = 0 ;
11168 PyObject * obj1 = 0 ;
11169 PyObject * obj2 = 0 ;
11170 char *kwnames[] = {
11171 (char *) "self",(char *) "i",(char *) "colour", NULL
11172 };
11173
11174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11177 arg2 = (int) SWIG_AsInt(obj1);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 {
11180 arg3 = &temp3;
11181 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11182 }
11183 {
11184 PyThreadState* __tstate = wxPyBeginAllowThreads();
11185 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11186
11187 wxPyEndAllowThreads(__tstate);
11188 if (PyErr_Occurred()) SWIG_fail;
11189 }
11190 Py_INCREF(Py_None); resultobj = Py_None;
11191 return resultobj;
11192 fail:
11193 return NULL;
11194 }
11195
11196
11197 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11198 PyObject *obj;
11199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11200 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11201 Py_INCREF(obj);
11202 return Py_BuildValue((char *)"");
11203 }
11204 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11205 PyObject *resultobj;
11206 wxWindow *arg1 = (wxWindow *) 0 ;
11207 wxColourData *arg2 = (wxColourData *) NULL ;
11208 wxColourDialog *result;
11209 PyObject * obj0 = 0 ;
11210 PyObject * obj1 = 0 ;
11211 char *kwnames[] = {
11212 (char *) "parent",(char *) "data", NULL
11213 };
11214
11215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11218 if (obj1) {
11219 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11221 }
11222 {
11223 PyThreadState* __tstate = wxPyBeginAllowThreads();
11224 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11225
11226 wxPyEndAllowThreads(__tstate);
11227 if (PyErr_Occurred()) SWIG_fail;
11228 }
11229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11230 return resultobj;
11231 fail:
11232 return NULL;
11233 }
11234
11235
11236 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11237 PyObject *resultobj;
11238 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11239 wxColourData *result;
11240 PyObject * obj0 = 0 ;
11241 char *kwnames[] = {
11242 (char *) "self", NULL
11243 };
11244
11245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11248 {
11249 PyThreadState* __tstate = wxPyBeginAllowThreads();
11250 {
11251 wxColourData &_result_ref = (arg1)->GetColourData();
11252 result = (wxColourData *) &_result_ref;
11253 }
11254
11255 wxPyEndAllowThreads(__tstate);
11256 if (PyErr_Occurred()) SWIG_fail;
11257 }
11258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11259 return resultobj;
11260 fail:
11261 return NULL;
11262 }
11263
11264
11265 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11266 PyObject *obj;
11267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11268 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11269 Py_INCREF(obj);
11270 return Py_BuildValue((char *)"");
11271 }
11272 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11273 PyObject *resultobj;
11274 wxWindow *arg1 = (wxWindow *) 0 ;
11275 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11276 wxString *arg2 = (wxString *) &arg2_defvalue ;
11277 wxString const &arg3_defvalue = wxPyEmptyString ;
11278 wxString *arg3 = (wxString *) &arg3_defvalue ;
11279 long arg4 = (long) 0 ;
11280 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11281 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11282 wxSize const &arg6_defvalue = wxDefaultSize ;
11283 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11284 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11285 wxString *arg7 = (wxString *) &arg7_defvalue ;
11286 wxDirDialog *result;
11287 bool temp2 = False ;
11288 bool temp3 = False ;
11289 wxPoint temp5 ;
11290 wxSize temp6 ;
11291 bool temp7 = False ;
11292 PyObject * obj0 = 0 ;
11293 PyObject * obj1 = 0 ;
11294 PyObject * obj2 = 0 ;
11295 PyObject * obj3 = 0 ;
11296 PyObject * obj4 = 0 ;
11297 PyObject * obj5 = 0 ;
11298 PyObject * obj6 = 0 ;
11299 char *kwnames[] = {
11300 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11301 };
11302
11303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11306 if (obj1) {
11307 {
11308 arg2 = wxString_in_helper(obj1);
11309 if (arg2 == NULL) SWIG_fail;
11310 temp2 = True;
11311 }
11312 }
11313 if (obj2) {
11314 {
11315 arg3 = wxString_in_helper(obj2);
11316 if (arg3 == NULL) SWIG_fail;
11317 temp3 = True;
11318 }
11319 }
11320 if (obj3) {
11321 arg4 = (long) SWIG_AsLong(obj3);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 if (obj4) {
11325 {
11326 arg5 = &temp5;
11327 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11328 }
11329 }
11330 if (obj5) {
11331 {
11332 arg6 = &temp6;
11333 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11334 }
11335 }
11336 if (obj6) {
11337 {
11338 arg7 = wxString_in_helper(obj6);
11339 if (arg7 == NULL) SWIG_fail;
11340 temp7 = True;
11341 }
11342 }
11343 {
11344 PyThreadState* __tstate = wxPyBeginAllowThreads();
11345 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11346
11347 wxPyEndAllowThreads(__tstate);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
11350 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11351 {
11352 if (temp2)
11353 delete arg2;
11354 }
11355 {
11356 if (temp3)
11357 delete arg3;
11358 }
11359 {
11360 if (temp7)
11361 delete arg7;
11362 }
11363 return resultobj;
11364 fail:
11365 {
11366 if (temp2)
11367 delete arg2;
11368 }
11369 {
11370 if (temp3)
11371 delete arg3;
11372 }
11373 {
11374 if (temp7)
11375 delete arg7;
11376 }
11377 return NULL;
11378 }
11379
11380
11381 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11382 PyObject *resultobj;
11383 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11384 wxString result;
11385 PyObject * obj0 = 0 ;
11386 char *kwnames[] = {
11387 (char *) "self", NULL
11388 };
11389
11390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11393 {
11394 PyThreadState* __tstate = wxPyBeginAllowThreads();
11395 result = (arg1)->GetPath();
11396
11397 wxPyEndAllowThreads(__tstate);
11398 if (PyErr_Occurred()) SWIG_fail;
11399 }
11400 {
11401 #if wxUSE_UNICODE
11402 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11403 #else
11404 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11405 #endif
11406 }
11407 return resultobj;
11408 fail:
11409 return NULL;
11410 }
11411
11412
11413 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11414 PyObject *resultobj;
11415 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11416 wxString result;
11417 PyObject * obj0 = 0 ;
11418 char *kwnames[] = {
11419 (char *) "self", NULL
11420 };
11421
11422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11425 {
11426 PyThreadState* __tstate = wxPyBeginAllowThreads();
11427 result = (arg1)->GetMessage();
11428
11429 wxPyEndAllowThreads(__tstate);
11430 if (PyErr_Occurred()) SWIG_fail;
11431 }
11432 {
11433 #if wxUSE_UNICODE
11434 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11435 #else
11436 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11437 #endif
11438 }
11439 return resultobj;
11440 fail:
11441 return NULL;
11442 }
11443
11444
11445 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11446 PyObject *resultobj;
11447 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11448 long result;
11449 PyObject * obj0 = 0 ;
11450 char *kwnames[] = {
11451 (char *) "self", NULL
11452 };
11453
11454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11457 {
11458 PyThreadState* __tstate = wxPyBeginAllowThreads();
11459 result = (long)(arg1)->GetStyle();
11460
11461 wxPyEndAllowThreads(__tstate);
11462 if (PyErr_Occurred()) SWIG_fail;
11463 }
11464 resultobj = SWIG_FromLong((long)result);
11465 return resultobj;
11466 fail:
11467 return NULL;
11468 }
11469
11470
11471 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11472 PyObject *resultobj;
11473 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11474 wxString *arg2 = 0 ;
11475 bool temp2 = False ;
11476 PyObject * obj0 = 0 ;
11477 PyObject * obj1 = 0 ;
11478 char *kwnames[] = {
11479 (char *) "self",(char *) "message", NULL
11480 };
11481
11482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11485 {
11486 arg2 = wxString_in_helper(obj1);
11487 if (arg2 == NULL) SWIG_fail;
11488 temp2 = True;
11489 }
11490 {
11491 PyThreadState* __tstate = wxPyBeginAllowThreads();
11492 (arg1)->SetMessage((wxString const &)*arg2);
11493
11494 wxPyEndAllowThreads(__tstate);
11495 if (PyErr_Occurred()) SWIG_fail;
11496 }
11497 Py_INCREF(Py_None); resultobj = Py_None;
11498 {
11499 if (temp2)
11500 delete arg2;
11501 }
11502 return resultobj;
11503 fail:
11504 {
11505 if (temp2)
11506 delete arg2;
11507 }
11508 return NULL;
11509 }
11510
11511
11512 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11513 PyObject *resultobj;
11514 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11515 wxString *arg2 = 0 ;
11516 bool temp2 = False ;
11517 PyObject * obj0 = 0 ;
11518 PyObject * obj1 = 0 ;
11519 char *kwnames[] = {
11520 (char *) "self",(char *) "path", NULL
11521 };
11522
11523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11526 {
11527 arg2 = wxString_in_helper(obj1);
11528 if (arg2 == NULL) SWIG_fail;
11529 temp2 = True;
11530 }
11531 {
11532 PyThreadState* __tstate = wxPyBeginAllowThreads();
11533 (arg1)->SetPath((wxString const &)*arg2);
11534
11535 wxPyEndAllowThreads(__tstate);
11536 if (PyErr_Occurred()) SWIG_fail;
11537 }
11538 Py_INCREF(Py_None); resultobj = Py_None;
11539 {
11540 if (temp2)
11541 delete arg2;
11542 }
11543 return resultobj;
11544 fail:
11545 {
11546 if (temp2)
11547 delete arg2;
11548 }
11549 return NULL;
11550 }
11551
11552
11553 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11554 PyObject *obj;
11555 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11556 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11557 Py_INCREF(obj);
11558 return Py_BuildValue((char *)"");
11559 }
11560 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11561 PyObject *resultobj;
11562 wxWindow *arg1 = (wxWindow *) 0 ;
11563 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11564 wxString *arg2 = (wxString *) &arg2_defvalue ;
11565 wxString const &arg3_defvalue = wxPyEmptyString ;
11566 wxString *arg3 = (wxString *) &arg3_defvalue ;
11567 wxString const &arg4_defvalue = wxPyEmptyString ;
11568 wxString *arg4 = (wxString *) &arg4_defvalue ;
11569 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11570 wxString *arg5 = (wxString *) &arg5_defvalue ;
11571 long arg6 = (long) 0 ;
11572 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11573 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11574 wxFileDialog *result;
11575 bool temp2 = False ;
11576 bool temp3 = False ;
11577 bool temp4 = False ;
11578 bool temp5 = False ;
11579 wxPoint temp7 ;
11580 PyObject * obj0 = 0 ;
11581 PyObject * obj1 = 0 ;
11582 PyObject * obj2 = 0 ;
11583 PyObject * obj3 = 0 ;
11584 PyObject * obj4 = 0 ;
11585 PyObject * obj5 = 0 ;
11586 PyObject * obj6 = 0 ;
11587 char *kwnames[] = {
11588 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11589 };
11590
11591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11594 if (obj1) {
11595 {
11596 arg2 = wxString_in_helper(obj1);
11597 if (arg2 == NULL) SWIG_fail;
11598 temp2 = True;
11599 }
11600 }
11601 if (obj2) {
11602 {
11603 arg3 = wxString_in_helper(obj2);
11604 if (arg3 == NULL) SWIG_fail;
11605 temp3 = True;
11606 }
11607 }
11608 if (obj3) {
11609 {
11610 arg4 = wxString_in_helper(obj3);
11611 if (arg4 == NULL) SWIG_fail;
11612 temp4 = True;
11613 }
11614 }
11615 if (obj4) {
11616 {
11617 arg5 = wxString_in_helper(obj4);
11618 if (arg5 == NULL) SWIG_fail;
11619 temp5 = True;
11620 }
11621 }
11622 if (obj5) {
11623 arg6 = (long) SWIG_AsLong(obj5);
11624 if (PyErr_Occurred()) SWIG_fail;
11625 }
11626 if (obj6) {
11627 {
11628 arg7 = &temp7;
11629 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11630 }
11631 }
11632 {
11633 PyThreadState* __tstate = wxPyBeginAllowThreads();
11634 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11635
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
11639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11640 {
11641 if (temp2)
11642 delete arg2;
11643 }
11644 {
11645 if (temp3)
11646 delete arg3;
11647 }
11648 {
11649 if (temp4)
11650 delete arg4;
11651 }
11652 {
11653 if (temp5)
11654 delete arg5;
11655 }
11656 return resultobj;
11657 fail:
11658 {
11659 if (temp2)
11660 delete arg2;
11661 }
11662 {
11663 if (temp3)
11664 delete arg3;
11665 }
11666 {
11667 if (temp4)
11668 delete arg4;
11669 }
11670 {
11671 if (temp5)
11672 delete arg5;
11673 }
11674 return NULL;
11675 }
11676
11677
11678 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11679 PyObject *resultobj;
11680 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11681 wxString *arg2 = 0 ;
11682 bool temp2 = False ;
11683 PyObject * obj0 = 0 ;
11684 PyObject * obj1 = 0 ;
11685 char *kwnames[] = {
11686 (char *) "self",(char *) "message", NULL
11687 };
11688
11689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11692 {
11693 arg2 = wxString_in_helper(obj1);
11694 if (arg2 == NULL) SWIG_fail;
11695 temp2 = True;
11696 }
11697 {
11698 PyThreadState* __tstate = wxPyBeginAllowThreads();
11699 (arg1)->SetMessage((wxString const &)*arg2);
11700
11701 wxPyEndAllowThreads(__tstate);
11702 if (PyErr_Occurred()) SWIG_fail;
11703 }
11704 Py_INCREF(Py_None); resultobj = Py_None;
11705 {
11706 if (temp2)
11707 delete arg2;
11708 }
11709 return resultobj;
11710 fail:
11711 {
11712 if (temp2)
11713 delete arg2;
11714 }
11715 return NULL;
11716 }
11717
11718
11719 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11720 PyObject *resultobj;
11721 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11722 wxString *arg2 = 0 ;
11723 bool temp2 = False ;
11724 PyObject * obj0 = 0 ;
11725 PyObject * obj1 = 0 ;
11726 char *kwnames[] = {
11727 (char *) "self",(char *) "path", NULL
11728 };
11729
11730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11733 {
11734 arg2 = wxString_in_helper(obj1);
11735 if (arg2 == NULL) SWIG_fail;
11736 temp2 = True;
11737 }
11738 {
11739 PyThreadState* __tstate = wxPyBeginAllowThreads();
11740 (arg1)->SetPath((wxString const &)*arg2);
11741
11742 wxPyEndAllowThreads(__tstate);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 }
11745 Py_INCREF(Py_None); resultobj = Py_None;
11746 {
11747 if (temp2)
11748 delete arg2;
11749 }
11750 return resultobj;
11751 fail:
11752 {
11753 if (temp2)
11754 delete arg2;
11755 }
11756 return NULL;
11757 }
11758
11759
11760 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11761 PyObject *resultobj;
11762 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11763 wxString *arg2 = 0 ;
11764 bool temp2 = False ;
11765 PyObject * obj0 = 0 ;
11766 PyObject * obj1 = 0 ;
11767 char *kwnames[] = {
11768 (char *) "self",(char *) "dir", NULL
11769 };
11770
11771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11774 {
11775 arg2 = wxString_in_helper(obj1);
11776 if (arg2 == NULL) SWIG_fail;
11777 temp2 = True;
11778 }
11779 {
11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
11781 (arg1)->SetDirectory((wxString const &)*arg2);
11782
11783 wxPyEndAllowThreads(__tstate);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 }
11786 Py_INCREF(Py_None); resultobj = Py_None;
11787 {
11788 if (temp2)
11789 delete arg2;
11790 }
11791 return resultobj;
11792 fail:
11793 {
11794 if (temp2)
11795 delete arg2;
11796 }
11797 return NULL;
11798 }
11799
11800
11801 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11802 PyObject *resultobj;
11803 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11804 wxString *arg2 = 0 ;
11805 bool temp2 = False ;
11806 PyObject * obj0 = 0 ;
11807 PyObject * obj1 = 0 ;
11808 char *kwnames[] = {
11809 (char *) "self",(char *) "name", NULL
11810 };
11811
11812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11815 {
11816 arg2 = wxString_in_helper(obj1);
11817 if (arg2 == NULL) SWIG_fail;
11818 temp2 = True;
11819 }
11820 {
11821 PyThreadState* __tstate = wxPyBeginAllowThreads();
11822 (arg1)->SetFilename((wxString const &)*arg2);
11823
11824 wxPyEndAllowThreads(__tstate);
11825 if (PyErr_Occurred()) SWIG_fail;
11826 }
11827 Py_INCREF(Py_None); resultobj = Py_None;
11828 {
11829 if (temp2)
11830 delete arg2;
11831 }
11832 return resultobj;
11833 fail:
11834 {
11835 if (temp2)
11836 delete arg2;
11837 }
11838 return NULL;
11839 }
11840
11841
11842 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11843 PyObject *resultobj;
11844 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11845 wxString *arg2 = 0 ;
11846 bool temp2 = False ;
11847 PyObject * obj0 = 0 ;
11848 PyObject * obj1 = 0 ;
11849 char *kwnames[] = {
11850 (char *) "self",(char *) "wildCard", NULL
11851 };
11852
11853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11856 {
11857 arg2 = wxString_in_helper(obj1);
11858 if (arg2 == NULL) SWIG_fail;
11859 temp2 = True;
11860 }
11861 {
11862 PyThreadState* __tstate = wxPyBeginAllowThreads();
11863 (arg1)->SetWildcard((wxString const &)*arg2);
11864
11865 wxPyEndAllowThreads(__tstate);
11866 if (PyErr_Occurred()) SWIG_fail;
11867 }
11868 Py_INCREF(Py_None); resultobj = Py_None;
11869 {
11870 if (temp2)
11871 delete arg2;
11872 }
11873 return resultobj;
11874 fail:
11875 {
11876 if (temp2)
11877 delete arg2;
11878 }
11879 return NULL;
11880 }
11881
11882
11883 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11884 PyObject *resultobj;
11885 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11886 long arg2 ;
11887 PyObject * obj0 = 0 ;
11888 PyObject * obj1 = 0 ;
11889 char *kwnames[] = {
11890 (char *) "self",(char *) "style", NULL
11891 };
11892
11893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11896 arg2 = (long) SWIG_AsLong(obj1);
11897 if (PyErr_Occurred()) SWIG_fail;
11898 {
11899 PyThreadState* __tstate = wxPyBeginAllowThreads();
11900 (arg1)->SetStyle(arg2);
11901
11902 wxPyEndAllowThreads(__tstate);
11903 if (PyErr_Occurred()) SWIG_fail;
11904 }
11905 Py_INCREF(Py_None); resultobj = Py_None;
11906 return resultobj;
11907 fail:
11908 return NULL;
11909 }
11910
11911
11912 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11913 PyObject *resultobj;
11914 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11915 int arg2 ;
11916 PyObject * obj0 = 0 ;
11917 PyObject * obj1 = 0 ;
11918 char *kwnames[] = {
11919 (char *) "self",(char *) "filterIndex", NULL
11920 };
11921
11922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11925 arg2 = (int) SWIG_AsInt(obj1);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 (arg1)->SetFilterIndex(arg2);
11930
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 }
11934 Py_INCREF(Py_None); resultobj = Py_None;
11935 return resultobj;
11936 fail:
11937 return NULL;
11938 }
11939
11940
11941 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11942 PyObject *resultobj;
11943 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11944 wxString result;
11945 PyObject * obj0 = 0 ;
11946 char *kwnames[] = {
11947 (char *) "self", NULL
11948 };
11949
11950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11953 {
11954 PyThreadState* __tstate = wxPyBeginAllowThreads();
11955 result = ((wxFileDialog const *)arg1)->GetMessage();
11956
11957 wxPyEndAllowThreads(__tstate);
11958 if (PyErr_Occurred()) SWIG_fail;
11959 }
11960 {
11961 #if wxUSE_UNICODE
11962 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11963 #else
11964 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11965 #endif
11966 }
11967 return resultobj;
11968 fail:
11969 return NULL;
11970 }
11971
11972
11973 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11974 PyObject *resultobj;
11975 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11976 wxString result;
11977 PyObject * obj0 = 0 ;
11978 char *kwnames[] = {
11979 (char *) "self", NULL
11980 };
11981
11982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11985 {
11986 PyThreadState* __tstate = wxPyBeginAllowThreads();
11987 result = ((wxFileDialog const *)arg1)->GetPath();
11988
11989 wxPyEndAllowThreads(__tstate);
11990 if (PyErr_Occurred()) SWIG_fail;
11991 }
11992 {
11993 #if wxUSE_UNICODE
11994 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11995 #else
11996 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11997 #endif
11998 }
11999 return resultobj;
12000 fail:
12001 return NULL;
12002 }
12003
12004
12005 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12006 PyObject *resultobj;
12007 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12008 wxString result;
12009 PyObject * obj0 = 0 ;
12010 char *kwnames[] = {
12011 (char *) "self", NULL
12012 };
12013
12014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 result = ((wxFileDialog const *)arg1)->GetDirectory();
12020
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) SWIG_fail;
12023 }
12024 {
12025 #if wxUSE_UNICODE
12026 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12027 #else
12028 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12029 #endif
12030 }
12031 return resultobj;
12032 fail:
12033 return NULL;
12034 }
12035
12036
12037 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12038 PyObject *resultobj;
12039 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12040 wxString result;
12041 PyObject * obj0 = 0 ;
12042 char *kwnames[] = {
12043 (char *) "self", NULL
12044 };
12045
12046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = ((wxFileDialog const *)arg1)->GetFilename();
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 {
12057 #if wxUSE_UNICODE
12058 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12059 #else
12060 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12061 #endif
12062 }
12063 return resultobj;
12064 fail:
12065 return NULL;
12066 }
12067
12068
12069 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12070 PyObject *resultobj;
12071 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12072 wxString result;
12073 PyObject * obj0 = 0 ;
12074 char *kwnames[] = {
12075 (char *) "self", NULL
12076 };
12077
12078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12081 {
12082 PyThreadState* __tstate = wxPyBeginAllowThreads();
12083 result = ((wxFileDialog const *)arg1)->GetWildcard();
12084
12085 wxPyEndAllowThreads(__tstate);
12086 if (PyErr_Occurred()) SWIG_fail;
12087 }
12088 {
12089 #if wxUSE_UNICODE
12090 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12091 #else
12092 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12093 #endif
12094 }
12095 return resultobj;
12096 fail:
12097 return NULL;
12098 }
12099
12100
12101 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12102 PyObject *resultobj;
12103 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12104 long result;
12105 PyObject * obj0 = 0 ;
12106 char *kwnames[] = {
12107 (char *) "self", NULL
12108 };
12109
12110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12113 {
12114 PyThreadState* __tstate = wxPyBeginAllowThreads();
12115 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12116
12117 wxPyEndAllowThreads(__tstate);
12118 if (PyErr_Occurred()) SWIG_fail;
12119 }
12120 resultobj = SWIG_FromLong((long)result);
12121 return resultobj;
12122 fail:
12123 return NULL;
12124 }
12125
12126
12127 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12128 PyObject *resultobj;
12129 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12130 int result;
12131 PyObject * obj0 = 0 ;
12132 char *kwnames[] = {
12133 (char *) "self", NULL
12134 };
12135
12136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12139 {
12140 PyThreadState* __tstate = wxPyBeginAllowThreads();
12141 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12142
12143 wxPyEndAllowThreads(__tstate);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
12146 resultobj = SWIG_FromInt((int)result);
12147 return resultobj;
12148 fail:
12149 return NULL;
12150 }
12151
12152
12153 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12154 PyObject *resultobj;
12155 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12156 PyObject *result;
12157 PyObject * obj0 = 0 ;
12158 char *kwnames[] = {
12159 (char *) "self", NULL
12160 };
12161
12162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12165 {
12166 PyThreadState* __tstate = wxPyBeginAllowThreads();
12167 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12168
12169 wxPyEndAllowThreads(__tstate);
12170 if (PyErr_Occurred()) SWIG_fail;
12171 }
12172 resultobj = result;
12173 return resultobj;
12174 fail:
12175 return NULL;
12176 }
12177
12178
12179 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12180 PyObject *resultobj;
12181 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12182 PyObject *result;
12183 PyObject * obj0 = 0 ;
12184 char *kwnames[] = {
12185 (char *) "self", NULL
12186 };
12187
12188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12191 {
12192 PyThreadState* __tstate = wxPyBeginAllowThreads();
12193 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12194
12195 wxPyEndAllowThreads(__tstate);
12196 if (PyErr_Occurred()) SWIG_fail;
12197 }
12198 resultobj = result;
12199 return resultobj;
12200 fail:
12201 return NULL;
12202 }
12203
12204
12205 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12206 PyObject *obj;
12207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12208 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12209 Py_INCREF(obj);
12210 return Py_BuildValue((char *)"");
12211 }
12212 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12213 PyObject *resultobj;
12214 wxWindow *arg1 = (wxWindow *) 0 ;
12215 wxString *arg2 = 0 ;
12216 wxString *arg3 = 0 ;
12217 int arg4 = (int) 0 ;
12218 wxString *arg5 = (wxString *) 0 ;
12219 long arg6 = (long) wxCHOICEDLG_STYLE ;
12220 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12221 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12222 wxMultiChoiceDialog *result;
12223 bool temp2 = False ;
12224 bool temp3 = False ;
12225 wxPoint temp6 ;
12226 PyObject * obj0 = 0 ;
12227 PyObject * obj1 = 0 ;
12228 PyObject * obj2 = 0 ;
12229 PyObject * obj3 = 0 ;
12230 PyObject * obj4 = 0 ;
12231 PyObject * obj5 = 0 ;
12232 char *kwnames[] = {
12233 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12234 };
12235
12236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12239 {
12240 arg2 = wxString_in_helper(obj1);
12241 if (arg2 == NULL) SWIG_fail;
12242 temp2 = True;
12243 }
12244 {
12245 arg3 = wxString_in_helper(obj2);
12246 if (arg3 == NULL) SWIG_fail;
12247 temp3 = True;
12248 }
12249 if (obj3) {
12250 {
12251 arg4 = PyList_Size(obj3);
12252 arg5 = wxString_LIST_helper(obj3);
12253 if (arg5 == NULL) SWIG_fail;
12254 }
12255 }
12256 if (obj4) {
12257 arg6 = (long) SWIG_AsLong(obj4);
12258 if (PyErr_Occurred()) SWIG_fail;
12259 }
12260 if (obj5) {
12261 {
12262 arg7 = &temp6;
12263 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12264 }
12265 }
12266 {
12267 PyThreadState* __tstate = wxPyBeginAllowThreads();
12268 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12269
12270 wxPyEndAllowThreads(__tstate);
12271 if (PyErr_Occurred()) SWIG_fail;
12272 }
12273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12274 {
12275 if (temp2)
12276 delete arg2;
12277 }
12278 {
12279 if (temp3)
12280 delete arg3;
12281 }
12282 {
12283 if (arg5) delete [] arg5;
12284 }
12285 return resultobj;
12286 fail:
12287 {
12288 if (temp2)
12289 delete arg2;
12290 }
12291 {
12292 if (temp3)
12293 delete arg3;
12294 }
12295 {
12296 if (arg5) delete [] arg5;
12297 }
12298 return NULL;
12299 }
12300
12301
12302 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12303 PyObject *resultobj;
12304 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12305 wxArrayInt *arg2 = 0 ;
12306 bool temp2 = False ;
12307 PyObject * obj0 = 0 ;
12308 PyObject * obj1 = 0 ;
12309 char *kwnames[] = {
12310 (char *) "self",(char *) "selections", NULL
12311 };
12312
12313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12316 {
12317 if (! PySequence_Check(obj1)) {
12318 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12319 SWIG_fail;
12320 }
12321 arg2 = new wxArrayInt;
12322 temp2 = True;
12323 int i, len=PySequence_Length(obj1);
12324 for (i=0; i<len; i++) {
12325 PyObject* item = PySequence_GetItem(obj1, i);
12326 PyObject* number = PyNumber_Int(item);
12327 arg2->Add(PyInt_AS_LONG(number));
12328 Py_DECREF(item);
12329 Py_DECREF(number);
12330 }
12331 }
12332 {
12333 PyThreadState* __tstate = wxPyBeginAllowThreads();
12334 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12335
12336 wxPyEndAllowThreads(__tstate);
12337 if (PyErr_Occurred()) SWIG_fail;
12338 }
12339 Py_INCREF(Py_None); resultobj = Py_None;
12340 {
12341 if (temp2) delete arg2;
12342 }
12343 return resultobj;
12344 fail:
12345 {
12346 if (temp2) delete arg2;
12347 }
12348 return NULL;
12349 }
12350
12351
12352 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12353 PyObject *resultobj;
12354 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12355 PyObject *result;
12356 PyObject * obj0 = 0 ;
12357 char *kwnames[] = {
12358 (char *) "self", NULL
12359 };
12360
12361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12367
12368 wxPyEndAllowThreads(__tstate);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
12371 resultobj = result;
12372 return resultobj;
12373 fail:
12374 return NULL;
12375 }
12376
12377
12378 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12379 PyObject *obj;
12380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12381 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12382 Py_INCREF(obj);
12383 return Py_BuildValue((char *)"");
12384 }
12385 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12386 PyObject *resultobj;
12387 wxWindow *arg1 = (wxWindow *) 0 ;
12388 wxString *arg2 = 0 ;
12389 wxString *arg3 = 0 ;
12390 int arg4 ;
12391 wxString *arg5 = (wxString *) 0 ;
12392 long arg6 = (long) wxCHOICEDLG_STYLE ;
12393 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12394 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12395 wxSingleChoiceDialog *result;
12396 bool temp2 = False ;
12397 bool temp3 = False ;
12398 wxPoint temp6 ;
12399 PyObject * obj0 = 0 ;
12400 PyObject * obj1 = 0 ;
12401 PyObject * obj2 = 0 ;
12402 PyObject * obj3 = 0 ;
12403 PyObject * obj4 = 0 ;
12404 PyObject * obj5 = 0 ;
12405 char *kwnames[] = {
12406 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12407 };
12408
12409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12412 {
12413 arg2 = wxString_in_helper(obj1);
12414 if (arg2 == NULL) SWIG_fail;
12415 temp2 = True;
12416 }
12417 {
12418 arg3 = wxString_in_helper(obj2);
12419 if (arg3 == NULL) SWIG_fail;
12420 temp3 = True;
12421 }
12422 {
12423 arg4 = PyList_Size(obj3);
12424 arg5 = wxString_LIST_helper(obj3);
12425 if (arg5 == NULL) SWIG_fail;
12426 }
12427 if (obj4) {
12428 arg6 = (long) SWIG_AsLong(obj4);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 if (obj5) {
12432 {
12433 arg7 = &temp6;
12434 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12435 }
12436 }
12437 {
12438 PyThreadState* __tstate = wxPyBeginAllowThreads();
12439 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12440
12441 wxPyEndAllowThreads(__tstate);
12442 if (PyErr_Occurred()) SWIG_fail;
12443 }
12444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12445 {
12446 if (temp2)
12447 delete arg2;
12448 }
12449 {
12450 if (temp3)
12451 delete arg3;
12452 }
12453 {
12454 if (arg5) delete [] arg5;
12455 }
12456 return resultobj;
12457 fail:
12458 {
12459 if (temp2)
12460 delete arg2;
12461 }
12462 {
12463 if (temp3)
12464 delete arg3;
12465 }
12466 {
12467 if (arg5) delete [] arg5;
12468 }
12469 return NULL;
12470 }
12471
12472
12473 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12474 PyObject *resultobj;
12475 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12476 int result;
12477 PyObject * obj0 = 0 ;
12478 char *kwnames[] = {
12479 (char *) "self", NULL
12480 };
12481
12482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12485 {
12486 PyThreadState* __tstate = wxPyBeginAllowThreads();
12487 result = (int)(arg1)->GetSelection();
12488
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 resultobj = SWIG_FromInt((int)result);
12493 return resultobj;
12494 fail:
12495 return NULL;
12496 }
12497
12498
12499 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12500 PyObject *resultobj;
12501 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12502 wxString result;
12503 PyObject * obj0 = 0 ;
12504 char *kwnames[] = {
12505 (char *) "self", NULL
12506 };
12507
12508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12511 {
12512 PyThreadState* __tstate = wxPyBeginAllowThreads();
12513 result = (arg1)->GetStringSelection();
12514
12515 wxPyEndAllowThreads(__tstate);
12516 if (PyErr_Occurred()) SWIG_fail;
12517 }
12518 {
12519 #if wxUSE_UNICODE
12520 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12521 #else
12522 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12523 #endif
12524 }
12525 return resultobj;
12526 fail:
12527 return NULL;
12528 }
12529
12530
12531 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12532 PyObject *resultobj;
12533 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12534 int arg2 ;
12535 PyObject * obj0 = 0 ;
12536 PyObject * obj1 = 0 ;
12537 char *kwnames[] = {
12538 (char *) "self",(char *) "sel", NULL
12539 };
12540
12541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12544 arg2 = (int) SWIG_AsInt(obj1);
12545 if (PyErr_Occurred()) SWIG_fail;
12546 {
12547 PyThreadState* __tstate = wxPyBeginAllowThreads();
12548 (arg1)->SetSelection(arg2);
12549
12550 wxPyEndAllowThreads(__tstate);
12551 if (PyErr_Occurred()) SWIG_fail;
12552 }
12553 Py_INCREF(Py_None); resultobj = Py_None;
12554 return resultobj;
12555 fail:
12556 return NULL;
12557 }
12558
12559
12560 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12561 PyObject *obj;
12562 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12563 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12564 Py_INCREF(obj);
12565 return Py_BuildValue((char *)"");
12566 }
12567 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12568 PyObject *resultobj;
12569 wxWindow *arg1 = (wxWindow *) 0 ;
12570 wxString *arg2 = 0 ;
12571 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12572 wxString *arg3 = (wxString *) &arg3_defvalue ;
12573 wxString const &arg4_defvalue = wxPyEmptyString ;
12574 wxString *arg4 = (wxString *) &arg4_defvalue ;
12575 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12576 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12577 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12578 wxTextEntryDialog *result;
12579 bool temp2 = False ;
12580 bool temp3 = False ;
12581 bool temp4 = False ;
12582 wxPoint temp6 ;
12583 PyObject * obj0 = 0 ;
12584 PyObject * obj1 = 0 ;
12585 PyObject * obj2 = 0 ;
12586 PyObject * obj3 = 0 ;
12587 PyObject * obj4 = 0 ;
12588 PyObject * obj5 = 0 ;
12589 char *kwnames[] = {
12590 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12591 };
12592
12593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12596 {
12597 arg2 = wxString_in_helper(obj1);
12598 if (arg2 == NULL) SWIG_fail;
12599 temp2 = True;
12600 }
12601 if (obj2) {
12602 {
12603 arg3 = wxString_in_helper(obj2);
12604 if (arg3 == NULL) SWIG_fail;
12605 temp3 = True;
12606 }
12607 }
12608 if (obj3) {
12609 {
12610 arg4 = wxString_in_helper(obj3);
12611 if (arg4 == NULL) SWIG_fail;
12612 temp4 = True;
12613 }
12614 }
12615 if (obj4) {
12616 arg5 = (long) SWIG_AsLong(obj4);
12617 if (PyErr_Occurred()) SWIG_fail;
12618 }
12619 if (obj5) {
12620 {
12621 arg6 = &temp6;
12622 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12623 }
12624 }
12625 {
12626 PyThreadState* __tstate = wxPyBeginAllowThreads();
12627 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12628
12629 wxPyEndAllowThreads(__tstate);
12630 if (PyErr_Occurred()) SWIG_fail;
12631 }
12632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12633 {
12634 if (temp2)
12635 delete arg2;
12636 }
12637 {
12638 if (temp3)
12639 delete arg3;
12640 }
12641 {
12642 if (temp4)
12643 delete arg4;
12644 }
12645 return resultobj;
12646 fail:
12647 {
12648 if (temp2)
12649 delete arg2;
12650 }
12651 {
12652 if (temp3)
12653 delete arg3;
12654 }
12655 {
12656 if (temp4)
12657 delete arg4;
12658 }
12659 return NULL;
12660 }
12661
12662
12663 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12664 PyObject *resultobj;
12665 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12666 wxString result;
12667 PyObject * obj0 = 0 ;
12668 char *kwnames[] = {
12669 (char *) "self", NULL
12670 };
12671
12672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12675 {
12676 PyThreadState* __tstate = wxPyBeginAllowThreads();
12677 result = (arg1)->GetValue();
12678
12679 wxPyEndAllowThreads(__tstate);
12680 if (PyErr_Occurred()) SWIG_fail;
12681 }
12682 {
12683 #if wxUSE_UNICODE
12684 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12685 #else
12686 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12687 #endif
12688 }
12689 return resultobj;
12690 fail:
12691 return NULL;
12692 }
12693
12694
12695 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12696 PyObject *resultobj;
12697 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12698 wxString *arg2 = 0 ;
12699 bool temp2 = False ;
12700 PyObject * obj0 = 0 ;
12701 PyObject * obj1 = 0 ;
12702 char *kwnames[] = {
12703 (char *) "self",(char *) "value", NULL
12704 };
12705
12706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12709 {
12710 arg2 = wxString_in_helper(obj1);
12711 if (arg2 == NULL) SWIG_fail;
12712 temp2 = True;
12713 }
12714 {
12715 PyThreadState* __tstate = wxPyBeginAllowThreads();
12716 (arg1)->SetValue((wxString const &)*arg2);
12717
12718 wxPyEndAllowThreads(__tstate);
12719 if (PyErr_Occurred()) SWIG_fail;
12720 }
12721 Py_INCREF(Py_None); resultobj = Py_None;
12722 {
12723 if (temp2)
12724 delete arg2;
12725 }
12726 return resultobj;
12727 fail:
12728 {
12729 if (temp2)
12730 delete arg2;
12731 }
12732 return NULL;
12733 }
12734
12735
12736 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12737 PyObject *obj;
12738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12739 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12740 Py_INCREF(obj);
12741 return Py_BuildValue((char *)"");
12742 }
12743 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12744 PyObject *resultobj;
12745 wxFontData *result;
12746 char *kwnames[] = {
12747 NULL
12748 };
12749
12750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12751 {
12752 PyThreadState* __tstate = wxPyBeginAllowThreads();
12753 result = (wxFontData *)new wxFontData();
12754
12755 wxPyEndAllowThreads(__tstate);
12756 if (PyErr_Occurred()) SWIG_fail;
12757 }
12758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12759 return resultobj;
12760 fail:
12761 return NULL;
12762 }
12763
12764
12765 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12766 PyObject *resultobj;
12767 wxFontData *arg1 = (wxFontData *) 0 ;
12768 PyObject * obj0 = 0 ;
12769 char *kwnames[] = {
12770 (char *) "self", NULL
12771 };
12772
12773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 delete arg1;
12779
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 Py_INCREF(Py_None); resultobj = Py_None;
12784 return resultobj;
12785 fail:
12786 return NULL;
12787 }
12788
12789
12790 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12791 PyObject *resultobj;
12792 wxFontData *arg1 = (wxFontData *) 0 ;
12793 bool arg2 ;
12794 PyObject * obj0 = 0 ;
12795 PyObject * obj1 = 0 ;
12796 char *kwnames[] = {
12797 (char *) "self",(char *) "enable", NULL
12798 };
12799
12800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12803 arg2 = (bool) SWIG_AsBool(obj1);
12804 if (PyErr_Occurred()) SWIG_fail;
12805 {
12806 PyThreadState* __tstate = wxPyBeginAllowThreads();
12807 (arg1)->EnableEffects(arg2);
12808
12809 wxPyEndAllowThreads(__tstate);
12810 if (PyErr_Occurred()) SWIG_fail;
12811 }
12812 Py_INCREF(Py_None); resultobj = Py_None;
12813 return resultobj;
12814 fail:
12815 return NULL;
12816 }
12817
12818
12819 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12820 PyObject *resultobj;
12821 wxFontData *arg1 = (wxFontData *) 0 ;
12822 bool result;
12823 PyObject * obj0 = 0 ;
12824 char *kwnames[] = {
12825 (char *) "self", NULL
12826 };
12827
12828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12831 {
12832 PyThreadState* __tstate = wxPyBeginAllowThreads();
12833 result = (bool)(arg1)->GetAllowSymbols();
12834
12835 wxPyEndAllowThreads(__tstate);
12836 if (PyErr_Occurred()) SWIG_fail;
12837 }
12838 {
12839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12840 }
12841 return resultobj;
12842 fail:
12843 return NULL;
12844 }
12845
12846
12847 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12848 PyObject *resultobj;
12849 wxFontData *arg1 = (wxFontData *) 0 ;
12850 wxColour result;
12851 PyObject * obj0 = 0 ;
12852 char *kwnames[] = {
12853 (char *) "self", NULL
12854 };
12855
12856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 result = (arg1)->GetColour();
12862
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 {
12867 wxColour * resultptr;
12868 resultptr = new wxColour((wxColour &) result);
12869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12870 }
12871 return resultobj;
12872 fail:
12873 return NULL;
12874 }
12875
12876
12877 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12878 PyObject *resultobj;
12879 wxFontData *arg1 = (wxFontData *) 0 ;
12880 wxFont result;
12881 PyObject * obj0 = 0 ;
12882 char *kwnames[] = {
12883 (char *) "self", NULL
12884 };
12885
12886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12889 {
12890 PyThreadState* __tstate = wxPyBeginAllowThreads();
12891 result = (arg1)->GetChosenFont();
12892
12893 wxPyEndAllowThreads(__tstate);
12894 if (PyErr_Occurred()) SWIG_fail;
12895 }
12896 {
12897 wxFont * resultptr;
12898 resultptr = new wxFont((wxFont &) result);
12899 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12900 }
12901 return resultobj;
12902 fail:
12903 return NULL;
12904 }
12905
12906
12907 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12908 PyObject *resultobj;
12909 wxFontData *arg1 = (wxFontData *) 0 ;
12910 bool result;
12911 PyObject * obj0 = 0 ;
12912 char *kwnames[] = {
12913 (char *) "self", NULL
12914 };
12915
12916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12919 {
12920 PyThreadState* __tstate = wxPyBeginAllowThreads();
12921 result = (bool)(arg1)->GetEnableEffects();
12922
12923 wxPyEndAllowThreads(__tstate);
12924 if (PyErr_Occurred()) SWIG_fail;
12925 }
12926 {
12927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12928 }
12929 return resultobj;
12930 fail:
12931 return NULL;
12932 }
12933
12934
12935 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12936 PyObject *resultobj;
12937 wxFontData *arg1 = (wxFontData *) 0 ;
12938 wxFont result;
12939 PyObject * obj0 = 0 ;
12940 char *kwnames[] = {
12941 (char *) "self", NULL
12942 };
12943
12944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12947 {
12948 PyThreadState* __tstate = wxPyBeginAllowThreads();
12949 result = (arg1)->GetInitialFont();
12950
12951 wxPyEndAllowThreads(__tstate);
12952 if (PyErr_Occurred()) SWIG_fail;
12953 }
12954 {
12955 wxFont * resultptr;
12956 resultptr = new wxFont((wxFont &) result);
12957 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12958 }
12959 return resultobj;
12960 fail:
12961 return NULL;
12962 }
12963
12964
12965 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12966 PyObject *resultobj;
12967 wxFontData *arg1 = (wxFontData *) 0 ;
12968 bool result;
12969 PyObject * obj0 = 0 ;
12970 char *kwnames[] = {
12971 (char *) "self", NULL
12972 };
12973
12974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
12979 result = (bool)(arg1)->GetShowHelp();
12980
12981 wxPyEndAllowThreads(__tstate);
12982 if (PyErr_Occurred()) SWIG_fail;
12983 }
12984 {
12985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12986 }
12987 return resultobj;
12988 fail:
12989 return NULL;
12990 }
12991
12992
12993 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12994 PyObject *resultobj;
12995 wxFontData *arg1 = (wxFontData *) 0 ;
12996 bool arg2 ;
12997 PyObject * obj0 = 0 ;
12998 PyObject * obj1 = 0 ;
12999 char *kwnames[] = {
13000 (char *) "self",(char *) "allowSymbols", NULL
13001 };
13002
13003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13006 arg2 = (bool) SWIG_AsBool(obj1);
13007 if (PyErr_Occurred()) SWIG_fail;
13008 {
13009 PyThreadState* __tstate = wxPyBeginAllowThreads();
13010 (arg1)->SetAllowSymbols(arg2);
13011
13012 wxPyEndAllowThreads(__tstate);
13013 if (PyErr_Occurred()) SWIG_fail;
13014 }
13015 Py_INCREF(Py_None); resultobj = Py_None;
13016 return resultobj;
13017 fail:
13018 return NULL;
13019 }
13020
13021
13022 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13023 PyObject *resultobj;
13024 wxFontData *arg1 = (wxFontData *) 0 ;
13025 wxFont *arg2 = 0 ;
13026 PyObject * obj0 = 0 ;
13027 PyObject * obj1 = 0 ;
13028 char *kwnames[] = {
13029 (char *) "self",(char *) "font", NULL
13030 };
13031
13032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13035 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13036 SWIG_POINTER_EXCEPTION | 0)) == -1)
13037 SWIG_fail;
13038 if (arg2 == NULL) {
13039 PyErr_SetString(PyExc_TypeError,"null reference");
13040 SWIG_fail;
13041 }
13042 {
13043 PyThreadState* __tstate = wxPyBeginAllowThreads();
13044 (arg1)->SetChosenFont((wxFont const &)*arg2);
13045
13046 wxPyEndAllowThreads(__tstate);
13047 if (PyErr_Occurred()) SWIG_fail;
13048 }
13049 Py_INCREF(Py_None); resultobj = Py_None;
13050 return resultobj;
13051 fail:
13052 return NULL;
13053 }
13054
13055
13056 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13057 PyObject *resultobj;
13058 wxFontData *arg1 = (wxFontData *) 0 ;
13059 wxColour *arg2 = 0 ;
13060 wxColour temp2 ;
13061 PyObject * obj0 = 0 ;
13062 PyObject * obj1 = 0 ;
13063 char *kwnames[] = {
13064 (char *) "self",(char *) "colour", NULL
13065 };
13066
13067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13070 {
13071 arg2 = &temp2;
13072 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13073 }
13074 {
13075 PyThreadState* __tstate = wxPyBeginAllowThreads();
13076 (arg1)->SetColour((wxColour const &)*arg2);
13077
13078 wxPyEndAllowThreads(__tstate);
13079 if (PyErr_Occurred()) SWIG_fail;
13080 }
13081 Py_INCREF(Py_None); resultobj = Py_None;
13082 return resultobj;
13083 fail:
13084 return NULL;
13085 }
13086
13087
13088 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13089 PyObject *resultobj;
13090 wxFontData *arg1 = (wxFontData *) 0 ;
13091 wxFont *arg2 = 0 ;
13092 PyObject * obj0 = 0 ;
13093 PyObject * obj1 = 0 ;
13094 char *kwnames[] = {
13095 (char *) "self",(char *) "font", NULL
13096 };
13097
13098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13101 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13102 SWIG_POINTER_EXCEPTION | 0)) == -1)
13103 SWIG_fail;
13104 if (arg2 == NULL) {
13105 PyErr_SetString(PyExc_TypeError,"null reference");
13106 SWIG_fail;
13107 }
13108 {
13109 PyThreadState* __tstate = wxPyBeginAllowThreads();
13110 (arg1)->SetInitialFont((wxFont const &)*arg2);
13111
13112 wxPyEndAllowThreads(__tstate);
13113 if (PyErr_Occurred()) SWIG_fail;
13114 }
13115 Py_INCREF(Py_None); resultobj = Py_None;
13116 return resultobj;
13117 fail:
13118 return NULL;
13119 }
13120
13121
13122 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13123 PyObject *resultobj;
13124 wxFontData *arg1 = (wxFontData *) 0 ;
13125 int arg2 ;
13126 int arg3 ;
13127 PyObject * obj0 = 0 ;
13128 PyObject * obj1 = 0 ;
13129 PyObject * obj2 = 0 ;
13130 char *kwnames[] = {
13131 (char *) "self",(char *) "min",(char *) "max", NULL
13132 };
13133
13134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13137 arg2 = (int) SWIG_AsInt(obj1);
13138 if (PyErr_Occurred()) SWIG_fail;
13139 arg3 = (int) SWIG_AsInt(obj2);
13140 if (PyErr_Occurred()) SWIG_fail;
13141 {
13142 PyThreadState* __tstate = wxPyBeginAllowThreads();
13143 (arg1)->SetRange(arg2,arg3);
13144
13145 wxPyEndAllowThreads(__tstate);
13146 if (PyErr_Occurred()) SWIG_fail;
13147 }
13148 Py_INCREF(Py_None); resultobj = Py_None;
13149 return resultobj;
13150 fail:
13151 return NULL;
13152 }
13153
13154
13155 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13156 PyObject *resultobj;
13157 wxFontData *arg1 = (wxFontData *) 0 ;
13158 bool arg2 ;
13159 PyObject * obj0 = 0 ;
13160 PyObject * obj1 = 0 ;
13161 char *kwnames[] = {
13162 (char *) "self",(char *) "showHelp", NULL
13163 };
13164
13165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13168 arg2 = (bool) SWIG_AsBool(obj1);
13169 if (PyErr_Occurred()) SWIG_fail;
13170 {
13171 PyThreadState* __tstate = wxPyBeginAllowThreads();
13172 (arg1)->SetShowHelp(arg2);
13173
13174 wxPyEndAllowThreads(__tstate);
13175 if (PyErr_Occurred()) SWIG_fail;
13176 }
13177 Py_INCREF(Py_None); resultobj = Py_None;
13178 return resultobj;
13179 fail:
13180 return NULL;
13181 }
13182
13183
13184 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13185 PyObject *obj;
13186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13187 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13188 Py_INCREF(obj);
13189 return Py_BuildValue((char *)"");
13190 }
13191 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13192 PyObject *resultobj;
13193 wxWindow *arg1 = (wxWindow *) 0 ;
13194 wxFontData *arg2 = 0 ;
13195 wxFontDialog *result;
13196 PyObject * obj0 = 0 ;
13197 PyObject * obj1 = 0 ;
13198 char *kwnames[] = {
13199 (char *) "parent",(char *) "data", NULL
13200 };
13201
13202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13206 SWIG_POINTER_EXCEPTION | 0)) == -1)
13207 SWIG_fail;
13208 if (arg2 == NULL) {
13209 PyErr_SetString(PyExc_TypeError,"null reference");
13210 SWIG_fail;
13211 }
13212 {
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13215
13216 wxPyEndAllowThreads(__tstate);
13217 if (PyErr_Occurred()) SWIG_fail;
13218 }
13219 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13220 return resultobj;
13221 fail:
13222 return NULL;
13223 }
13224
13225
13226 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13227 PyObject *resultobj;
13228 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13229 wxFontData *result;
13230 PyObject * obj0 = 0 ;
13231 char *kwnames[] = {
13232 (char *) "self", NULL
13233 };
13234
13235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13238 {
13239 PyThreadState* __tstate = wxPyBeginAllowThreads();
13240 {
13241 wxFontData &_result_ref = (arg1)->GetFontData();
13242 result = (wxFontData *) &_result_ref;
13243 }
13244
13245 wxPyEndAllowThreads(__tstate);
13246 if (PyErr_Occurred()) SWIG_fail;
13247 }
13248 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13249 return resultobj;
13250 fail:
13251 return NULL;
13252 }
13253
13254
13255 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13256 PyObject *obj;
13257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13258 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13259 Py_INCREF(obj);
13260 return Py_BuildValue((char *)"");
13261 }
13262 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13263 PyObject *resultobj;
13264 wxWindow *arg1 = (wxWindow *) 0 ;
13265 wxString *arg2 = 0 ;
13266 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13267 wxString *arg3 = (wxString *) &arg3_defvalue ;
13268 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13269 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13270 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13271 wxMessageDialog *result;
13272 bool temp2 = False ;
13273 bool temp3 = False ;
13274 wxPoint temp5 ;
13275 PyObject * obj0 = 0 ;
13276 PyObject * obj1 = 0 ;
13277 PyObject * obj2 = 0 ;
13278 PyObject * obj3 = 0 ;
13279 PyObject * obj4 = 0 ;
13280 char *kwnames[] = {
13281 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13282 };
13283
13284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13287 {
13288 arg2 = wxString_in_helper(obj1);
13289 if (arg2 == NULL) SWIG_fail;
13290 temp2 = True;
13291 }
13292 if (obj2) {
13293 {
13294 arg3 = wxString_in_helper(obj2);
13295 if (arg3 == NULL) SWIG_fail;
13296 temp3 = True;
13297 }
13298 }
13299 if (obj3) {
13300 arg4 = (long) SWIG_AsLong(obj3);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 if (obj4) {
13304 {
13305 arg5 = &temp5;
13306 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13307 }
13308 }
13309 {
13310 PyThreadState* __tstate = wxPyBeginAllowThreads();
13311 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13312
13313 wxPyEndAllowThreads(__tstate);
13314 if (PyErr_Occurred()) SWIG_fail;
13315 }
13316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13317 {
13318 if (temp2)
13319 delete arg2;
13320 }
13321 {
13322 if (temp3)
13323 delete arg3;
13324 }
13325 return resultobj;
13326 fail:
13327 {
13328 if (temp2)
13329 delete arg2;
13330 }
13331 {
13332 if (temp3)
13333 delete arg3;
13334 }
13335 return NULL;
13336 }
13337
13338
13339 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13340 PyObject *obj;
13341 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13342 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13343 Py_INCREF(obj);
13344 return Py_BuildValue((char *)"");
13345 }
13346 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13347 PyObject *resultobj;
13348 wxString *arg1 = 0 ;
13349 wxString *arg2 = 0 ;
13350 int arg3 = (int) 100 ;
13351 wxWindow *arg4 = (wxWindow *) NULL ;
13352 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13353 wxProgressDialog *result;
13354 bool temp1 = False ;
13355 bool temp2 = False ;
13356 PyObject * obj0 = 0 ;
13357 PyObject * obj1 = 0 ;
13358 PyObject * obj2 = 0 ;
13359 PyObject * obj3 = 0 ;
13360 PyObject * obj4 = 0 ;
13361 char *kwnames[] = {
13362 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13363 };
13364
13365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13366 {
13367 arg1 = wxString_in_helper(obj0);
13368 if (arg1 == NULL) SWIG_fail;
13369 temp1 = True;
13370 }
13371 {
13372 arg2 = wxString_in_helper(obj1);
13373 if (arg2 == NULL) SWIG_fail;
13374 temp2 = True;
13375 }
13376 if (obj2) {
13377 arg3 = (int) SWIG_AsInt(obj2);
13378 if (PyErr_Occurred()) SWIG_fail;
13379 }
13380 if (obj3) {
13381 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13383 }
13384 if (obj4) {
13385 arg5 = (int) SWIG_AsInt(obj4);
13386 if (PyErr_Occurred()) SWIG_fail;
13387 }
13388 {
13389 PyThreadState* __tstate = wxPyBeginAllowThreads();
13390 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13391
13392 wxPyEndAllowThreads(__tstate);
13393 if (PyErr_Occurred()) SWIG_fail;
13394 }
13395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13396 {
13397 if (temp1)
13398 delete arg1;
13399 }
13400 {
13401 if (temp2)
13402 delete arg2;
13403 }
13404 return resultobj;
13405 fail:
13406 {
13407 if (temp1)
13408 delete arg1;
13409 }
13410 {
13411 if (temp2)
13412 delete arg2;
13413 }
13414 return NULL;
13415 }
13416
13417
13418 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13419 PyObject *resultobj;
13420 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13421 int arg2 ;
13422 wxString const &arg3_defvalue = wxPyEmptyString ;
13423 wxString *arg3 = (wxString *) &arg3_defvalue ;
13424 bool result;
13425 bool temp3 = False ;
13426 PyObject * obj0 = 0 ;
13427 PyObject * obj1 = 0 ;
13428 PyObject * obj2 = 0 ;
13429 char *kwnames[] = {
13430 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13431 };
13432
13433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13436 arg2 = (int) SWIG_AsInt(obj1);
13437 if (PyErr_Occurred()) SWIG_fail;
13438 if (obj2) {
13439 {
13440 arg3 = wxString_in_helper(obj2);
13441 if (arg3 == NULL) SWIG_fail;
13442 temp3 = True;
13443 }
13444 }
13445 {
13446 PyThreadState* __tstate = wxPyBeginAllowThreads();
13447 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13448
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 {
13453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13454 }
13455 {
13456 if (temp3)
13457 delete arg3;
13458 }
13459 return resultobj;
13460 fail:
13461 {
13462 if (temp3)
13463 delete arg3;
13464 }
13465 return NULL;
13466 }
13467
13468
13469 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13470 PyObject *resultobj;
13471 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13472 PyObject * obj0 = 0 ;
13473 char *kwnames[] = {
13474 (char *) "self", NULL
13475 };
13476
13477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13480 {
13481 PyThreadState* __tstate = wxPyBeginAllowThreads();
13482 (arg1)->Resume();
13483
13484 wxPyEndAllowThreads(__tstate);
13485 if (PyErr_Occurred()) SWIG_fail;
13486 }
13487 Py_INCREF(Py_None); resultobj = Py_None;
13488 return resultobj;
13489 fail:
13490 return NULL;
13491 }
13492
13493
13494 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13495 PyObject *obj;
13496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13497 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13498 Py_INCREF(obj);
13499 return Py_BuildValue((char *)"");
13500 }
13501 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13502 PyObject *resultobj;
13503 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13504 int arg2 = (int) 0 ;
13505 wxFindDialogEvent *result;
13506 PyObject * obj0 = 0 ;
13507 PyObject * obj1 = 0 ;
13508 char *kwnames[] = {
13509 (char *) "commandType",(char *) "id", NULL
13510 };
13511
13512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13513 if (obj0) {
13514 arg1 = (wxEventType) SWIG_AsInt(obj0);
13515 if (PyErr_Occurred()) SWIG_fail;
13516 }
13517 if (obj1) {
13518 arg2 = (int) SWIG_AsInt(obj1);
13519 if (PyErr_Occurred()) SWIG_fail;
13520 }
13521 {
13522 PyThreadState* __tstate = wxPyBeginAllowThreads();
13523 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13524
13525 wxPyEndAllowThreads(__tstate);
13526 if (PyErr_Occurred()) SWIG_fail;
13527 }
13528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13529 return resultobj;
13530 fail:
13531 return NULL;
13532 }
13533
13534
13535 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13536 PyObject *resultobj;
13537 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13538 int result;
13539 PyObject * obj0 = 0 ;
13540 char *kwnames[] = {
13541 (char *) "self", NULL
13542 };
13543
13544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13547 {
13548 PyThreadState* __tstate = wxPyBeginAllowThreads();
13549 result = (int)(arg1)->GetFlags();
13550
13551 wxPyEndAllowThreads(__tstate);
13552 if (PyErr_Occurred()) SWIG_fail;
13553 }
13554 resultobj = SWIG_FromInt((int)result);
13555 return resultobj;
13556 fail:
13557 return NULL;
13558 }
13559
13560
13561 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13562 PyObject *resultobj;
13563 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13564 wxString *result;
13565 PyObject * obj0 = 0 ;
13566 char *kwnames[] = {
13567 (char *) "self", NULL
13568 };
13569
13570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13573 {
13574 PyThreadState* __tstate = wxPyBeginAllowThreads();
13575 {
13576 wxString const &_result_ref = (arg1)->GetFindString();
13577 result = (wxString *) &_result_ref;
13578 }
13579
13580 wxPyEndAllowThreads(__tstate);
13581 if (PyErr_Occurred()) SWIG_fail;
13582 }
13583 {
13584 #if wxUSE_UNICODE
13585 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13586 #else
13587 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13588 #endif
13589 }
13590 return resultobj;
13591 fail:
13592 return NULL;
13593 }
13594
13595
13596 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13597 PyObject *resultobj;
13598 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13599 wxString *result;
13600 PyObject * obj0 = 0 ;
13601 char *kwnames[] = {
13602 (char *) "self", NULL
13603 };
13604
13605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13608 {
13609 PyThreadState* __tstate = wxPyBeginAllowThreads();
13610 {
13611 wxString const &_result_ref = (arg1)->GetReplaceString();
13612 result = (wxString *) &_result_ref;
13613 }
13614
13615 wxPyEndAllowThreads(__tstate);
13616 if (PyErr_Occurred()) SWIG_fail;
13617 }
13618 {
13619 #if wxUSE_UNICODE
13620 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13621 #else
13622 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13623 #endif
13624 }
13625 return resultobj;
13626 fail:
13627 return NULL;
13628 }
13629
13630
13631 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13632 PyObject *resultobj;
13633 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13634 wxFindReplaceDialog *result;
13635 PyObject * obj0 = 0 ;
13636 char *kwnames[] = {
13637 (char *) "self", NULL
13638 };
13639
13640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13643 {
13644 PyThreadState* __tstate = wxPyBeginAllowThreads();
13645 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13646
13647 wxPyEndAllowThreads(__tstate);
13648 if (PyErr_Occurred()) SWIG_fail;
13649 }
13650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13651 return resultobj;
13652 fail:
13653 return NULL;
13654 }
13655
13656
13657 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13658 PyObject *resultobj;
13659 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13660 int arg2 ;
13661 PyObject * obj0 = 0 ;
13662 PyObject * obj1 = 0 ;
13663 char *kwnames[] = {
13664 (char *) "self",(char *) "flags", NULL
13665 };
13666
13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13670 arg2 = (int) SWIG_AsInt(obj1);
13671 if (PyErr_Occurred()) SWIG_fail;
13672 {
13673 PyThreadState* __tstate = wxPyBeginAllowThreads();
13674 (arg1)->SetFlags(arg2);
13675
13676 wxPyEndAllowThreads(__tstate);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
13679 Py_INCREF(Py_None); resultobj = Py_None;
13680 return resultobj;
13681 fail:
13682 return NULL;
13683 }
13684
13685
13686 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13687 PyObject *resultobj;
13688 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13689 wxString *arg2 = 0 ;
13690 bool temp2 = False ;
13691 PyObject * obj0 = 0 ;
13692 PyObject * obj1 = 0 ;
13693 char *kwnames[] = {
13694 (char *) "self",(char *) "str", NULL
13695 };
13696
13697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13700 {
13701 arg2 = wxString_in_helper(obj1);
13702 if (arg2 == NULL) SWIG_fail;
13703 temp2 = True;
13704 }
13705 {
13706 PyThreadState* __tstate = wxPyBeginAllowThreads();
13707 (arg1)->SetFindString((wxString const &)*arg2);
13708
13709 wxPyEndAllowThreads(__tstate);
13710 if (PyErr_Occurred()) SWIG_fail;
13711 }
13712 Py_INCREF(Py_None); resultobj = Py_None;
13713 {
13714 if (temp2)
13715 delete arg2;
13716 }
13717 return resultobj;
13718 fail:
13719 {
13720 if (temp2)
13721 delete arg2;
13722 }
13723 return NULL;
13724 }
13725
13726
13727 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13728 PyObject *resultobj;
13729 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13730 wxString *arg2 = 0 ;
13731 bool temp2 = False ;
13732 PyObject * obj0 = 0 ;
13733 PyObject * obj1 = 0 ;
13734 char *kwnames[] = {
13735 (char *) "self",(char *) "str", NULL
13736 };
13737
13738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13741 {
13742 arg2 = wxString_in_helper(obj1);
13743 if (arg2 == NULL) SWIG_fail;
13744 temp2 = True;
13745 }
13746 {
13747 PyThreadState* __tstate = wxPyBeginAllowThreads();
13748 (arg1)->SetReplaceString((wxString const &)*arg2);
13749
13750 wxPyEndAllowThreads(__tstate);
13751 if (PyErr_Occurred()) SWIG_fail;
13752 }
13753 Py_INCREF(Py_None); resultobj = Py_None;
13754 {
13755 if (temp2)
13756 delete arg2;
13757 }
13758 return resultobj;
13759 fail:
13760 {
13761 if (temp2)
13762 delete arg2;
13763 }
13764 return NULL;
13765 }
13766
13767
13768 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13769 PyObject *obj;
13770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13771 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13772 Py_INCREF(obj);
13773 return Py_BuildValue((char *)"");
13774 }
13775 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13776 PyObject *resultobj;
13777 int arg1 = (int) 0 ;
13778 wxFindReplaceData *result;
13779 PyObject * obj0 = 0 ;
13780 char *kwnames[] = {
13781 (char *) "flags", NULL
13782 };
13783
13784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13785 if (obj0) {
13786 arg1 = (int) SWIG_AsInt(obj0);
13787 if (PyErr_Occurred()) SWIG_fail;
13788 }
13789 {
13790 PyThreadState* __tstate = wxPyBeginAllowThreads();
13791 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13792
13793 wxPyEndAllowThreads(__tstate);
13794 if (PyErr_Occurred()) SWIG_fail;
13795 }
13796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13797 return resultobj;
13798 fail:
13799 return NULL;
13800 }
13801
13802
13803 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13804 PyObject *resultobj;
13805 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13806 PyObject * obj0 = 0 ;
13807 char *kwnames[] = {
13808 (char *) "self", NULL
13809 };
13810
13811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13814 {
13815 PyThreadState* __tstate = wxPyBeginAllowThreads();
13816 delete arg1;
13817
13818 wxPyEndAllowThreads(__tstate);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 }
13821 Py_INCREF(Py_None); resultobj = Py_None;
13822 return resultobj;
13823 fail:
13824 return NULL;
13825 }
13826
13827
13828 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13829 PyObject *resultobj;
13830 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13831 wxString *result;
13832 PyObject * obj0 = 0 ;
13833 char *kwnames[] = {
13834 (char *) "self", NULL
13835 };
13836
13837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 {
13843 wxString const &_result_ref = (arg1)->GetFindString();
13844 result = (wxString *) &_result_ref;
13845 }
13846
13847 wxPyEndAllowThreads(__tstate);
13848 if (PyErr_Occurred()) SWIG_fail;
13849 }
13850 {
13851 #if wxUSE_UNICODE
13852 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13853 #else
13854 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13855 #endif
13856 }
13857 return resultobj;
13858 fail:
13859 return NULL;
13860 }
13861
13862
13863 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13864 PyObject *resultobj;
13865 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13866 wxString *result;
13867 PyObject * obj0 = 0 ;
13868 char *kwnames[] = {
13869 (char *) "self", NULL
13870 };
13871
13872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13875 {
13876 PyThreadState* __tstate = wxPyBeginAllowThreads();
13877 {
13878 wxString const &_result_ref = (arg1)->GetReplaceString();
13879 result = (wxString *) &_result_ref;
13880 }
13881
13882 wxPyEndAllowThreads(__tstate);
13883 if (PyErr_Occurred()) SWIG_fail;
13884 }
13885 {
13886 #if wxUSE_UNICODE
13887 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13888 #else
13889 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13890 #endif
13891 }
13892 return resultobj;
13893 fail:
13894 return NULL;
13895 }
13896
13897
13898 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13899 PyObject *resultobj;
13900 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13901 int result;
13902 PyObject * obj0 = 0 ;
13903 char *kwnames[] = {
13904 (char *) "self", NULL
13905 };
13906
13907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13910 {
13911 PyThreadState* __tstate = wxPyBeginAllowThreads();
13912 result = (int)(arg1)->GetFlags();
13913
13914 wxPyEndAllowThreads(__tstate);
13915 if (PyErr_Occurred()) SWIG_fail;
13916 }
13917 resultobj = SWIG_FromInt((int)result);
13918 return resultobj;
13919 fail:
13920 return NULL;
13921 }
13922
13923
13924 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13925 PyObject *resultobj;
13926 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13927 int arg2 ;
13928 PyObject * obj0 = 0 ;
13929 PyObject * obj1 = 0 ;
13930 char *kwnames[] = {
13931 (char *) "self",(char *) "flags", NULL
13932 };
13933
13934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13937 arg2 = (int) SWIG_AsInt(obj1);
13938 if (PyErr_Occurred()) SWIG_fail;
13939 {
13940 PyThreadState* __tstate = wxPyBeginAllowThreads();
13941 (arg1)->SetFlags(arg2);
13942
13943 wxPyEndAllowThreads(__tstate);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 }
13946 Py_INCREF(Py_None); resultobj = Py_None;
13947 return resultobj;
13948 fail:
13949 return NULL;
13950 }
13951
13952
13953 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13954 PyObject *resultobj;
13955 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13956 wxString *arg2 = 0 ;
13957 bool temp2 = False ;
13958 PyObject * obj0 = 0 ;
13959 PyObject * obj1 = 0 ;
13960 char *kwnames[] = {
13961 (char *) "self",(char *) "str", NULL
13962 };
13963
13964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13967 {
13968 arg2 = wxString_in_helper(obj1);
13969 if (arg2 == NULL) SWIG_fail;
13970 temp2 = True;
13971 }
13972 {
13973 PyThreadState* __tstate = wxPyBeginAllowThreads();
13974 (arg1)->SetFindString((wxString const &)*arg2);
13975
13976 wxPyEndAllowThreads(__tstate);
13977 if (PyErr_Occurred()) SWIG_fail;
13978 }
13979 Py_INCREF(Py_None); resultobj = Py_None;
13980 {
13981 if (temp2)
13982 delete arg2;
13983 }
13984 return resultobj;
13985 fail:
13986 {
13987 if (temp2)
13988 delete arg2;
13989 }
13990 return NULL;
13991 }
13992
13993
13994 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13995 PyObject *resultobj;
13996 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13997 wxString *arg2 = 0 ;
13998 bool temp2 = False ;
13999 PyObject * obj0 = 0 ;
14000 PyObject * obj1 = 0 ;
14001 char *kwnames[] = {
14002 (char *) "self",(char *) "str", NULL
14003 };
14004
14005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14008 {
14009 arg2 = wxString_in_helper(obj1);
14010 if (arg2 == NULL) SWIG_fail;
14011 temp2 = True;
14012 }
14013 {
14014 PyThreadState* __tstate = wxPyBeginAllowThreads();
14015 (arg1)->SetReplaceString((wxString const &)*arg2);
14016
14017 wxPyEndAllowThreads(__tstate);
14018 if (PyErr_Occurred()) SWIG_fail;
14019 }
14020 Py_INCREF(Py_None); resultobj = Py_None;
14021 {
14022 if (temp2)
14023 delete arg2;
14024 }
14025 return resultobj;
14026 fail:
14027 {
14028 if (temp2)
14029 delete arg2;
14030 }
14031 return NULL;
14032 }
14033
14034
14035 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14036 PyObject *obj;
14037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14038 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14039 Py_INCREF(obj);
14040 return Py_BuildValue((char *)"");
14041 }
14042 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14043 PyObject *resultobj;
14044 wxWindow *arg1 = (wxWindow *) 0 ;
14045 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14046 wxString *arg3 = 0 ;
14047 int arg4 = (int) 0 ;
14048 wxFindReplaceDialog *result;
14049 bool temp3 = False ;
14050 PyObject * obj0 = 0 ;
14051 PyObject * obj1 = 0 ;
14052 PyObject * obj2 = 0 ;
14053 PyObject * obj3 = 0 ;
14054 char *kwnames[] = {
14055 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14056 };
14057
14058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14061 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14063 {
14064 arg3 = wxString_in_helper(obj2);
14065 if (arg3 == NULL) SWIG_fail;
14066 temp3 = True;
14067 }
14068 if (obj3) {
14069 arg4 = (int) SWIG_AsInt(obj3);
14070 if (PyErr_Occurred()) SWIG_fail;
14071 }
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14075
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14080 {
14081 if (temp3)
14082 delete arg3;
14083 }
14084 return resultobj;
14085 fail:
14086 {
14087 if (temp3)
14088 delete arg3;
14089 }
14090 return NULL;
14091 }
14092
14093
14094 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14095 PyObject *resultobj;
14096 wxFindReplaceDialog *result;
14097 char *kwnames[] = {
14098 NULL
14099 };
14100
14101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14102 {
14103 PyThreadState* __tstate = wxPyBeginAllowThreads();
14104 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14105
14106 wxPyEndAllowThreads(__tstate);
14107 if (PyErr_Occurred()) SWIG_fail;
14108 }
14109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14110 return resultobj;
14111 fail:
14112 return NULL;
14113 }
14114
14115
14116 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14117 PyObject *resultobj;
14118 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14119 wxWindow *arg2 = (wxWindow *) 0 ;
14120 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14121 wxString *arg4 = 0 ;
14122 int arg5 = (int) 0 ;
14123 bool result;
14124 bool temp4 = False ;
14125 PyObject * obj0 = 0 ;
14126 PyObject * obj1 = 0 ;
14127 PyObject * obj2 = 0 ;
14128 PyObject * obj3 = 0 ;
14129 PyObject * obj4 = 0 ;
14130 char *kwnames[] = {
14131 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14132 };
14133
14134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14137 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14139 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14141 {
14142 arg4 = wxString_in_helper(obj3);
14143 if (arg4 == NULL) SWIG_fail;
14144 temp4 = True;
14145 }
14146 if (obj4) {
14147 arg5 = (int) SWIG_AsInt(obj4);
14148 if (PyErr_Occurred()) SWIG_fail;
14149 }
14150 {
14151 PyThreadState* __tstate = wxPyBeginAllowThreads();
14152 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14153
14154 wxPyEndAllowThreads(__tstate);
14155 if (PyErr_Occurred()) SWIG_fail;
14156 }
14157 {
14158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14159 }
14160 {
14161 if (temp4)
14162 delete arg4;
14163 }
14164 return resultobj;
14165 fail:
14166 {
14167 if (temp4)
14168 delete arg4;
14169 }
14170 return NULL;
14171 }
14172
14173
14174 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14175 PyObject *resultobj;
14176 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14177 wxFindReplaceData *result;
14178 PyObject * obj0 = 0 ;
14179 char *kwnames[] = {
14180 (char *) "self", NULL
14181 };
14182
14183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 result = (wxFindReplaceData *)(arg1)->GetData();
14189
14190 wxPyEndAllowThreads(__tstate);
14191 if (PyErr_Occurred()) SWIG_fail;
14192 }
14193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14194 return resultobj;
14195 fail:
14196 return NULL;
14197 }
14198
14199
14200 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14201 PyObject *resultobj;
14202 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14203 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14204 PyObject * obj0 = 0 ;
14205 PyObject * obj1 = 0 ;
14206 char *kwnames[] = {
14207 (char *) "self",(char *) "data", NULL
14208 };
14209
14210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14215 {
14216 PyThreadState* __tstate = wxPyBeginAllowThreads();
14217 (arg1)->SetData(arg2);
14218
14219 wxPyEndAllowThreads(__tstate);
14220 if (PyErr_Occurred()) SWIG_fail;
14221 }
14222 Py_INCREF(Py_None); resultobj = Py_None;
14223 return resultobj;
14224 fail:
14225 return NULL;
14226 }
14227
14228
14229 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14230 PyObject *obj;
14231 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14232 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14233 Py_INCREF(obj);
14234 return Py_BuildValue((char *)"");
14235 }
14236 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14237 PyObject *resultobj;
14238 wxWindow *arg1 = (wxWindow *) 0 ;
14239 int arg2 ;
14240 wxString *arg3 = 0 ;
14241 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14242 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14243 wxSize const &arg5_defvalue = wxDefaultSize ;
14244 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14245 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14246 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14247 wxString *arg7 = (wxString *) &arg7_defvalue ;
14248 wxMDIParentFrame *result;
14249 bool temp3 = False ;
14250 wxPoint temp4 ;
14251 wxSize temp5 ;
14252 bool temp7 = False ;
14253 PyObject * obj0 = 0 ;
14254 PyObject * obj1 = 0 ;
14255 PyObject * obj2 = 0 ;
14256 PyObject * obj3 = 0 ;
14257 PyObject * obj4 = 0 ;
14258 PyObject * obj5 = 0 ;
14259 PyObject * obj6 = 0 ;
14260 char *kwnames[] = {
14261 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14262 };
14263
14264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14267 arg2 = (int const) SWIG_AsInt(obj1);
14268 if (PyErr_Occurred()) SWIG_fail;
14269 {
14270 arg3 = wxString_in_helper(obj2);
14271 if (arg3 == NULL) SWIG_fail;
14272 temp3 = True;
14273 }
14274 if (obj3) {
14275 {
14276 arg4 = &temp4;
14277 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14278 }
14279 }
14280 if (obj4) {
14281 {
14282 arg5 = &temp5;
14283 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14284 }
14285 }
14286 if (obj5) {
14287 arg6 = (long) SWIG_AsLong(obj5);
14288 if (PyErr_Occurred()) SWIG_fail;
14289 }
14290 if (obj6) {
14291 {
14292 arg7 = wxString_in_helper(obj6);
14293 if (arg7 == NULL) SWIG_fail;
14294 temp7 = True;
14295 }
14296 }
14297 {
14298 PyThreadState* __tstate = wxPyBeginAllowThreads();
14299 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14300
14301 wxPyEndAllowThreads(__tstate);
14302 if (PyErr_Occurred()) SWIG_fail;
14303 }
14304 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14305 {
14306 if (temp3)
14307 delete arg3;
14308 }
14309 {
14310 if (temp7)
14311 delete arg7;
14312 }
14313 return resultobj;
14314 fail:
14315 {
14316 if (temp3)
14317 delete arg3;
14318 }
14319 {
14320 if (temp7)
14321 delete arg7;
14322 }
14323 return NULL;
14324 }
14325
14326
14327 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14328 PyObject *resultobj;
14329 wxMDIParentFrame *result;
14330 char *kwnames[] = {
14331 NULL
14332 };
14333
14334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14335 {
14336 PyThreadState* __tstate = wxPyBeginAllowThreads();
14337 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14338
14339 wxPyEndAllowThreads(__tstate);
14340 if (PyErr_Occurred()) SWIG_fail;
14341 }
14342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14343 return resultobj;
14344 fail:
14345 return NULL;
14346 }
14347
14348
14349 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14350 PyObject *resultobj;
14351 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14352 wxWindow *arg2 = (wxWindow *) 0 ;
14353 int arg3 ;
14354 wxString *arg4 = 0 ;
14355 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14356 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14357 wxSize const &arg6_defvalue = wxDefaultSize ;
14358 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14359 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14360 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14361 wxString *arg8 = (wxString *) &arg8_defvalue ;
14362 bool result;
14363 bool temp4 = False ;
14364 wxPoint temp5 ;
14365 wxSize temp6 ;
14366 bool temp8 = False ;
14367 PyObject * obj0 = 0 ;
14368 PyObject * obj1 = 0 ;
14369 PyObject * obj2 = 0 ;
14370 PyObject * obj3 = 0 ;
14371 PyObject * obj4 = 0 ;
14372 PyObject * obj5 = 0 ;
14373 PyObject * obj6 = 0 ;
14374 PyObject * obj7 = 0 ;
14375 char *kwnames[] = {
14376 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14377 };
14378
14379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14382 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14384 arg3 = (int const) SWIG_AsInt(obj2);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 {
14387 arg4 = wxString_in_helper(obj3);
14388 if (arg4 == NULL) SWIG_fail;
14389 temp4 = True;
14390 }
14391 if (obj4) {
14392 {
14393 arg5 = &temp5;
14394 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14395 }
14396 }
14397 if (obj5) {
14398 {
14399 arg6 = &temp6;
14400 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14401 }
14402 }
14403 if (obj6) {
14404 arg7 = (long) SWIG_AsLong(obj6);
14405 if (PyErr_Occurred()) SWIG_fail;
14406 }
14407 if (obj7) {
14408 {
14409 arg8 = wxString_in_helper(obj7);
14410 if (arg8 == NULL) SWIG_fail;
14411 temp8 = True;
14412 }
14413 }
14414 {
14415 PyThreadState* __tstate = wxPyBeginAllowThreads();
14416 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14417
14418 wxPyEndAllowThreads(__tstate);
14419 if (PyErr_Occurred()) SWIG_fail;
14420 }
14421 {
14422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14423 }
14424 {
14425 if (temp4)
14426 delete arg4;
14427 }
14428 {
14429 if (temp8)
14430 delete arg8;
14431 }
14432 return resultobj;
14433 fail:
14434 {
14435 if (temp4)
14436 delete arg4;
14437 }
14438 {
14439 if (temp8)
14440 delete arg8;
14441 }
14442 return NULL;
14443 }
14444
14445
14446 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14447 PyObject *resultobj;
14448 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14449 PyObject * obj0 = 0 ;
14450 char *kwnames[] = {
14451 (char *) "self", NULL
14452 };
14453
14454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14457 {
14458 PyThreadState* __tstate = wxPyBeginAllowThreads();
14459 (arg1)->ActivateNext();
14460
14461 wxPyEndAllowThreads(__tstate);
14462 if (PyErr_Occurred()) SWIG_fail;
14463 }
14464 Py_INCREF(Py_None); resultobj = Py_None;
14465 return resultobj;
14466 fail:
14467 return NULL;
14468 }
14469
14470
14471 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14472 PyObject *resultobj;
14473 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14474 PyObject * obj0 = 0 ;
14475 char *kwnames[] = {
14476 (char *) "self", NULL
14477 };
14478
14479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14482 {
14483 PyThreadState* __tstate = wxPyBeginAllowThreads();
14484 (arg1)->ActivatePrevious();
14485
14486 wxPyEndAllowThreads(__tstate);
14487 if (PyErr_Occurred()) SWIG_fail;
14488 }
14489 Py_INCREF(Py_None); resultobj = Py_None;
14490 return resultobj;
14491 fail:
14492 return NULL;
14493 }
14494
14495
14496 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14497 PyObject *resultobj;
14498 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14499 PyObject * obj0 = 0 ;
14500 char *kwnames[] = {
14501 (char *) "self", NULL
14502 };
14503
14504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14507 {
14508 PyThreadState* __tstate = wxPyBeginAllowThreads();
14509 (arg1)->ArrangeIcons();
14510
14511 wxPyEndAllowThreads(__tstate);
14512 if (PyErr_Occurred()) SWIG_fail;
14513 }
14514 Py_INCREF(Py_None); resultobj = Py_None;
14515 return resultobj;
14516 fail:
14517 return NULL;
14518 }
14519
14520
14521 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14522 PyObject *resultobj;
14523 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14524 PyObject * obj0 = 0 ;
14525 char *kwnames[] = {
14526 (char *) "self", NULL
14527 };
14528
14529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14532 {
14533 PyThreadState* __tstate = wxPyBeginAllowThreads();
14534 (arg1)->Cascade();
14535
14536 wxPyEndAllowThreads(__tstate);
14537 if (PyErr_Occurred()) SWIG_fail;
14538 }
14539 Py_INCREF(Py_None); resultobj = Py_None;
14540 return resultobj;
14541 fail:
14542 return NULL;
14543 }
14544
14545
14546 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14547 PyObject *resultobj;
14548 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14549 wxMDIChildFrame *result;
14550 PyObject * obj0 = 0 ;
14551 char *kwnames[] = {
14552 (char *) "self", NULL
14553 };
14554
14555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14558 {
14559 PyThreadState* __tstate = wxPyBeginAllowThreads();
14560 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14561
14562 wxPyEndAllowThreads(__tstate);
14563 if (PyErr_Occurred()) SWIG_fail;
14564 }
14565 {
14566 resultobj = wxPyMake_wxObject(result);
14567 }
14568 return resultobj;
14569 fail:
14570 return NULL;
14571 }
14572
14573
14574 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14575 PyObject *resultobj;
14576 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14577 wxMDIClientWindow *result;
14578 PyObject * obj0 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 {
14594 resultobj = wxPyMake_wxObject(result);
14595 }
14596 return resultobj;
14597 fail:
14598 return NULL;
14599 }
14600
14601
14602 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14603 PyObject *resultobj;
14604 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14605 wxWindow *result;
14606 PyObject * obj0 = 0 ;
14607 char *kwnames[] = {
14608 (char *) "self", NULL
14609 };
14610
14611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14614 {
14615 PyThreadState* __tstate = wxPyBeginAllowThreads();
14616 result = (wxWindow *)(arg1)->GetToolBar();
14617
14618 wxPyEndAllowThreads(__tstate);
14619 if (PyErr_Occurred()) SWIG_fail;
14620 }
14621 {
14622 resultobj = wxPyMake_wxObject(result);
14623 }
14624 return resultobj;
14625 fail:
14626 return NULL;
14627 }
14628
14629
14630 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14631 PyObject *resultobj;
14632 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14633 PyObject * obj0 = 0 ;
14634 char *kwnames[] = {
14635 (char *) "self", NULL
14636 };
14637
14638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14641 {
14642 PyThreadState* __tstate = wxPyBeginAllowThreads();
14643 (arg1)->Tile();
14644
14645 wxPyEndAllowThreads(__tstate);
14646 if (PyErr_Occurred()) SWIG_fail;
14647 }
14648 Py_INCREF(Py_None); resultobj = Py_None;
14649 return resultobj;
14650 fail:
14651 return NULL;
14652 }
14653
14654
14655 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14656 PyObject *obj;
14657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14658 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14659 Py_INCREF(obj);
14660 return Py_BuildValue((char *)"");
14661 }
14662 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14663 PyObject *resultobj;
14664 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14665 int arg2 ;
14666 wxString *arg3 = 0 ;
14667 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14668 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14669 wxSize const &arg5_defvalue = wxDefaultSize ;
14670 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14671 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14672 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14673 wxString *arg7 = (wxString *) &arg7_defvalue ;
14674 wxMDIChildFrame *result;
14675 bool temp3 = False ;
14676 wxPoint temp4 ;
14677 wxSize temp5 ;
14678 bool temp7 = False ;
14679 PyObject * obj0 = 0 ;
14680 PyObject * obj1 = 0 ;
14681 PyObject * obj2 = 0 ;
14682 PyObject * obj3 = 0 ;
14683 PyObject * obj4 = 0 ;
14684 PyObject * obj5 = 0 ;
14685 PyObject * obj6 = 0 ;
14686 char *kwnames[] = {
14687 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14688 };
14689
14690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14693 arg2 = (int const) SWIG_AsInt(obj1);
14694 if (PyErr_Occurred()) SWIG_fail;
14695 {
14696 arg3 = wxString_in_helper(obj2);
14697 if (arg3 == NULL) SWIG_fail;
14698 temp3 = True;
14699 }
14700 if (obj3) {
14701 {
14702 arg4 = &temp4;
14703 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14704 }
14705 }
14706 if (obj4) {
14707 {
14708 arg5 = &temp5;
14709 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14710 }
14711 }
14712 if (obj5) {
14713 arg6 = (long) SWIG_AsLong(obj5);
14714 if (PyErr_Occurred()) SWIG_fail;
14715 }
14716 if (obj6) {
14717 {
14718 arg7 = wxString_in_helper(obj6);
14719 if (arg7 == NULL) SWIG_fail;
14720 temp7 = True;
14721 }
14722 }
14723 {
14724 PyThreadState* __tstate = wxPyBeginAllowThreads();
14725 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14726
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 {
14731 resultobj = wxPyMake_wxObject(result);
14732 }
14733 {
14734 if (temp3)
14735 delete arg3;
14736 }
14737 {
14738 if (temp7)
14739 delete arg7;
14740 }
14741 return resultobj;
14742 fail:
14743 {
14744 if (temp3)
14745 delete arg3;
14746 }
14747 {
14748 if (temp7)
14749 delete arg7;
14750 }
14751 return NULL;
14752 }
14753
14754
14755 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14756 PyObject *resultobj;
14757 wxMDIChildFrame *result;
14758 char *kwnames[] = {
14759 NULL
14760 };
14761
14762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14763 {
14764 PyThreadState* __tstate = wxPyBeginAllowThreads();
14765 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14766
14767 wxPyEndAllowThreads(__tstate);
14768 if (PyErr_Occurred()) SWIG_fail;
14769 }
14770 {
14771 resultobj = wxPyMake_wxObject(result);
14772 }
14773 return resultobj;
14774 fail:
14775 return NULL;
14776 }
14777
14778
14779 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14780 PyObject *resultobj;
14781 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14782 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14783 int arg3 ;
14784 wxString *arg4 = 0 ;
14785 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14786 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14787 wxSize const &arg6_defvalue = wxDefaultSize ;
14788 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14789 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14790 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14791 wxString *arg8 = (wxString *) &arg8_defvalue ;
14792 bool result;
14793 bool temp4 = False ;
14794 wxPoint temp5 ;
14795 wxSize temp6 ;
14796 bool temp8 = False ;
14797 PyObject * obj0 = 0 ;
14798 PyObject * obj1 = 0 ;
14799 PyObject * obj2 = 0 ;
14800 PyObject * obj3 = 0 ;
14801 PyObject * obj4 = 0 ;
14802 PyObject * obj5 = 0 ;
14803 PyObject * obj6 = 0 ;
14804 PyObject * obj7 = 0 ;
14805 char *kwnames[] = {
14806 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14807 };
14808
14809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14812 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14814 arg3 = (int const) SWIG_AsInt(obj2);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 {
14817 arg4 = wxString_in_helper(obj3);
14818 if (arg4 == NULL) SWIG_fail;
14819 temp4 = True;
14820 }
14821 if (obj4) {
14822 {
14823 arg5 = &temp5;
14824 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14825 }
14826 }
14827 if (obj5) {
14828 {
14829 arg6 = &temp6;
14830 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14831 }
14832 }
14833 if (obj6) {
14834 arg7 = (long) SWIG_AsLong(obj6);
14835 if (PyErr_Occurred()) SWIG_fail;
14836 }
14837 if (obj7) {
14838 {
14839 arg8 = wxString_in_helper(obj7);
14840 if (arg8 == NULL) SWIG_fail;
14841 temp8 = True;
14842 }
14843 }
14844 {
14845 PyThreadState* __tstate = wxPyBeginAllowThreads();
14846 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14847
14848 wxPyEndAllowThreads(__tstate);
14849 if (PyErr_Occurred()) SWIG_fail;
14850 }
14851 {
14852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14853 }
14854 {
14855 if (temp4)
14856 delete arg4;
14857 }
14858 {
14859 if (temp8)
14860 delete arg8;
14861 }
14862 return resultobj;
14863 fail:
14864 {
14865 if (temp4)
14866 delete arg4;
14867 }
14868 {
14869 if (temp8)
14870 delete arg8;
14871 }
14872 return NULL;
14873 }
14874
14875
14876 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14877 PyObject *resultobj;
14878 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14879 PyObject * obj0 = 0 ;
14880 char *kwnames[] = {
14881 (char *) "self", NULL
14882 };
14883
14884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14887 {
14888 PyThreadState* __tstate = wxPyBeginAllowThreads();
14889 (arg1)->Activate();
14890
14891 wxPyEndAllowThreads(__tstate);
14892 if (PyErr_Occurred()) SWIG_fail;
14893 }
14894 Py_INCREF(Py_None); resultobj = Py_None;
14895 return resultobj;
14896 fail:
14897 return NULL;
14898 }
14899
14900
14901 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14902 PyObject *resultobj;
14903 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14904 bool arg2 ;
14905 PyObject * obj0 = 0 ;
14906 PyObject * obj1 = 0 ;
14907 char *kwnames[] = {
14908 (char *) "self",(char *) "maximize", NULL
14909 };
14910
14911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14914 arg2 = (bool) SWIG_AsBool(obj1);
14915 if (PyErr_Occurred()) SWIG_fail;
14916 {
14917 PyThreadState* __tstate = wxPyBeginAllowThreads();
14918 (arg1)->Maximize(arg2);
14919
14920 wxPyEndAllowThreads(__tstate);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 }
14923 Py_INCREF(Py_None); resultobj = Py_None;
14924 return resultobj;
14925 fail:
14926 return NULL;
14927 }
14928
14929
14930 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
14931 PyObject *resultobj;
14932 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14933 PyObject * obj0 = 0 ;
14934 char *kwnames[] = {
14935 (char *) "self", NULL
14936 };
14937
14938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14941 {
14942 PyThreadState* __tstate = wxPyBeginAllowThreads();
14943 (arg1)->Restore();
14944
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 Py_INCREF(Py_None); resultobj = Py_None;
14949 return resultobj;
14950 fail:
14951 return NULL;
14952 }
14953
14954
14955 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14956 PyObject *obj;
14957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14958 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14959 Py_INCREF(obj);
14960 return Py_BuildValue((char *)"");
14961 }
14962 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14963 PyObject *resultobj;
14964 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14965 long arg2 = (long) 0 ;
14966 wxMDIClientWindow *result;
14967 PyObject * obj0 = 0 ;
14968 PyObject * obj1 = 0 ;
14969 char *kwnames[] = {
14970 (char *) "parent",(char *) "style", NULL
14971 };
14972
14973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14976 if (obj1) {
14977 arg2 = (long) SWIG_AsLong(obj1);
14978 if (PyErr_Occurred()) SWIG_fail;
14979 }
14980 {
14981 PyThreadState* __tstate = wxPyBeginAllowThreads();
14982 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14983
14984 wxPyEndAllowThreads(__tstate);
14985 if (PyErr_Occurred()) SWIG_fail;
14986 }
14987 {
14988 resultobj = wxPyMake_wxObject(result);
14989 }
14990 return resultobj;
14991 fail:
14992 return NULL;
14993 }
14994
14995
14996 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14997 PyObject *resultobj;
14998 wxMDIClientWindow *result;
14999 char *kwnames[] = {
15000 NULL
15001 };
15002
15003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15004 {
15005 PyThreadState* __tstate = wxPyBeginAllowThreads();
15006 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15007
15008 wxPyEndAllowThreads(__tstate);
15009 if (PyErr_Occurred()) SWIG_fail;
15010 }
15011 {
15012 resultobj = wxPyMake_wxObject(result);
15013 }
15014 return resultobj;
15015 fail:
15016 return NULL;
15017 }
15018
15019
15020 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15021 PyObject *resultobj;
15022 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15023 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15024 long arg3 = (long) 0 ;
15025 bool result;
15026 PyObject * obj0 = 0 ;
15027 PyObject * obj1 = 0 ;
15028 PyObject * obj2 = 0 ;
15029 char *kwnames[] = {
15030 (char *) "self",(char *) "parent",(char *) "style", NULL
15031 };
15032
15033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15036 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15038 if (obj2) {
15039 arg3 = (long) SWIG_AsLong(obj2);
15040 if (PyErr_Occurred()) SWIG_fail;
15041 }
15042 {
15043 PyThreadState* __tstate = wxPyBeginAllowThreads();
15044 result = (bool)(arg1)->Create(arg2,arg3);
15045
15046 wxPyEndAllowThreads(__tstate);
15047 if (PyErr_Occurred()) SWIG_fail;
15048 }
15049 {
15050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15051 }
15052 return resultobj;
15053 fail:
15054 return NULL;
15055 }
15056
15057
15058 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15059 PyObject *obj;
15060 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15061 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15062 Py_INCREF(obj);
15063 return Py_BuildValue((char *)"");
15064 }
15065 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15066 PyObject *resultobj;
15067 wxWindow *arg1 = (wxWindow *) 0 ;
15068 int arg2 ;
15069 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15070 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15071 wxSize const &arg4_defvalue = wxDefaultSize ;
15072 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15073 long arg5 = (long) 0 ;
15074 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15075 wxString *arg6 = (wxString *) &arg6_defvalue ;
15076 wxPyWindow *result;
15077 wxPoint temp3 ;
15078 wxSize temp4 ;
15079 bool temp6 = False ;
15080 PyObject * obj0 = 0 ;
15081 PyObject * obj1 = 0 ;
15082 PyObject * obj2 = 0 ;
15083 PyObject * obj3 = 0 ;
15084 PyObject * obj4 = 0 ;
15085 PyObject * obj5 = 0 ;
15086 char *kwnames[] = {
15087 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15088 };
15089
15090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15093 arg2 = (int const) SWIG_AsInt(obj1);
15094 if (PyErr_Occurred()) SWIG_fail;
15095 if (obj2) {
15096 {
15097 arg3 = &temp3;
15098 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15099 }
15100 }
15101 if (obj3) {
15102 {
15103 arg4 = &temp4;
15104 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15105 }
15106 }
15107 if (obj4) {
15108 arg5 = (long) SWIG_AsLong(obj4);
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
15111 if (obj5) {
15112 {
15113 arg6 = wxString_in_helper(obj5);
15114 if (arg6 == NULL) SWIG_fail;
15115 temp6 = True;
15116 }
15117 }
15118 {
15119 PyThreadState* __tstate = wxPyBeginAllowThreads();
15120 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15121
15122 wxPyEndAllowThreads(__tstate);
15123 if (PyErr_Occurred()) SWIG_fail;
15124 }
15125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15126 {
15127 if (temp6)
15128 delete arg6;
15129 }
15130 return resultobj;
15131 fail:
15132 {
15133 if (temp6)
15134 delete arg6;
15135 }
15136 return NULL;
15137 }
15138
15139
15140 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15141 PyObject *resultobj;
15142 wxPyWindow *result;
15143 char *kwnames[] = {
15144 NULL
15145 };
15146
15147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15148 {
15149 PyThreadState* __tstate = wxPyBeginAllowThreads();
15150 result = (wxPyWindow *)new wxPyWindow();
15151
15152 wxPyEndAllowThreads(__tstate);
15153 if (PyErr_Occurred()) SWIG_fail;
15154 }
15155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15156 return resultobj;
15157 fail:
15158 return NULL;
15159 }
15160
15161
15162 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15163 PyObject *resultobj;
15164 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15165 PyObject *arg2 = (PyObject *) 0 ;
15166 PyObject *arg3 = (PyObject *) 0 ;
15167 PyObject * obj0 = 0 ;
15168 PyObject * obj1 = 0 ;
15169 PyObject * obj2 = 0 ;
15170 char *kwnames[] = {
15171 (char *) "self",(char *) "self",(char *) "_class", NULL
15172 };
15173
15174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15177 arg2 = obj1;
15178 arg3 = obj2;
15179 {
15180 PyThreadState* __tstate = wxPyBeginAllowThreads();
15181 (arg1)->_setCallbackInfo(arg2,arg3);
15182
15183 wxPyEndAllowThreads(__tstate);
15184 if (PyErr_Occurred()) SWIG_fail;
15185 }
15186 Py_INCREF(Py_None); resultobj = Py_None;
15187 return resultobj;
15188 fail:
15189 return NULL;
15190 }
15191
15192
15193 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15194 PyObject *resultobj;
15195 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15196 int arg2 ;
15197 int arg3 ;
15198 int arg4 ;
15199 int arg5 ;
15200 PyObject * obj0 = 0 ;
15201 PyObject * obj1 = 0 ;
15202 PyObject * obj2 = 0 ;
15203 PyObject * obj3 = 0 ;
15204 PyObject * obj4 = 0 ;
15205 char *kwnames[] = {
15206 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15207 };
15208
15209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15212 arg2 = (int) SWIG_AsInt(obj1);
15213 if (PyErr_Occurred()) SWIG_fail;
15214 arg3 = (int) SWIG_AsInt(obj2);
15215 if (PyErr_Occurred()) SWIG_fail;
15216 arg4 = (int) SWIG_AsInt(obj3);
15217 if (PyErr_Occurred()) SWIG_fail;
15218 arg5 = (int) SWIG_AsInt(obj4);
15219 if (PyErr_Occurred()) SWIG_fail;
15220 {
15221 PyThreadState* __tstate = wxPyBeginAllowThreads();
15222 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15223
15224 wxPyEndAllowThreads(__tstate);
15225 if (PyErr_Occurred()) SWIG_fail;
15226 }
15227 Py_INCREF(Py_None); resultobj = Py_None;
15228 return resultobj;
15229 fail:
15230 return NULL;
15231 }
15232
15233
15234 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15235 PyObject *resultobj;
15236 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15237 int arg2 ;
15238 int arg3 ;
15239 int arg4 ;
15240 int arg5 ;
15241 int arg6 = (int) wxSIZE_AUTO ;
15242 PyObject * obj0 = 0 ;
15243 PyObject * obj1 = 0 ;
15244 PyObject * obj2 = 0 ;
15245 PyObject * obj3 = 0 ;
15246 PyObject * obj4 = 0 ;
15247 PyObject * obj5 = 0 ;
15248 char *kwnames[] = {
15249 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15250 };
15251
15252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15255 arg2 = (int) SWIG_AsInt(obj1);
15256 if (PyErr_Occurred()) SWIG_fail;
15257 arg3 = (int) SWIG_AsInt(obj2);
15258 if (PyErr_Occurred()) SWIG_fail;
15259 arg4 = (int) SWIG_AsInt(obj3);
15260 if (PyErr_Occurred()) SWIG_fail;
15261 arg5 = (int) SWIG_AsInt(obj4);
15262 if (PyErr_Occurred()) SWIG_fail;
15263 if (obj5) {
15264 arg6 = (int) SWIG_AsInt(obj5);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 {
15268 PyThreadState* __tstate = wxPyBeginAllowThreads();
15269 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15270
15271 wxPyEndAllowThreads(__tstate);
15272 if (PyErr_Occurred()) SWIG_fail;
15273 }
15274 Py_INCREF(Py_None); resultobj = Py_None;
15275 return resultobj;
15276 fail:
15277 return NULL;
15278 }
15279
15280
15281 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15282 PyObject *resultobj;
15283 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15284 int arg2 ;
15285 int arg3 ;
15286 PyObject * obj0 = 0 ;
15287 PyObject * obj1 = 0 ;
15288 PyObject * obj2 = 0 ;
15289 char *kwnames[] = {
15290 (char *) "self",(char *) "width",(char *) "height", NULL
15291 };
15292
15293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15296 arg2 = (int) SWIG_AsInt(obj1);
15297 if (PyErr_Occurred()) SWIG_fail;
15298 arg3 = (int) SWIG_AsInt(obj2);
15299 if (PyErr_Occurred()) SWIG_fail;
15300 {
15301 PyThreadState* __tstate = wxPyBeginAllowThreads();
15302 (arg1)->base_DoSetClientSize(arg2,arg3);
15303
15304 wxPyEndAllowThreads(__tstate);
15305 if (PyErr_Occurred()) SWIG_fail;
15306 }
15307 Py_INCREF(Py_None); resultobj = Py_None;
15308 return resultobj;
15309 fail:
15310 return NULL;
15311 }
15312
15313
15314 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15315 PyObject *resultobj;
15316 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15317 int arg2 ;
15318 int arg3 ;
15319 PyObject * obj0 = 0 ;
15320 PyObject * obj1 = 0 ;
15321 PyObject * obj2 = 0 ;
15322 char *kwnames[] = {
15323 (char *) "self",(char *) "x",(char *) "y", NULL
15324 };
15325
15326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15329 arg2 = (int) SWIG_AsInt(obj1);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 arg3 = (int) SWIG_AsInt(obj2);
15332 if (PyErr_Occurred()) SWIG_fail;
15333 {
15334 PyThreadState* __tstate = wxPyBeginAllowThreads();
15335 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15336
15337 wxPyEndAllowThreads(__tstate);
15338 if (PyErr_Occurred()) SWIG_fail;
15339 }
15340 Py_INCREF(Py_None); resultobj = Py_None;
15341 return resultobj;
15342 fail:
15343 return NULL;
15344 }
15345
15346
15347 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15348 PyObject *resultobj;
15349 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15350 int *arg2 = (int *) 0 ;
15351 int *arg3 = (int *) 0 ;
15352 int temp2 ;
15353 int temp3 ;
15354 PyObject * obj0 = 0 ;
15355 char *kwnames[] = {
15356 (char *) "self", NULL
15357 };
15358
15359 arg2 = &temp2;
15360 arg3 = &temp3;
15361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15364 {
15365 PyThreadState* __tstate = wxPyBeginAllowThreads();
15366 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15367
15368 wxPyEndAllowThreads(__tstate);
15369 if (PyErr_Occurred()) SWIG_fail;
15370 }
15371 Py_INCREF(Py_None); resultobj = Py_None;
15372 {
15373 PyObject *o = PyInt_FromLong((long) (*arg2));
15374 resultobj = t_output_helper(resultobj,o);
15375 }
15376 {
15377 PyObject *o = PyInt_FromLong((long) (*arg3));
15378 resultobj = t_output_helper(resultobj,o);
15379 }
15380 return resultobj;
15381 fail:
15382 return NULL;
15383 }
15384
15385
15386 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15387 PyObject *resultobj;
15388 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15389 int *arg2 = (int *) 0 ;
15390 int *arg3 = (int *) 0 ;
15391 int temp2 ;
15392 int temp3 ;
15393 PyObject * obj0 = 0 ;
15394 char *kwnames[] = {
15395 (char *) "self", NULL
15396 };
15397
15398 arg2 = &temp2;
15399 arg3 = &temp3;
15400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15403 {
15404 PyThreadState* __tstate = wxPyBeginAllowThreads();
15405 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15406
15407 wxPyEndAllowThreads(__tstate);
15408 if (PyErr_Occurred()) SWIG_fail;
15409 }
15410 Py_INCREF(Py_None); resultobj = Py_None;
15411 {
15412 PyObject *o = PyInt_FromLong((long) (*arg2));
15413 resultobj = t_output_helper(resultobj,o);
15414 }
15415 {
15416 PyObject *o = PyInt_FromLong((long) (*arg3));
15417 resultobj = t_output_helper(resultobj,o);
15418 }
15419 return resultobj;
15420 fail:
15421 return NULL;
15422 }
15423
15424
15425 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15426 PyObject *resultobj;
15427 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15428 int *arg2 = (int *) 0 ;
15429 int *arg3 = (int *) 0 ;
15430 int temp2 ;
15431 int temp3 ;
15432 PyObject * obj0 = 0 ;
15433 char *kwnames[] = {
15434 (char *) "self", NULL
15435 };
15436
15437 arg2 = &temp2;
15438 arg3 = &temp3;
15439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15442 {
15443 PyThreadState* __tstate = wxPyBeginAllowThreads();
15444 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15445
15446 wxPyEndAllowThreads(__tstate);
15447 if (PyErr_Occurred()) SWIG_fail;
15448 }
15449 Py_INCREF(Py_None); resultobj = Py_None;
15450 {
15451 PyObject *o = PyInt_FromLong((long) (*arg2));
15452 resultobj = t_output_helper(resultobj,o);
15453 }
15454 {
15455 PyObject *o = PyInt_FromLong((long) (*arg3));
15456 resultobj = t_output_helper(resultobj,o);
15457 }
15458 return resultobj;
15459 fail:
15460 return NULL;
15461 }
15462
15463
15464 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15465 PyObject *resultobj;
15466 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15467 wxSize result;
15468 PyObject * obj0 = 0 ;
15469 char *kwnames[] = {
15470 (char *) "self", NULL
15471 };
15472
15473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15476 {
15477 PyThreadState* __tstate = wxPyBeginAllowThreads();
15478 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15479
15480 wxPyEndAllowThreads(__tstate);
15481 if (PyErr_Occurred()) SWIG_fail;
15482 }
15483 {
15484 wxSize * resultptr;
15485 resultptr = new wxSize((wxSize &) result);
15486 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15487 }
15488 return resultobj;
15489 fail:
15490 return NULL;
15491 }
15492
15493
15494 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15495 PyObject *resultobj;
15496 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15497 wxSize result;
15498 PyObject * obj0 = 0 ;
15499 char *kwnames[] = {
15500 (char *) "self", NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15506 {
15507 PyThreadState* __tstate = wxPyBeginAllowThreads();
15508 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15509
15510 wxPyEndAllowThreads(__tstate);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
15513 {
15514 wxSize * resultptr;
15515 resultptr = new wxSize((wxSize &) result);
15516 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15517 }
15518 return resultobj;
15519 fail:
15520 return NULL;
15521 }
15522
15523
15524 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15525 PyObject *resultobj;
15526 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15527 PyObject * obj0 = 0 ;
15528 char *kwnames[] = {
15529 (char *) "self", NULL
15530 };
15531
15532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15535 {
15536 PyThreadState* __tstate = wxPyBeginAllowThreads();
15537 (arg1)->base_InitDialog();
15538
15539 wxPyEndAllowThreads(__tstate);
15540 if (PyErr_Occurred()) SWIG_fail;
15541 }
15542 Py_INCREF(Py_None); resultobj = Py_None;
15543 return resultobj;
15544 fail:
15545 return NULL;
15546 }
15547
15548
15549 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15550 PyObject *resultobj;
15551 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15552 bool result;
15553 PyObject * obj0 = 0 ;
15554 char *kwnames[] = {
15555 (char *) "self", NULL
15556 };
15557
15558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15561 {
15562 PyThreadState* __tstate = wxPyBeginAllowThreads();
15563 result = (bool)(arg1)->base_TransferDataToWindow();
15564
15565 wxPyEndAllowThreads(__tstate);
15566 if (PyErr_Occurred()) SWIG_fail;
15567 }
15568 {
15569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15570 }
15571 return resultobj;
15572 fail:
15573 return NULL;
15574 }
15575
15576
15577 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15578 PyObject *resultobj;
15579 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15580 bool result;
15581 PyObject * obj0 = 0 ;
15582 char *kwnames[] = {
15583 (char *) "self", NULL
15584 };
15585
15586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15589 {
15590 PyThreadState* __tstate = wxPyBeginAllowThreads();
15591 result = (bool)(arg1)->base_TransferDataFromWindow();
15592
15593 wxPyEndAllowThreads(__tstate);
15594 if (PyErr_Occurred()) SWIG_fail;
15595 }
15596 {
15597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15598 }
15599 return resultobj;
15600 fail:
15601 return NULL;
15602 }
15603
15604
15605 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15606 PyObject *resultobj;
15607 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15608 bool result;
15609 PyObject * obj0 = 0 ;
15610 char *kwnames[] = {
15611 (char *) "self", NULL
15612 };
15613
15614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15617 {
15618 PyThreadState* __tstate = wxPyBeginAllowThreads();
15619 result = (bool)(arg1)->base_Validate();
15620
15621 wxPyEndAllowThreads(__tstate);
15622 if (PyErr_Occurred()) SWIG_fail;
15623 }
15624 {
15625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15626 }
15627 return resultobj;
15628 fail:
15629 return NULL;
15630 }
15631
15632
15633 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15634 PyObject *resultobj;
15635 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15636 bool result;
15637 PyObject * obj0 = 0 ;
15638 char *kwnames[] = {
15639 (char *) "self", NULL
15640 };
15641
15642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15645 {
15646 PyThreadState* __tstate = wxPyBeginAllowThreads();
15647 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15648
15649 wxPyEndAllowThreads(__tstate);
15650 if (PyErr_Occurred()) SWIG_fail;
15651 }
15652 {
15653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15654 }
15655 return resultobj;
15656 fail:
15657 return NULL;
15658 }
15659
15660
15661 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15662 PyObject *resultobj;
15663 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15664 bool result;
15665 PyObject * obj0 = 0 ;
15666 char *kwnames[] = {
15667 (char *) "self", NULL
15668 };
15669
15670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15673 {
15674 PyThreadState* __tstate = wxPyBeginAllowThreads();
15675 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15676
15677 wxPyEndAllowThreads(__tstate);
15678 if (PyErr_Occurred()) SWIG_fail;
15679 }
15680 {
15681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15682 }
15683 return resultobj;
15684 fail:
15685 return NULL;
15686 }
15687
15688
15689 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15690 PyObject *resultobj;
15691 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15692 wxSize result;
15693 PyObject * obj0 = 0 ;
15694 char *kwnames[] = {
15695 (char *) "self", NULL
15696 };
15697
15698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15701 {
15702 PyThreadState* __tstate = wxPyBeginAllowThreads();
15703 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15704
15705 wxPyEndAllowThreads(__tstate);
15706 if (PyErr_Occurred()) SWIG_fail;
15707 }
15708 {
15709 wxSize * resultptr;
15710 resultptr = new wxSize((wxSize &) result);
15711 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15712 }
15713 return resultobj;
15714 fail:
15715 return NULL;
15716 }
15717
15718
15719 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15720 PyObject *resultobj;
15721 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15722 wxWindow *arg2 = (wxWindow *) 0 ;
15723 PyObject * obj0 = 0 ;
15724 PyObject * obj1 = 0 ;
15725 char *kwnames[] = {
15726 (char *) "self",(char *) "child", NULL
15727 };
15728
15729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15732 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15734 {
15735 PyThreadState* __tstate = wxPyBeginAllowThreads();
15736 (arg1)->base_AddChild(arg2);
15737
15738 wxPyEndAllowThreads(__tstate);
15739 if (PyErr_Occurred()) SWIG_fail;
15740 }
15741 Py_INCREF(Py_None); resultobj = Py_None;
15742 return resultobj;
15743 fail:
15744 return NULL;
15745 }
15746
15747
15748 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15749 PyObject *resultobj;
15750 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15751 wxWindow *arg2 = (wxWindow *) 0 ;
15752 PyObject * obj0 = 0 ;
15753 PyObject * obj1 = 0 ;
15754 char *kwnames[] = {
15755 (char *) "self",(char *) "child", NULL
15756 };
15757
15758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15761 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15763 {
15764 PyThreadState* __tstate = wxPyBeginAllowThreads();
15765 (arg1)->base_RemoveChild(arg2);
15766
15767 wxPyEndAllowThreads(__tstate);
15768 if (PyErr_Occurred()) SWIG_fail;
15769 }
15770 Py_INCREF(Py_None); resultobj = Py_None;
15771 return resultobj;
15772 fail:
15773 return NULL;
15774 }
15775
15776
15777 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15778 PyObject *resultobj;
15779 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15780 bool result;
15781 PyObject * obj0 = 0 ;
15782 char *kwnames[] = {
15783 (char *) "self", NULL
15784 };
15785
15786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15789 {
15790 PyThreadState* __tstate = wxPyBeginAllowThreads();
15791 result = (bool)(arg1)->base_ShouldInheritColours();
15792
15793 wxPyEndAllowThreads(__tstate);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 }
15796 {
15797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15798 }
15799 return resultobj;
15800 fail:
15801 return NULL;
15802 }
15803
15804
15805 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15806 PyObject *resultobj;
15807 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15808 wxColour *arg2 = 0 ;
15809 wxColour temp2 ;
15810 PyObject * obj0 = 0 ;
15811 PyObject * obj1 = 0 ;
15812 char *kwnames[] = {
15813 (char *) "self",(char *) "c", NULL
15814 };
15815
15816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15819 {
15820 arg2 = &temp2;
15821 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15822 }
15823 {
15824 PyThreadState* __tstate = wxPyBeginAllowThreads();
15825 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15826
15827 wxPyEndAllowThreads(__tstate);
15828 if (PyErr_Occurred()) SWIG_fail;
15829 }
15830 Py_INCREF(Py_None); resultobj = Py_None;
15831 return resultobj;
15832 fail:
15833 return NULL;
15834 }
15835
15836
15837 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15838 PyObject *obj;
15839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15840 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15841 Py_INCREF(obj);
15842 return Py_BuildValue((char *)"");
15843 }
15844 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15845 PyObject *resultobj;
15846 wxWindow *arg1 = (wxWindow *) 0 ;
15847 int arg2 ;
15848 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15849 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15850 wxSize const &arg4_defvalue = wxDefaultSize ;
15851 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15852 long arg5 = (long) 0 ;
15853 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15854 wxString *arg6 = (wxString *) &arg6_defvalue ;
15855 wxPyPanel *result;
15856 wxPoint temp3 ;
15857 wxSize temp4 ;
15858 bool temp6 = False ;
15859 PyObject * obj0 = 0 ;
15860 PyObject * obj1 = 0 ;
15861 PyObject * obj2 = 0 ;
15862 PyObject * obj3 = 0 ;
15863 PyObject * obj4 = 0 ;
15864 PyObject * obj5 = 0 ;
15865 char *kwnames[] = {
15866 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15867 };
15868
15869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15872 arg2 = (int const) SWIG_AsInt(obj1);
15873 if (PyErr_Occurred()) SWIG_fail;
15874 if (obj2) {
15875 {
15876 arg3 = &temp3;
15877 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15878 }
15879 }
15880 if (obj3) {
15881 {
15882 arg4 = &temp4;
15883 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15884 }
15885 }
15886 if (obj4) {
15887 arg5 = (long) SWIG_AsLong(obj4);
15888 if (PyErr_Occurred()) SWIG_fail;
15889 }
15890 if (obj5) {
15891 {
15892 arg6 = wxString_in_helper(obj5);
15893 if (arg6 == NULL) SWIG_fail;
15894 temp6 = True;
15895 }
15896 }
15897 {
15898 PyThreadState* __tstate = wxPyBeginAllowThreads();
15899 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15900
15901 wxPyEndAllowThreads(__tstate);
15902 if (PyErr_Occurred()) SWIG_fail;
15903 }
15904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15905 {
15906 if (temp6)
15907 delete arg6;
15908 }
15909 return resultobj;
15910 fail:
15911 {
15912 if (temp6)
15913 delete arg6;
15914 }
15915 return NULL;
15916 }
15917
15918
15919 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15920 PyObject *resultobj;
15921 wxPyPanel *result;
15922 char *kwnames[] = {
15923 NULL
15924 };
15925
15926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
15927 {
15928 PyThreadState* __tstate = wxPyBeginAllowThreads();
15929 result = (wxPyPanel *)new wxPyPanel();
15930
15931 wxPyEndAllowThreads(__tstate);
15932 if (PyErr_Occurred()) SWIG_fail;
15933 }
15934 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15935 return resultobj;
15936 fail:
15937 return NULL;
15938 }
15939
15940
15941 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15942 PyObject *resultobj;
15943 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15944 PyObject *arg2 = (PyObject *) 0 ;
15945 PyObject *arg3 = (PyObject *) 0 ;
15946 PyObject * obj0 = 0 ;
15947 PyObject * obj1 = 0 ;
15948 PyObject * obj2 = 0 ;
15949 char *kwnames[] = {
15950 (char *) "self",(char *) "self",(char *) "_class", NULL
15951 };
15952
15953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15956 arg2 = obj1;
15957 arg3 = obj2;
15958 {
15959 PyThreadState* __tstate = wxPyBeginAllowThreads();
15960 (arg1)->_setCallbackInfo(arg2,arg3);
15961
15962 wxPyEndAllowThreads(__tstate);
15963 if (PyErr_Occurred()) SWIG_fail;
15964 }
15965 Py_INCREF(Py_None); resultobj = Py_None;
15966 return resultobj;
15967 fail:
15968 return NULL;
15969 }
15970
15971
15972 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15973 PyObject *resultobj;
15974 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15975 int arg2 ;
15976 int arg3 ;
15977 int arg4 ;
15978 int arg5 ;
15979 PyObject * obj0 = 0 ;
15980 PyObject * obj1 = 0 ;
15981 PyObject * obj2 = 0 ;
15982 PyObject * obj3 = 0 ;
15983 PyObject * obj4 = 0 ;
15984 char *kwnames[] = {
15985 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15986 };
15987
15988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15991 arg2 = (int) SWIG_AsInt(obj1);
15992 if (PyErr_Occurred()) SWIG_fail;
15993 arg3 = (int) SWIG_AsInt(obj2);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 arg4 = (int) SWIG_AsInt(obj3);
15996 if (PyErr_Occurred()) SWIG_fail;
15997 arg5 = (int) SWIG_AsInt(obj4);
15998 if (PyErr_Occurred()) SWIG_fail;
15999 {
16000 PyThreadState* __tstate = wxPyBeginAllowThreads();
16001 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16002
16003 wxPyEndAllowThreads(__tstate);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 }
16006 Py_INCREF(Py_None); resultobj = Py_None;
16007 return resultobj;
16008 fail:
16009 return NULL;
16010 }
16011
16012
16013 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16014 PyObject *resultobj;
16015 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16016 int arg2 ;
16017 int arg3 ;
16018 int arg4 ;
16019 int arg5 ;
16020 int arg6 = (int) wxSIZE_AUTO ;
16021 PyObject * obj0 = 0 ;
16022 PyObject * obj1 = 0 ;
16023 PyObject * obj2 = 0 ;
16024 PyObject * obj3 = 0 ;
16025 PyObject * obj4 = 0 ;
16026 PyObject * obj5 = 0 ;
16027 char *kwnames[] = {
16028 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16029 };
16030
16031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16034 arg2 = (int) SWIG_AsInt(obj1);
16035 if (PyErr_Occurred()) SWIG_fail;
16036 arg3 = (int) SWIG_AsInt(obj2);
16037 if (PyErr_Occurred()) SWIG_fail;
16038 arg4 = (int) SWIG_AsInt(obj3);
16039 if (PyErr_Occurred()) SWIG_fail;
16040 arg5 = (int) SWIG_AsInt(obj4);
16041 if (PyErr_Occurred()) SWIG_fail;
16042 if (obj5) {
16043 arg6 = (int) SWIG_AsInt(obj5);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 }
16046 {
16047 PyThreadState* __tstate = wxPyBeginAllowThreads();
16048 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16049
16050 wxPyEndAllowThreads(__tstate);
16051 if (PyErr_Occurred()) SWIG_fail;
16052 }
16053 Py_INCREF(Py_None); resultobj = Py_None;
16054 return resultobj;
16055 fail:
16056 return NULL;
16057 }
16058
16059
16060 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16061 PyObject *resultobj;
16062 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16063 int arg2 ;
16064 int arg3 ;
16065 PyObject * obj0 = 0 ;
16066 PyObject * obj1 = 0 ;
16067 PyObject * obj2 = 0 ;
16068 char *kwnames[] = {
16069 (char *) "self",(char *) "width",(char *) "height", NULL
16070 };
16071
16072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16075 arg2 = (int) SWIG_AsInt(obj1);
16076 if (PyErr_Occurred()) SWIG_fail;
16077 arg3 = (int) SWIG_AsInt(obj2);
16078 if (PyErr_Occurred()) SWIG_fail;
16079 {
16080 PyThreadState* __tstate = wxPyBeginAllowThreads();
16081 (arg1)->base_DoSetClientSize(arg2,arg3);
16082
16083 wxPyEndAllowThreads(__tstate);
16084 if (PyErr_Occurred()) SWIG_fail;
16085 }
16086 Py_INCREF(Py_None); resultobj = Py_None;
16087 return resultobj;
16088 fail:
16089 return NULL;
16090 }
16091
16092
16093 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16094 PyObject *resultobj;
16095 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16096 int arg2 ;
16097 int arg3 ;
16098 PyObject * obj0 = 0 ;
16099 PyObject * obj1 = 0 ;
16100 PyObject * obj2 = 0 ;
16101 char *kwnames[] = {
16102 (char *) "self",(char *) "x",(char *) "y", NULL
16103 };
16104
16105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16108 arg2 = (int) SWIG_AsInt(obj1);
16109 if (PyErr_Occurred()) SWIG_fail;
16110 arg3 = (int) SWIG_AsInt(obj2);
16111 if (PyErr_Occurred()) SWIG_fail;
16112 {
16113 PyThreadState* __tstate = wxPyBeginAllowThreads();
16114 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16115
16116 wxPyEndAllowThreads(__tstate);
16117 if (PyErr_Occurred()) SWIG_fail;
16118 }
16119 Py_INCREF(Py_None); resultobj = Py_None;
16120 return resultobj;
16121 fail:
16122 return NULL;
16123 }
16124
16125
16126 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16127 PyObject *resultobj;
16128 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16129 int *arg2 = (int *) 0 ;
16130 int *arg3 = (int *) 0 ;
16131 int temp2 ;
16132 int temp3 ;
16133 PyObject * obj0 = 0 ;
16134 char *kwnames[] = {
16135 (char *) "self", NULL
16136 };
16137
16138 arg2 = &temp2;
16139 arg3 = &temp3;
16140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16143 {
16144 PyThreadState* __tstate = wxPyBeginAllowThreads();
16145 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16146
16147 wxPyEndAllowThreads(__tstate);
16148 if (PyErr_Occurred()) SWIG_fail;
16149 }
16150 Py_INCREF(Py_None); resultobj = Py_None;
16151 {
16152 PyObject *o = PyInt_FromLong((long) (*arg2));
16153 resultobj = t_output_helper(resultobj,o);
16154 }
16155 {
16156 PyObject *o = PyInt_FromLong((long) (*arg3));
16157 resultobj = t_output_helper(resultobj,o);
16158 }
16159 return resultobj;
16160 fail:
16161 return NULL;
16162 }
16163
16164
16165 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16166 PyObject *resultobj;
16167 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16168 int *arg2 = (int *) 0 ;
16169 int *arg3 = (int *) 0 ;
16170 int temp2 ;
16171 int temp3 ;
16172 PyObject * obj0 = 0 ;
16173 char *kwnames[] = {
16174 (char *) "self", NULL
16175 };
16176
16177 arg2 = &temp2;
16178 arg3 = &temp3;
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16182 {
16183 PyThreadState* __tstate = wxPyBeginAllowThreads();
16184 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16185
16186 wxPyEndAllowThreads(__tstate);
16187 if (PyErr_Occurred()) SWIG_fail;
16188 }
16189 Py_INCREF(Py_None); resultobj = Py_None;
16190 {
16191 PyObject *o = PyInt_FromLong((long) (*arg2));
16192 resultobj = t_output_helper(resultobj,o);
16193 }
16194 {
16195 PyObject *o = PyInt_FromLong((long) (*arg3));
16196 resultobj = t_output_helper(resultobj,o);
16197 }
16198 return resultobj;
16199 fail:
16200 return NULL;
16201 }
16202
16203
16204 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16205 PyObject *resultobj;
16206 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16207 int *arg2 = (int *) 0 ;
16208 int *arg3 = (int *) 0 ;
16209 int temp2 ;
16210 int temp3 ;
16211 PyObject * obj0 = 0 ;
16212 char *kwnames[] = {
16213 (char *) "self", NULL
16214 };
16215
16216 arg2 = &temp2;
16217 arg3 = &temp3;
16218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16221 {
16222 PyThreadState* __tstate = wxPyBeginAllowThreads();
16223 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16224
16225 wxPyEndAllowThreads(__tstate);
16226 if (PyErr_Occurred()) SWIG_fail;
16227 }
16228 Py_INCREF(Py_None); resultobj = Py_None;
16229 {
16230 PyObject *o = PyInt_FromLong((long) (*arg2));
16231 resultobj = t_output_helper(resultobj,o);
16232 }
16233 {
16234 PyObject *o = PyInt_FromLong((long) (*arg3));
16235 resultobj = t_output_helper(resultobj,o);
16236 }
16237 return resultobj;
16238 fail:
16239 return NULL;
16240 }
16241
16242
16243 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16244 PyObject *resultobj;
16245 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16246 wxSize result;
16247 PyObject * obj0 = 0 ;
16248 char *kwnames[] = {
16249 (char *) "self", NULL
16250 };
16251
16252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16255 {
16256 PyThreadState* __tstate = wxPyBeginAllowThreads();
16257 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16258
16259 wxPyEndAllowThreads(__tstate);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 }
16262 {
16263 wxSize * resultptr;
16264 resultptr = new wxSize((wxSize &) result);
16265 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16266 }
16267 return resultobj;
16268 fail:
16269 return NULL;
16270 }
16271
16272
16273 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16274 PyObject *resultobj;
16275 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16276 wxSize result;
16277 PyObject * obj0 = 0 ;
16278 char *kwnames[] = {
16279 (char *) "self", NULL
16280 };
16281
16282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16285 {
16286 PyThreadState* __tstate = wxPyBeginAllowThreads();
16287 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16288
16289 wxPyEndAllowThreads(__tstate);
16290 if (PyErr_Occurred()) SWIG_fail;
16291 }
16292 {
16293 wxSize * resultptr;
16294 resultptr = new wxSize((wxSize &) result);
16295 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16296 }
16297 return resultobj;
16298 fail:
16299 return NULL;
16300 }
16301
16302
16303 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16304 PyObject *resultobj;
16305 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16306 PyObject * obj0 = 0 ;
16307 char *kwnames[] = {
16308 (char *) "self", NULL
16309 };
16310
16311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16314 {
16315 PyThreadState* __tstate = wxPyBeginAllowThreads();
16316 (arg1)->base_InitDialog();
16317
16318 wxPyEndAllowThreads(__tstate);
16319 if (PyErr_Occurred()) SWIG_fail;
16320 }
16321 Py_INCREF(Py_None); resultobj = Py_None;
16322 return resultobj;
16323 fail:
16324 return NULL;
16325 }
16326
16327
16328 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16329 PyObject *resultobj;
16330 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16331 bool result;
16332 PyObject * obj0 = 0 ;
16333 char *kwnames[] = {
16334 (char *) "self", NULL
16335 };
16336
16337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16340 {
16341 PyThreadState* __tstate = wxPyBeginAllowThreads();
16342 result = (bool)(arg1)->base_TransferDataToWindow();
16343
16344 wxPyEndAllowThreads(__tstate);
16345 if (PyErr_Occurred()) SWIG_fail;
16346 }
16347 {
16348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16349 }
16350 return resultobj;
16351 fail:
16352 return NULL;
16353 }
16354
16355
16356 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16357 PyObject *resultobj;
16358 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16359 bool result;
16360 PyObject * obj0 = 0 ;
16361 char *kwnames[] = {
16362 (char *) "self", NULL
16363 };
16364
16365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16368 {
16369 PyThreadState* __tstate = wxPyBeginAllowThreads();
16370 result = (bool)(arg1)->base_TransferDataFromWindow();
16371
16372 wxPyEndAllowThreads(__tstate);
16373 if (PyErr_Occurred()) SWIG_fail;
16374 }
16375 {
16376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16377 }
16378 return resultobj;
16379 fail:
16380 return NULL;
16381 }
16382
16383
16384 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16385 PyObject *resultobj;
16386 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16387 bool result;
16388 PyObject * obj0 = 0 ;
16389 char *kwnames[] = {
16390 (char *) "self", NULL
16391 };
16392
16393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16396 {
16397 PyThreadState* __tstate = wxPyBeginAllowThreads();
16398 result = (bool)(arg1)->base_Validate();
16399
16400 wxPyEndAllowThreads(__tstate);
16401 if (PyErr_Occurred()) SWIG_fail;
16402 }
16403 {
16404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16405 }
16406 return resultobj;
16407 fail:
16408 return NULL;
16409 }
16410
16411
16412 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16413 PyObject *resultobj;
16414 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16415 bool result;
16416 PyObject * obj0 = 0 ;
16417 char *kwnames[] = {
16418 (char *) "self", NULL
16419 };
16420
16421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16424 {
16425 PyThreadState* __tstate = wxPyBeginAllowThreads();
16426 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16427
16428 wxPyEndAllowThreads(__tstate);
16429 if (PyErr_Occurred()) SWIG_fail;
16430 }
16431 {
16432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16433 }
16434 return resultobj;
16435 fail:
16436 return NULL;
16437 }
16438
16439
16440 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16441 PyObject *resultobj;
16442 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16443 bool result;
16444 PyObject * obj0 = 0 ;
16445 char *kwnames[] = {
16446 (char *) "self", NULL
16447 };
16448
16449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16452 {
16453 PyThreadState* __tstate = wxPyBeginAllowThreads();
16454 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16455
16456 wxPyEndAllowThreads(__tstate);
16457 if (PyErr_Occurred()) SWIG_fail;
16458 }
16459 {
16460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16461 }
16462 return resultobj;
16463 fail:
16464 return NULL;
16465 }
16466
16467
16468 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16469 PyObject *resultobj;
16470 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16471 wxSize result;
16472 PyObject * obj0 = 0 ;
16473 char *kwnames[] = {
16474 (char *) "self", NULL
16475 };
16476
16477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16480 {
16481 PyThreadState* __tstate = wxPyBeginAllowThreads();
16482 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16483
16484 wxPyEndAllowThreads(__tstate);
16485 if (PyErr_Occurred()) SWIG_fail;
16486 }
16487 {
16488 wxSize * resultptr;
16489 resultptr = new wxSize((wxSize &) result);
16490 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16491 }
16492 return resultobj;
16493 fail:
16494 return NULL;
16495 }
16496
16497
16498 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16499 PyObject *resultobj;
16500 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16501 wxWindow *arg2 = (wxWindow *) 0 ;
16502 PyObject * obj0 = 0 ;
16503 PyObject * obj1 = 0 ;
16504 char *kwnames[] = {
16505 (char *) "self",(char *) "child", NULL
16506 };
16507
16508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16511 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16513 {
16514 PyThreadState* __tstate = wxPyBeginAllowThreads();
16515 (arg1)->base_AddChild(arg2);
16516
16517 wxPyEndAllowThreads(__tstate);
16518 if (PyErr_Occurred()) SWIG_fail;
16519 }
16520 Py_INCREF(Py_None); resultobj = Py_None;
16521 return resultobj;
16522 fail:
16523 return NULL;
16524 }
16525
16526
16527 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16528 PyObject *resultobj;
16529 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16530 wxWindow *arg2 = (wxWindow *) 0 ;
16531 PyObject * obj0 = 0 ;
16532 PyObject * obj1 = 0 ;
16533 char *kwnames[] = {
16534 (char *) "self",(char *) "child", NULL
16535 };
16536
16537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16540 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16542 {
16543 PyThreadState* __tstate = wxPyBeginAllowThreads();
16544 (arg1)->base_RemoveChild(arg2);
16545
16546 wxPyEndAllowThreads(__tstate);
16547 if (PyErr_Occurred()) SWIG_fail;
16548 }
16549 Py_INCREF(Py_None); resultobj = Py_None;
16550 return resultobj;
16551 fail:
16552 return NULL;
16553 }
16554
16555
16556 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16557 PyObject *resultobj;
16558 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16559 bool result;
16560 PyObject * obj0 = 0 ;
16561 char *kwnames[] = {
16562 (char *) "self", NULL
16563 };
16564
16565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16568 {
16569 PyThreadState* __tstate = wxPyBeginAllowThreads();
16570 result = (bool)(arg1)->base_ShouldInheritColours();
16571
16572 wxPyEndAllowThreads(__tstate);
16573 if (PyErr_Occurred()) SWIG_fail;
16574 }
16575 {
16576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16577 }
16578 return resultobj;
16579 fail:
16580 return NULL;
16581 }
16582
16583
16584 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16585 PyObject *resultobj;
16586 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16587 wxColour *arg2 = 0 ;
16588 wxColour temp2 ;
16589 PyObject * obj0 = 0 ;
16590 PyObject * obj1 = 0 ;
16591 char *kwnames[] = {
16592 (char *) "self",(char *) "c", NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16598 {
16599 arg2 = &temp2;
16600 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16601 }
16602 {
16603 PyThreadState* __tstate = wxPyBeginAllowThreads();
16604 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16605
16606 wxPyEndAllowThreads(__tstate);
16607 if (PyErr_Occurred()) SWIG_fail;
16608 }
16609 Py_INCREF(Py_None); resultobj = Py_None;
16610 return resultobj;
16611 fail:
16612 return NULL;
16613 }
16614
16615
16616 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16617 PyObject *obj;
16618 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16619 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16620 Py_INCREF(obj);
16621 return Py_BuildValue((char *)"");
16622 }
16623 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16624 PyObject *resultobj;
16625 wxWindow *arg1 = (wxWindow *) 0 ;
16626 int arg2 ;
16627 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16628 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16629 wxSize const &arg4_defvalue = wxDefaultSize ;
16630 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16631 long arg5 = (long) 0 ;
16632 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16633 wxString *arg6 = (wxString *) &arg6_defvalue ;
16634 wxPyScrolledWindow *result;
16635 wxPoint temp3 ;
16636 wxSize temp4 ;
16637 bool temp6 = False ;
16638 PyObject * obj0 = 0 ;
16639 PyObject * obj1 = 0 ;
16640 PyObject * obj2 = 0 ;
16641 PyObject * obj3 = 0 ;
16642 PyObject * obj4 = 0 ;
16643 PyObject * obj5 = 0 ;
16644 char *kwnames[] = {
16645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16646 };
16647
16648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16651 arg2 = (int const) SWIG_AsInt(obj1);
16652 if (PyErr_Occurred()) SWIG_fail;
16653 if (obj2) {
16654 {
16655 arg3 = &temp3;
16656 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16657 }
16658 }
16659 if (obj3) {
16660 {
16661 arg4 = &temp4;
16662 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16663 }
16664 }
16665 if (obj4) {
16666 arg5 = (long) SWIG_AsLong(obj4);
16667 if (PyErr_Occurred()) SWIG_fail;
16668 }
16669 if (obj5) {
16670 {
16671 arg6 = wxString_in_helper(obj5);
16672 if (arg6 == NULL) SWIG_fail;
16673 temp6 = True;
16674 }
16675 }
16676 {
16677 PyThreadState* __tstate = wxPyBeginAllowThreads();
16678 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16679
16680 wxPyEndAllowThreads(__tstate);
16681 if (PyErr_Occurred()) SWIG_fail;
16682 }
16683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16684 {
16685 if (temp6)
16686 delete arg6;
16687 }
16688 return resultobj;
16689 fail:
16690 {
16691 if (temp6)
16692 delete arg6;
16693 }
16694 return NULL;
16695 }
16696
16697
16698 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16699 PyObject *resultobj;
16700 wxPyScrolledWindow *result;
16701 char *kwnames[] = {
16702 NULL
16703 };
16704
16705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16706 {
16707 PyThreadState* __tstate = wxPyBeginAllowThreads();
16708 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16709
16710 wxPyEndAllowThreads(__tstate);
16711 if (PyErr_Occurred()) SWIG_fail;
16712 }
16713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16714 return resultobj;
16715 fail:
16716 return NULL;
16717 }
16718
16719
16720 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16721 PyObject *resultobj;
16722 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16723 PyObject *arg2 = (PyObject *) 0 ;
16724 PyObject *arg3 = (PyObject *) 0 ;
16725 PyObject * obj0 = 0 ;
16726 PyObject * obj1 = 0 ;
16727 PyObject * obj2 = 0 ;
16728 char *kwnames[] = {
16729 (char *) "self",(char *) "self",(char *) "_class", NULL
16730 };
16731
16732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16735 arg2 = obj1;
16736 arg3 = obj2;
16737 {
16738 PyThreadState* __tstate = wxPyBeginAllowThreads();
16739 (arg1)->_setCallbackInfo(arg2,arg3);
16740
16741 wxPyEndAllowThreads(__tstate);
16742 if (PyErr_Occurred()) SWIG_fail;
16743 }
16744 Py_INCREF(Py_None); resultobj = Py_None;
16745 return resultobj;
16746 fail:
16747 return NULL;
16748 }
16749
16750
16751 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16752 PyObject *resultobj;
16753 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16754 int arg2 ;
16755 int arg3 ;
16756 int arg4 ;
16757 int arg5 ;
16758 PyObject * obj0 = 0 ;
16759 PyObject * obj1 = 0 ;
16760 PyObject * obj2 = 0 ;
16761 PyObject * obj3 = 0 ;
16762 PyObject * obj4 = 0 ;
16763 char *kwnames[] = {
16764 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16765 };
16766
16767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16770 arg2 = (int) SWIG_AsInt(obj1);
16771 if (PyErr_Occurred()) SWIG_fail;
16772 arg3 = (int) SWIG_AsInt(obj2);
16773 if (PyErr_Occurred()) SWIG_fail;
16774 arg4 = (int) SWIG_AsInt(obj3);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 arg5 = (int) SWIG_AsInt(obj4);
16777 if (PyErr_Occurred()) SWIG_fail;
16778 {
16779 PyThreadState* __tstate = wxPyBeginAllowThreads();
16780 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16781
16782 wxPyEndAllowThreads(__tstate);
16783 if (PyErr_Occurred()) SWIG_fail;
16784 }
16785 Py_INCREF(Py_None); resultobj = Py_None;
16786 return resultobj;
16787 fail:
16788 return NULL;
16789 }
16790
16791
16792 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16793 PyObject *resultobj;
16794 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16795 int arg2 ;
16796 int arg3 ;
16797 int arg4 ;
16798 int arg5 ;
16799 int arg6 = (int) wxSIZE_AUTO ;
16800 PyObject * obj0 = 0 ;
16801 PyObject * obj1 = 0 ;
16802 PyObject * obj2 = 0 ;
16803 PyObject * obj3 = 0 ;
16804 PyObject * obj4 = 0 ;
16805 PyObject * obj5 = 0 ;
16806 char *kwnames[] = {
16807 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16808 };
16809
16810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16813 arg2 = (int) SWIG_AsInt(obj1);
16814 if (PyErr_Occurred()) SWIG_fail;
16815 arg3 = (int) SWIG_AsInt(obj2);
16816 if (PyErr_Occurred()) SWIG_fail;
16817 arg4 = (int) SWIG_AsInt(obj3);
16818 if (PyErr_Occurred()) SWIG_fail;
16819 arg5 = (int) SWIG_AsInt(obj4);
16820 if (PyErr_Occurred()) SWIG_fail;
16821 if (obj5) {
16822 arg6 = (int) SWIG_AsInt(obj5);
16823 if (PyErr_Occurred()) SWIG_fail;
16824 }
16825 {
16826 PyThreadState* __tstate = wxPyBeginAllowThreads();
16827 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16828
16829 wxPyEndAllowThreads(__tstate);
16830 if (PyErr_Occurred()) SWIG_fail;
16831 }
16832 Py_INCREF(Py_None); resultobj = Py_None;
16833 return resultobj;
16834 fail:
16835 return NULL;
16836 }
16837
16838
16839 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16840 PyObject *resultobj;
16841 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16842 int arg2 ;
16843 int arg3 ;
16844 PyObject * obj0 = 0 ;
16845 PyObject * obj1 = 0 ;
16846 PyObject * obj2 = 0 ;
16847 char *kwnames[] = {
16848 (char *) "self",(char *) "width",(char *) "height", NULL
16849 };
16850
16851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16854 arg2 = (int) SWIG_AsInt(obj1);
16855 if (PyErr_Occurred()) SWIG_fail;
16856 arg3 = (int) SWIG_AsInt(obj2);
16857 if (PyErr_Occurred()) SWIG_fail;
16858 {
16859 PyThreadState* __tstate = wxPyBeginAllowThreads();
16860 (arg1)->base_DoSetClientSize(arg2,arg3);
16861
16862 wxPyEndAllowThreads(__tstate);
16863 if (PyErr_Occurred()) SWIG_fail;
16864 }
16865 Py_INCREF(Py_None); resultobj = Py_None;
16866 return resultobj;
16867 fail:
16868 return NULL;
16869 }
16870
16871
16872 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16873 PyObject *resultobj;
16874 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16875 int arg2 ;
16876 int arg3 ;
16877 PyObject * obj0 = 0 ;
16878 PyObject * obj1 = 0 ;
16879 PyObject * obj2 = 0 ;
16880 char *kwnames[] = {
16881 (char *) "self",(char *) "x",(char *) "y", NULL
16882 };
16883
16884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16887 arg2 = (int) SWIG_AsInt(obj1);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 arg3 = (int) SWIG_AsInt(obj2);
16890 if (PyErr_Occurred()) SWIG_fail;
16891 {
16892 PyThreadState* __tstate = wxPyBeginAllowThreads();
16893 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16894
16895 wxPyEndAllowThreads(__tstate);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
16898 Py_INCREF(Py_None); resultobj = Py_None;
16899 return resultobj;
16900 fail:
16901 return NULL;
16902 }
16903
16904
16905 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16906 PyObject *resultobj;
16907 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16908 int *arg2 = (int *) 0 ;
16909 int *arg3 = (int *) 0 ;
16910 int temp2 ;
16911 int temp3 ;
16912 PyObject * obj0 = 0 ;
16913 char *kwnames[] = {
16914 (char *) "self", NULL
16915 };
16916
16917 arg2 = &temp2;
16918 arg3 = &temp3;
16919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16922 {
16923 PyThreadState* __tstate = wxPyBeginAllowThreads();
16924 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16925
16926 wxPyEndAllowThreads(__tstate);
16927 if (PyErr_Occurred()) SWIG_fail;
16928 }
16929 Py_INCREF(Py_None); resultobj = Py_None;
16930 {
16931 PyObject *o = PyInt_FromLong((long) (*arg2));
16932 resultobj = t_output_helper(resultobj,o);
16933 }
16934 {
16935 PyObject *o = PyInt_FromLong((long) (*arg3));
16936 resultobj = t_output_helper(resultobj,o);
16937 }
16938 return resultobj;
16939 fail:
16940 return NULL;
16941 }
16942
16943
16944 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16945 PyObject *resultobj;
16946 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16947 int *arg2 = (int *) 0 ;
16948 int *arg3 = (int *) 0 ;
16949 int temp2 ;
16950 int temp3 ;
16951 PyObject * obj0 = 0 ;
16952 char *kwnames[] = {
16953 (char *) "self", NULL
16954 };
16955
16956 arg2 = &temp2;
16957 arg3 = &temp3;
16958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16961 {
16962 PyThreadState* __tstate = wxPyBeginAllowThreads();
16963 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16964
16965 wxPyEndAllowThreads(__tstate);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 }
16968 Py_INCREF(Py_None); resultobj = Py_None;
16969 {
16970 PyObject *o = PyInt_FromLong((long) (*arg2));
16971 resultobj = t_output_helper(resultobj,o);
16972 }
16973 {
16974 PyObject *o = PyInt_FromLong((long) (*arg3));
16975 resultobj = t_output_helper(resultobj,o);
16976 }
16977 return resultobj;
16978 fail:
16979 return NULL;
16980 }
16981
16982
16983 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16984 PyObject *resultobj;
16985 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16986 int *arg2 = (int *) 0 ;
16987 int *arg3 = (int *) 0 ;
16988 int temp2 ;
16989 int temp3 ;
16990 PyObject * obj0 = 0 ;
16991 char *kwnames[] = {
16992 (char *) "self", NULL
16993 };
16994
16995 arg2 = &temp2;
16996 arg3 = &temp3;
16997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17000 {
17001 PyThreadState* __tstate = wxPyBeginAllowThreads();
17002 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17003
17004 wxPyEndAllowThreads(__tstate);
17005 if (PyErr_Occurred()) SWIG_fail;
17006 }
17007 Py_INCREF(Py_None); resultobj = Py_None;
17008 {
17009 PyObject *o = PyInt_FromLong((long) (*arg2));
17010 resultobj = t_output_helper(resultobj,o);
17011 }
17012 {
17013 PyObject *o = PyInt_FromLong((long) (*arg3));
17014 resultobj = t_output_helper(resultobj,o);
17015 }
17016 return resultobj;
17017 fail:
17018 return NULL;
17019 }
17020
17021
17022 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17023 PyObject *resultobj;
17024 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17025 wxSize result;
17026 PyObject * obj0 = 0 ;
17027 char *kwnames[] = {
17028 (char *) "self", NULL
17029 };
17030
17031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17034 {
17035 PyThreadState* __tstate = wxPyBeginAllowThreads();
17036 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17037
17038 wxPyEndAllowThreads(__tstate);
17039 if (PyErr_Occurred()) SWIG_fail;
17040 }
17041 {
17042 wxSize * resultptr;
17043 resultptr = new wxSize((wxSize &) result);
17044 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17045 }
17046 return resultobj;
17047 fail:
17048 return NULL;
17049 }
17050
17051
17052 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17053 PyObject *resultobj;
17054 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17055 wxSize result;
17056 PyObject * obj0 = 0 ;
17057 char *kwnames[] = {
17058 (char *) "self", NULL
17059 };
17060
17061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17064 {
17065 PyThreadState* __tstate = wxPyBeginAllowThreads();
17066 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17067
17068 wxPyEndAllowThreads(__tstate);
17069 if (PyErr_Occurred()) SWIG_fail;
17070 }
17071 {
17072 wxSize * resultptr;
17073 resultptr = new wxSize((wxSize &) result);
17074 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17075 }
17076 return resultobj;
17077 fail:
17078 return NULL;
17079 }
17080
17081
17082 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17083 PyObject *resultobj;
17084 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17085 PyObject * obj0 = 0 ;
17086 char *kwnames[] = {
17087 (char *) "self", NULL
17088 };
17089
17090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17093 {
17094 PyThreadState* __tstate = wxPyBeginAllowThreads();
17095 (arg1)->base_InitDialog();
17096
17097 wxPyEndAllowThreads(__tstate);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 Py_INCREF(Py_None); resultobj = Py_None;
17101 return resultobj;
17102 fail:
17103 return NULL;
17104 }
17105
17106
17107 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17108 PyObject *resultobj;
17109 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17110 bool result;
17111 PyObject * obj0 = 0 ;
17112 char *kwnames[] = {
17113 (char *) "self", NULL
17114 };
17115
17116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17119 {
17120 PyThreadState* __tstate = wxPyBeginAllowThreads();
17121 result = (bool)(arg1)->base_TransferDataToWindow();
17122
17123 wxPyEndAllowThreads(__tstate);
17124 if (PyErr_Occurred()) SWIG_fail;
17125 }
17126 {
17127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17128 }
17129 return resultobj;
17130 fail:
17131 return NULL;
17132 }
17133
17134
17135 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17136 PyObject *resultobj;
17137 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17138 bool result;
17139 PyObject * obj0 = 0 ;
17140 char *kwnames[] = {
17141 (char *) "self", NULL
17142 };
17143
17144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17147 {
17148 PyThreadState* __tstate = wxPyBeginAllowThreads();
17149 result = (bool)(arg1)->base_TransferDataFromWindow();
17150
17151 wxPyEndAllowThreads(__tstate);
17152 if (PyErr_Occurred()) SWIG_fail;
17153 }
17154 {
17155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17156 }
17157 return resultobj;
17158 fail:
17159 return NULL;
17160 }
17161
17162
17163 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17164 PyObject *resultobj;
17165 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17166 bool result;
17167 PyObject * obj0 = 0 ;
17168 char *kwnames[] = {
17169 (char *) "self", NULL
17170 };
17171
17172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17175 {
17176 PyThreadState* __tstate = wxPyBeginAllowThreads();
17177 result = (bool)(arg1)->base_Validate();
17178
17179 wxPyEndAllowThreads(__tstate);
17180 if (PyErr_Occurred()) SWIG_fail;
17181 }
17182 {
17183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17184 }
17185 return resultobj;
17186 fail:
17187 return NULL;
17188 }
17189
17190
17191 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17192 PyObject *resultobj;
17193 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17194 bool result;
17195 PyObject * obj0 = 0 ;
17196 char *kwnames[] = {
17197 (char *) "self", NULL
17198 };
17199
17200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17203 {
17204 PyThreadState* __tstate = wxPyBeginAllowThreads();
17205 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17206
17207 wxPyEndAllowThreads(__tstate);
17208 if (PyErr_Occurred()) SWIG_fail;
17209 }
17210 {
17211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17212 }
17213 return resultobj;
17214 fail:
17215 return NULL;
17216 }
17217
17218
17219 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17220 PyObject *resultobj;
17221 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17222 bool result;
17223 PyObject * obj0 = 0 ;
17224 char *kwnames[] = {
17225 (char *) "self", NULL
17226 };
17227
17228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17231 {
17232 PyThreadState* __tstate = wxPyBeginAllowThreads();
17233 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17234
17235 wxPyEndAllowThreads(__tstate);
17236 if (PyErr_Occurred()) SWIG_fail;
17237 }
17238 {
17239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17240 }
17241 return resultobj;
17242 fail:
17243 return NULL;
17244 }
17245
17246
17247 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17248 PyObject *resultobj;
17249 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17250 wxSize result;
17251 PyObject * obj0 = 0 ;
17252 char *kwnames[] = {
17253 (char *) "self", NULL
17254 };
17255
17256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17259 {
17260 PyThreadState* __tstate = wxPyBeginAllowThreads();
17261 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17262
17263 wxPyEndAllowThreads(__tstate);
17264 if (PyErr_Occurred()) SWIG_fail;
17265 }
17266 {
17267 wxSize * resultptr;
17268 resultptr = new wxSize((wxSize &) result);
17269 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17270 }
17271 return resultobj;
17272 fail:
17273 return NULL;
17274 }
17275
17276
17277 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17278 PyObject *resultobj;
17279 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17280 wxWindow *arg2 = (wxWindow *) 0 ;
17281 PyObject * obj0 = 0 ;
17282 PyObject * obj1 = 0 ;
17283 char *kwnames[] = {
17284 (char *) "self",(char *) "child", NULL
17285 };
17286
17287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17290 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17292 {
17293 PyThreadState* __tstate = wxPyBeginAllowThreads();
17294 (arg1)->base_AddChild(arg2);
17295
17296 wxPyEndAllowThreads(__tstate);
17297 if (PyErr_Occurred()) SWIG_fail;
17298 }
17299 Py_INCREF(Py_None); resultobj = Py_None;
17300 return resultobj;
17301 fail:
17302 return NULL;
17303 }
17304
17305
17306 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17307 PyObject *resultobj;
17308 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17309 wxWindow *arg2 = (wxWindow *) 0 ;
17310 PyObject * obj0 = 0 ;
17311 PyObject * obj1 = 0 ;
17312 char *kwnames[] = {
17313 (char *) "self",(char *) "child", NULL
17314 };
17315
17316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17319 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17321 {
17322 PyThreadState* __tstate = wxPyBeginAllowThreads();
17323 (arg1)->base_RemoveChild(arg2);
17324
17325 wxPyEndAllowThreads(__tstate);
17326 if (PyErr_Occurred()) SWIG_fail;
17327 }
17328 Py_INCREF(Py_None); resultobj = Py_None;
17329 return resultobj;
17330 fail:
17331 return NULL;
17332 }
17333
17334
17335 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17336 PyObject *resultobj;
17337 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17338 bool result;
17339 PyObject * obj0 = 0 ;
17340 char *kwnames[] = {
17341 (char *) "self", NULL
17342 };
17343
17344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17347 {
17348 PyThreadState* __tstate = wxPyBeginAllowThreads();
17349 result = (bool)(arg1)->base_ShouldInheritColours();
17350
17351 wxPyEndAllowThreads(__tstate);
17352 if (PyErr_Occurred()) SWIG_fail;
17353 }
17354 {
17355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17356 }
17357 return resultobj;
17358 fail:
17359 return NULL;
17360 }
17361
17362
17363 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17364 PyObject *resultobj;
17365 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17366 wxColour *arg2 = 0 ;
17367 wxColour temp2 ;
17368 PyObject * obj0 = 0 ;
17369 PyObject * obj1 = 0 ;
17370 char *kwnames[] = {
17371 (char *) "self",(char *) "c", NULL
17372 };
17373
17374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17377 {
17378 arg2 = &temp2;
17379 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17380 }
17381 {
17382 PyThreadState* __tstate = wxPyBeginAllowThreads();
17383 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17384
17385 wxPyEndAllowThreads(__tstate);
17386 if (PyErr_Occurred()) SWIG_fail;
17387 }
17388 Py_INCREF(Py_None); resultobj = Py_None;
17389 return resultobj;
17390 fail:
17391 return NULL;
17392 }
17393
17394
17395 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17396 PyObject *obj;
17397 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17398 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17399 Py_INCREF(obj);
17400 return Py_BuildValue((char *)"");
17401 }
17402 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17403 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17404 return 1;
17405 }
17406
17407
17408 static PyObject *_wrap_PrintoutTitleStr_get() {
17409 PyObject *pyobj;
17410
17411 {
17412 #if wxUSE_UNICODE
17413 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17414 #else
17415 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17416 #endif
17417 }
17418 return pyobj;
17419 }
17420
17421
17422 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17423 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17424 return 1;
17425 }
17426
17427
17428 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17429 PyObject *pyobj;
17430
17431 {
17432 #if wxUSE_UNICODE
17433 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17434 #else
17435 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17436 #endif
17437 }
17438 return pyobj;
17439 }
17440
17441
17442 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17443 PyObject *resultobj;
17444 wxPrintData *result;
17445 char *kwnames[] = {
17446 NULL
17447 };
17448
17449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17450 {
17451 PyThreadState* __tstate = wxPyBeginAllowThreads();
17452 result = (wxPrintData *)new wxPrintData();
17453
17454 wxPyEndAllowThreads(__tstate);
17455 if (PyErr_Occurred()) SWIG_fail;
17456 }
17457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17458 return resultobj;
17459 fail:
17460 return NULL;
17461 }
17462
17463
17464 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17465 PyObject *resultobj;
17466 wxPrintData *arg1 = (wxPrintData *) 0 ;
17467 PyObject * obj0 = 0 ;
17468 char *kwnames[] = {
17469 (char *) "self", NULL
17470 };
17471
17472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17475 {
17476 PyThreadState* __tstate = wxPyBeginAllowThreads();
17477 delete arg1;
17478
17479 wxPyEndAllowThreads(__tstate);
17480 if (PyErr_Occurred()) SWIG_fail;
17481 }
17482 Py_INCREF(Py_None); resultobj = Py_None;
17483 return resultobj;
17484 fail:
17485 return NULL;
17486 }
17487
17488
17489 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17490 PyObject *resultobj;
17491 wxPrintData *arg1 = (wxPrintData *) 0 ;
17492 int result;
17493 PyObject * obj0 = 0 ;
17494 char *kwnames[] = {
17495 (char *) "self", NULL
17496 };
17497
17498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17501 {
17502 PyThreadState* __tstate = wxPyBeginAllowThreads();
17503 result = (int)(arg1)->GetNoCopies();
17504
17505 wxPyEndAllowThreads(__tstate);
17506 if (PyErr_Occurred()) SWIG_fail;
17507 }
17508 resultobj = SWIG_FromInt((int)result);
17509 return resultobj;
17510 fail:
17511 return NULL;
17512 }
17513
17514
17515 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17516 PyObject *resultobj;
17517 wxPrintData *arg1 = (wxPrintData *) 0 ;
17518 bool result;
17519 PyObject * obj0 = 0 ;
17520 char *kwnames[] = {
17521 (char *) "self", NULL
17522 };
17523
17524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17527 {
17528 PyThreadState* __tstate = wxPyBeginAllowThreads();
17529 result = (bool)(arg1)->GetCollate();
17530
17531 wxPyEndAllowThreads(__tstate);
17532 if (PyErr_Occurred()) SWIG_fail;
17533 }
17534 {
17535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17536 }
17537 return resultobj;
17538 fail:
17539 return NULL;
17540 }
17541
17542
17543 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17544 PyObject *resultobj;
17545 wxPrintData *arg1 = (wxPrintData *) 0 ;
17546 int result;
17547 PyObject * obj0 = 0 ;
17548 char *kwnames[] = {
17549 (char *) "self", NULL
17550 };
17551
17552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17555 {
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 result = (int)(arg1)->GetOrientation();
17558
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
17562 resultobj = SWIG_FromInt((int)result);
17563 return resultobj;
17564 fail:
17565 return NULL;
17566 }
17567
17568
17569 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17570 PyObject *resultobj;
17571 wxPrintData *arg1 = (wxPrintData *) 0 ;
17572 bool result;
17573 PyObject * obj0 = 0 ;
17574 char *kwnames[] = {
17575 (char *) "self", NULL
17576 };
17577
17578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17581 {
17582 PyThreadState* __tstate = wxPyBeginAllowThreads();
17583 result = (bool)(arg1)->Ok();
17584
17585 wxPyEndAllowThreads(__tstate);
17586 if (PyErr_Occurred()) SWIG_fail;
17587 }
17588 {
17589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17590 }
17591 return resultobj;
17592 fail:
17593 return NULL;
17594 }
17595
17596
17597 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17598 PyObject *resultobj;
17599 wxPrintData *arg1 = (wxPrintData *) 0 ;
17600 wxString *result;
17601 PyObject * obj0 = 0 ;
17602 char *kwnames[] = {
17603 (char *) "self", NULL
17604 };
17605
17606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17609 {
17610 PyThreadState* __tstate = wxPyBeginAllowThreads();
17611 {
17612 wxString const &_result_ref = (arg1)->GetPrinterName();
17613 result = (wxString *) &_result_ref;
17614 }
17615
17616 wxPyEndAllowThreads(__tstate);
17617 if (PyErr_Occurred()) SWIG_fail;
17618 }
17619 {
17620 #if wxUSE_UNICODE
17621 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17622 #else
17623 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17624 #endif
17625 }
17626 return resultobj;
17627 fail:
17628 return NULL;
17629 }
17630
17631
17632 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17633 PyObject *resultobj;
17634 wxPrintData *arg1 = (wxPrintData *) 0 ;
17635 bool result;
17636 PyObject * obj0 = 0 ;
17637 char *kwnames[] = {
17638 (char *) "self", NULL
17639 };
17640
17641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17644 {
17645 PyThreadState* __tstate = wxPyBeginAllowThreads();
17646 result = (bool)(arg1)->GetColour();
17647
17648 wxPyEndAllowThreads(__tstate);
17649 if (PyErr_Occurred()) SWIG_fail;
17650 }
17651 {
17652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17653 }
17654 return resultobj;
17655 fail:
17656 return NULL;
17657 }
17658
17659
17660 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17661 PyObject *resultobj;
17662 wxPrintData *arg1 = (wxPrintData *) 0 ;
17663 int result;
17664 PyObject * obj0 = 0 ;
17665 char *kwnames[] = {
17666 (char *) "self", NULL
17667 };
17668
17669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17672 {
17673 PyThreadState* __tstate = wxPyBeginAllowThreads();
17674 result = (int)(arg1)->GetDuplex();
17675
17676 wxPyEndAllowThreads(__tstate);
17677 if (PyErr_Occurred()) SWIG_fail;
17678 }
17679 resultobj = SWIG_FromInt((int)result);
17680 return resultobj;
17681 fail:
17682 return NULL;
17683 }
17684
17685
17686 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17687 PyObject *resultobj;
17688 wxPrintData *arg1 = (wxPrintData *) 0 ;
17689 int result;
17690 PyObject * obj0 = 0 ;
17691 char *kwnames[] = {
17692 (char *) "self", NULL
17693 };
17694
17695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17698 {
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 result = (int)(arg1)->GetPaperId();
17701
17702 wxPyEndAllowThreads(__tstate);
17703 if (PyErr_Occurred()) SWIG_fail;
17704 }
17705 resultobj = SWIG_FromInt((int)result);
17706 return resultobj;
17707 fail:
17708 return NULL;
17709 }
17710
17711
17712 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17713 PyObject *resultobj;
17714 wxPrintData *arg1 = (wxPrintData *) 0 ;
17715 wxSize *result;
17716 PyObject * obj0 = 0 ;
17717 char *kwnames[] = {
17718 (char *) "self", NULL
17719 };
17720
17721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
17722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17724 {
17725 PyThreadState* __tstate = wxPyBeginAllowThreads();
17726 {
17727 wxSize const &_result_ref = (arg1)->GetPaperSize();
17728 result = (wxSize *) &_result_ref;
17729 }
17730
17731 wxPyEndAllowThreads(__tstate);
17732 if (PyErr_Occurred()) SWIG_fail;
17733 }
17734 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
17735 return resultobj;
17736 fail:
17737 return NULL;
17738 }
17739
17740
17741 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17742 PyObject *resultobj;
17743 wxPrintData *arg1 = (wxPrintData *) 0 ;
17744 int result;
17745 PyObject * obj0 = 0 ;
17746 char *kwnames[] = {
17747 (char *) "self", NULL
17748 };
17749
17750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
17751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17753 {
17754 PyThreadState* __tstate = wxPyBeginAllowThreads();
17755 result = (int)(arg1)->GetQuality();
17756
17757 wxPyEndAllowThreads(__tstate);
17758 if (PyErr_Occurred()) SWIG_fail;
17759 }
17760 resultobj = SWIG_FromInt((int)result);
17761 return resultobj;
17762 fail:
17763 return NULL;
17764 }
17765
17766
17767 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17768 PyObject *resultobj;
17769 wxPrintData *arg1 = (wxPrintData *) 0 ;
17770 int arg2 ;
17771 PyObject * obj0 = 0 ;
17772 PyObject * obj1 = 0 ;
17773 char *kwnames[] = {
17774 (char *) "self",(char *) "v", NULL
17775 };
17776
17777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
17778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17780 arg2 = (int) SWIG_AsInt(obj1);
17781 if (PyErr_Occurred()) SWIG_fail;
17782 {
17783 PyThreadState* __tstate = wxPyBeginAllowThreads();
17784 (arg1)->SetNoCopies(arg2);
17785
17786 wxPyEndAllowThreads(__tstate);
17787 if (PyErr_Occurred()) SWIG_fail;
17788 }
17789 Py_INCREF(Py_None); resultobj = Py_None;
17790 return resultobj;
17791 fail:
17792 return NULL;
17793 }
17794
17795
17796 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17797 PyObject *resultobj;
17798 wxPrintData *arg1 = (wxPrintData *) 0 ;
17799 bool arg2 ;
17800 PyObject * obj0 = 0 ;
17801 PyObject * obj1 = 0 ;
17802 char *kwnames[] = {
17803 (char *) "self",(char *) "flag", NULL
17804 };
17805
17806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17809 arg2 = (bool) SWIG_AsBool(obj1);
17810 if (PyErr_Occurred()) SWIG_fail;
17811 {
17812 PyThreadState* __tstate = wxPyBeginAllowThreads();
17813 (arg1)->SetCollate(arg2);
17814
17815 wxPyEndAllowThreads(__tstate);
17816 if (PyErr_Occurred()) SWIG_fail;
17817 }
17818 Py_INCREF(Py_None); resultobj = Py_None;
17819 return resultobj;
17820 fail:
17821 return NULL;
17822 }
17823
17824
17825 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17826 PyObject *resultobj;
17827 wxPrintData *arg1 = (wxPrintData *) 0 ;
17828 int arg2 ;
17829 PyObject * obj0 = 0 ;
17830 PyObject * obj1 = 0 ;
17831 char *kwnames[] = {
17832 (char *) "self",(char *) "orient", NULL
17833 };
17834
17835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
17836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17838 arg2 = (int) SWIG_AsInt(obj1);
17839 if (PyErr_Occurred()) SWIG_fail;
17840 {
17841 PyThreadState* __tstate = wxPyBeginAllowThreads();
17842 (arg1)->SetOrientation(arg2);
17843
17844 wxPyEndAllowThreads(__tstate);
17845 if (PyErr_Occurred()) SWIG_fail;
17846 }
17847 Py_INCREF(Py_None); resultobj = Py_None;
17848 return resultobj;
17849 fail:
17850 return NULL;
17851 }
17852
17853
17854 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17855 PyObject *resultobj;
17856 wxPrintData *arg1 = (wxPrintData *) 0 ;
17857 wxString *arg2 = 0 ;
17858 bool temp2 = False ;
17859 PyObject * obj0 = 0 ;
17860 PyObject * obj1 = 0 ;
17861 char *kwnames[] = {
17862 (char *) "self",(char *) "name", NULL
17863 };
17864
17865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
17866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17868 {
17869 arg2 = wxString_in_helper(obj1);
17870 if (arg2 == NULL) SWIG_fail;
17871 temp2 = True;
17872 }
17873 {
17874 PyThreadState* __tstate = wxPyBeginAllowThreads();
17875 (arg1)->SetPrinterName((wxString const &)*arg2);
17876
17877 wxPyEndAllowThreads(__tstate);
17878 if (PyErr_Occurred()) SWIG_fail;
17879 }
17880 Py_INCREF(Py_None); resultobj = Py_None;
17881 {
17882 if (temp2)
17883 delete arg2;
17884 }
17885 return resultobj;
17886 fail:
17887 {
17888 if (temp2)
17889 delete arg2;
17890 }
17891 return NULL;
17892 }
17893
17894
17895 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17896 PyObject *resultobj;
17897 wxPrintData *arg1 = (wxPrintData *) 0 ;
17898 bool arg2 ;
17899 PyObject * obj0 = 0 ;
17900 PyObject * obj1 = 0 ;
17901 char *kwnames[] = {
17902 (char *) "self",(char *) "colour", NULL
17903 };
17904
17905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
17906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17908 arg2 = (bool) SWIG_AsBool(obj1);
17909 if (PyErr_Occurred()) SWIG_fail;
17910 {
17911 PyThreadState* __tstate = wxPyBeginAllowThreads();
17912 (arg1)->SetColour(arg2);
17913
17914 wxPyEndAllowThreads(__tstate);
17915 if (PyErr_Occurred()) SWIG_fail;
17916 }
17917 Py_INCREF(Py_None); resultobj = Py_None;
17918 return resultobj;
17919 fail:
17920 return NULL;
17921 }
17922
17923
17924 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17925 PyObject *resultobj;
17926 wxPrintData *arg1 = (wxPrintData *) 0 ;
17927 int arg2 ;
17928 PyObject * obj0 = 0 ;
17929 PyObject * obj1 = 0 ;
17930 char *kwnames[] = {
17931 (char *) "self",(char *) "duplex", NULL
17932 };
17933
17934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
17935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17937 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
17938 if (PyErr_Occurred()) SWIG_fail;
17939 {
17940 PyThreadState* __tstate = wxPyBeginAllowThreads();
17941 (arg1)->SetDuplex((wxDuplexMode )arg2);
17942
17943 wxPyEndAllowThreads(__tstate);
17944 if (PyErr_Occurred()) SWIG_fail;
17945 }
17946 Py_INCREF(Py_None); resultobj = Py_None;
17947 return resultobj;
17948 fail:
17949 return NULL;
17950 }
17951
17952
17953 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17954 PyObject *resultobj;
17955 wxPrintData *arg1 = (wxPrintData *) 0 ;
17956 int arg2 ;
17957 PyObject * obj0 = 0 ;
17958 PyObject * obj1 = 0 ;
17959 char *kwnames[] = {
17960 (char *) "self",(char *) "sizeId", NULL
17961 };
17962
17963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
17964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17966 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
17967 if (PyErr_Occurred()) SWIG_fail;
17968 {
17969 PyThreadState* __tstate = wxPyBeginAllowThreads();
17970 (arg1)->SetPaperId((wxPaperSize )arg2);
17971
17972 wxPyEndAllowThreads(__tstate);
17973 if (PyErr_Occurred()) SWIG_fail;
17974 }
17975 Py_INCREF(Py_None); resultobj = Py_None;
17976 return resultobj;
17977 fail:
17978 return NULL;
17979 }
17980
17981
17982 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17983 PyObject *resultobj;
17984 wxPrintData *arg1 = (wxPrintData *) 0 ;
17985 wxSize *arg2 = 0 ;
17986 wxSize temp2 ;
17987 PyObject * obj0 = 0 ;
17988 PyObject * obj1 = 0 ;
17989 char *kwnames[] = {
17990 (char *) "self",(char *) "sz", NULL
17991 };
17992
17993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17996 {
17997 arg2 = &temp2;
17998 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17999 }
18000 {
18001 PyThreadState* __tstate = wxPyBeginAllowThreads();
18002 (arg1)->SetPaperSize((wxSize const &)*arg2);
18003
18004 wxPyEndAllowThreads(__tstate);
18005 if (PyErr_Occurred()) SWIG_fail;
18006 }
18007 Py_INCREF(Py_None); resultobj = Py_None;
18008 return resultobj;
18009 fail:
18010 return NULL;
18011 }
18012
18013
18014 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18015 PyObject *resultobj;
18016 wxPrintData *arg1 = (wxPrintData *) 0 ;
18017 int arg2 ;
18018 PyObject * obj0 = 0 ;
18019 PyObject * obj1 = 0 ;
18020 char *kwnames[] = {
18021 (char *) "self",(char *) "quality", NULL
18022 };
18023
18024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18027 arg2 = (int) SWIG_AsInt(obj1);
18028 if (PyErr_Occurred()) SWIG_fail;
18029 {
18030 PyThreadState* __tstate = wxPyBeginAllowThreads();
18031 (arg1)->SetQuality(arg2);
18032
18033 wxPyEndAllowThreads(__tstate);
18034 if (PyErr_Occurred()) SWIG_fail;
18035 }
18036 Py_INCREF(Py_None); resultobj = Py_None;
18037 return resultobj;
18038 fail:
18039 return NULL;
18040 }
18041
18042
18043 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18044 PyObject *resultobj;
18045 wxPrintData *arg1 = (wxPrintData *) 0 ;
18046 wxString *result;
18047 PyObject * obj0 = 0 ;
18048 char *kwnames[] = {
18049 (char *) "self", NULL
18050 };
18051
18052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18055 {
18056 PyThreadState* __tstate = wxPyBeginAllowThreads();
18057 {
18058 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18059 result = (wxString *) &_result_ref;
18060 }
18061
18062 wxPyEndAllowThreads(__tstate);
18063 if (PyErr_Occurred()) SWIG_fail;
18064 }
18065 {
18066 #if wxUSE_UNICODE
18067 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18068 #else
18069 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18070 #endif
18071 }
18072 return resultobj;
18073 fail:
18074 return NULL;
18075 }
18076
18077
18078 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18079 PyObject *resultobj;
18080 wxPrintData *arg1 = (wxPrintData *) 0 ;
18081 wxString *result;
18082 PyObject * obj0 = 0 ;
18083 char *kwnames[] = {
18084 (char *) "self", NULL
18085 };
18086
18087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18090 {
18091 PyThreadState* __tstate = wxPyBeginAllowThreads();
18092 {
18093 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18094 result = (wxString *) &_result_ref;
18095 }
18096
18097 wxPyEndAllowThreads(__tstate);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 {
18101 #if wxUSE_UNICODE
18102 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18103 #else
18104 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18105 #endif
18106 }
18107 return resultobj;
18108 fail:
18109 return NULL;
18110 }
18111
18112
18113 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18114 PyObject *resultobj;
18115 wxPrintData *arg1 = (wxPrintData *) 0 ;
18116 wxString *result;
18117 PyObject * obj0 = 0 ;
18118 char *kwnames[] = {
18119 (char *) "self", NULL
18120 };
18121
18122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18125 {
18126 PyThreadState* __tstate = wxPyBeginAllowThreads();
18127 {
18128 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18129 result = (wxString *) &_result_ref;
18130 }
18131
18132 wxPyEndAllowThreads(__tstate);
18133 if (PyErr_Occurred()) SWIG_fail;
18134 }
18135 {
18136 #if wxUSE_UNICODE
18137 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18138 #else
18139 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18140 #endif
18141 }
18142 return resultobj;
18143 fail:
18144 return NULL;
18145 }
18146
18147
18148 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18149 PyObject *resultobj;
18150 wxPrintData *arg1 = (wxPrintData *) 0 ;
18151 wxString *result;
18152 PyObject * obj0 = 0 ;
18153 char *kwnames[] = {
18154 (char *) "self", NULL
18155 };
18156
18157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18160 {
18161 PyThreadState* __tstate = wxPyBeginAllowThreads();
18162 {
18163 wxString const &_result_ref = (arg1)->GetFilename();
18164 result = (wxString *) &_result_ref;
18165 }
18166
18167 wxPyEndAllowThreads(__tstate);
18168 if (PyErr_Occurred()) SWIG_fail;
18169 }
18170 {
18171 #if wxUSE_UNICODE
18172 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18173 #else
18174 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18175 #endif
18176 }
18177 return resultobj;
18178 fail:
18179 return NULL;
18180 }
18181
18182
18183 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18184 PyObject *resultobj;
18185 wxPrintData *arg1 = (wxPrintData *) 0 ;
18186 wxString *result;
18187 PyObject * obj0 = 0 ;
18188 char *kwnames[] = {
18189 (char *) "self", NULL
18190 };
18191
18192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18195 {
18196 PyThreadState* __tstate = wxPyBeginAllowThreads();
18197 {
18198 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18199 result = (wxString *) &_result_ref;
18200 }
18201
18202 wxPyEndAllowThreads(__tstate);
18203 if (PyErr_Occurred()) SWIG_fail;
18204 }
18205 {
18206 #if wxUSE_UNICODE
18207 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18208 #else
18209 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18210 #endif
18211 }
18212 return resultobj;
18213 fail:
18214 return NULL;
18215 }
18216
18217
18218 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18219 PyObject *resultobj;
18220 wxPrintData *arg1 = (wxPrintData *) 0 ;
18221 double result;
18222 PyObject * obj0 = 0 ;
18223 char *kwnames[] = {
18224 (char *) "self", NULL
18225 };
18226
18227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18230 {
18231 PyThreadState* __tstate = wxPyBeginAllowThreads();
18232 result = (double)(arg1)->GetPrinterScaleX();
18233
18234 wxPyEndAllowThreads(__tstate);
18235 if (PyErr_Occurred()) SWIG_fail;
18236 }
18237 resultobj = SWIG_FromDouble((double)result);
18238 return resultobj;
18239 fail:
18240 return NULL;
18241 }
18242
18243
18244 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18245 PyObject *resultobj;
18246 wxPrintData *arg1 = (wxPrintData *) 0 ;
18247 double result;
18248 PyObject * obj0 = 0 ;
18249 char *kwnames[] = {
18250 (char *) "self", NULL
18251 };
18252
18253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18256 {
18257 PyThreadState* __tstate = wxPyBeginAllowThreads();
18258 result = (double)(arg1)->GetPrinterScaleY();
18259
18260 wxPyEndAllowThreads(__tstate);
18261 if (PyErr_Occurred()) SWIG_fail;
18262 }
18263 resultobj = SWIG_FromDouble((double)result);
18264 return resultobj;
18265 fail:
18266 return NULL;
18267 }
18268
18269
18270 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18271 PyObject *resultobj;
18272 wxPrintData *arg1 = (wxPrintData *) 0 ;
18273 long result;
18274 PyObject * obj0 = 0 ;
18275 char *kwnames[] = {
18276 (char *) "self", NULL
18277 };
18278
18279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 result = (long)(arg1)->GetPrinterTranslateX();
18285
18286 wxPyEndAllowThreads(__tstate);
18287 if (PyErr_Occurred()) SWIG_fail;
18288 }
18289 resultobj = SWIG_FromLong((long)result);
18290 return resultobj;
18291 fail:
18292 return NULL;
18293 }
18294
18295
18296 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18297 PyObject *resultobj;
18298 wxPrintData *arg1 = (wxPrintData *) 0 ;
18299 long result;
18300 PyObject * obj0 = 0 ;
18301 char *kwnames[] = {
18302 (char *) "self", NULL
18303 };
18304
18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 result = (long)(arg1)->GetPrinterTranslateY();
18311
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
18315 resultobj = SWIG_FromLong((long)result);
18316 return resultobj;
18317 fail:
18318 return NULL;
18319 }
18320
18321
18322 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18323 PyObject *resultobj;
18324 wxPrintData *arg1 = (wxPrintData *) 0 ;
18325 int result;
18326 PyObject * obj0 = 0 ;
18327 char *kwnames[] = {
18328 (char *) "self", NULL
18329 };
18330
18331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18334 {
18335 PyThreadState* __tstate = wxPyBeginAllowThreads();
18336 result = (int)(arg1)->GetPrintMode();
18337
18338 wxPyEndAllowThreads(__tstate);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 resultobj = SWIG_FromInt((int)result);
18342 return resultobj;
18343 fail:
18344 return NULL;
18345 }
18346
18347
18348 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18349 PyObject *resultobj;
18350 wxPrintData *arg1 = (wxPrintData *) 0 ;
18351 wxString *arg2 = 0 ;
18352 bool temp2 = False ;
18353 PyObject * obj0 = 0 ;
18354 PyObject * obj1 = 0 ;
18355 char *kwnames[] = {
18356 (char *) "self",(char *) "command", NULL
18357 };
18358
18359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18362 {
18363 arg2 = wxString_in_helper(obj1);
18364 if (arg2 == NULL) SWIG_fail;
18365 temp2 = True;
18366 }
18367 {
18368 PyThreadState* __tstate = wxPyBeginAllowThreads();
18369 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18370
18371 wxPyEndAllowThreads(__tstate);
18372 if (PyErr_Occurred()) SWIG_fail;
18373 }
18374 Py_INCREF(Py_None); resultobj = Py_None;
18375 {
18376 if (temp2)
18377 delete arg2;
18378 }
18379 return resultobj;
18380 fail:
18381 {
18382 if (temp2)
18383 delete arg2;
18384 }
18385 return NULL;
18386 }
18387
18388
18389 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18390 PyObject *resultobj;
18391 wxPrintData *arg1 = (wxPrintData *) 0 ;
18392 wxString *arg2 = 0 ;
18393 bool temp2 = False ;
18394 PyObject * obj0 = 0 ;
18395 PyObject * obj1 = 0 ;
18396 char *kwnames[] = {
18397 (char *) "self",(char *) "options", NULL
18398 };
18399
18400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18403 {
18404 arg2 = wxString_in_helper(obj1);
18405 if (arg2 == NULL) SWIG_fail;
18406 temp2 = True;
18407 }
18408 {
18409 PyThreadState* __tstate = wxPyBeginAllowThreads();
18410 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18411
18412 wxPyEndAllowThreads(__tstate);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 }
18415 Py_INCREF(Py_None); resultobj = Py_None;
18416 {
18417 if (temp2)
18418 delete arg2;
18419 }
18420 return resultobj;
18421 fail:
18422 {
18423 if (temp2)
18424 delete arg2;
18425 }
18426 return NULL;
18427 }
18428
18429
18430 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18431 PyObject *resultobj;
18432 wxPrintData *arg1 = (wxPrintData *) 0 ;
18433 wxString *arg2 = 0 ;
18434 bool temp2 = False ;
18435 PyObject * obj0 = 0 ;
18436 PyObject * obj1 = 0 ;
18437 char *kwnames[] = {
18438 (char *) "self",(char *) "command", NULL
18439 };
18440
18441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18444 {
18445 arg2 = wxString_in_helper(obj1);
18446 if (arg2 == NULL) SWIG_fail;
18447 temp2 = True;
18448 }
18449 {
18450 PyThreadState* __tstate = wxPyBeginAllowThreads();
18451 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18452
18453 wxPyEndAllowThreads(__tstate);
18454 if (PyErr_Occurred()) SWIG_fail;
18455 }
18456 Py_INCREF(Py_None); resultobj = Py_None;
18457 {
18458 if (temp2)
18459 delete arg2;
18460 }
18461 return resultobj;
18462 fail:
18463 {
18464 if (temp2)
18465 delete arg2;
18466 }
18467 return NULL;
18468 }
18469
18470
18471 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18472 PyObject *resultobj;
18473 wxPrintData *arg1 = (wxPrintData *) 0 ;
18474 wxString *arg2 = 0 ;
18475 bool temp2 = False ;
18476 PyObject * obj0 = 0 ;
18477 PyObject * obj1 = 0 ;
18478 char *kwnames[] = {
18479 (char *) "self",(char *) "filename", NULL
18480 };
18481
18482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18485 {
18486 arg2 = wxString_in_helper(obj1);
18487 if (arg2 == NULL) SWIG_fail;
18488 temp2 = True;
18489 }
18490 {
18491 PyThreadState* __tstate = wxPyBeginAllowThreads();
18492 (arg1)->SetFilename((wxString const &)*arg2);
18493
18494 wxPyEndAllowThreads(__tstate);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 }
18497 Py_INCREF(Py_None); resultobj = Py_None;
18498 {
18499 if (temp2)
18500 delete arg2;
18501 }
18502 return resultobj;
18503 fail:
18504 {
18505 if (temp2)
18506 delete arg2;
18507 }
18508 return NULL;
18509 }
18510
18511
18512 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18513 PyObject *resultobj;
18514 wxPrintData *arg1 = (wxPrintData *) 0 ;
18515 wxString *arg2 = 0 ;
18516 bool temp2 = False ;
18517 PyObject * obj0 = 0 ;
18518 PyObject * obj1 = 0 ;
18519 char *kwnames[] = {
18520 (char *) "self",(char *) "path", NULL
18521 };
18522
18523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18526 {
18527 arg2 = wxString_in_helper(obj1);
18528 if (arg2 == NULL) SWIG_fail;
18529 temp2 = True;
18530 }
18531 {
18532 PyThreadState* __tstate = wxPyBeginAllowThreads();
18533 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18534
18535 wxPyEndAllowThreads(__tstate);
18536 if (PyErr_Occurred()) SWIG_fail;
18537 }
18538 Py_INCREF(Py_None); resultobj = Py_None;
18539 {
18540 if (temp2)
18541 delete arg2;
18542 }
18543 return resultobj;
18544 fail:
18545 {
18546 if (temp2)
18547 delete arg2;
18548 }
18549 return NULL;
18550 }
18551
18552
18553 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18554 PyObject *resultobj;
18555 wxPrintData *arg1 = (wxPrintData *) 0 ;
18556 double arg2 ;
18557 PyObject * obj0 = 0 ;
18558 PyObject * obj1 = 0 ;
18559 char *kwnames[] = {
18560 (char *) "self",(char *) "x", NULL
18561 };
18562
18563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18566 arg2 = (double) SWIG_AsDouble(obj1);
18567 if (PyErr_Occurred()) SWIG_fail;
18568 {
18569 PyThreadState* __tstate = wxPyBeginAllowThreads();
18570 (arg1)->SetPrinterScaleX(arg2);
18571
18572 wxPyEndAllowThreads(__tstate);
18573 if (PyErr_Occurred()) SWIG_fail;
18574 }
18575 Py_INCREF(Py_None); resultobj = Py_None;
18576 return resultobj;
18577 fail:
18578 return NULL;
18579 }
18580
18581
18582 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18583 PyObject *resultobj;
18584 wxPrintData *arg1 = (wxPrintData *) 0 ;
18585 double arg2 ;
18586 PyObject * obj0 = 0 ;
18587 PyObject * obj1 = 0 ;
18588 char *kwnames[] = {
18589 (char *) "self",(char *) "y", NULL
18590 };
18591
18592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18595 arg2 = (double) SWIG_AsDouble(obj1);
18596 if (PyErr_Occurred()) SWIG_fail;
18597 {
18598 PyThreadState* __tstate = wxPyBeginAllowThreads();
18599 (arg1)->SetPrinterScaleY(arg2);
18600
18601 wxPyEndAllowThreads(__tstate);
18602 if (PyErr_Occurred()) SWIG_fail;
18603 }
18604 Py_INCREF(Py_None); resultobj = Py_None;
18605 return resultobj;
18606 fail:
18607 return NULL;
18608 }
18609
18610
18611 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
18612 PyObject *resultobj;
18613 wxPrintData *arg1 = (wxPrintData *) 0 ;
18614 double arg2 ;
18615 double arg3 ;
18616 PyObject * obj0 = 0 ;
18617 PyObject * obj1 = 0 ;
18618 PyObject * obj2 = 0 ;
18619 char *kwnames[] = {
18620 (char *) "self",(char *) "x",(char *) "y", NULL
18621 };
18622
18623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18626 arg2 = (double) SWIG_AsDouble(obj1);
18627 if (PyErr_Occurred()) SWIG_fail;
18628 arg3 = (double) SWIG_AsDouble(obj2);
18629 if (PyErr_Occurred()) SWIG_fail;
18630 {
18631 PyThreadState* __tstate = wxPyBeginAllowThreads();
18632 (arg1)->SetPrinterScaling(arg2,arg3);
18633
18634 wxPyEndAllowThreads(__tstate);
18635 if (PyErr_Occurred()) SWIG_fail;
18636 }
18637 Py_INCREF(Py_None); resultobj = Py_None;
18638 return resultobj;
18639 fail:
18640 return NULL;
18641 }
18642
18643
18644 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18645 PyObject *resultobj;
18646 wxPrintData *arg1 = (wxPrintData *) 0 ;
18647 long arg2 ;
18648 PyObject * obj0 = 0 ;
18649 PyObject * obj1 = 0 ;
18650 char *kwnames[] = {
18651 (char *) "self",(char *) "x", NULL
18652 };
18653
18654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18657 arg2 = (long) SWIG_AsLong(obj1);
18658 if (PyErr_Occurred()) SWIG_fail;
18659 {
18660 PyThreadState* __tstate = wxPyBeginAllowThreads();
18661 (arg1)->SetPrinterTranslateX(arg2);
18662
18663 wxPyEndAllowThreads(__tstate);
18664 if (PyErr_Occurred()) SWIG_fail;
18665 }
18666 Py_INCREF(Py_None); resultobj = Py_None;
18667 return resultobj;
18668 fail:
18669 return NULL;
18670 }
18671
18672
18673 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18674 PyObject *resultobj;
18675 wxPrintData *arg1 = (wxPrintData *) 0 ;
18676 long arg2 ;
18677 PyObject * obj0 = 0 ;
18678 PyObject * obj1 = 0 ;
18679 char *kwnames[] = {
18680 (char *) "self",(char *) "y", NULL
18681 };
18682
18683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18686 arg2 = (long) SWIG_AsLong(obj1);
18687 if (PyErr_Occurred()) SWIG_fail;
18688 {
18689 PyThreadState* __tstate = wxPyBeginAllowThreads();
18690 (arg1)->SetPrinterTranslateY(arg2);
18691
18692 wxPyEndAllowThreads(__tstate);
18693 if (PyErr_Occurred()) SWIG_fail;
18694 }
18695 Py_INCREF(Py_None); resultobj = Py_None;
18696 return resultobj;
18697 fail:
18698 return NULL;
18699 }
18700
18701
18702 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
18703 PyObject *resultobj;
18704 wxPrintData *arg1 = (wxPrintData *) 0 ;
18705 long arg2 ;
18706 long arg3 ;
18707 PyObject * obj0 = 0 ;
18708 PyObject * obj1 = 0 ;
18709 PyObject * obj2 = 0 ;
18710 char *kwnames[] = {
18711 (char *) "self",(char *) "x",(char *) "y", NULL
18712 };
18713
18714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
18715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18717 arg2 = (long) SWIG_AsLong(obj1);
18718 if (PyErr_Occurred()) SWIG_fail;
18719 arg3 = (long) SWIG_AsLong(obj2);
18720 if (PyErr_Occurred()) SWIG_fail;
18721 {
18722 PyThreadState* __tstate = wxPyBeginAllowThreads();
18723 (arg1)->SetPrinterTranslation(arg2,arg3);
18724
18725 wxPyEndAllowThreads(__tstate);
18726 if (PyErr_Occurred()) SWIG_fail;
18727 }
18728 Py_INCREF(Py_None); resultobj = Py_None;
18729 return resultobj;
18730 fail:
18731 return NULL;
18732 }
18733
18734
18735 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18736 PyObject *resultobj;
18737 wxPrintData *arg1 = (wxPrintData *) 0 ;
18738 int arg2 ;
18739 PyObject * obj0 = 0 ;
18740 PyObject * obj1 = 0 ;
18741 char *kwnames[] = {
18742 (char *) "self",(char *) "printMode", NULL
18743 };
18744
18745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
18746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18748 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 {
18751 PyThreadState* __tstate = wxPyBeginAllowThreads();
18752 (arg1)->SetPrintMode((wxPrintMode )arg2);
18753
18754 wxPyEndAllowThreads(__tstate);
18755 if (PyErr_Occurred()) SWIG_fail;
18756 }
18757 Py_INCREF(Py_None); resultobj = Py_None;
18758 return resultobj;
18759 fail:
18760 return NULL;
18761 }
18762
18763
18764 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18765 PyObject *resultobj;
18766 wxPrintData *arg1 = (wxPrintData *) 0 ;
18767 wxOutputStream *result;
18768 PyObject * obj0 = 0 ;
18769 char *kwnames[] = {
18770 (char *) "self", NULL
18771 };
18772
18773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
18774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18776 {
18777 PyThreadState* __tstate = wxPyBeginAllowThreads();
18778 result = (wxOutputStream *)(arg1)->GetOutputStream();
18779
18780 wxPyEndAllowThreads(__tstate);
18781 if (PyErr_Occurred()) SWIG_fail;
18782 }
18783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
18784 return resultobj;
18785 fail:
18786 return NULL;
18787 }
18788
18789
18790 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18791 PyObject *resultobj;
18792 wxPrintData *arg1 = (wxPrintData *) 0 ;
18793 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18794 PyObject * obj0 = 0 ;
18795 PyObject * obj1 = 0 ;
18796 char *kwnames[] = {
18797 (char *) "self",(char *) "outputstream", NULL
18798 };
18799
18800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
18801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
18804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18805 {
18806 PyThreadState* __tstate = wxPyBeginAllowThreads();
18807 (arg1)->SetOutputStream(arg2);
18808
18809 wxPyEndAllowThreads(__tstate);
18810 if (PyErr_Occurred()) SWIG_fail;
18811 }
18812 Py_INCREF(Py_None); resultobj = Py_None;
18813 return resultobj;
18814 fail:
18815 return NULL;
18816 }
18817
18818
18819 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
18820 PyObject *obj;
18821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18822 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
18823 Py_INCREF(obj);
18824 return Py_BuildValue((char *)"");
18825 }
18826 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18827 PyObject *resultobj;
18828 wxPageSetupDialogData *result;
18829 char *kwnames[] = {
18830 NULL
18831 };
18832
18833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
18834 {
18835 PyThreadState* __tstate = wxPyBeginAllowThreads();
18836 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
18837
18838 wxPyEndAllowThreads(__tstate);
18839 if (PyErr_Occurred()) SWIG_fail;
18840 }
18841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
18842 return resultobj;
18843 fail:
18844 return NULL;
18845 }
18846
18847
18848 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18849 PyObject *resultobj;
18850 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18851 PyObject * obj0 = 0 ;
18852 char *kwnames[] = {
18853 (char *) "self", NULL
18854 };
18855
18856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
18857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18859 {
18860 PyThreadState* __tstate = wxPyBeginAllowThreads();
18861 delete arg1;
18862
18863 wxPyEndAllowThreads(__tstate);
18864 if (PyErr_Occurred()) SWIG_fail;
18865 }
18866 Py_INCREF(Py_None); resultobj = Py_None;
18867 return resultobj;
18868 fail:
18869 return NULL;
18870 }
18871
18872
18873 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18874 PyObject *resultobj;
18875 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18876 bool arg2 ;
18877 PyObject * obj0 = 0 ;
18878 PyObject * obj1 = 0 ;
18879 char *kwnames[] = {
18880 (char *) "self",(char *) "flag", NULL
18881 };
18882
18883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
18884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18886 arg2 = (bool) SWIG_AsBool(obj1);
18887 if (PyErr_Occurred()) SWIG_fail;
18888 {
18889 PyThreadState* __tstate = wxPyBeginAllowThreads();
18890 (arg1)->EnableHelp(arg2);
18891
18892 wxPyEndAllowThreads(__tstate);
18893 if (PyErr_Occurred()) SWIG_fail;
18894 }
18895 Py_INCREF(Py_None); resultobj = Py_None;
18896 return resultobj;
18897 fail:
18898 return NULL;
18899 }
18900
18901
18902 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18903 PyObject *resultobj;
18904 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18905 bool arg2 ;
18906 PyObject * obj0 = 0 ;
18907 PyObject * obj1 = 0 ;
18908 char *kwnames[] = {
18909 (char *) "self",(char *) "flag", NULL
18910 };
18911
18912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
18913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18915 arg2 = (bool) SWIG_AsBool(obj1);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 {
18918 PyThreadState* __tstate = wxPyBeginAllowThreads();
18919 (arg1)->EnableMargins(arg2);
18920
18921 wxPyEndAllowThreads(__tstate);
18922 if (PyErr_Occurred()) SWIG_fail;
18923 }
18924 Py_INCREF(Py_None); resultobj = Py_None;
18925 return resultobj;
18926 fail:
18927 return NULL;
18928 }
18929
18930
18931 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18932 PyObject *resultobj;
18933 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18934 bool arg2 ;
18935 PyObject * obj0 = 0 ;
18936 PyObject * obj1 = 0 ;
18937 char *kwnames[] = {
18938 (char *) "self",(char *) "flag", NULL
18939 };
18940
18941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
18942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18944 arg2 = (bool) SWIG_AsBool(obj1);
18945 if (PyErr_Occurred()) SWIG_fail;
18946 {
18947 PyThreadState* __tstate = wxPyBeginAllowThreads();
18948 (arg1)->EnableOrientation(arg2);
18949
18950 wxPyEndAllowThreads(__tstate);
18951 if (PyErr_Occurred()) SWIG_fail;
18952 }
18953 Py_INCREF(Py_None); resultobj = Py_None;
18954 return resultobj;
18955 fail:
18956 return NULL;
18957 }
18958
18959
18960 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
18961 PyObject *resultobj;
18962 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18963 bool arg2 ;
18964 PyObject * obj0 = 0 ;
18965 PyObject * obj1 = 0 ;
18966 char *kwnames[] = {
18967 (char *) "self",(char *) "flag", NULL
18968 };
18969
18970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
18971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18973 arg2 = (bool) SWIG_AsBool(obj1);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 {
18976 PyThreadState* __tstate = wxPyBeginAllowThreads();
18977 (arg1)->EnablePaper(arg2);
18978
18979 wxPyEndAllowThreads(__tstate);
18980 if (PyErr_Occurred()) SWIG_fail;
18981 }
18982 Py_INCREF(Py_None); resultobj = Py_None;
18983 return resultobj;
18984 fail:
18985 return NULL;
18986 }
18987
18988
18989 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18990 PyObject *resultobj;
18991 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18992 bool arg2 ;
18993 PyObject * obj0 = 0 ;
18994 PyObject * obj1 = 0 ;
18995 char *kwnames[] = {
18996 (char *) "self",(char *) "flag", NULL
18997 };
18998
18999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19002 arg2 = (bool) SWIG_AsBool(obj1);
19003 if (PyErr_Occurred()) SWIG_fail;
19004 {
19005 PyThreadState* __tstate = wxPyBeginAllowThreads();
19006 (arg1)->EnablePrinter(arg2);
19007
19008 wxPyEndAllowThreads(__tstate);
19009 if (PyErr_Occurred()) SWIG_fail;
19010 }
19011 Py_INCREF(Py_None); resultobj = Py_None;
19012 return resultobj;
19013 fail:
19014 return NULL;
19015 }
19016
19017
19018 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19019 PyObject *resultobj;
19020 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19021 bool result;
19022 PyObject * obj0 = 0 ;
19023 char *kwnames[] = {
19024 (char *) "self", NULL
19025 };
19026
19027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19030 {
19031 PyThreadState* __tstate = wxPyBeginAllowThreads();
19032 result = (bool)(arg1)->GetDefaultMinMargins();
19033
19034 wxPyEndAllowThreads(__tstate);
19035 if (PyErr_Occurred()) SWIG_fail;
19036 }
19037 {
19038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19039 }
19040 return resultobj;
19041 fail:
19042 return NULL;
19043 }
19044
19045
19046 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19047 PyObject *resultobj;
19048 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19049 bool result;
19050 PyObject * obj0 = 0 ;
19051 char *kwnames[] = {
19052 (char *) "self", NULL
19053 };
19054
19055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19058 {
19059 PyThreadState* __tstate = wxPyBeginAllowThreads();
19060 result = (bool)(arg1)->GetEnableMargins();
19061
19062 wxPyEndAllowThreads(__tstate);
19063 if (PyErr_Occurred()) SWIG_fail;
19064 }
19065 {
19066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19067 }
19068 return resultobj;
19069 fail:
19070 return NULL;
19071 }
19072
19073
19074 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19075 PyObject *resultobj;
19076 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19077 bool result;
19078 PyObject * obj0 = 0 ;
19079 char *kwnames[] = {
19080 (char *) "self", NULL
19081 };
19082
19083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19086 {
19087 PyThreadState* __tstate = wxPyBeginAllowThreads();
19088 result = (bool)(arg1)->GetEnableOrientation();
19089
19090 wxPyEndAllowThreads(__tstate);
19091 if (PyErr_Occurred()) SWIG_fail;
19092 }
19093 {
19094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19095 }
19096 return resultobj;
19097 fail:
19098 return NULL;
19099 }
19100
19101
19102 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19103 PyObject *resultobj;
19104 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19105 bool result;
19106 PyObject * obj0 = 0 ;
19107 char *kwnames[] = {
19108 (char *) "self", NULL
19109 };
19110
19111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19114 {
19115 PyThreadState* __tstate = wxPyBeginAllowThreads();
19116 result = (bool)(arg1)->GetEnablePaper();
19117
19118 wxPyEndAllowThreads(__tstate);
19119 if (PyErr_Occurred()) SWIG_fail;
19120 }
19121 {
19122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19123 }
19124 return resultobj;
19125 fail:
19126 return NULL;
19127 }
19128
19129
19130 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19131 PyObject *resultobj;
19132 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19133 bool result;
19134 PyObject * obj0 = 0 ;
19135 char *kwnames[] = {
19136 (char *) "self", NULL
19137 };
19138
19139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19142 {
19143 PyThreadState* __tstate = wxPyBeginAllowThreads();
19144 result = (bool)(arg1)->GetEnablePrinter();
19145
19146 wxPyEndAllowThreads(__tstate);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
19149 {
19150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19151 }
19152 return resultobj;
19153 fail:
19154 return NULL;
19155 }
19156
19157
19158 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19159 PyObject *resultobj;
19160 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19161 bool result;
19162 PyObject * obj0 = 0 ;
19163 char *kwnames[] = {
19164 (char *) "self", NULL
19165 };
19166
19167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19170 {
19171 PyThreadState* __tstate = wxPyBeginAllowThreads();
19172 result = (bool)(arg1)->GetEnableHelp();
19173
19174 wxPyEndAllowThreads(__tstate);
19175 if (PyErr_Occurred()) SWIG_fail;
19176 }
19177 {
19178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19179 }
19180 return resultobj;
19181 fail:
19182 return NULL;
19183 }
19184
19185
19186 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19187 PyObject *resultobj;
19188 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19189 bool result;
19190 PyObject * obj0 = 0 ;
19191 char *kwnames[] = {
19192 (char *) "self", NULL
19193 };
19194
19195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19198 {
19199 PyThreadState* __tstate = wxPyBeginAllowThreads();
19200 result = (bool)(arg1)->GetDefaultInfo();
19201
19202 wxPyEndAllowThreads(__tstate);
19203 if (PyErr_Occurred()) SWIG_fail;
19204 }
19205 {
19206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19207 }
19208 return resultobj;
19209 fail:
19210 return NULL;
19211 }
19212
19213
19214 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19215 PyObject *resultobj;
19216 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19217 wxPoint result;
19218 PyObject * obj0 = 0 ;
19219 char *kwnames[] = {
19220 (char *) "self", NULL
19221 };
19222
19223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19226 {
19227 PyThreadState* __tstate = wxPyBeginAllowThreads();
19228 result = (arg1)->GetMarginTopLeft();
19229
19230 wxPyEndAllowThreads(__tstate);
19231 if (PyErr_Occurred()) SWIG_fail;
19232 }
19233 {
19234 wxPoint * resultptr;
19235 resultptr = new wxPoint((wxPoint &) result);
19236 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19237 }
19238 return resultobj;
19239 fail:
19240 return NULL;
19241 }
19242
19243
19244 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19245 PyObject *resultobj;
19246 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19247 wxPoint result;
19248 PyObject * obj0 = 0 ;
19249 char *kwnames[] = {
19250 (char *) "self", NULL
19251 };
19252
19253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19256 {
19257 PyThreadState* __tstate = wxPyBeginAllowThreads();
19258 result = (arg1)->GetMarginBottomRight();
19259
19260 wxPyEndAllowThreads(__tstate);
19261 if (PyErr_Occurred()) SWIG_fail;
19262 }
19263 {
19264 wxPoint * resultptr;
19265 resultptr = new wxPoint((wxPoint &) result);
19266 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19267 }
19268 return resultobj;
19269 fail:
19270 return NULL;
19271 }
19272
19273
19274 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19275 PyObject *resultobj;
19276 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19277 wxPoint result;
19278 PyObject * obj0 = 0 ;
19279 char *kwnames[] = {
19280 (char *) "self", NULL
19281 };
19282
19283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19286 {
19287 PyThreadState* __tstate = wxPyBeginAllowThreads();
19288 result = (arg1)->GetMinMarginTopLeft();
19289
19290 wxPyEndAllowThreads(__tstate);
19291 if (PyErr_Occurred()) SWIG_fail;
19292 }
19293 {
19294 wxPoint * resultptr;
19295 resultptr = new wxPoint((wxPoint &) result);
19296 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19297 }
19298 return resultobj;
19299 fail:
19300 return NULL;
19301 }
19302
19303
19304 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19305 PyObject *resultobj;
19306 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19307 wxPoint result;
19308 PyObject * obj0 = 0 ;
19309 char *kwnames[] = {
19310 (char *) "self", NULL
19311 };
19312
19313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19316 {
19317 PyThreadState* __tstate = wxPyBeginAllowThreads();
19318 result = (arg1)->GetMinMarginBottomRight();
19319
19320 wxPyEndAllowThreads(__tstate);
19321 if (PyErr_Occurred()) SWIG_fail;
19322 }
19323 {
19324 wxPoint * resultptr;
19325 resultptr = new wxPoint((wxPoint &) result);
19326 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19327 }
19328 return resultobj;
19329 fail:
19330 return NULL;
19331 }
19332
19333
19334 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19335 PyObject *resultobj;
19336 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19337 int result;
19338 PyObject * obj0 = 0 ;
19339 char *kwnames[] = {
19340 (char *) "self", NULL
19341 };
19342
19343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19346 {
19347 PyThreadState* __tstate = wxPyBeginAllowThreads();
19348 result = (int)(arg1)->GetPaperId();
19349
19350 wxPyEndAllowThreads(__tstate);
19351 if (PyErr_Occurred()) SWIG_fail;
19352 }
19353 resultobj = SWIG_FromInt((int)result);
19354 return resultobj;
19355 fail:
19356 return NULL;
19357 }
19358
19359
19360 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19361 PyObject *resultobj;
19362 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19363 wxSize result;
19364 PyObject * obj0 = 0 ;
19365 char *kwnames[] = {
19366 (char *) "self", NULL
19367 };
19368
19369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19372 {
19373 PyThreadState* __tstate = wxPyBeginAllowThreads();
19374 result = (arg1)->GetPaperSize();
19375
19376 wxPyEndAllowThreads(__tstate);
19377 if (PyErr_Occurred()) SWIG_fail;
19378 }
19379 {
19380 wxSize * resultptr;
19381 resultptr = new wxSize((wxSize &) result);
19382 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19383 }
19384 return resultobj;
19385 fail:
19386 return NULL;
19387 }
19388
19389
19390 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19391 PyObject *resultobj;
19392 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19393 wxPrintData *result;
19394 PyObject * obj0 = 0 ;
19395 char *kwnames[] = {
19396 (char *) "self", NULL
19397 };
19398
19399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19402 {
19403 PyThreadState* __tstate = wxPyBeginAllowThreads();
19404 {
19405 wxPrintData &_result_ref = (arg1)->GetPrintData();
19406 result = (wxPrintData *) &_result_ref;
19407 }
19408
19409 wxPyEndAllowThreads(__tstate);
19410 if (PyErr_Occurred()) SWIG_fail;
19411 }
19412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19413 return resultobj;
19414 fail:
19415 return NULL;
19416 }
19417
19418
19419 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19420 PyObject *resultobj;
19421 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19422 bool result;
19423 PyObject * obj0 = 0 ;
19424 char *kwnames[] = {
19425 (char *) "self", NULL
19426 };
19427
19428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19431 {
19432 PyThreadState* __tstate = wxPyBeginAllowThreads();
19433 result = (bool)(arg1)->Ok();
19434
19435 wxPyEndAllowThreads(__tstate);
19436 if (PyErr_Occurred()) SWIG_fail;
19437 }
19438 {
19439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19440 }
19441 return resultobj;
19442 fail:
19443 return NULL;
19444 }
19445
19446
19447 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19448 PyObject *resultobj;
19449 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19450 bool arg2 ;
19451 PyObject * obj0 = 0 ;
19452 PyObject * obj1 = 0 ;
19453 char *kwnames[] = {
19454 (char *) "self",(char *) "flag", NULL
19455 };
19456
19457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19460 arg2 = (bool) SWIG_AsBool(obj1);
19461 if (PyErr_Occurred()) SWIG_fail;
19462 {
19463 PyThreadState* __tstate = wxPyBeginAllowThreads();
19464 (arg1)->SetDefaultInfo(arg2);
19465
19466 wxPyEndAllowThreads(__tstate);
19467 if (PyErr_Occurred()) SWIG_fail;
19468 }
19469 Py_INCREF(Py_None); resultobj = Py_None;
19470 return resultobj;
19471 fail:
19472 return NULL;
19473 }
19474
19475
19476 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19477 PyObject *resultobj;
19478 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19479 bool arg2 ;
19480 PyObject * obj0 = 0 ;
19481 PyObject * obj1 = 0 ;
19482 char *kwnames[] = {
19483 (char *) "self",(char *) "flag", NULL
19484 };
19485
19486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19489 arg2 = (bool) SWIG_AsBool(obj1);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 {
19492 PyThreadState* __tstate = wxPyBeginAllowThreads();
19493 (arg1)->SetDefaultMinMargins(arg2);
19494
19495 wxPyEndAllowThreads(__tstate);
19496 if (PyErr_Occurred()) SWIG_fail;
19497 }
19498 Py_INCREF(Py_None); resultobj = Py_None;
19499 return resultobj;
19500 fail:
19501 return NULL;
19502 }
19503
19504
19505 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19506 PyObject *resultobj;
19507 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19508 wxPoint *arg2 = 0 ;
19509 wxPoint temp2 ;
19510 PyObject * obj0 = 0 ;
19511 PyObject * obj1 = 0 ;
19512 char *kwnames[] = {
19513 (char *) "self",(char *) "pt", NULL
19514 };
19515
19516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19519 {
19520 arg2 = &temp2;
19521 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19522 }
19523 {
19524 PyThreadState* __tstate = wxPyBeginAllowThreads();
19525 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19526
19527 wxPyEndAllowThreads(__tstate);
19528 if (PyErr_Occurred()) SWIG_fail;
19529 }
19530 Py_INCREF(Py_None); resultobj = Py_None;
19531 return resultobj;
19532 fail:
19533 return NULL;
19534 }
19535
19536
19537 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19538 PyObject *resultobj;
19539 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19540 wxPoint *arg2 = 0 ;
19541 wxPoint temp2 ;
19542 PyObject * obj0 = 0 ;
19543 PyObject * obj1 = 0 ;
19544 char *kwnames[] = {
19545 (char *) "self",(char *) "pt", NULL
19546 };
19547
19548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19551 {
19552 arg2 = &temp2;
19553 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19554 }
19555 {
19556 PyThreadState* __tstate = wxPyBeginAllowThreads();
19557 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19558
19559 wxPyEndAllowThreads(__tstate);
19560 if (PyErr_Occurred()) SWIG_fail;
19561 }
19562 Py_INCREF(Py_None); resultobj = Py_None;
19563 return resultobj;
19564 fail:
19565 return NULL;
19566 }
19567
19568
19569 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19570 PyObject *resultobj;
19571 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19572 wxPoint *arg2 = 0 ;
19573 wxPoint temp2 ;
19574 PyObject * obj0 = 0 ;
19575 PyObject * obj1 = 0 ;
19576 char *kwnames[] = {
19577 (char *) "self",(char *) "pt", NULL
19578 };
19579
19580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19583 {
19584 arg2 = &temp2;
19585 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19586 }
19587 {
19588 PyThreadState* __tstate = wxPyBeginAllowThreads();
19589 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
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_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19602 PyObject *resultobj;
19603 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19604 wxPoint *arg2 = 0 ;
19605 wxPoint temp2 ;
19606 PyObject * obj0 = 0 ;
19607 PyObject * obj1 = 0 ;
19608 char *kwnames[] = {
19609 (char *) "self",(char *) "pt", NULL
19610 };
19611
19612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19615 {
19616 arg2 = &temp2;
19617 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19618 }
19619 {
19620 PyThreadState* __tstate = wxPyBeginAllowThreads();
19621 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19622
19623 wxPyEndAllowThreads(__tstate);
19624 if (PyErr_Occurred()) SWIG_fail;
19625 }
19626 Py_INCREF(Py_None); resultobj = Py_None;
19627 return resultobj;
19628 fail:
19629 return NULL;
19630 }
19631
19632
19633 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19634 PyObject *resultobj;
19635 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19636 int arg2 ;
19637 PyObject * obj0 = 0 ;
19638 PyObject * obj1 = 0 ;
19639 char *kwnames[] = {
19640 (char *) "self",(char *) "id", NULL
19641 };
19642
19643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19646 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19647 if (PyErr_Occurred()) SWIG_fail;
19648 {
19649 PyThreadState* __tstate = wxPyBeginAllowThreads();
19650 (arg1)->SetPaperId((wxPaperSize )arg2);
19651
19652 wxPyEndAllowThreads(__tstate);
19653 if (PyErr_Occurred()) SWIG_fail;
19654 }
19655 Py_INCREF(Py_None); resultobj = Py_None;
19656 return resultobj;
19657 fail:
19658 return NULL;
19659 }
19660
19661
19662 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19663 PyObject *resultobj;
19664 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19665 wxSize *arg2 = 0 ;
19666 wxSize temp2 ;
19667 PyObject * obj0 = 0 ;
19668 PyObject * obj1 = 0 ;
19669 char *kwnames[] = {
19670 (char *) "self",(char *) "size", NULL
19671 };
19672
19673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19676 {
19677 arg2 = &temp2;
19678 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19679 }
19680 {
19681 PyThreadState* __tstate = wxPyBeginAllowThreads();
19682 (arg1)->SetPaperSize((wxSize const &)*arg2);
19683
19684 wxPyEndAllowThreads(__tstate);
19685 if (PyErr_Occurred()) SWIG_fail;
19686 }
19687 Py_INCREF(Py_None); resultobj = Py_None;
19688 return resultobj;
19689 fail:
19690 return NULL;
19691 }
19692
19693
19694 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19695 PyObject *resultobj;
19696 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19697 wxPrintData *arg2 = 0 ;
19698 PyObject * obj0 = 0 ;
19699 PyObject * obj1 = 0 ;
19700 char *kwnames[] = {
19701 (char *) "self",(char *) "printData", NULL
19702 };
19703
19704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19708 SWIG_POINTER_EXCEPTION | 0)) == -1)
19709 SWIG_fail;
19710 if (arg2 == NULL) {
19711 PyErr_SetString(PyExc_TypeError,"null reference");
19712 SWIG_fail;
19713 }
19714 {
19715 PyThreadState* __tstate = wxPyBeginAllowThreads();
19716 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19717
19718 wxPyEndAllowThreads(__tstate);
19719 if (PyErr_Occurred()) SWIG_fail;
19720 }
19721 Py_INCREF(Py_None); resultobj = Py_None;
19722 return resultobj;
19723 fail:
19724 return NULL;
19725 }
19726
19727
19728 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
19729 PyObject *obj;
19730 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19731 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19732 Py_INCREF(obj);
19733 return Py_BuildValue((char *)"");
19734 }
19735 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19736 PyObject *resultobj;
19737 wxWindow *arg1 = (wxWindow *) 0 ;
19738 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19739 wxPageSetupDialog *result;
19740 PyObject * obj0 = 0 ;
19741 PyObject * obj1 = 0 ;
19742 char *kwnames[] = {
19743 (char *) "parent",(char *) "data", NULL
19744 };
19745
19746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19749 if (obj1) {
19750 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19752 }
19753 {
19754 PyThreadState* __tstate = wxPyBeginAllowThreads();
19755 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19756
19757 wxPyEndAllowThreads(__tstate);
19758 if (PyErr_Occurred()) SWIG_fail;
19759 }
19760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
19761 return resultobj;
19762 fail:
19763 return NULL;
19764 }
19765
19766
19767 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
19768 PyObject *resultobj;
19769 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19770 wxPageSetupDialogData *result;
19771 PyObject * obj0 = 0 ;
19772 char *kwnames[] = {
19773 (char *) "self", NULL
19774 };
19775
19776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
19777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19779 {
19780 PyThreadState* __tstate = wxPyBeginAllowThreads();
19781 {
19782 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19783 result = (wxPageSetupDialogData *) &_result_ref;
19784 }
19785
19786 wxPyEndAllowThreads(__tstate);
19787 if (PyErr_Occurred()) SWIG_fail;
19788 }
19789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
19790 return resultobj;
19791 fail:
19792 return NULL;
19793 }
19794
19795
19796 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19797 PyObject *resultobj;
19798 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19799 int result;
19800 PyObject * obj0 = 0 ;
19801 char *kwnames[] = {
19802 (char *) "self", NULL
19803 };
19804
19805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
19806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19808 {
19809 PyThreadState* __tstate = wxPyBeginAllowThreads();
19810 result = (int)(arg1)->ShowModal();
19811
19812 wxPyEndAllowThreads(__tstate);
19813 if (PyErr_Occurred()) SWIG_fail;
19814 }
19815 resultobj = SWIG_FromInt((int)result);
19816 return resultobj;
19817 fail:
19818 return NULL;
19819 }
19820
19821
19822 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
19823 PyObject *obj;
19824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19825 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
19826 Py_INCREF(obj);
19827 return Py_BuildValue((char *)"");
19828 }
19829 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
19830 PyObject *resultobj;
19831 wxPrintDialogData *result;
19832
19833 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
19834 {
19835 PyThreadState* __tstate = wxPyBeginAllowThreads();
19836 result = (wxPrintDialogData *)new wxPrintDialogData();
19837
19838 wxPyEndAllowThreads(__tstate);
19839 if (PyErr_Occurred()) SWIG_fail;
19840 }
19841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19842 return resultobj;
19843 fail:
19844 return NULL;
19845 }
19846
19847
19848 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
19849 PyObject *resultobj;
19850 wxPrintData *arg1 = 0 ;
19851 wxPrintDialogData *result;
19852 PyObject * obj0 = 0 ;
19853
19854 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
19855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19856 SWIG_POINTER_EXCEPTION | 0)) == -1)
19857 SWIG_fail;
19858 if (arg1 == NULL) {
19859 PyErr_SetString(PyExc_TypeError,"null reference");
19860 SWIG_fail;
19861 }
19862 {
19863 PyThreadState* __tstate = wxPyBeginAllowThreads();
19864 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
19865
19866 wxPyEndAllowThreads(__tstate);
19867 if (PyErr_Occurred()) SWIG_fail;
19868 }
19869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19870 return resultobj;
19871 fail:
19872 return NULL;
19873 }
19874
19875
19876 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
19877 int argc;
19878 PyObject *argv[2];
19879 int ii;
19880
19881 argc = PyObject_Length(args);
19882 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19883 argv[ii] = PyTuple_GetItem(args,ii);
19884 }
19885 if (argc == 0) {
19886 return _wrap_new_PrintDialogData__SWIG_0(self,args);
19887 }
19888 if (argc == 1) {
19889 int _v;
19890 {
19891 void *ptr;
19892 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
19893 _v = 0;
19894 PyErr_Clear();
19895 } else {
19896 _v = 1;
19897 }
19898 }
19899 if (_v) {
19900 return _wrap_new_PrintDialogData__SWIG_1(self,args);
19901 }
19902 }
19903
19904 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
19905 return NULL;
19906 }
19907
19908
19909 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19910 PyObject *resultobj;
19911 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19912 PyObject * obj0 = 0 ;
19913 char *kwnames[] = {
19914 (char *) "self", NULL
19915 };
19916
19917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
19918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19920 {
19921 PyThreadState* __tstate = wxPyBeginAllowThreads();
19922 delete arg1;
19923
19924 wxPyEndAllowThreads(__tstate);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
19927 Py_INCREF(Py_None); resultobj = Py_None;
19928 return resultobj;
19929 fail:
19930 return NULL;
19931 }
19932
19933
19934 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19935 PyObject *resultobj;
19936 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19937 int result;
19938 PyObject * obj0 = 0 ;
19939 char *kwnames[] = {
19940 (char *) "self", NULL
19941 };
19942
19943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
19944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19946 {
19947 PyThreadState* __tstate = wxPyBeginAllowThreads();
19948 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
19949
19950 wxPyEndAllowThreads(__tstate);
19951 if (PyErr_Occurred()) SWIG_fail;
19952 }
19953 resultobj = SWIG_FromInt((int)result);
19954 return resultobj;
19955 fail:
19956 return NULL;
19957 }
19958
19959
19960 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19961 PyObject *resultobj;
19962 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19963 int result;
19964 PyObject * obj0 = 0 ;
19965 char *kwnames[] = {
19966 (char *) "self", NULL
19967 };
19968
19969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
19970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19972 {
19973 PyThreadState* __tstate = wxPyBeginAllowThreads();
19974 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
19975
19976 wxPyEndAllowThreads(__tstate);
19977 if (PyErr_Occurred()) SWIG_fail;
19978 }
19979 resultobj = SWIG_FromInt((int)result);
19980 return resultobj;
19981 fail:
19982 return NULL;
19983 }
19984
19985
19986 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19987 PyObject *resultobj;
19988 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19989 int result;
19990 PyObject * obj0 = 0 ;
19991 char *kwnames[] = {
19992 (char *) "self", NULL
19993 };
19994
19995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
19996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19998 {
19999 PyThreadState* __tstate = wxPyBeginAllowThreads();
20000 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20001
20002 wxPyEndAllowThreads(__tstate);
20003 if (PyErr_Occurred()) SWIG_fail;
20004 }
20005 resultobj = SWIG_FromInt((int)result);
20006 return resultobj;
20007 fail:
20008 return NULL;
20009 }
20010
20011
20012 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20013 PyObject *resultobj;
20014 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20015 int result;
20016 PyObject * obj0 = 0 ;
20017 char *kwnames[] = {
20018 (char *) "self", NULL
20019 };
20020
20021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20024 {
20025 PyThreadState* __tstate = wxPyBeginAllowThreads();
20026 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20027
20028 wxPyEndAllowThreads(__tstate);
20029 if (PyErr_Occurred()) SWIG_fail;
20030 }
20031 resultobj = SWIG_FromInt((int)result);
20032 return resultobj;
20033 fail:
20034 return NULL;
20035 }
20036
20037
20038 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20039 PyObject *resultobj;
20040 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20041 int result;
20042 PyObject * obj0 = 0 ;
20043 char *kwnames[] = {
20044 (char *) "self", NULL
20045 };
20046
20047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
20052 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20053
20054 wxPyEndAllowThreads(__tstate);
20055 if (PyErr_Occurred()) SWIG_fail;
20056 }
20057 resultobj = SWIG_FromInt((int)result);
20058 return resultobj;
20059 fail:
20060 return NULL;
20061 }
20062
20063
20064 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20065 PyObject *resultobj;
20066 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20067 bool result;
20068 PyObject * obj0 = 0 ;
20069 char *kwnames[] = {
20070 (char *) "self", NULL
20071 };
20072
20073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20076 {
20077 PyThreadState* __tstate = wxPyBeginAllowThreads();
20078 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20079
20080 wxPyEndAllowThreads(__tstate);
20081 if (PyErr_Occurred()) SWIG_fail;
20082 }
20083 {
20084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20085 }
20086 return resultobj;
20087 fail:
20088 return NULL;
20089 }
20090
20091
20092 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20093 PyObject *resultobj;
20094 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20095 bool result;
20096 PyObject * obj0 = 0 ;
20097 char *kwnames[] = {
20098 (char *) "self", NULL
20099 };
20100
20101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20104 {
20105 PyThreadState* __tstate = wxPyBeginAllowThreads();
20106 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20107
20108 wxPyEndAllowThreads(__tstate);
20109 if (PyErr_Occurred()) SWIG_fail;
20110 }
20111 {
20112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20113 }
20114 return resultobj;
20115 fail:
20116 return NULL;
20117 }
20118
20119
20120 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20121 PyObject *resultobj;
20122 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20123 bool result;
20124 PyObject * obj0 = 0 ;
20125 char *kwnames[] = {
20126 (char *) "self", NULL
20127 };
20128
20129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20132 {
20133 PyThreadState* __tstate = wxPyBeginAllowThreads();
20134 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20135
20136 wxPyEndAllowThreads(__tstate);
20137 if (PyErr_Occurred()) SWIG_fail;
20138 }
20139 {
20140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20141 }
20142 return resultobj;
20143 fail:
20144 return NULL;
20145 }
20146
20147
20148 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20149 PyObject *resultobj;
20150 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20151 bool result;
20152 PyObject * obj0 = 0 ;
20153 char *kwnames[] = {
20154 (char *) "self", NULL
20155 };
20156
20157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 {
20168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20169 }
20170 return resultobj;
20171 fail:
20172 return NULL;
20173 }
20174
20175
20176 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20177 PyObject *resultobj;
20178 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20179 bool result;
20180 PyObject * obj0 = 0 ;
20181 char *kwnames[] = {
20182 (char *) "self", NULL
20183 };
20184
20185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20188 {
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20191
20192 wxPyEndAllowThreads(__tstate);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
20195 {
20196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20197 }
20198 return resultobj;
20199 fail:
20200 return NULL;
20201 }
20202
20203
20204 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20205 PyObject *resultobj;
20206 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20207 int arg2 ;
20208 PyObject * obj0 = 0 ;
20209 PyObject * obj1 = 0 ;
20210 char *kwnames[] = {
20211 (char *) "self",(char *) "v", NULL
20212 };
20213
20214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20217 arg2 = (int) SWIG_AsInt(obj1);
20218 if (PyErr_Occurred()) SWIG_fail;
20219 {
20220 PyThreadState* __tstate = wxPyBeginAllowThreads();
20221 (arg1)->SetFromPage(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_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20234 PyObject *resultobj;
20235 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20236 int arg2 ;
20237 PyObject * obj0 = 0 ;
20238 PyObject * obj1 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self",(char *) "v", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20246 arg2 = (int) SWIG_AsInt(obj1);
20247 if (PyErr_Occurred()) SWIG_fail;
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 (arg1)->SetToPage(arg2);
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 Py_INCREF(Py_None); resultobj = Py_None;
20256 return resultobj;
20257 fail:
20258 return NULL;
20259 }
20260
20261
20262 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20263 PyObject *resultobj;
20264 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20265 int arg2 ;
20266 PyObject * obj0 = 0 ;
20267 PyObject * obj1 = 0 ;
20268 char *kwnames[] = {
20269 (char *) "self",(char *) "v", NULL
20270 };
20271
20272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20275 arg2 = (int) SWIG_AsInt(obj1);
20276 if (PyErr_Occurred()) SWIG_fail;
20277 {
20278 PyThreadState* __tstate = wxPyBeginAllowThreads();
20279 (arg1)->SetMinPage(arg2);
20280
20281 wxPyEndAllowThreads(__tstate);
20282 if (PyErr_Occurred()) SWIG_fail;
20283 }
20284 Py_INCREF(Py_None); resultobj = Py_None;
20285 return resultobj;
20286 fail:
20287 return NULL;
20288 }
20289
20290
20291 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20292 PyObject *resultobj;
20293 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20294 int arg2 ;
20295 PyObject * obj0 = 0 ;
20296 PyObject * obj1 = 0 ;
20297 char *kwnames[] = {
20298 (char *) "self",(char *) "v", NULL
20299 };
20300
20301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20304 arg2 = (int) SWIG_AsInt(obj1);
20305 if (PyErr_Occurred()) SWIG_fail;
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 (arg1)->SetMaxPage(arg2);
20309
20310 wxPyEndAllowThreads(__tstate);
20311 if (PyErr_Occurred()) SWIG_fail;
20312 }
20313 Py_INCREF(Py_None); resultobj = Py_None;
20314 return resultobj;
20315 fail:
20316 return NULL;
20317 }
20318
20319
20320 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20321 PyObject *resultobj;
20322 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20323 int arg2 ;
20324 PyObject * obj0 = 0 ;
20325 PyObject * obj1 = 0 ;
20326 char *kwnames[] = {
20327 (char *) "self",(char *) "v", NULL
20328 };
20329
20330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20333 arg2 = (int) SWIG_AsInt(obj1);
20334 if (PyErr_Occurred()) SWIG_fail;
20335 {
20336 PyThreadState* __tstate = wxPyBeginAllowThreads();
20337 (arg1)->SetNoCopies(arg2);
20338
20339 wxPyEndAllowThreads(__tstate);
20340 if (PyErr_Occurred()) SWIG_fail;
20341 }
20342 Py_INCREF(Py_None); resultobj = Py_None;
20343 return resultobj;
20344 fail:
20345 return NULL;
20346 }
20347
20348
20349 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20350 PyObject *resultobj;
20351 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20352 bool arg2 ;
20353 PyObject * obj0 = 0 ;
20354 PyObject * obj1 = 0 ;
20355 char *kwnames[] = {
20356 (char *) "self",(char *) "flag", NULL
20357 };
20358
20359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20362 arg2 = (bool) SWIG_AsBool(obj1);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 {
20365 PyThreadState* __tstate = wxPyBeginAllowThreads();
20366 (arg1)->SetAllPages(arg2);
20367
20368 wxPyEndAllowThreads(__tstate);
20369 if (PyErr_Occurred()) SWIG_fail;
20370 }
20371 Py_INCREF(Py_None); resultobj = Py_None;
20372 return resultobj;
20373 fail:
20374 return NULL;
20375 }
20376
20377
20378 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20379 PyObject *resultobj;
20380 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20381 bool arg2 ;
20382 PyObject * obj0 = 0 ;
20383 PyObject * obj1 = 0 ;
20384 char *kwnames[] = {
20385 (char *) "self",(char *) "flag", NULL
20386 };
20387
20388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20391 arg2 = (bool) SWIG_AsBool(obj1);
20392 if (PyErr_Occurred()) SWIG_fail;
20393 {
20394 PyThreadState* __tstate = wxPyBeginAllowThreads();
20395 (arg1)->SetSelection(arg2);
20396
20397 wxPyEndAllowThreads(__tstate);
20398 if (PyErr_Occurred()) SWIG_fail;
20399 }
20400 Py_INCREF(Py_None); resultobj = Py_None;
20401 return resultobj;
20402 fail:
20403 return NULL;
20404 }
20405
20406
20407 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20408 PyObject *resultobj;
20409 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20410 bool arg2 ;
20411 PyObject * obj0 = 0 ;
20412 PyObject * obj1 = 0 ;
20413 char *kwnames[] = {
20414 (char *) "self",(char *) "flag", NULL
20415 };
20416
20417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20420 arg2 = (bool) SWIG_AsBool(obj1);
20421 if (PyErr_Occurred()) SWIG_fail;
20422 {
20423 PyThreadState* __tstate = wxPyBeginAllowThreads();
20424 (arg1)->SetCollate(arg2);
20425
20426 wxPyEndAllowThreads(__tstate);
20427 if (PyErr_Occurred()) SWIG_fail;
20428 }
20429 Py_INCREF(Py_None); resultobj = Py_None;
20430 return resultobj;
20431 fail:
20432 return NULL;
20433 }
20434
20435
20436 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20437 PyObject *resultobj;
20438 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20439 bool arg2 ;
20440 PyObject * obj0 = 0 ;
20441 PyObject * obj1 = 0 ;
20442 char *kwnames[] = {
20443 (char *) "self",(char *) "flag", NULL
20444 };
20445
20446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20449 arg2 = (bool) SWIG_AsBool(obj1);
20450 if (PyErr_Occurred()) SWIG_fail;
20451 {
20452 PyThreadState* __tstate = wxPyBeginAllowThreads();
20453 (arg1)->SetPrintToFile(arg2);
20454
20455 wxPyEndAllowThreads(__tstate);
20456 if (PyErr_Occurred()) SWIG_fail;
20457 }
20458 Py_INCREF(Py_None); resultobj = Py_None;
20459 return resultobj;
20460 fail:
20461 return NULL;
20462 }
20463
20464
20465 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20466 PyObject *resultobj;
20467 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20468 bool arg2 ;
20469 PyObject * obj0 = 0 ;
20470 PyObject * obj1 = 0 ;
20471 char *kwnames[] = {
20472 (char *) "self",(char *) "flag", NULL
20473 };
20474
20475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20478 arg2 = (bool) SWIG_AsBool(obj1);
20479 if (PyErr_Occurred()) SWIG_fail;
20480 {
20481 PyThreadState* __tstate = wxPyBeginAllowThreads();
20482 (arg1)->SetSetupDialog(arg2);
20483
20484 wxPyEndAllowThreads(__tstate);
20485 if (PyErr_Occurred()) SWIG_fail;
20486 }
20487 Py_INCREF(Py_None); resultobj = Py_None;
20488 return resultobj;
20489 fail:
20490 return NULL;
20491 }
20492
20493
20494 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20495 PyObject *resultobj;
20496 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20497 bool arg2 ;
20498 PyObject * obj0 = 0 ;
20499 PyObject * obj1 = 0 ;
20500 char *kwnames[] = {
20501 (char *) "self",(char *) "flag", NULL
20502 };
20503
20504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20507 arg2 = (bool) SWIG_AsBool(obj1);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 {
20510 PyThreadState* __tstate = wxPyBeginAllowThreads();
20511 (arg1)->EnablePrintToFile(arg2);
20512
20513 wxPyEndAllowThreads(__tstate);
20514 if (PyErr_Occurred()) SWIG_fail;
20515 }
20516 Py_INCREF(Py_None); resultobj = Py_None;
20517 return resultobj;
20518 fail:
20519 return NULL;
20520 }
20521
20522
20523 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20524 PyObject *resultobj;
20525 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20526 bool arg2 ;
20527 PyObject * obj0 = 0 ;
20528 PyObject * obj1 = 0 ;
20529 char *kwnames[] = {
20530 (char *) "self",(char *) "flag", NULL
20531 };
20532
20533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20536 arg2 = (bool) SWIG_AsBool(obj1);
20537 if (PyErr_Occurred()) SWIG_fail;
20538 {
20539 PyThreadState* __tstate = wxPyBeginAllowThreads();
20540 (arg1)->EnableSelection(arg2);
20541
20542 wxPyEndAllowThreads(__tstate);
20543 if (PyErr_Occurred()) SWIG_fail;
20544 }
20545 Py_INCREF(Py_None); resultobj = Py_None;
20546 return resultobj;
20547 fail:
20548 return NULL;
20549 }
20550
20551
20552 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20553 PyObject *resultobj;
20554 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20555 bool arg2 ;
20556 PyObject * obj0 = 0 ;
20557 PyObject * obj1 = 0 ;
20558 char *kwnames[] = {
20559 (char *) "self",(char *) "flag", NULL
20560 };
20561
20562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20565 arg2 = (bool) SWIG_AsBool(obj1);
20566 if (PyErr_Occurred()) SWIG_fail;
20567 {
20568 PyThreadState* __tstate = wxPyBeginAllowThreads();
20569 (arg1)->EnablePageNumbers(arg2);
20570
20571 wxPyEndAllowThreads(__tstate);
20572 if (PyErr_Occurred()) SWIG_fail;
20573 }
20574 Py_INCREF(Py_None); resultobj = Py_None;
20575 return resultobj;
20576 fail:
20577 return NULL;
20578 }
20579
20580
20581 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20582 PyObject *resultobj;
20583 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20584 bool arg2 ;
20585 PyObject * obj0 = 0 ;
20586 PyObject * obj1 = 0 ;
20587 char *kwnames[] = {
20588 (char *) "self",(char *) "flag", NULL
20589 };
20590
20591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20594 arg2 = (bool) SWIG_AsBool(obj1);
20595 if (PyErr_Occurred()) SWIG_fail;
20596 {
20597 PyThreadState* __tstate = wxPyBeginAllowThreads();
20598 (arg1)->EnableHelp(arg2);
20599
20600 wxPyEndAllowThreads(__tstate);
20601 if (PyErr_Occurred()) SWIG_fail;
20602 }
20603 Py_INCREF(Py_None); resultobj = Py_None;
20604 return resultobj;
20605 fail:
20606 return NULL;
20607 }
20608
20609
20610 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20611 PyObject *resultobj;
20612 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20613 bool result;
20614 PyObject * obj0 = 0 ;
20615 char *kwnames[] = {
20616 (char *) "self", NULL
20617 };
20618
20619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20622 {
20623 PyThreadState* __tstate = wxPyBeginAllowThreads();
20624 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20625
20626 wxPyEndAllowThreads(__tstate);
20627 if (PyErr_Occurred()) SWIG_fail;
20628 }
20629 {
20630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20631 }
20632 return resultobj;
20633 fail:
20634 return NULL;
20635 }
20636
20637
20638 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20639 PyObject *resultobj;
20640 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20641 bool result;
20642 PyObject * obj0 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "self", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20650 {
20651 PyThreadState* __tstate = wxPyBeginAllowThreads();
20652 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20653
20654 wxPyEndAllowThreads(__tstate);
20655 if (PyErr_Occurred()) SWIG_fail;
20656 }
20657 {
20658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20659 }
20660 return resultobj;
20661 fail:
20662 return NULL;
20663 }
20664
20665
20666 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20667 PyObject *resultobj;
20668 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20669 bool result;
20670 PyObject * obj0 = 0 ;
20671 char *kwnames[] = {
20672 (char *) "self", NULL
20673 };
20674
20675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20678 {
20679 PyThreadState* __tstate = wxPyBeginAllowThreads();
20680 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20681
20682 wxPyEndAllowThreads(__tstate);
20683 if (PyErr_Occurred()) SWIG_fail;
20684 }
20685 {
20686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20687 }
20688 return resultobj;
20689 fail:
20690 return NULL;
20691 }
20692
20693
20694 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20695 PyObject *resultobj;
20696 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20697 bool result;
20698 PyObject * obj0 = 0 ;
20699 char *kwnames[] = {
20700 (char *) "self", NULL
20701 };
20702
20703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20706 {
20707 PyThreadState* __tstate = wxPyBeginAllowThreads();
20708 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20709
20710 wxPyEndAllowThreads(__tstate);
20711 if (PyErr_Occurred()) SWIG_fail;
20712 }
20713 {
20714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20715 }
20716 return resultobj;
20717 fail:
20718 return NULL;
20719 }
20720
20721
20722 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20723 PyObject *resultobj;
20724 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20725 bool result;
20726 PyObject * obj0 = 0 ;
20727 char *kwnames[] = {
20728 (char *) "self", NULL
20729 };
20730
20731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
20732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20734 {
20735 PyThreadState* __tstate = wxPyBeginAllowThreads();
20736 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20737
20738 wxPyEndAllowThreads(__tstate);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 }
20741 {
20742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20743 }
20744 return resultobj;
20745 fail:
20746 return NULL;
20747 }
20748
20749
20750 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20751 PyObject *resultobj;
20752 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20753 wxPrintData *result;
20754 PyObject * obj0 = 0 ;
20755 char *kwnames[] = {
20756 (char *) "self", NULL
20757 };
20758
20759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20762 {
20763 PyThreadState* __tstate = wxPyBeginAllowThreads();
20764 {
20765 wxPrintData &_result_ref = (arg1)->GetPrintData();
20766 result = (wxPrintData *) &_result_ref;
20767 }
20768
20769 wxPyEndAllowThreads(__tstate);
20770 if (PyErr_Occurred()) SWIG_fail;
20771 }
20772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20773 return resultobj;
20774 fail:
20775 return NULL;
20776 }
20777
20778
20779 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20780 PyObject *resultobj;
20781 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20782 wxPrintData *arg2 = 0 ;
20783 PyObject * obj0 = 0 ;
20784 PyObject * obj1 = 0 ;
20785 char *kwnames[] = {
20786 (char *) "self",(char *) "printData", NULL
20787 };
20788
20789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20793 SWIG_POINTER_EXCEPTION | 0)) == -1)
20794 SWIG_fail;
20795 if (arg2 == NULL) {
20796 PyErr_SetString(PyExc_TypeError,"null reference");
20797 SWIG_fail;
20798 }
20799 {
20800 PyThreadState* __tstate = wxPyBeginAllowThreads();
20801 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20802
20803 wxPyEndAllowThreads(__tstate);
20804 if (PyErr_Occurred()) SWIG_fail;
20805 }
20806 Py_INCREF(Py_None); resultobj = Py_None;
20807 return resultobj;
20808 fail:
20809 return NULL;
20810 }
20811
20812
20813 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
20814 PyObject *obj;
20815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20816 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
20817 Py_INCREF(obj);
20818 return Py_BuildValue((char *)"");
20819 }
20820 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20821 PyObject *resultobj;
20822 wxWindow *arg1 = (wxWindow *) 0 ;
20823 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
20824 wxPrintDialog *result;
20825 PyObject * obj0 = 0 ;
20826 PyObject * obj1 = 0 ;
20827 char *kwnames[] = {
20828 (char *) "parent",(char *) "data", NULL
20829 };
20830
20831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20834 if (obj1) {
20835 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
20836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20837 }
20838 {
20839 PyThreadState* __tstate = wxPyBeginAllowThreads();
20840 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
20841
20842 wxPyEndAllowThreads(__tstate);
20843 if (PyErr_Occurred()) SWIG_fail;
20844 }
20845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
20846 return resultobj;
20847 fail:
20848 return NULL;
20849 }
20850
20851
20852 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20853 PyObject *resultobj;
20854 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20855 wxPrintDialogData *result;
20856 PyObject * obj0 = 0 ;
20857 char *kwnames[] = {
20858 (char *) "self", NULL
20859 };
20860
20861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
20862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20864 {
20865 PyThreadState* __tstate = wxPyBeginAllowThreads();
20866 {
20867 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20868 result = (wxPrintDialogData *) &_result_ref;
20869 }
20870
20871 wxPyEndAllowThreads(__tstate);
20872 if (PyErr_Occurred()) SWIG_fail;
20873 }
20874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20875 return resultobj;
20876 fail:
20877 return NULL;
20878 }
20879
20880
20881 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20882 PyObject *resultobj;
20883 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20884 wxDC *result;
20885 PyObject * obj0 = 0 ;
20886 char *kwnames[] = {
20887 (char *) "self", NULL
20888 };
20889
20890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
20891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20893 {
20894 PyThreadState* __tstate = wxPyBeginAllowThreads();
20895 result = (wxDC *)(arg1)->GetPrintDC();
20896
20897 wxPyEndAllowThreads(__tstate);
20898 if (PyErr_Occurred()) SWIG_fail;
20899 }
20900 {
20901 resultobj = wxPyMake_wxObject(result);
20902 }
20903 return resultobj;
20904 fail:
20905 return NULL;
20906 }
20907
20908
20909 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20910 PyObject *resultobj;
20911 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20912 int result;
20913 PyObject * obj0 = 0 ;
20914 char *kwnames[] = {
20915 (char *) "self", NULL
20916 };
20917
20918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
20919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20921 {
20922 PyThreadState* __tstate = wxPyBeginAllowThreads();
20923 result = (int)(arg1)->ShowModal();
20924
20925 wxPyEndAllowThreads(__tstate);
20926 if (PyErr_Occurred()) SWIG_fail;
20927 }
20928 resultobj = SWIG_FromInt((int)result);
20929 return resultobj;
20930 fail:
20931 return NULL;
20932 }
20933
20934
20935 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
20936 PyObject *obj;
20937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20938 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
20939 Py_INCREF(obj);
20940 return Py_BuildValue((char *)"");
20941 }
20942 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20943 PyObject *resultobj;
20944 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
20945 wxPrinter *result;
20946 PyObject * obj0 = 0 ;
20947 char *kwnames[] = {
20948 (char *) "data", NULL
20949 };
20950
20951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
20952 if (obj0) {
20953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20955 }
20956 {
20957 PyThreadState* __tstate = wxPyBeginAllowThreads();
20958 result = (wxPrinter *)new wxPrinter(arg1);
20959
20960 wxPyEndAllowThreads(__tstate);
20961 if (PyErr_Occurred()) SWIG_fail;
20962 }
20963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
20964 return resultobj;
20965 fail:
20966 return NULL;
20967 }
20968
20969
20970 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20971 PyObject *resultobj;
20972 wxPrinter *arg1 = (wxPrinter *) 0 ;
20973 PyObject * obj0 = 0 ;
20974 char *kwnames[] = {
20975 (char *) "self", NULL
20976 };
20977
20978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
20979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20981 {
20982 PyThreadState* __tstate = wxPyBeginAllowThreads();
20983 delete arg1;
20984
20985 wxPyEndAllowThreads(__tstate);
20986 if (PyErr_Occurred()) SWIG_fail;
20987 }
20988 Py_INCREF(Py_None); resultobj = Py_None;
20989 return resultobj;
20990 fail:
20991 return NULL;
20992 }
20993
20994
20995 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20996 PyObject *resultobj;
20997 wxPrinter *arg1 = (wxPrinter *) 0 ;
20998 wxWindow *arg2 = (wxWindow *) 0 ;
20999 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21000 PyObject * obj0 = 0 ;
21001 PyObject * obj1 = 0 ;
21002 PyObject * obj2 = 0 ;
21003 char *kwnames[] = {
21004 (char *) "self",(char *) "parent",(char *) "printout", NULL
21005 };
21006
21007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21010 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21012 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21014 {
21015 PyThreadState* __tstate = wxPyBeginAllowThreads();
21016 (arg1)->CreateAbortWindow(arg2,arg3);
21017
21018 wxPyEndAllowThreads(__tstate);
21019 if (PyErr_Occurred()) SWIG_fail;
21020 }
21021 Py_INCREF(Py_None); resultobj = Py_None;
21022 return resultobj;
21023 fail:
21024 return NULL;
21025 }
21026
21027
21028 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21029 PyObject *resultobj;
21030 wxPrinter *arg1 = (wxPrinter *) 0 ;
21031 wxPrintDialogData *result;
21032 PyObject * obj0 = 0 ;
21033 char *kwnames[] = {
21034 (char *) "self", NULL
21035 };
21036
21037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21040 {
21041 PyThreadState* __tstate = wxPyBeginAllowThreads();
21042 {
21043 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21044 result = (wxPrintDialogData *) &_result_ref;
21045 }
21046
21047 wxPyEndAllowThreads(__tstate);
21048 if (PyErr_Occurred()) SWIG_fail;
21049 }
21050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21051 return resultobj;
21052 fail:
21053 return NULL;
21054 }
21055
21056
21057 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21058 PyObject *resultobj;
21059 wxPrinter *arg1 = (wxPrinter *) 0 ;
21060 wxWindow *arg2 = (wxWindow *) 0 ;
21061 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21062 int arg4 = (int) True ;
21063 bool result;
21064 PyObject * obj0 = 0 ;
21065 PyObject * obj1 = 0 ;
21066 PyObject * obj2 = 0 ;
21067 PyObject * obj3 = 0 ;
21068 char *kwnames[] = {
21069 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21070 };
21071
21072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21075 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21077 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21079 if (obj3) {
21080 arg4 = (int) SWIG_AsInt(obj3);
21081 if (PyErr_Occurred()) SWIG_fail;
21082 }
21083 {
21084 PyThreadState* __tstate = wxPyBeginAllowThreads();
21085 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21086
21087 wxPyEndAllowThreads(__tstate);
21088 if (PyErr_Occurred()) SWIG_fail;
21089 }
21090 {
21091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21092 }
21093 return resultobj;
21094 fail:
21095 return NULL;
21096 }
21097
21098
21099 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21100 PyObject *resultobj;
21101 wxPrinter *arg1 = (wxPrinter *) 0 ;
21102 wxWindow *arg2 = (wxWindow *) 0 ;
21103 wxDC *result;
21104 PyObject * obj0 = 0 ;
21105 PyObject * obj1 = 0 ;
21106 char *kwnames[] = {
21107 (char *) "self",(char *) "parent", NULL
21108 };
21109
21110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21115 {
21116 PyThreadState* __tstate = wxPyBeginAllowThreads();
21117 result = (wxDC *)(arg1)->PrintDialog(arg2);
21118
21119 wxPyEndAllowThreads(__tstate);
21120 if (PyErr_Occurred()) SWIG_fail;
21121 }
21122 {
21123 resultobj = wxPyMake_wxObject(result);
21124 }
21125 return resultobj;
21126 fail:
21127 return NULL;
21128 }
21129
21130
21131 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21132 PyObject *resultobj;
21133 wxPrinter *arg1 = (wxPrinter *) 0 ;
21134 wxWindow *arg2 = (wxWindow *) 0 ;
21135 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21136 wxString *arg4 = 0 ;
21137 bool temp4 = False ;
21138 PyObject * obj0 = 0 ;
21139 PyObject * obj1 = 0 ;
21140 PyObject * obj2 = 0 ;
21141 PyObject * obj3 = 0 ;
21142 char *kwnames[] = {
21143 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21144 };
21145
21146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21149 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21151 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21153 {
21154 arg4 = wxString_in_helper(obj3);
21155 if (arg4 == NULL) SWIG_fail;
21156 temp4 = True;
21157 }
21158 {
21159 PyThreadState* __tstate = wxPyBeginAllowThreads();
21160 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21161
21162 wxPyEndAllowThreads(__tstate);
21163 if (PyErr_Occurred()) SWIG_fail;
21164 }
21165 Py_INCREF(Py_None); resultobj = Py_None;
21166 {
21167 if (temp4)
21168 delete arg4;
21169 }
21170 return resultobj;
21171 fail:
21172 {
21173 if (temp4)
21174 delete arg4;
21175 }
21176 return NULL;
21177 }
21178
21179
21180 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21181 PyObject *resultobj;
21182 wxPrinter *arg1 = (wxPrinter *) 0 ;
21183 wxWindow *arg2 = (wxWindow *) 0 ;
21184 bool result;
21185 PyObject * obj0 = 0 ;
21186 PyObject * obj1 = 0 ;
21187 char *kwnames[] = {
21188 (char *) "self",(char *) "parent", NULL
21189 };
21190
21191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21196 {
21197 PyThreadState* __tstate = wxPyBeginAllowThreads();
21198 result = (bool)(arg1)->Setup(arg2);
21199
21200 wxPyEndAllowThreads(__tstate);
21201 if (PyErr_Occurred()) SWIG_fail;
21202 }
21203 {
21204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21205 }
21206 return resultobj;
21207 fail:
21208 return NULL;
21209 }
21210
21211
21212 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21213 PyObject *resultobj;
21214 wxPrinter *arg1 = (wxPrinter *) 0 ;
21215 bool result;
21216 PyObject * obj0 = 0 ;
21217 char *kwnames[] = {
21218 (char *) "self", NULL
21219 };
21220
21221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21224 {
21225 PyThreadState* __tstate = wxPyBeginAllowThreads();
21226 result = (bool)(arg1)->GetAbort();
21227
21228 wxPyEndAllowThreads(__tstate);
21229 if (PyErr_Occurred()) SWIG_fail;
21230 }
21231 {
21232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21233 }
21234 return resultobj;
21235 fail:
21236 return NULL;
21237 }
21238
21239
21240 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21241 PyObject *resultobj;
21242 int result;
21243 char *kwnames[] = {
21244 NULL
21245 };
21246
21247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21248 {
21249 PyThreadState* __tstate = wxPyBeginAllowThreads();
21250 result = (int)wxPrinter::GetLastError();
21251
21252 wxPyEndAllowThreads(__tstate);
21253 if (PyErr_Occurred()) SWIG_fail;
21254 }
21255 resultobj = SWIG_FromInt((int)result);
21256 return resultobj;
21257 fail:
21258 return NULL;
21259 }
21260
21261
21262 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21263 PyObject *obj;
21264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21265 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21266 Py_INCREF(obj);
21267 return Py_BuildValue((char *)"");
21268 }
21269 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21270 PyObject *resultobj;
21271 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21272 wxString *arg1 = (wxString *) &arg1_defvalue ;
21273 wxPyPrintout *result;
21274 bool temp1 = False ;
21275 PyObject * obj0 = 0 ;
21276 char *kwnames[] = {
21277 (char *) "title", NULL
21278 };
21279
21280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21281 if (obj0) {
21282 {
21283 arg1 = wxString_in_helper(obj0);
21284 if (arg1 == NULL) SWIG_fail;
21285 temp1 = True;
21286 }
21287 }
21288 {
21289 PyThreadState* __tstate = wxPyBeginAllowThreads();
21290 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21291
21292 wxPyEndAllowThreads(__tstate);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 }
21295 {
21296 resultobj = wxPyMake_wxObject(result);
21297 }
21298 {
21299 if (temp1)
21300 delete arg1;
21301 }
21302 return resultobj;
21303 fail:
21304 {
21305 if (temp1)
21306 delete arg1;
21307 }
21308 return NULL;
21309 }
21310
21311
21312 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21313 PyObject *resultobj;
21314 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21315 PyObject *arg2 = (PyObject *) 0 ;
21316 PyObject *arg3 = (PyObject *) 0 ;
21317 PyObject * obj0 = 0 ;
21318 PyObject * obj1 = 0 ;
21319 PyObject * obj2 = 0 ;
21320 char *kwnames[] = {
21321 (char *) "self",(char *) "self",(char *) "_class", NULL
21322 };
21323
21324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21327 arg2 = obj1;
21328 arg3 = obj2;
21329 {
21330 PyThreadState* __tstate = wxPyBeginAllowThreads();
21331 (arg1)->_setCallbackInfo(arg2,arg3);
21332
21333 wxPyEndAllowThreads(__tstate);
21334 if (PyErr_Occurred()) SWIG_fail;
21335 }
21336 Py_INCREF(Py_None); resultobj = Py_None;
21337 return resultobj;
21338 fail:
21339 return NULL;
21340 }
21341
21342
21343 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21344 PyObject *resultobj;
21345 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21346 wxString result;
21347 PyObject * obj0 = 0 ;
21348 char *kwnames[] = {
21349 (char *) "self", NULL
21350 };
21351
21352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21355 {
21356 PyThreadState* __tstate = wxPyBeginAllowThreads();
21357 result = ((wxPyPrintout const *)arg1)->GetTitle();
21358
21359 wxPyEndAllowThreads(__tstate);
21360 if (PyErr_Occurred()) SWIG_fail;
21361 }
21362 {
21363 #if wxUSE_UNICODE
21364 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21365 #else
21366 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21367 #endif
21368 }
21369 return resultobj;
21370 fail:
21371 return NULL;
21372 }
21373
21374
21375 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21376 PyObject *resultobj;
21377 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21378 wxDC *result;
21379 PyObject * obj0 = 0 ;
21380 char *kwnames[] = {
21381 (char *) "self", NULL
21382 };
21383
21384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21387 {
21388 PyThreadState* __tstate = wxPyBeginAllowThreads();
21389 result = (wxDC *)(arg1)->GetDC();
21390
21391 wxPyEndAllowThreads(__tstate);
21392 if (PyErr_Occurred()) SWIG_fail;
21393 }
21394 {
21395 resultobj = wxPyMake_wxObject(result);
21396 }
21397 return resultobj;
21398 fail:
21399 return NULL;
21400 }
21401
21402
21403 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21404 PyObject *resultobj;
21405 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21406 wxDC *arg2 = (wxDC *) 0 ;
21407 PyObject * obj0 = 0 ;
21408 PyObject * obj1 = 0 ;
21409 char *kwnames[] = {
21410 (char *) "self",(char *) "dc", NULL
21411 };
21412
21413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21416 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21418 {
21419 PyThreadState* __tstate = wxPyBeginAllowThreads();
21420 (arg1)->SetDC(arg2);
21421
21422 wxPyEndAllowThreads(__tstate);
21423 if (PyErr_Occurred()) SWIG_fail;
21424 }
21425 Py_INCREF(Py_None); resultobj = Py_None;
21426 return resultobj;
21427 fail:
21428 return NULL;
21429 }
21430
21431
21432 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21433 PyObject *resultobj;
21434 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21435 int arg2 ;
21436 int arg3 ;
21437 PyObject * obj0 = 0 ;
21438 PyObject * obj1 = 0 ;
21439 PyObject * obj2 = 0 ;
21440 char *kwnames[] = {
21441 (char *) "self",(char *) "w",(char *) "h", NULL
21442 };
21443
21444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21447 arg2 = (int) SWIG_AsInt(obj1);
21448 if (PyErr_Occurred()) SWIG_fail;
21449 arg3 = (int) SWIG_AsInt(obj2);
21450 if (PyErr_Occurred()) SWIG_fail;
21451 {
21452 PyThreadState* __tstate = wxPyBeginAllowThreads();
21453 (arg1)->SetPageSizePixels(arg2,arg3);
21454
21455 wxPyEndAllowThreads(__tstate);
21456 if (PyErr_Occurred()) SWIG_fail;
21457 }
21458 Py_INCREF(Py_None); resultobj = Py_None;
21459 return resultobj;
21460 fail:
21461 return NULL;
21462 }
21463
21464
21465 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21466 PyObject *resultobj;
21467 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21468 int *arg2 = (int *) 0 ;
21469 int *arg3 = (int *) 0 ;
21470 int temp2 ;
21471 int temp3 ;
21472 PyObject * obj0 = 0 ;
21473 char *kwnames[] = {
21474 (char *) "self", NULL
21475 };
21476
21477 arg2 = &temp2;
21478 arg3 = &temp3;
21479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21482 {
21483 PyThreadState* __tstate = wxPyBeginAllowThreads();
21484 (arg1)->GetPageSizePixels(arg2,arg3);
21485
21486 wxPyEndAllowThreads(__tstate);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 }
21489 Py_INCREF(Py_None); resultobj = Py_None;
21490 {
21491 PyObject *o = PyInt_FromLong((long) (*arg2));
21492 resultobj = t_output_helper(resultobj,o);
21493 }
21494 {
21495 PyObject *o = PyInt_FromLong((long) (*arg3));
21496 resultobj = t_output_helper(resultobj,o);
21497 }
21498 return resultobj;
21499 fail:
21500 return NULL;
21501 }
21502
21503
21504 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21505 PyObject *resultobj;
21506 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21507 int arg2 ;
21508 int arg3 ;
21509 PyObject * obj0 = 0 ;
21510 PyObject * obj1 = 0 ;
21511 PyObject * obj2 = 0 ;
21512 char *kwnames[] = {
21513 (char *) "self",(char *) "w",(char *) "h", NULL
21514 };
21515
21516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21519 arg2 = (int) SWIG_AsInt(obj1);
21520 if (PyErr_Occurred()) SWIG_fail;
21521 arg3 = (int) SWIG_AsInt(obj2);
21522 if (PyErr_Occurred()) SWIG_fail;
21523 {
21524 PyThreadState* __tstate = wxPyBeginAllowThreads();
21525 (arg1)->SetPageSizeMM(arg2,arg3);
21526
21527 wxPyEndAllowThreads(__tstate);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 }
21530 Py_INCREF(Py_None); resultobj = Py_None;
21531 return resultobj;
21532 fail:
21533 return NULL;
21534 }
21535
21536
21537 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21538 PyObject *resultobj;
21539 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21540 int *arg2 = (int *) 0 ;
21541 int *arg3 = (int *) 0 ;
21542 int temp2 ;
21543 int temp3 ;
21544 PyObject * obj0 = 0 ;
21545 char *kwnames[] = {
21546 (char *) "self", NULL
21547 };
21548
21549 arg2 = &temp2;
21550 arg3 = &temp3;
21551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21554 {
21555 PyThreadState* __tstate = wxPyBeginAllowThreads();
21556 (arg1)->GetPageSizeMM(arg2,arg3);
21557
21558 wxPyEndAllowThreads(__tstate);
21559 if (PyErr_Occurred()) SWIG_fail;
21560 }
21561 Py_INCREF(Py_None); resultobj = Py_None;
21562 {
21563 PyObject *o = PyInt_FromLong((long) (*arg2));
21564 resultobj = t_output_helper(resultobj,o);
21565 }
21566 {
21567 PyObject *o = PyInt_FromLong((long) (*arg3));
21568 resultobj = t_output_helper(resultobj,o);
21569 }
21570 return resultobj;
21571 fail:
21572 return NULL;
21573 }
21574
21575
21576 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21577 PyObject *resultobj;
21578 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21579 int arg2 ;
21580 int arg3 ;
21581 PyObject * obj0 = 0 ;
21582 PyObject * obj1 = 0 ;
21583 PyObject * obj2 = 0 ;
21584 char *kwnames[] = {
21585 (char *) "self",(char *) "x",(char *) "y", NULL
21586 };
21587
21588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21591 arg2 = (int) SWIG_AsInt(obj1);
21592 if (PyErr_Occurred()) SWIG_fail;
21593 arg3 = (int) SWIG_AsInt(obj2);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 {
21596 PyThreadState* __tstate = wxPyBeginAllowThreads();
21597 (arg1)->SetPPIScreen(arg2,arg3);
21598
21599 wxPyEndAllowThreads(__tstate);
21600 if (PyErr_Occurred()) SWIG_fail;
21601 }
21602 Py_INCREF(Py_None); resultobj = Py_None;
21603 return resultobj;
21604 fail:
21605 return NULL;
21606 }
21607
21608
21609 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21610 PyObject *resultobj;
21611 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21612 int *arg2 = (int *) 0 ;
21613 int *arg3 = (int *) 0 ;
21614 int temp2 ;
21615 int temp3 ;
21616 PyObject * obj0 = 0 ;
21617 char *kwnames[] = {
21618 (char *) "self", NULL
21619 };
21620
21621 arg2 = &temp2;
21622 arg3 = &temp3;
21623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21626 {
21627 PyThreadState* __tstate = wxPyBeginAllowThreads();
21628 (arg1)->GetPPIScreen(arg2,arg3);
21629
21630 wxPyEndAllowThreads(__tstate);
21631 if (PyErr_Occurred()) SWIG_fail;
21632 }
21633 Py_INCREF(Py_None); resultobj = Py_None;
21634 {
21635 PyObject *o = PyInt_FromLong((long) (*arg2));
21636 resultobj = t_output_helper(resultobj,o);
21637 }
21638 {
21639 PyObject *o = PyInt_FromLong((long) (*arg3));
21640 resultobj = t_output_helper(resultobj,o);
21641 }
21642 return resultobj;
21643 fail:
21644 return NULL;
21645 }
21646
21647
21648 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21649 PyObject *resultobj;
21650 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21651 int arg2 ;
21652 int arg3 ;
21653 PyObject * obj0 = 0 ;
21654 PyObject * obj1 = 0 ;
21655 PyObject * obj2 = 0 ;
21656 char *kwnames[] = {
21657 (char *) "self",(char *) "x",(char *) "y", NULL
21658 };
21659
21660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21663 arg2 = (int) SWIG_AsInt(obj1);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 arg3 = (int) SWIG_AsInt(obj2);
21666 if (PyErr_Occurred()) SWIG_fail;
21667 {
21668 PyThreadState* __tstate = wxPyBeginAllowThreads();
21669 (arg1)->SetPPIPrinter(arg2,arg3);
21670
21671 wxPyEndAllowThreads(__tstate);
21672 if (PyErr_Occurred()) SWIG_fail;
21673 }
21674 Py_INCREF(Py_None); resultobj = Py_None;
21675 return resultobj;
21676 fail:
21677 return NULL;
21678 }
21679
21680
21681 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21682 PyObject *resultobj;
21683 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21684 int *arg2 = (int *) 0 ;
21685 int *arg3 = (int *) 0 ;
21686 int temp2 ;
21687 int temp3 ;
21688 PyObject * obj0 = 0 ;
21689 char *kwnames[] = {
21690 (char *) "self", NULL
21691 };
21692
21693 arg2 = &temp2;
21694 arg3 = &temp3;
21695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21698 {
21699 PyThreadState* __tstate = wxPyBeginAllowThreads();
21700 (arg1)->GetPPIPrinter(arg2,arg3);
21701
21702 wxPyEndAllowThreads(__tstate);
21703 if (PyErr_Occurred()) SWIG_fail;
21704 }
21705 Py_INCREF(Py_None); resultobj = Py_None;
21706 {
21707 PyObject *o = PyInt_FromLong((long) (*arg2));
21708 resultobj = t_output_helper(resultobj,o);
21709 }
21710 {
21711 PyObject *o = PyInt_FromLong((long) (*arg3));
21712 resultobj = t_output_helper(resultobj,o);
21713 }
21714 return resultobj;
21715 fail:
21716 return NULL;
21717 }
21718
21719
21720 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21721 PyObject *resultobj;
21722 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21723 bool result;
21724 PyObject * obj0 = 0 ;
21725 char *kwnames[] = {
21726 (char *) "self", NULL
21727 };
21728
21729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
21730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21732 {
21733 PyThreadState* __tstate = wxPyBeginAllowThreads();
21734 result = (bool)(arg1)->IsPreview();
21735
21736 wxPyEndAllowThreads(__tstate);
21737 if (PyErr_Occurred()) SWIG_fail;
21738 }
21739 {
21740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21741 }
21742 return resultobj;
21743 fail:
21744 return NULL;
21745 }
21746
21747
21748 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21749 PyObject *resultobj;
21750 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21751 bool arg2 ;
21752 PyObject * obj0 = 0 ;
21753 PyObject * obj1 = 0 ;
21754 char *kwnames[] = {
21755 (char *) "self",(char *) "p", NULL
21756 };
21757
21758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
21759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21761 arg2 = (bool) SWIG_AsBool(obj1);
21762 if (PyErr_Occurred()) SWIG_fail;
21763 {
21764 PyThreadState* __tstate = wxPyBeginAllowThreads();
21765 (arg1)->SetIsPreview(arg2);
21766
21767 wxPyEndAllowThreads(__tstate);
21768 if (PyErr_Occurred()) SWIG_fail;
21769 }
21770 Py_INCREF(Py_None); resultobj = Py_None;
21771 return resultobj;
21772 fail:
21773 return NULL;
21774 }
21775
21776
21777 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21778 PyObject *resultobj;
21779 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21780 int arg2 ;
21781 int arg3 ;
21782 bool result;
21783 PyObject * obj0 = 0 ;
21784 PyObject * obj1 = 0 ;
21785 PyObject * obj2 = 0 ;
21786 char *kwnames[] = {
21787 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21788 };
21789
21790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
21791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21793 arg2 = (int) SWIG_AsInt(obj1);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 arg3 = (int) SWIG_AsInt(obj2);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 {
21798 PyThreadState* __tstate = wxPyBeginAllowThreads();
21799 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21800
21801 wxPyEndAllowThreads(__tstate);
21802 if (PyErr_Occurred()) SWIG_fail;
21803 }
21804 {
21805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21806 }
21807 return resultobj;
21808 fail:
21809 return NULL;
21810 }
21811
21812
21813 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21814 PyObject *resultobj;
21815 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21816 PyObject * obj0 = 0 ;
21817 char *kwnames[] = {
21818 (char *) "self", NULL
21819 };
21820
21821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
21822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21824 {
21825 PyThreadState* __tstate = wxPyBeginAllowThreads();
21826 (arg1)->base_OnEndDocument();
21827
21828 wxPyEndAllowThreads(__tstate);
21829 if (PyErr_Occurred()) SWIG_fail;
21830 }
21831 Py_INCREF(Py_None); resultobj = Py_None;
21832 return resultobj;
21833 fail:
21834 return NULL;
21835 }
21836
21837
21838 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21839 PyObject *resultobj;
21840 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21841 PyObject * obj0 = 0 ;
21842 char *kwnames[] = {
21843 (char *) "self", NULL
21844 };
21845
21846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
21847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21849 {
21850 PyThreadState* __tstate = wxPyBeginAllowThreads();
21851 (arg1)->base_OnBeginPrinting();
21852
21853 wxPyEndAllowThreads(__tstate);
21854 if (PyErr_Occurred()) SWIG_fail;
21855 }
21856 Py_INCREF(Py_None); resultobj = Py_None;
21857 return resultobj;
21858 fail:
21859 return NULL;
21860 }
21861
21862
21863 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21864 PyObject *resultobj;
21865 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21866 PyObject * obj0 = 0 ;
21867 char *kwnames[] = {
21868 (char *) "self", NULL
21869 };
21870
21871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
21872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21874 {
21875 PyThreadState* __tstate = wxPyBeginAllowThreads();
21876 (arg1)->base_OnEndPrinting();
21877
21878 wxPyEndAllowThreads(__tstate);
21879 if (PyErr_Occurred()) SWIG_fail;
21880 }
21881 Py_INCREF(Py_None); resultobj = Py_None;
21882 return resultobj;
21883 fail:
21884 return NULL;
21885 }
21886
21887
21888 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21889 PyObject *resultobj;
21890 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21891 PyObject * obj0 = 0 ;
21892 char *kwnames[] = {
21893 (char *) "self", NULL
21894 };
21895
21896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
21897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21899 {
21900 PyThreadState* __tstate = wxPyBeginAllowThreads();
21901 (arg1)->base_OnPreparePrinting();
21902
21903 wxPyEndAllowThreads(__tstate);
21904 if (PyErr_Occurred()) SWIG_fail;
21905 }
21906 Py_INCREF(Py_None); resultobj = Py_None;
21907 return resultobj;
21908 fail:
21909 return NULL;
21910 }
21911
21912
21913 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21914 PyObject *resultobj;
21915 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21916 int arg2 ;
21917 bool result;
21918 PyObject * obj0 = 0 ;
21919 PyObject * obj1 = 0 ;
21920 char *kwnames[] = {
21921 (char *) "self",(char *) "page", NULL
21922 };
21923
21924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
21925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21927 arg2 = (int) SWIG_AsInt(obj1);
21928 if (PyErr_Occurred()) SWIG_fail;
21929 {
21930 PyThreadState* __tstate = wxPyBeginAllowThreads();
21931 result = (bool)(arg1)->base_HasPage(arg2);
21932
21933 wxPyEndAllowThreads(__tstate);
21934 if (PyErr_Occurred()) SWIG_fail;
21935 }
21936 {
21937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21938 }
21939 return resultobj;
21940 fail:
21941 return NULL;
21942 }
21943
21944
21945 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21946 PyObject *resultobj;
21947 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21948 int *arg2 = (int *) 0 ;
21949 int *arg3 = (int *) 0 ;
21950 int *arg4 = (int *) 0 ;
21951 int *arg5 = (int *) 0 ;
21952 int temp2 ;
21953 int temp3 ;
21954 int temp4 ;
21955 int temp5 ;
21956 PyObject * obj0 = 0 ;
21957 char *kwnames[] = {
21958 (char *) "self", NULL
21959 };
21960
21961 arg2 = &temp2;
21962 arg3 = &temp3;
21963 arg4 = &temp4;
21964 arg5 = &temp5;
21965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
21966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21968 {
21969 PyThreadState* __tstate = wxPyBeginAllowThreads();
21970 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
21971
21972 wxPyEndAllowThreads(__tstate);
21973 if (PyErr_Occurred()) SWIG_fail;
21974 }
21975 Py_INCREF(Py_None); resultobj = Py_None;
21976 {
21977 PyObject *o = PyInt_FromLong((long) (*arg2));
21978 resultobj = t_output_helper(resultobj,o);
21979 }
21980 {
21981 PyObject *o = PyInt_FromLong((long) (*arg3));
21982 resultobj = t_output_helper(resultobj,o);
21983 }
21984 {
21985 PyObject *o = PyInt_FromLong((long) (*arg4));
21986 resultobj = t_output_helper(resultobj,o);
21987 }
21988 {
21989 PyObject *o = PyInt_FromLong((long) (*arg5));
21990 resultobj = t_output_helper(resultobj,o);
21991 }
21992 return resultobj;
21993 fail:
21994 return NULL;
21995 }
21996
21997
21998 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
21999 PyObject *obj;
22000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22001 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22002 Py_INCREF(obj);
22003 return Py_BuildValue((char *)"");
22004 }
22005 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22006 PyObject *resultobj;
22007 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22008 wxWindow *arg2 = (wxWindow *) 0 ;
22009 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22010 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22011 wxSize const &arg4_defvalue = wxDefaultSize ;
22012 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22013 long arg5 = (long) 0 ;
22014 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22015 wxString *arg6 = (wxString *) &arg6_defvalue ;
22016 wxPreviewCanvas *result;
22017 wxPoint temp3 ;
22018 wxSize temp4 ;
22019 bool temp6 = False ;
22020 PyObject * obj0 = 0 ;
22021 PyObject * obj1 = 0 ;
22022 PyObject * obj2 = 0 ;
22023 PyObject * obj3 = 0 ;
22024 PyObject * obj4 = 0 ;
22025 PyObject * obj5 = 0 ;
22026 char *kwnames[] = {
22027 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22028 };
22029
22030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22033 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22035 if (obj2) {
22036 {
22037 arg3 = &temp3;
22038 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22039 }
22040 }
22041 if (obj3) {
22042 {
22043 arg4 = &temp4;
22044 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22045 }
22046 }
22047 if (obj4) {
22048 arg5 = (long) SWIG_AsLong(obj4);
22049 if (PyErr_Occurred()) SWIG_fail;
22050 }
22051 if (obj5) {
22052 {
22053 arg6 = wxString_in_helper(obj5);
22054 if (arg6 == NULL) SWIG_fail;
22055 temp6 = True;
22056 }
22057 }
22058 {
22059 PyThreadState* __tstate = wxPyBeginAllowThreads();
22060 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22061
22062 wxPyEndAllowThreads(__tstate);
22063 if (PyErr_Occurred()) SWIG_fail;
22064 }
22065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22066 {
22067 if (temp6)
22068 delete arg6;
22069 }
22070 return resultobj;
22071 fail:
22072 {
22073 if (temp6)
22074 delete arg6;
22075 }
22076 return NULL;
22077 }
22078
22079
22080 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22081 PyObject *obj;
22082 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22083 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22084 Py_INCREF(obj);
22085 return Py_BuildValue((char *)"");
22086 }
22087 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22088 PyObject *resultobj;
22089 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22090 wxFrame *arg2 = (wxFrame *) 0 ;
22091 wxString *arg3 = 0 ;
22092 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22093 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22094 wxSize const &arg5_defvalue = wxDefaultSize ;
22095 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22096 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22097 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22098 wxString *arg7 = (wxString *) &arg7_defvalue ;
22099 wxPreviewFrame *result;
22100 bool temp3 = False ;
22101 wxPoint temp4 ;
22102 wxSize temp5 ;
22103 bool temp7 = False ;
22104 PyObject * obj0 = 0 ;
22105 PyObject * obj1 = 0 ;
22106 PyObject * obj2 = 0 ;
22107 PyObject * obj3 = 0 ;
22108 PyObject * obj4 = 0 ;
22109 PyObject * obj5 = 0 ;
22110 PyObject * obj6 = 0 ;
22111 char *kwnames[] = {
22112 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22113 };
22114
22115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22118 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22120 {
22121 arg3 = wxString_in_helper(obj2);
22122 if (arg3 == NULL) SWIG_fail;
22123 temp3 = True;
22124 }
22125 if (obj3) {
22126 {
22127 arg4 = &temp4;
22128 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22129 }
22130 }
22131 if (obj4) {
22132 {
22133 arg5 = &temp5;
22134 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22135 }
22136 }
22137 if (obj5) {
22138 arg6 = (long) SWIG_AsLong(obj5);
22139 if (PyErr_Occurred()) SWIG_fail;
22140 }
22141 if (obj6) {
22142 {
22143 arg7 = wxString_in_helper(obj6);
22144 if (arg7 == NULL) SWIG_fail;
22145 temp7 = True;
22146 }
22147 }
22148 {
22149 PyThreadState* __tstate = wxPyBeginAllowThreads();
22150 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22151
22152 wxPyEndAllowThreads(__tstate);
22153 if (PyErr_Occurred()) SWIG_fail;
22154 }
22155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22156 {
22157 if (temp3)
22158 delete arg3;
22159 }
22160 {
22161 if (temp7)
22162 delete arg7;
22163 }
22164 return resultobj;
22165 fail:
22166 {
22167 if (temp3)
22168 delete arg3;
22169 }
22170 {
22171 if (temp7)
22172 delete arg7;
22173 }
22174 return NULL;
22175 }
22176
22177
22178 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22179 PyObject *resultobj;
22180 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22181 PyObject * obj0 = 0 ;
22182 char *kwnames[] = {
22183 (char *) "self", NULL
22184 };
22185
22186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22189 {
22190 PyThreadState* __tstate = wxPyBeginAllowThreads();
22191 (arg1)->Initialize();
22192
22193 wxPyEndAllowThreads(__tstate);
22194 if (PyErr_Occurred()) SWIG_fail;
22195 }
22196 Py_INCREF(Py_None); resultobj = Py_None;
22197 return resultobj;
22198 fail:
22199 return NULL;
22200 }
22201
22202
22203 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22204 PyObject *resultobj;
22205 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22206 PyObject * obj0 = 0 ;
22207 char *kwnames[] = {
22208 (char *) "self", NULL
22209 };
22210
22211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22214 {
22215 PyThreadState* __tstate = wxPyBeginAllowThreads();
22216 (arg1)->CreateControlBar();
22217
22218 wxPyEndAllowThreads(__tstate);
22219 if (PyErr_Occurred()) SWIG_fail;
22220 }
22221 Py_INCREF(Py_None); resultobj = Py_None;
22222 return resultobj;
22223 fail:
22224 return NULL;
22225 }
22226
22227
22228 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22229 PyObject *resultobj;
22230 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22231 PyObject * obj0 = 0 ;
22232 char *kwnames[] = {
22233 (char *) "self", NULL
22234 };
22235
22236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22239 {
22240 PyThreadState* __tstate = wxPyBeginAllowThreads();
22241 (arg1)->CreateCanvas();
22242
22243 wxPyEndAllowThreads(__tstate);
22244 if (PyErr_Occurred()) SWIG_fail;
22245 }
22246 Py_INCREF(Py_None); resultobj = Py_None;
22247 return resultobj;
22248 fail:
22249 return NULL;
22250 }
22251
22252
22253 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22254 PyObject *resultobj;
22255 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22256 wxPreviewControlBar *result;
22257 PyObject * obj0 = 0 ;
22258 char *kwnames[] = {
22259 (char *) "self", NULL
22260 };
22261
22262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22265 {
22266 PyThreadState* __tstate = wxPyBeginAllowThreads();
22267 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22268
22269 wxPyEndAllowThreads(__tstate);
22270 if (PyErr_Occurred()) SWIG_fail;
22271 }
22272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22273 return resultobj;
22274 fail:
22275 return NULL;
22276 }
22277
22278
22279 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22280 PyObject *obj;
22281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22282 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22283 Py_INCREF(obj);
22284 return Py_BuildValue((char *)"");
22285 }
22286 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22287 PyObject *resultobj;
22288 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22289 long arg2 ;
22290 wxWindow *arg3 = (wxWindow *) 0 ;
22291 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22292 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22293 wxSize const &arg5_defvalue = wxDefaultSize ;
22294 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22295 long arg6 = (long) wxTAB_TRAVERSAL ;
22296 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22297 wxString *arg7 = (wxString *) &arg7_defvalue ;
22298 wxPreviewControlBar *result;
22299 wxPoint temp4 ;
22300 wxSize temp5 ;
22301 bool temp7 = False ;
22302 PyObject * obj0 = 0 ;
22303 PyObject * obj1 = 0 ;
22304 PyObject * obj2 = 0 ;
22305 PyObject * obj3 = 0 ;
22306 PyObject * obj4 = 0 ;
22307 PyObject * obj5 = 0 ;
22308 PyObject * obj6 = 0 ;
22309 char *kwnames[] = {
22310 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22311 };
22312
22313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22316 arg2 = (long) SWIG_AsLong(obj1);
22317 if (PyErr_Occurred()) SWIG_fail;
22318 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22320 if (obj3) {
22321 {
22322 arg4 = &temp4;
22323 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22324 }
22325 }
22326 if (obj4) {
22327 {
22328 arg5 = &temp5;
22329 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22330 }
22331 }
22332 if (obj5) {
22333 arg6 = (long) SWIG_AsLong(obj5);
22334 if (PyErr_Occurred()) SWIG_fail;
22335 }
22336 if (obj6) {
22337 {
22338 arg7 = wxString_in_helper(obj6);
22339 if (arg7 == NULL) SWIG_fail;
22340 temp7 = True;
22341 }
22342 }
22343 {
22344 PyThreadState* __tstate = wxPyBeginAllowThreads();
22345 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22346
22347 wxPyEndAllowThreads(__tstate);
22348 if (PyErr_Occurred()) SWIG_fail;
22349 }
22350 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22351 {
22352 if (temp7)
22353 delete arg7;
22354 }
22355 return resultobj;
22356 fail:
22357 {
22358 if (temp7)
22359 delete arg7;
22360 }
22361 return NULL;
22362 }
22363
22364
22365 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22366 PyObject *resultobj;
22367 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22368 int result;
22369 PyObject * obj0 = 0 ;
22370 char *kwnames[] = {
22371 (char *) "self", NULL
22372 };
22373
22374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22377 {
22378 PyThreadState* __tstate = wxPyBeginAllowThreads();
22379 result = (int)(arg1)->GetZoomControl();
22380
22381 wxPyEndAllowThreads(__tstate);
22382 if (PyErr_Occurred()) SWIG_fail;
22383 }
22384 resultobj = SWIG_FromInt((int)result);
22385 return resultobj;
22386 fail:
22387 return NULL;
22388 }
22389
22390
22391 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22392 PyObject *resultobj;
22393 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22394 int arg2 ;
22395 PyObject * obj0 = 0 ;
22396 PyObject * obj1 = 0 ;
22397 char *kwnames[] = {
22398 (char *) "self",(char *) "zoom", NULL
22399 };
22400
22401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22404 arg2 = (int) SWIG_AsInt(obj1);
22405 if (PyErr_Occurred()) SWIG_fail;
22406 {
22407 PyThreadState* __tstate = wxPyBeginAllowThreads();
22408 (arg1)->SetZoomControl(arg2);
22409
22410 wxPyEndAllowThreads(__tstate);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 }
22413 Py_INCREF(Py_None); resultobj = Py_None;
22414 return resultobj;
22415 fail:
22416 return NULL;
22417 }
22418
22419
22420 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22421 PyObject *resultobj;
22422 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22423 wxPrintPreview *result;
22424 PyObject * obj0 = 0 ;
22425 char *kwnames[] = {
22426 (char *) "self", NULL
22427 };
22428
22429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22432 {
22433 PyThreadState* __tstate = wxPyBeginAllowThreads();
22434 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22435
22436 wxPyEndAllowThreads(__tstate);
22437 if (PyErr_Occurred()) SWIG_fail;
22438 }
22439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22440 return resultobj;
22441 fail:
22442 return NULL;
22443 }
22444
22445
22446 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22447 PyObject *resultobj;
22448 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22449 PyObject * obj0 = 0 ;
22450 char *kwnames[] = {
22451 (char *) "self", NULL
22452 };
22453
22454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22457 {
22458 PyThreadState* __tstate = wxPyBeginAllowThreads();
22459 (arg1)->OnNext();
22460
22461 wxPyEndAllowThreads(__tstate);
22462 if (PyErr_Occurred()) SWIG_fail;
22463 }
22464 Py_INCREF(Py_None); resultobj = Py_None;
22465 return resultobj;
22466 fail:
22467 return NULL;
22468 }
22469
22470
22471 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22472 PyObject *resultobj;
22473 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22474 PyObject * obj0 = 0 ;
22475 char *kwnames[] = {
22476 (char *) "self", NULL
22477 };
22478
22479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22482 {
22483 PyThreadState* __tstate = wxPyBeginAllowThreads();
22484 (arg1)->OnPrevious();
22485
22486 wxPyEndAllowThreads(__tstate);
22487 if (PyErr_Occurred()) SWIG_fail;
22488 }
22489 Py_INCREF(Py_None); resultobj = Py_None;
22490 return resultobj;
22491 fail:
22492 return NULL;
22493 }
22494
22495
22496 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22497 PyObject *resultobj;
22498 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22499 PyObject * obj0 = 0 ;
22500 char *kwnames[] = {
22501 (char *) "self", NULL
22502 };
22503
22504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22507 {
22508 PyThreadState* __tstate = wxPyBeginAllowThreads();
22509 (arg1)->OnFirst();
22510
22511 wxPyEndAllowThreads(__tstate);
22512 if (PyErr_Occurred()) SWIG_fail;
22513 }
22514 Py_INCREF(Py_None); resultobj = Py_None;
22515 return resultobj;
22516 fail:
22517 return NULL;
22518 }
22519
22520
22521 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22522 PyObject *resultobj;
22523 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22524 PyObject * obj0 = 0 ;
22525 char *kwnames[] = {
22526 (char *) "self", NULL
22527 };
22528
22529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22532 {
22533 PyThreadState* __tstate = wxPyBeginAllowThreads();
22534 (arg1)->OnLast();
22535
22536 wxPyEndAllowThreads(__tstate);
22537 if (PyErr_Occurred()) SWIG_fail;
22538 }
22539 Py_INCREF(Py_None); resultobj = Py_None;
22540 return resultobj;
22541 fail:
22542 return NULL;
22543 }
22544
22545
22546 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22547 PyObject *resultobj;
22548 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22549 PyObject * obj0 = 0 ;
22550 char *kwnames[] = {
22551 (char *) "self", NULL
22552 };
22553
22554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22557 {
22558 PyThreadState* __tstate = wxPyBeginAllowThreads();
22559 (arg1)->OnGoto();
22560
22561 wxPyEndAllowThreads(__tstate);
22562 if (PyErr_Occurred()) SWIG_fail;
22563 }
22564 Py_INCREF(Py_None); resultobj = Py_None;
22565 return resultobj;
22566 fail:
22567 return NULL;
22568 }
22569
22570
22571 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22572 PyObject *obj;
22573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22574 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22575 Py_INCREF(obj);
22576 return Py_BuildValue((char *)"");
22577 }
22578 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22579 PyObject *resultobj;
22580 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22581 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22582 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22583 wxPrintPreview *result;
22584 PyObject * obj0 = 0 ;
22585 PyObject * obj1 = 0 ;
22586 PyObject * obj2 = 0 ;
22587
22588 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22593 if (obj2) {
22594 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22596 }
22597 {
22598 PyThreadState* __tstate = wxPyBeginAllowThreads();
22599 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22600
22601 wxPyEndAllowThreads(__tstate);
22602 if (PyErr_Occurred()) SWIG_fail;
22603 }
22604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22605 return resultobj;
22606 fail:
22607 return NULL;
22608 }
22609
22610
22611 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22612 PyObject *resultobj;
22613 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22614 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22615 wxPrintData *arg3 = (wxPrintData *) 0 ;
22616 wxPrintPreview *result;
22617 PyObject * obj0 = 0 ;
22618 PyObject * obj1 = 0 ;
22619 PyObject * obj2 = 0 ;
22620
22621 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22626 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22628 {
22629 PyThreadState* __tstate = wxPyBeginAllowThreads();
22630 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22631
22632 wxPyEndAllowThreads(__tstate);
22633 if (PyErr_Occurred()) SWIG_fail;
22634 }
22635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22636 return resultobj;
22637 fail:
22638 return NULL;
22639 }
22640
22641
22642 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22643 int argc;
22644 PyObject *argv[4];
22645 int ii;
22646
22647 argc = PyObject_Length(args);
22648 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22649 argv[ii] = PyTuple_GetItem(args,ii);
22650 }
22651 if ((argc >= 2) && (argc <= 3)) {
22652 int _v;
22653 {
22654 void *ptr;
22655 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22656 _v = 0;
22657 PyErr_Clear();
22658 } else {
22659 _v = 1;
22660 }
22661 }
22662 if (_v) {
22663 {
22664 void *ptr;
22665 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22666 _v = 0;
22667 PyErr_Clear();
22668 } else {
22669 _v = 1;
22670 }
22671 }
22672 if (_v) {
22673 if (argc <= 2) {
22674 return _wrap_new_PrintPreview__SWIG_0(self,args);
22675 }
22676 {
22677 void *ptr;
22678 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22679 _v = 0;
22680 PyErr_Clear();
22681 } else {
22682 _v = 1;
22683 }
22684 }
22685 if (_v) {
22686 return _wrap_new_PrintPreview__SWIG_0(self,args);
22687 }
22688 }
22689 }
22690 }
22691 if (argc == 3) {
22692 int _v;
22693 {
22694 void *ptr;
22695 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22696 _v = 0;
22697 PyErr_Clear();
22698 } else {
22699 _v = 1;
22700 }
22701 }
22702 if (_v) {
22703 {
22704 void *ptr;
22705 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22706 _v = 0;
22707 PyErr_Clear();
22708 } else {
22709 _v = 1;
22710 }
22711 }
22712 if (_v) {
22713 {
22714 void *ptr;
22715 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22716 _v = 0;
22717 PyErr_Clear();
22718 } else {
22719 _v = 1;
22720 }
22721 }
22722 if (_v) {
22723 return _wrap_new_PrintPreview__SWIG_1(self,args);
22724 }
22725 }
22726 }
22727 }
22728
22729 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22730 return NULL;
22731 }
22732
22733
22734 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22735 PyObject *resultobj;
22736 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22737 int arg2 ;
22738 bool result;
22739 PyObject * obj0 = 0 ;
22740 PyObject * obj1 = 0 ;
22741 char *kwnames[] = {
22742 (char *) "self",(char *) "pageNum", NULL
22743 };
22744
22745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22748 arg2 = (int) SWIG_AsInt(obj1);
22749 if (PyErr_Occurred()) SWIG_fail;
22750 {
22751 PyThreadState* __tstate = wxPyBeginAllowThreads();
22752 result = (bool)(arg1)->SetCurrentPage(arg2);
22753
22754 wxPyEndAllowThreads(__tstate);
22755 if (PyErr_Occurred()) SWIG_fail;
22756 }
22757 {
22758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22759 }
22760 return resultobj;
22761 fail:
22762 return NULL;
22763 }
22764
22765
22766 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22767 PyObject *resultobj;
22768 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22769 int result;
22770 PyObject * obj0 = 0 ;
22771 char *kwnames[] = {
22772 (char *) "self", NULL
22773 };
22774
22775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
22776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22778 {
22779 PyThreadState* __tstate = wxPyBeginAllowThreads();
22780 result = (int)(arg1)->GetCurrentPage();
22781
22782 wxPyEndAllowThreads(__tstate);
22783 if (PyErr_Occurred()) SWIG_fail;
22784 }
22785 resultobj = SWIG_FromInt((int)result);
22786 return resultobj;
22787 fail:
22788 return NULL;
22789 }
22790
22791
22792 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22793 PyObject *resultobj;
22794 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22795 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22796 PyObject * obj0 = 0 ;
22797 PyObject * obj1 = 0 ;
22798 char *kwnames[] = {
22799 (char *) "self",(char *) "printout", NULL
22800 };
22801
22802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
22803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22805 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22807 {
22808 PyThreadState* __tstate = wxPyBeginAllowThreads();
22809 (arg1)->SetPrintout(arg2);
22810
22811 wxPyEndAllowThreads(__tstate);
22812 if (PyErr_Occurred()) SWIG_fail;
22813 }
22814 Py_INCREF(Py_None); resultobj = Py_None;
22815 return resultobj;
22816 fail:
22817 return NULL;
22818 }
22819
22820
22821 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22822 PyObject *resultobj;
22823 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22824 wxPyPrintout *result;
22825 PyObject * obj0 = 0 ;
22826 char *kwnames[] = {
22827 (char *) "self", NULL
22828 };
22829
22830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
22831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22833 {
22834 PyThreadState* __tstate = wxPyBeginAllowThreads();
22835 result = (wxPyPrintout *)(arg1)->GetPrintout();
22836
22837 wxPyEndAllowThreads(__tstate);
22838 if (PyErr_Occurred()) SWIG_fail;
22839 }
22840 {
22841 resultobj = wxPyMake_wxObject(result);
22842 }
22843 return resultobj;
22844 fail:
22845 return NULL;
22846 }
22847
22848
22849 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22850 PyObject *resultobj;
22851 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22852 wxPyPrintout *result;
22853 PyObject * obj0 = 0 ;
22854 char *kwnames[] = {
22855 (char *) "self", NULL
22856 };
22857
22858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
22859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22861 {
22862 PyThreadState* __tstate = wxPyBeginAllowThreads();
22863 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
22864
22865 wxPyEndAllowThreads(__tstate);
22866 if (PyErr_Occurred()) SWIG_fail;
22867 }
22868 {
22869 resultobj = wxPyMake_wxObject(result);
22870 }
22871 return resultobj;
22872 fail:
22873 return NULL;
22874 }
22875
22876
22877 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22878 PyObject *resultobj;
22879 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22880 wxFrame *arg2 = (wxFrame *) 0 ;
22881 PyObject * obj0 = 0 ;
22882 PyObject * obj1 = 0 ;
22883 char *kwnames[] = {
22884 (char *) "self",(char *) "frame", NULL
22885 };
22886
22887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
22888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22892 {
22893 PyThreadState* __tstate = wxPyBeginAllowThreads();
22894 (arg1)->SetFrame(arg2);
22895
22896 wxPyEndAllowThreads(__tstate);
22897 if (PyErr_Occurred()) SWIG_fail;
22898 }
22899 Py_INCREF(Py_None); resultobj = Py_None;
22900 return resultobj;
22901 fail:
22902 return NULL;
22903 }
22904
22905
22906 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22907 PyObject *resultobj;
22908 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22909 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22910 PyObject * obj0 = 0 ;
22911 PyObject * obj1 = 0 ;
22912 char *kwnames[] = {
22913 (char *) "self",(char *) "canvas", NULL
22914 };
22915
22916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
22917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22919 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22921 {
22922 PyThreadState* __tstate = wxPyBeginAllowThreads();
22923 (arg1)->SetCanvas(arg2);
22924
22925 wxPyEndAllowThreads(__tstate);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 }
22928 Py_INCREF(Py_None); resultobj = Py_None;
22929 return resultobj;
22930 fail:
22931 return NULL;
22932 }
22933
22934
22935 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22936 PyObject *resultobj;
22937 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22938 wxFrame *result;
22939 PyObject * obj0 = 0 ;
22940 char *kwnames[] = {
22941 (char *) "self", NULL
22942 };
22943
22944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
22945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22947 {
22948 PyThreadState* __tstate = wxPyBeginAllowThreads();
22949 result = (wxFrame *)(arg1)->GetFrame();
22950
22951 wxPyEndAllowThreads(__tstate);
22952 if (PyErr_Occurred()) SWIG_fail;
22953 }
22954 {
22955 resultobj = wxPyMake_wxObject(result);
22956 }
22957 return resultobj;
22958 fail:
22959 return NULL;
22960 }
22961
22962
22963 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22964 PyObject *resultobj;
22965 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22966 wxPreviewCanvas *result;
22967 PyObject * obj0 = 0 ;
22968 char *kwnames[] = {
22969 (char *) "self", NULL
22970 };
22971
22972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
22973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22975 {
22976 PyThreadState* __tstate = wxPyBeginAllowThreads();
22977 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
22978
22979 wxPyEndAllowThreads(__tstate);
22980 if (PyErr_Occurred()) SWIG_fail;
22981 }
22982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
22983 return resultobj;
22984 fail:
22985 return NULL;
22986 }
22987
22988
22989 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22990 PyObject *resultobj;
22991 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22992 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22993 wxDC *arg3 = 0 ;
22994 bool result;
22995 PyObject * obj0 = 0 ;
22996 PyObject * obj1 = 0 ;
22997 PyObject * obj2 = 0 ;
22998 char *kwnames[] = {
22999 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23000 };
23001
23002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23007 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23008 SWIG_POINTER_EXCEPTION | 0)) == -1)
23009 SWIG_fail;
23010 if (arg3 == NULL) {
23011 PyErr_SetString(PyExc_TypeError,"null reference");
23012 SWIG_fail;
23013 }
23014 {
23015 PyThreadState* __tstate = wxPyBeginAllowThreads();
23016 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23017
23018 wxPyEndAllowThreads(__tstate);
23019 if (PyErr_Occurred()) SWIG_fail;
23020 }
23021 {
23022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23023 }
23024 return resultobj;
23025 fail:
23026 return NULL;
23027 }
23028
23029
23030 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23031 PyObject *resultobj;
23032 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23033 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23034 wxDC *arg3 = 0 ;
23035 bool result;
23036 PyObject * obj0 = 0 ;
23037 PyObject * obj1 = 0 ;
23038 PyObject * obj2 = 0 ;
23039 char *kwnames[] = {
23040 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23041 };
23042
23043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23046 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23048 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23049 SWIG_POINTER_EXCEPTION | 0)) == -1)
23050 SWIG_fail;
23051 if (arg3 == NULL) {
23052 PyErr_SetString(PyExc_TypeError,"null reference");
23053 SWIG_fail;
23054 }
23055 {
23056 PyThreadState* __tstate = wxPyBeginAllowThreads();
23057 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23058
23059 wxPyEndAllowThreads(__tstate);
23060 if (PyErr_Occurred()) SWIG_fail;
23061 }
23062 {
23063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23064 }
23065 return resultobj;
23066 fail:
23067 return NULL;
23068 }
23069
23070
23071 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23072 PyObject *resultobj;
23073 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23074 int arg2 ;
23075 bool result;
23076 PyObject * obj0 = 0 ;
23077 PyObject * obj1 = 0 ;
23078 char *kwnames[] = {
23079 (char *) "self",(char *) "pageNum", NULL
23080 };
23081
23082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23085 arg2 = (int) SWIG_AsInt(obj1);
23086 if (PyErr_Occurred()) SWIG_fail;
23087 {
23088 PyThreadState* __tstate = wxPyBeginAllowThreads();
23089 result = (bool)(arg1)->RenderPage(arg2);
23090
23091 wxPyEndAllowThreads(__tstate);
23092 if (PyErr_Occurred()) SWIG_fail;
23093 }
23094 {
23095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23096 }
23097 return resultobj;
23098 fail:
23099 return NULL;
23100 }
23101
23102
23103 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23104 PyObject *resultobj;
23105 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23106 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23107 PyObject * obj0 = 0 ;
23108 PyObject * obj1 = 0 ;
23109 char *kwnames[] = {
23110 (char *) "self",(char *) "canvas", NULL
23111 };
23112
23113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23116 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23118 {
23119 PyThreadState* __tstate = wxPyBeginAllowThreads();
23120 (arg1)->AdjustScrollbars(arg2);
23121
23122 wxPyEndAllowThreads(__tstate);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 }
23125 Py_INCREF(Py_None); resultobj = Py_None;
23126 return resultobj;
23127 fail:
23128 return NULL;
23129 }
23130
23131
23132 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23133 PyObject *resultobj;
23134 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23135 wxPrintDialogData *result;
23136 PyObject * obj0 = 0 ;
23137 char *kwnames[] = {
23138 (char *) "self", NULL
23139 };
23140
23141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23144 {
23145 PyThreadState* __tstate = wxPyBeginAllowThreads();
23146 {
23147 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23148 result = (wxPrintDialogData *) &_result_ref;
23149 }
23150
23151 wxPyEndAllowThreads(__tstate);
23152 if (PyErr_Occurred()) SWIG_fail;
23153 }
23154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23155 return resultobj;
23156 fail:
23157 return NULL;
23158 }
23159
23160
23161 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23162 PyObject *resultobj;
23163 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23164 int arg2 ;
23165 PyObject * obj0 = 0 ;
23166 PyObject * obj1 = 0 ;
23167 char *kwnames[] = {
23168 (char *) "self",(char *) "percent", NULL
23169 };
23170
23171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23174 arg2 = (int) SWIG_AsInt(obj1);
23175 if (PyErr_Occurred()) SWIG_fail;
23176 {
23177 PyThreadState* __tstate = wxPyBeginAllowThreads();
23178 (arg1)->SetZoom(arg2);
23179
23180 wxPyEndAllowThreads(__tstate);
23181 if (PyErr_Occurred()) SWIG_fail;
23182 }
23183 Py_INCREF(Py_None); resultobj = Py_None;
23184 return resultobj;
23185 fail:
23186 return NULL;
23187 }
23188
23189
23190 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23191 PyObject *resultobj;
23192 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23193 int result;
23194 PyObject * obj0 = 0 ;
23195 char *kwnames[] = {
23196 (char *) "self", NULL
23197 };
23198
23199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23202 {
23203 PyThreadState* __tstate = wxPyBeginAllowThreads();
23204 result = (int)(arg1)->GetZoom();
23205
23206 wxPyEndAllowThreads(__tstate);
23207 if (PyErr_Occurred()) SWIG_fail;
23208 }
23209 resultobj = SWIG_FromInt((int)result);
23210 return resultobj;
23211 fail:
23212 return NULL;
23213 }
23214
23215
23216 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23217 PyObject *resultobj;
23218 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23219 int result;
23220 PyObject * obj0 = 0 ;
23221 char *kwnames[] = {
23222 (char *) "self", NULL
23223 };
23224
23225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23228 {
23229 PyThreadState* __tstate = wxPyBeginAllowThreads();
23230 result = (int)(arg1)->GetMaxPage();
23231
23232 wxPyEndAllowThreads(__tstate);
23233 if (PyErr_Occurred()) SWIG_fail;
23234 }
23235 resultobj = SWIG_FromInt((int)result);
23236 return resultobj;
23237 fail:
23238 return NULL;
23239 }
23240
23241
23242 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23243 PyObject *resultobj;
23244 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23245 int result;
23246 PyObject * obj0 = 0 ;
23247 char *kwnames[] = {
23248 (char *) "self", NULL
23249 };
23250
23251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23254 {
23255 PyThreadState* __tstate = wxPyBeginAllowThreads();
23256 result = (int)(arg1)->GetMinPage();
23257
23258 wxPyEndAllowThreads(__tstate);
23259 if (PyErr_Occurred()) SWIG_fail;
23260 }
23261 resultobj = SWIG_FromInt((int)result);
23262 return resultobj;
23263 fail:
23264 return NULL;
23265 }
23266
23267
23268 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23269 PyObject *resultobj;
23270 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23271 bool result;
23272 PyObject * obj0 = 0 ;
23273 char *kwnames[] = {
23274 (char *) "self", NULL
23275 };
23276
23277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23280 {
23281 PyThreadState* __tstate = wxPyBeginAllowThreads();
23282 result = (bool)(arg1)->Ok();
23283
23284 wxPyEndAllowThreads(__tstate);
23285 if (PyErr_Occurred()) SWIG_fail;
23286 }
23287 {
23288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23289 }
23290 return resultobj;
23291 fail:
23292 return NULL;
23293 }
23294
23295
23296 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23297 PyObject *resultobj;
23298 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23299 bool arg2 ;
23300 PyObject * obj0 = 0 ;
23301 PyObject * obj1 = 0 ;
23302 char *kwnames[] = {
23303 (char *) "self",(char *) "ok", NULL
23304 };
23305
23306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23309 arg2 = (bool) SWIG_AsBool(obj1);
23310 if (PyErr_Occurred()) SWIG_fail;
23311 {
23312 PyThreadState* __tstate = wxPyBeginAllowThreads();
23313 (arg1)->SetOk(arg2);
23314
23315 wxPyEndAllowThreads(__tstate);
23316 if (PyErr_Occurred()) SWIG_fail;
23317 }
23318 Py_INCREF(Py_None); resultobj = Py_None;
23319 return resultobj;
23320 fail:
23321 return NULL;
23322 }
23323
23324
23325 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23326 PyObject *resultobj;
23327 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23328 bool arg2 ;
23329 bool result;
23330 PyObject * obj0 = 0 ;
23331 PyObject * obj1 = 0 ;
23332 char *kwnames[] = {
23333 (char *) "self",(char *) "interactive", NULL
23334 };
23335
23336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23339 arg2 = (bool) SWIG_AsBool(obj1);
23340 if (PyErr_Occurred()) SWIG_fail;
23341 {
23342 PyThreadState* __tstate = wxPyBeginAllowThreads();
23343 result = (bool)(arg1)->Print(arg2);
23344
23345 wxPyEndAllowThreads(__tstate);
23346 if (PyErr_Occurred()) SWIG_fail;
23347 }
23348 {
23349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23350 }
23351 return resultobj;
23352 fail:
23353 return NULL;
23354 }
23355
23356
23357 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23358 PyObject *resultobj;
23359 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23360 PyObject * obj0 = 0 ;
23361 char *kwnames[] = {
23362 (char *) "self", NULL
23363 };
23364
23365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23368 {
23369 PyThreadState* __tstate = wxPyBeginAllowThreads();
23370 (arg1)->DetermineScaling();
23371
23372 wxPyEndAllowThreads(__tstate);
23373 if (PyErr_Occurred()) SWIG_fail;
23374 }
23375 Py_INCREF(Py_None); resultobj = Py_None;
23376 return resultobj;
23377 fail:
23378 return NULL;
23379 }
23380
23381
23382 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23383 PyObject *obj;
23384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23385 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23386 Py_INCREF(obj);
23387 return Py_BuildValue((char *)"");
23388 }
23389 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23390 PyObject *resultobj;
23391 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23392 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23393 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23394 wxPyPrintPreview *result;
23395 PyObject * obj0 = 0 ;
23396 PyObject * obj1 = 0 ;
23397 PyObject * obj2 = 0 ;
23398
23399 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23402 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23404 if (obj2) {
23405 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23407 }
23408 {
23409 PyThreadState* __tstate = wxPyBeginAllowThreads();
23410 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23411
23412 wxPyEndAllowThreads(__tstate);
23413 if (PyErr_Occurred()) SWIG_fail;
23414 }
23415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23416 return resultobj;
23417 fail:
23418 return NULL;
23419 }
23420
23421
23422 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23423 PyObject *resultobj;
23424 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23425 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23426 wxPrintData *arg3 = (wxPrintData *) 0 ;
23427 wxPyPrintPreview *result;
23428 PyObject * obj0 = 0 ;
23429 PyObject * obj1 = 0 ;
23430 PyObject * obj2 = 0 ;
23431
23432 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23435 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23437 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23439 {
23440 PyThreadState* __tstate = wxPyBeginAllowThreads();
23441 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23442
23443 wxPyEndAllowThreads(__tstate);
23444 if (PyErr_Occurred()) SWIG_fail;
23445 }
23446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23447 return resultobj;
23448 fail:
23449 return NULL;
23450 }
23451
23452
23453 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23454 int argc;
23455 PyObject *argv[4];
23456 int ii;
23457
23458 argc = PyObject_Length(args);
23459 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23460 argv[ii] = PyTuple_GetItem(args,ii);
23461 }
23462 if ((argc >= 2) && (argc <= 3)) {
23463 int _v;
23464 {
23465 void *ptr;
23466 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23467 _v = 0;
23468 PyErr_Clear();
23469 } else {
23470 _v = 1;
23471 }
23472 }
23473 if (_v) {
23474 {
23475 void *ptr;
23476 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23477 _v = 0;
23478 PyErr_Clear();
23479 } else {
23480 _v = 1;
23481 }
23482 }
23483 if (_v) {
23484 if (argc <= 2) {
23485 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23486 }
23487 {
23488 void *ptr;
23489 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23490 _v = 0;
23491 PyErr_Clear();
23492 } else {
23493 _v = 1;
23494 }
23495 }
23496 if (_v) {
23497 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23498 }
23499 }
23500 }
23501 }
23502 if (argc == 3) {
23503 int _v;
23504 {
23505 void *ptr;
23506 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23507 _v = 0;
23508 PyErr_Clear();
23509 } else {
23510 _v = 1;
23511 }
23512 }
23513 if (_v) {
23514 {
23515 void *ptr;
23516 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23517 _v = 0;
23518 PyErr_Clear();
23519 } else {
23520 _v = 1;
23521 }
23522 }
23523 if (_v) {
23524 {
23525 void *ptr;
23526 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23527 _v = 0;
23528 PyErr_Clear();
23529 } else {
23530 _v = 1;
23531 }
23532 }
23533 if (_v) {
23534 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23535 }
23536 }
23537 }
23538 }
23539
23540 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23541 return NULL;
23542 }
23543
23544
23545 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23546 PyObject *resultobj;
23547 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23548 PyObject *arg2 = (PyObject *) 0 ;
23549 PyObject *arg3 = (PyObject *) 0 ;
23550 PyObject * obj0 = 0 ;
23551 PyObject * obj1 = 0 ;
23552 PyObject * obj2 = 0 ;
23553 char *kwnames[] = {
23554 (char *) "self",(char *) "self",(char *) "_class", NULL
23555 };
23556
23557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23560 arg2 = obj1;
23561 arg3 = obj2;
23562 {
23563 PyThreadState* __tstate = wxPyBeginAllowThreads();
23564 (arg1)->_setCallbackInfo(arg2,arg3);
23565
23566 wxPyEndAllowThreads(__tstate);
23567 if (PyErr_Occurred()) SWIG_fail;
23568 }
23569 Py_INCREF(Py_None); resultobj = Py_None;
23570 return resultobj;
23571 fail:
23572 return NULL;
23573 }
23574
23575
23576 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23577 PyObject *resultobj;
23578 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23579 int arg2 ;
23580 bool result;
23581 PyObject * obj0 = 0 ;
23582 PyObject * obj1 = 0 ;
23583 char *kwnames[] = {
23584 (char *) "self",(char *) "pageNum", NULL
23585 };
23586
23587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23590 arg2 = (int) SWIG_AsInt(obj1);
23591 if (PyErr_Occurred()) SWIG_fail;
23592 {
23593 PyThreadState* __tstate = wxPyBeginAllowThreads();
23594 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23595
23596 wxPyEndAllowThreads(__tstate);
23597 if (PyErr_Occurred()) SWIG_fail;
23598 }
23599 {
23600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23601 }
23602 return resultobj;
23603 fail:
23604 return NULL;
23605 }
23606
23607
23608 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23609 PyObject *resultobj;
23610 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23611 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23612 wxDC *arg3 = 0 ;
23613 bool result;
23614 PyObject * obj0 = 0 ;
23615 PyObject * obj1 = 0 ;
23616 PyObject * obj2 = 0 ;
23617 char *kwnames[] = {
23618 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23619 };
23620
23621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23626 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23627 SWIG_POINTER_EXCEPTION | 0)) == -1)
23628 SWIG_fail;
23629 if (arg3 == NULL) {
23630 PyErr_SetString(PyExc_TypeError,"null reference");
23631 SWIG_fail;
23632 }
23633 {
23634 PyThreadState* __tstate = wxPyBeginAllowThreads();
23635 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23636
23637 wxPyEndAllowThreads(__tstate);
23638 if (PyErr_Occurred()) SWIG_fail;
23639 }
23640 {
23641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23642 }
23643 return resultobj;
23644 fail:
23645 return NULL;
23646 }
23647
23648
23649 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23650 PyObject *resultobj;
23651 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23652 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23653 wxDC *arg3 = 0 ;
23654 bool result;
23655 PyObject * obj0 = 0 ;
23656 PyObject * obj1 = 0 ;
23657 PyObject * obj2 = 0 ;
23658 char *kwnames[] = {
23659 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23660 };
23661
23662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23665 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23667 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23668 SWIG_POINTER_EXCEPTION | 0)) == -1)
23669 SWIG_fail;
23670 if (arg3 == NULL) {
23671 PyErr_SetString(PyExc_TypeError,"null reference");
23672 SWIG_fail;
23673 }
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 {
23682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23683 }
23684 return resultobj;
23685 fail:
23686 return NULL;
23687 }
23688
23689
23690 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23691 PyObject *resultobj;
23692 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23693 int arg2 ;
23694 bool result;
23695 PyObject * obj0 = 0 ;
23696 PyObject * obj1 = 0 ;
23697 char *kwnames[] = {
23698 (char *) "self",(char *) "pageNum", NULL
23699 };
23700
23701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23704 arg2 = (int) SWIG_AsInt(obj1);
23705 if (PyErr_Occurred()) SWIG_fail;
23706 {
23707 PyThreadState* __tstate = wxPyBeginAllowThreads();
23708 result = (bool)(arg1)->base_RenderPage(arg2);
23709
23710 wxPyEndAllowThreads(__tstate);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
23713 {
23714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23715 }
23716 return resultobj;
23717 fail:
23718 return NULL;
23719 }
23720
23721
23722 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23723 PyObject *resultobj;
23724 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23725 int arg2 ;
23726 PyObject * obj0 = 0 ;
23727 PyObject * obj1 = 0 ;
23728 char *kwnames[] = {
23729 (char *) "self",(char *) "percent", NULL
23730 };
23731
23732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23735 arg2 = (int) SWIG_AsInt(obj1);
23736 if (PyErr_Occurred()) SWIG_fail;
23737 {
23738 PyThreadState* __tstate = wxPyBeginAllowThreads();
23739 (arg1)->base_SetZoom(arg2);
23740
23741 wxPyEndAllowThreads(__tstate);
23742 if (PyErr_Occurred()) SWIG_fail;
23743 }
23744 Py_INCREF(Py_None); resultobj = Py_None;
23745 return resultobj;
23746 fail:
23747 return NULL;
23748 }
23749
23750
23751 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23752 PyObject *resultobj;
23753 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23754 bool arg2 ;
23755 bool result;
23756 PyObject * obj0 = 0 ;
23757 PyObject * obj1 = 0 ;
23758 char *kwnames[] = {
23759 (char *) "self",(char *) "interactive", NULL
23760 };
23761
23762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
23763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23765 arg2 = (bool) SWIG_AsBool(obj1);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 {
23768 PyThreadState* __tstate = wxPyBeginAllowThreads();
23769 result = (bool)(arg1)->base_Print(arg2);
23770
23771 wxPyEndAllowThreads(__tstate);
23772 if (PyErr_Occurred()) SWIG_fail;
23773 }
23774 {
23775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23776 }
23777 return resultobj;
23778 fail:
23779 return NULL;
23780 }
23781
23782
23783 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23784 PyObject *resultobj;
23785 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23786 PyObject * obj0 = 0 ;
23787 char *kwnames[] = {
23788 (char *) "self", NULL
23789 };
23790
23791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
23792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23794 {
23795 PyThreadState* __tstate = wxPyBeginAllowThreads();
23796 (arg1)->base_DetermineScaling();
23797
23798 wxPyEndAllowThreads(__tstate);
23799 if (PyErr_Occurred()) SWIG_fail;
23800 }
23801 Py_INCREF(Py_None); resultobj = Py_None;
23802 return resultobj;
23803 fail:
23804 return NULL;
23805 }
23806
23807
23808 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
23809 PyObject *obj;
23810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23811 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
23812 Py_INCREF(obj);
23813 return Py_BuildValue((char *)"");
23814 }
23815 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23816 PyObject *resultobj;
23817 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23818 wxFrame *arg2 = (wxFrame *) 0 ;
23819 wxString *arg3 = 0 ;
23820 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23821 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23822 wxSize const &arg5_defvalue = wxDefaultSize ;
23823 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23824 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23825 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23826 wxString *arg7 = (wxString *) &arg7_defvalue ;
23827 wxPyPreviewFrame *result;
23828 bool temp3 = False ;
23829 wxPoint temp4 ;
23830 wxSize temp5 ;
23831 bool temp7 = False ;
23832 PyObject * obj0 = 0 ;
23833 PyObject * obj1 = 0 ;
23834 PyObject * obj2 = 0 ;
23835 PyObject * obj3 = 0 ;
23836 PyObject * obj4 = 0 ;
23837 PyObject * obj5 = 0 ;
23838 PyObject * obj6 = 0 ;
23839 char *kwnames[] = {
23840 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23841 };
23842
23843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23846 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23848 {
23849 arg3 = wxString_in_helper(obj2);
23850 if (arg3 == NULL) SWIG_fail;
23851 temp3 = True;
23852 }
23853 if (obj3) {
23854 {
23855 arg4 = &temp4;
23856 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23857 }
23858 }
23859 if (obj4) {
23860 {
23861 arg5 = &temp5;
23862 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23863 }
23864 }
23865 if (obj5) {
23866 arg6 = (long) SWIG_AsLong(obj5);
23867 if (PyErr_Occurred()) SWIG_fail;
23868 }
23869 if (obj6) {
23870 {
23871 arg7 = wxString_in_helper(obj6);
23872 if (arg7 == NULL) SWIG_fail;
23873 temp7 = True;
23874 }
23875 }
23876 {
23877 PyThreadState* __tstate = wxPyBeginAllowThreads();
23878 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23879
23880 wxPyEndAllowThreads(__tstate);
23881 if (PyErr_Occurred()) SWIG_fail;
23882 }
23883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
23884 {
23885 if (temp3)
23886 delete arg3;
23887 }
23888 {
23889 if (temp7)
23890 delete arg7;
23891 }
23892 return resultobj;
23893 fail:
23894 {
23895 if (temp3)
23896 delete arg3;
23897 }
23898 {
23899 if (temp7)
23900 delete arg7;
23901 }
23902 return NULL;
23903 }
23904
23905
23906 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23907 PyObject *resultobj;
23908 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23909 PyObject *arg2 = (PyObject *) 0 ;
23910 PyObject *arg3 = (PyObject *) 0 ;
23911 PyObject * obj0 = 0 ;
23912 PyObject * obj1 = 0 ;
23913 PyObject * obj2 = 0 ;
23914 char *kwnames[] = {
23915 (char *) "self",(char *) "self",(char *) "_class", NULL
23916 };
23917
23918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23921 arg2 = obj1;
23922 arg3 = obj2;
23923 {
23924 PyThreadState* __tstate = wxPyBeginAllowThreads();
23925 (arg1)->_setCallbackInfo(arg2,arg3);
23926
23927 wxPyEndAllowThreads(__tstate);
23928 if (PyErr_Occurred()) SWIG_fail;
23929 }
23930 Py_INCREF(Py_None); resultobj = Py_None;
23931 return resultobj;
23932 fail:
23933 return NULL;
23934 }
23935
23936
23937 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23938 PyObject *resultobj;
23939 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23940 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23941 PyObject * obj0 = 0 ;
23942 PyObject * obj1 = 0 ;
23943 char *kwnames[] = {
23944 (char *) "self",(char *) "canvas", NULL
23945 };
23946
23947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
23948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23950 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23952 {
23953 PyThreadState* __tstate = wxPyBeginAllowThreads();
23954 (arg1)->SetPreviewCanvas(arg2);
23955
23956 wxPyEndAllowThreads(__tstate);
23957 if (PyErr_Occurred()) SWIG_fail;
23958 }
23959 Py_INCREF(Py_None); resultobj = Py_None;
23960 return resultobj;
23961 fail:
23962 return NULL;
23963 }
23964
23965
23966 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23967 PyObject *resultobj;
23968 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23969 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
23970 PyObject * obj0 = 0 ;
23971 PyObject * obj1 = 0 ;
23972 char *kwnames[] = {
23973 (char *) "self",(char *) "bar", NULL
23974 };
23975
23976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
23977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
23980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23981 {
23982 PyThreadState* __tstate = wxPyBeginAllowThreads();
23983 (arg1)->SetControlBar(arg2);
23984
23985 wxPyEndAllowThreads(__tstate);
23986 if (PyErr_Occurred()) SWIG_fail;
23987 }
23988 Py_INCREF(Py_None); resultobj = Py_None;
23989 return resultobj;
23990 fail:
23991 return NULL;
23992 }
23993
23994
23995 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
23996 PyObject *resultobj;
23997 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23998 PyObject * obj0 = 0 ;
23999 char *kwnames[] = {
24000 (char *) "self", NULL
24001 };
24002
24003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24006 {
24007 PyThreadState* __tstate = wxPyBeginAllowThreads();
24008 (arg1)->base_Initialize();
24009
24010 wxPyEndAllowThreads(__tstate);
24011 if (PyErr_Occurred()) SWIG_fail;
24012 }
24013 Py_INCREF(Py_None); resultobj = Py_None;
24014 return resultobj;
24015 fail:
24016 return NULL;
24017 }
24018
24019
24020 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24021 PyObject *resultobj;
24022 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24023 PyObject * obj0 = 0 ;
24024 char *kwnames[] = {
24025 (char *) "self", NULL
24026 };
24027
24028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24031 {
24032 PyThreadState* __tstate = wxPyBeginAllowThreads();
24033 (arg1)->base_CreateCanvas();
24034
24035 wxPyEndAllowThreads(__tstate);
24036 if (PyErr_Occurred()) SWIG_fail;
24037 }
24038 Py_INCREF(Py_None); resultobj = Py_None;
24039 return resultobj;
24040 fail:
24041 return NULL;
24042 }
24043
24044
24045 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24046 PyObject *resultobj;
24047 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24048 PyObject * obj0 = 0 ;
24049 char *kwnames[] = {
24050 (char *) "self", NULL
24051 };
24052
24053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24056 {
24057 PyThreadState* __tstate = wxPyBeginAllowThreads();
24058 (arg1)->base_CreateControlBar();
24059
24060 wxPyEndAllowThreads(__tstate);
24061 if (PyErr_Occurred()) SWIG_fail;
24062 }
24063 Py_INCREF(Py_None); resultobj = Py_None;
24064 return resultobj;
24065 fail:
24066 return NULL;
24067 }
24068
24069
24070 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24071 PyObject *obj;
24072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24073 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24074 Py_INCREF(obj);
24075 return Py_BuildValue((char *)"");
24076 }
24077 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24078 PyObject *resultobj;
24079 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24080 long arg2 ;
24081 wxWindow *arg3 = (wxWindow *) 0 ;
24082 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24083 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24084 wxSize const &arg5_defvalue = wxDefaultSize ;
24085 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24086 long arg6 = (long) 0 ;
24087 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24088 wxString *arg7 = (wxString *) &arg7_defvalue ;
24089 wxPyPreviewControlBar *result;
24090 wxPoint temp4 ;
24091 wxSize temp5 ;
24092 bool temp7 = False ;
24093 PyObject * obj0 = 0 ;
24094 PyObject * obj1 = 0 ;
24095 PyObject * obj2 = 0 ;
24096 PyObject * obj3 = 0 ;
24097 PyObject * obj4 = 0 ;
24098 PyObject * obj5 = 0 ;
24099 PyObject * obj6 = 0 ;
24100 char *kwnames[] = {
24101 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24102 };
24103
24104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24107 arg2 = (long) SWIG_AsLong(obj1);
24108 if (PyErr_Occurred()) SWIG_fail;
24109 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24111 if (obj3) {
24112 {
24113 arg4 = &temp4;
24114 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24115 }
24116 }
24117 if (obj4) {
24118 {
24119 arg5 = &temp5;
24120 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24121 }
24122 }
24123 if (obj5) {
24124 arg6 = (long) SWIG_AsLong(obj5);
24125 if (PyErr_Occurred()) SWIG_fail;
24126 }
24127 if (obj6) {
24128 {
24129 arg7 = wxString_in_helper(obj6);
24130 if (arg7 == NULL) SWIG_fail;
24131 temp7 = True;
24132 }
24133 }
24134 {
24135 PyThreadState* __tstate = wxPyBeginAllowThreads();
24136 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24137
24138 wxPyEndAllowThreads(__tstate);
24139 if (PyErr_Occurred()) SWIG_fail;
24140 }
24141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24142 {
24143 if (temp7)
24144 delete arg7;
24145 }
24146 return resultobj;
24147 fail:
24148 {
24149 if (temp7)
24150 delete arg7;
24151 }
24152 return NULL;
24153 }
24154
24155
24156 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24157 PyObject *resultobj;
24158 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24159 PyObject *arg2 = (PyObject *) 0 ;
24160 PyObject *arg3 = (PyObject *) 0 ;
24161 PyObject * obj0 = 0 ;
24162 PyObject * obj1 = 0 ;
24163 PyObject * obj2 = 0 ;
24164 char *kwnames[] = {
24165 (char *) "self",(char *) "self",(char *) "_class", NULL
24166 };
24167
24168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24171 arg2 = obj1;
24172 arg3 = obj2;
24173 {
24174 PyThreadState* __tstate = wxPyBeginAllowThreads();
24175 (arg1)->_setCallbackInfo(arg2,arg3);
24176
24177 wxPyEndAllowThreads(__tstate);
24178 if (PyErr_Occurred()) SWIG_fail;
24179 }
24180 Py_INCREF(Py_None); resultobj = Py_None;
24181 return resultobj;
24182 fail:
24183 return NULL;
24184 }
24185
24186
24187 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24188 PyObject *resultobj;
24189 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24190 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24191 PyObject * obj0 = 0 ;
24192 PyObject * obj1 = 0 ;
24193 char *kwnames[] = {
24194 (char *) "self",(char *) "preview", NULL
24195 };
24196
24197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24200 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24202 {
24203 PyThreadState* __tstate = wxPyBeginAllowThreads();
24204 (arg1)->SetPrintPreview(arg2);
24205
24206 wxPyEndAllowThreads(__tstate);
24207 if (PyErr_Occurred()) SWIG_fail;
24208 }
24209 Py_INCREF(Py_None); resultobj = Py_None;
24210 return resultobj;
24211 fail:
24212 return NULL;
24213 }
24214
24215
24216 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24217 PyObject *resultobj;
24218 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24219 PyObject * obj0 = 0 ;
24220 char *kwnames[] = {
24221 (char *) "self", NULL
24222 };
24223
24224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24227 {
24228 PyThreadState* __tstate = wxPyBeginAllowThreads();
24229 (arg1)->base_CreateButtons();
24230
24231 wxPyEndAllowThreads(__tstate);
24232 if (PyErr_Occurred()) SWIG_fail;
24233 }
24234 Py_INCREF(Py_None); resultobj = Py_None;
24235 return resultobj;
24236 fail:
24237 return NULL;
24238 }
24239
24240
24241 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24242 PyObject *resultobj;
24243 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24244 int arg2 ;
24245 PyObject * obj0 = 0 ;
24246 PyObject * obj1 = 0 ;
24247 char *kwnames[] = {
24248 (char *) "self",(char *) "zoom", NULL
24249 };
24250
24251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24254 arg2 = (int) SWIG_AsInt(obj1);
24255 if (PyErr_Occurred()) SWIG_fail;
24256 {
24257 PyThreadState* __tstate = wxPyBeginAllowThreads();
24258 (arg1)->base_SetZoomControl(arg2);
24259
24260 wxPyEndAllowThreads(__tstate);
24261 if (PyErr_Occurred()) SWIG_fail;
24262 }
24263 Py_INCREF(Py_None); resultobj = Py_None;
24264 return resultobj;
24265 fail:
24266 return NULL;
24267 }
24268
24269
24270 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24271 PyObject *obj;
24272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24273 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24274 Py_INCREF(obj);
24275 return Py_BuildValue((char *)"");
24276 }
24277 static PyMethodDef SwigMethods[] = {
24278 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24279 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24280 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24281 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24282 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24283 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24284 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24285 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24286 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24287 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24288 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24289 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24290 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24291 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24292 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24293 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24294 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24295 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24296 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24297 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24298 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24299 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24300 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24301 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24302 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24303 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24304 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24305 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24306 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24307 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24308 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24309 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24310 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24311 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24312 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24313 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24314 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24315 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24316 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24317 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24318 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24319 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24320 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24321 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24322 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24323 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24324 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24325 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24326 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24327 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24328 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24329 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24330 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24331 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24332 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24333 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24334 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24335 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24336 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24337 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24338 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24339 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24340 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24341 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24342 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24343 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24344 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24345 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24346 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24347 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24348 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24349 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24350 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24351 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
24352 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24353 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24354 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24355 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24356 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24357 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24358 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24359 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24360 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24361 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24362 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24363 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24364 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24365 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24366 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24367 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24368 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24369 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24370 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24371 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24372 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24373 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24374 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24375 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24376 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24377 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24378 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24379 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24380 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24381 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24382 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24383 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24384 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24385 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24386 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24387 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24388 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24389 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24390 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24391 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24392 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24393 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24394 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24395 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24396 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24397 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24398 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24399 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24400 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24401 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24402 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24403 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24404 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24405 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24406 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24407 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24408 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24409 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24410 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24411 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24412 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24413 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24414 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24415 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24416 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24417 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24418 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24419 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24420 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24421 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24422 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24423 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24424 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24425 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24426 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24428 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24429 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24431 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24432 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24433 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24434 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24436 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24437 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24438 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24439 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24440 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24441 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24442 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24443 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24444 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24445 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24446 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24447 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24448 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24449 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24452 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24453 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24454 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24456 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24458 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24462 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24464 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24465 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24466 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24467 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24468 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24469 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24470 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24471 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24472 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24473 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24474 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24475 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24479 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24480 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24484 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24486 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24490 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24494 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24502 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24512 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24516 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24522 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24529 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24532 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24538 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24545 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24554 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24556 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24565 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24568 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24575 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24593 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24597 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
24602 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
24606 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
24622 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
24625 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
24627 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
24631 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
24640 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
24649 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
24655 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
24667 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
24674 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
24678 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
24702 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
24726 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
24750 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
24796 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
24828 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
24832 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
24833 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
24866 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
24871 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
24882 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
24905 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
24907 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
24913 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
24923 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
24924 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
24947 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
24948 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
24957 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
24965 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
24971 { NULL, NULL }
24972 };
24973
24974
24975 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24976
24977 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
24978 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24979 }
24980 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
24981 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
24982 }
24983 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
24984 return (void *)((wxEvent *) ((wxMenuEvent *) x));
24985 }
24986 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
24987 return (void *)((wxEvent *) ((wxCloseEvent *) x));
24988 }
24989 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
24990 return (void *)((wxEvent *) ((wxMouseEvent *) x));
24991 }
24992 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
24993 return (void *)((wxEvent *) ((wxEraseEvent *) x));
24994 }
24995 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
24996 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
24997 }
24998 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
24999 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25000 }
25001 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25002 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25003 }
25004 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25005 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25006 }
25007 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25008 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25009 }
25010 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25011 return (void *)((wxEvent *) ((wxPyEvent *) x));
25012 }
25013 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25014 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25015 }
25016 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25017 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25018 }
25019 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25020 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25021 }
25022 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25023 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25024 }
25025 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25026 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25027 }
25028 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25029 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25030 }
25031 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25032 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25033 }
25034 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25035 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25036 }
25037 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25038 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25039 }
25040 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25041 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25042 }
25043 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25044 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25045 }
25046 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25047 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25048 }
25049 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25050 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25051 }
25052 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25053 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25054 }
25055 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25056 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25057 }
25058 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25059 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25060 }
25061 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25062 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25063 }
25064 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25065 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25066 }
25067 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25068 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25069 }
25070 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25071 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25072 }
25073 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25074 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25075 }
25076 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25077 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25078 }
25079 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25080 return (void *)((wxEvent *) ((wxShowEvent *) x));
25081 }
25082 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25083 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25084 }
25085 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25086 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25087 }
25088 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25089 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25090 }
25091 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25092 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25093 }
25094 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25095 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25096 }
25097 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25098 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25099 }
25100 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25101 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25102 }
25103 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25104 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25105 }
25106 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25107 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25108 }
25109 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25110 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25111 }
25112 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25113 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25114 }
25115 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25116 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25117 }
25118 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25119 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25120 }
25121 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25122 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25123 }
25124 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25125 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25126 }
25127 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25128 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25129 }
25130 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25131 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25132 }
25133 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25134 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25135 }
25136 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25137 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25138 }
25139 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25140 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25141 }
25142 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25143 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25144 }
25145 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25146 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25147 }
25148 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25149 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25150 }
25151 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25152 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25153 }
25154 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25155 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25156 }
25157 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25158 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25159 }
25160 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25161 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25162 }
25163 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25164 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25165 }
25166 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25167 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25168 }
25169 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25170 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25171 }
25172 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25173 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25174 }
25175 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25176 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25177 }
25178 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25179 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25180 }
25181 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25182 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25183 }
25184 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25185 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25186 }
25187 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25188 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25189 }
25190 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25191 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25192 }
25193 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25194 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25195 }
25196 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25197 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25198 }
25199 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25200 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25201 }
25202 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25203 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25204 }
25205 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25206 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25207 }
25208 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25209 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25210 }
25211 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25212 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25213 }
25214 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25215 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25216 }
25217 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25218 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25219 }
25220 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25221 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25222 }
25223 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25224 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25225 }
25226 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25227 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25228 }
25229 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25230 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25231 }
25232 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25233 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25234 }
25235 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25236 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25237 }
25238 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25239 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25240 }
25241 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25242 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25243 }
25244 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25245 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25246 }
25247 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25248 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25249 }
25250 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25251 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25252 }
25253 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25254 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25255 }
25256 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25257 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25258 }
25259 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25260 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25261 }
25262 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25263 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25264 }
25265 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25266 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25267 }
25268 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25269 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25270 }
25271 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25272 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25273 }
25274 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25275 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25276 }
25277 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25278 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25279 }
25280 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25281 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25282 }
25283 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25284 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25285 }
25286 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25288 }
25289 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25291 }
25292 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25293 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25294 }
25295 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25296 return (void *)((wxObject *) ((wxSizerItem *) x));
25297 }
25298 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25299 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25300 }
25301 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25302 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25303 }
25304 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25305 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25306 }
25307 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25308 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25309 }
25310 static void *_p_wxSizerTo_p_wxObject(void *x) {
25311 return (void *)((wxObject *) ((wxSizer *) x));
25312 }
25313 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25314 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25315 }
25316 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25317 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25318 }
25319 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25321 }
25322 static void *_p_wxEventTo_p_wxObject(void *x) {
25323 return (void *)((wxObject *) ((wxEvent *) x));
25324 }
25325 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25326 return (void *)((wxObject *) ((wxFontData *) x));
25327 }
25328 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25329 return (void *)((wxObject *) ((wxPrintData *) x));
25330 }
25331 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25332 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25333 }
25334 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25335 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25336 }
25337 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25338 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25339 }
25340 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25341 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25342 }
25343 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25344 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25345 }
25346 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25347 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25348 }
25349 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25350 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25351 }
25352 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25353 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25354 }
25355 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25356 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25357 }
25358 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25359 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25360 }
25361 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25362 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25363 }
25364 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25365 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25366 }
25367 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25369 }
25370 static void *_p_wxControlTo_p_wxObject(void *x) {
25371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25372 }
25373 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25374 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25375 }
25376 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25377 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25378 }
25379 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25380 return (void *)((wxObject *) ((wxFSFile *) x));
25381 }
25382 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25383 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25384 }
25385 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25386 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25387 }
25388 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25390 }
25391 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25392 return (void *)((wxObject *) ((wxColourData *) x));
25393 }
25394 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25395 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25396 }
25397 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25398 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25399 }
25400 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25401 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25402 }
25403 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25405 }
25406 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25407 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25408 }
25409 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25411 }
25412 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25413 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25414 }
25415 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25416 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25417 }
25418 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25419 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25420 }
25421 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25422 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25423 }
25424 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25426 }
25427 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25428 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25429 }
25430 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25431 return (void *)((wxObject *) ((wxPrinter *) x));
25432 }
25433 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25434 return (void *)((wxObject *) ((wxMenuItem *) x));
25435 }
25436 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25437 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25438 }
25439 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25440 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25441 }
25442 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25443 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25444 }
25445 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25446 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25447 }
25448 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25449 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25450 }
25451 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25452 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25453 }
25454 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25455 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25456 }
25457 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25458 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25459 }
25460 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25461 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25462 }
25463 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25464 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25465 }
25466 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25467 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25468 }
25469 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25470 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25471 }
25472 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25473 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25474 }
25475 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25476 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25477 }
25478 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25479 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25480 }
25481 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25482 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25483 }
25484 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25485 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25486 }
25487 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25488 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25489 }
25490 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25491 return (void *)((wxObject *) ((wxImageHandler *) x));
25492 }
25493 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25494 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25495 }
25496 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25497 return (void *)((wxObject *) ((wxEvtHandler *) x));
25498 }
25499 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25500 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25501 }
25502 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25503 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25504 }
25505 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25507 }
25508 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25509 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25510 }
25511 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25513 }
25514 static void *_p_wxImageTo_p_wxObject(void *x) {
25515 return (void *)((wxObject *) ((wxImage *) x));
25516 }
25517 static void *_p_wxFrameTo_p_wxObject(void *x) {
25518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25519 }
25520 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25521 return (void *)((wxObject *) ((wxPyPrintout *) x));
25522 }
25523 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25524 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25525 }
25526 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25527 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25528 }
25529 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25531 }
25532 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25533 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25534 }
25535 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25536 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25537 }
25538 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25539 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25540 }
25541 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25542 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25543 }
25544 static void *_p_wxWindowTo_p_wxObject(void *x) {
25545 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25546 }
25547 static void *_p_wxMenuTo_p_wxObject(void *x) {
25548 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25549 }
25550 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25551 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25552 }
25553 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25554 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25555 }
25556 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25558 }
25559 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25561 }
25562 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25563 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25564 }
25565 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25567 }
25568 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25570 }
25571 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25573 }
25574 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25576 }
25577 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25579 }
25580 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25581 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25582 }
25583 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25584 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25585 }
25586 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25588 }
25589 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25590 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25591 }
25592 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25593 return (void *)((wxObject *) ((wxPrintPreview *) x));
25594 }
25595 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25596 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25597 }
25598 static void *_p_wxPanelTo_p_wxObject(void *x) {
25599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25600 }
25601 static void *_p_wxDialogTo_p_wxObject(void *x) {
25602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25603 }
25604 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25606 }
25607 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25609 }
25610 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25612 }
25613 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25615 }
25616 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25618 }
25619 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25620 return (void *)((wxObject *) ((wxFileSystem *) x));
25621 }
25622 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25623 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25624 }
25625 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25626 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25627 }
25628 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25629 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25630 }
25631 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25632 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25633 }
25634 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25635 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25636 }
25637 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25638 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25639 }
25640 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25641 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25642 }
25643 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25644 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25645 }
25646 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25648 }
25649 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25650 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25651 }
25652 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25653 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25654 }
25655 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25656 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25657 }
25658 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25659 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25660 }
25661 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25663 }
25664 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25665 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25666 }
25667 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25668 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25669 }
25670 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25671 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25672 }
25673 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25674 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25675 }
25676 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25677 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25678 }
25679 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25680 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25681 }
25682 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
25683 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25684 }
25685 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25686 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25687 }
25688 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
25689 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25690 }
25691 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25692 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25693 }
25694 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25695 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25696 }
25697 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25698 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25699 }
25700 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25701 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25702 }
25703 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25704 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25705 }
25706 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25707 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25708 }
25709 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25710 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25711 }
25712 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25713 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25714 }
25715 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25716 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25717 }
25718 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25719 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25720 }
25721 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25722 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25723 }
25724 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25725 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25726 }
25727 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25728 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25729 }
25730 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25731 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25732 }
25733 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25734 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25735 }
25736 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25737 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25738 }
25739 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25740 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25741 }
25742 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25743 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25744 }
25745 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25746 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25747 }
25748 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25749 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25750 }
25751 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25752 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25753 }
25754 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25755 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25756 }
25757 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25758 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25759 }
25760 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25761 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25762 }
25763 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25764 return (void *)((wxWindow *) ((wxMenuBar *) x));
25765 }
25766 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25767 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25768 }
25769 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25770 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25771 }
25772 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25773 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25774 }
25775 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25776 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25777 }
25778 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25779 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25780 }
25781 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25782 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25783 }
25784 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25785 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25786 }
25787 static void *_p_wxPanelTo_p_wxWindow(void *x) {
25788 return (void *)((wxWindow *) ((wxPanel *) x));
25789 }
25790 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25791 return (void *)((wxWindow *) ((wxStatusBar *) x));
25792 }
25793 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25794 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25795 }
25796 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25797 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
25798 }
25799 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
25800 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25801 }
25802 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
25803 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25804 }
25805 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
25806 return (void *)((wxWindow *) ((wxPopupWindow *) x));
25807 }
25808 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
25809 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
25810 }
25811 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
25812 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
25813 }
25814 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
25815 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
25816 }
25817 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
25818 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
25819 }
25820 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
25821 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
25822 }
25823 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
25824 return (void *)((wxWindow *) ((wxSashWindow *) x));
25825 }
25826 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
25827 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25828 }
25829 static void *_p_wxControlTo_p_wxWindow(void *x) {
25830 return (void *)((wxWindow *) ((wxControl *) x));
25831 }
25832 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
25833 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25834 }
25835 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
25836 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25837 }
25838 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
25839 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25840 }
25841 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25842 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25843 }
25844 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
25845 return (void *)((wxWindow *) ((wxPyWindow *) x));
25846 }
25847 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
25848 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25849 }
25850 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
25851 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25852 }
25853 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
25854 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25855 }
25856 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
25857 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
25858 }
25859 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
25860 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25861 }
25862 static void *_p_wxFrameTo_p_wxWindow(void *x) {
25863 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
25864 }
25865 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
25866 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25867 }
25868 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
25869 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25870 }
25871 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
25872 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25873 }
25874 static void *_p_wxDialogTo_p_wxWindow(void *x) {
25875 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
25876 }
25877 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
25878 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25879 }
25880 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
25881 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25882 }
25883 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
25884 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25885 }
25886 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
25887 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25888 }
25889 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
25890 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
25891 }
25892 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
25893 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
25894 }
25895 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
25896 return (void *)((wxDialog *) ((wxColourDialog *) x));
25897 }
25898 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
25899 return (void *)((wxDialog *) ((wxDirDialog *) x));
25900 }
25901 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
25902 return (void *)((wxDialog *) ((wxFontDialog *) x));
25903 }
25904 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
25905 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
25906 }
25907 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
25908 return (void *)((wxDialog *) ((wxPrintDialog *) x));
25909 }
25910 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
25911 return (void *)((wxDialog *) ((wxFileDialog *) x));
25912 }
25913 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
25914 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
25915 }
25916 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
25917 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
25918 }
25919 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
25920 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
25921 }
25922 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
25923 return (void *)((wxDialog *) ((wxMessageDialog *) x));
25924 }
25925 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
25926 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
25927 }
25928 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
25929 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
25930 }
25931 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
25932 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
25933 }
25934 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
25935 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25936 }
25937 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
25938 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25939 }
25940 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
25941 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25942 }
25943 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
25944 return (void *)((wxPanel *) ((wxPyPanel *) x));
25945 }
25946 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
25947 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
25948 }
25949 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
25950 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
25951 }
25952 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
25953 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25954 }
25955 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
25956 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
25957 }
25958 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
25959 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
25960 }
25961 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
25962 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
25963 }
25964 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
25965 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
25966 }
25967 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
25968 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
25969 }
25970 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
25971 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25972 }
25973 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
25974 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
25975 }
25976 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
25977 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
25978 }
25979 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
25980 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
25981 }
25982 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
25983 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
25984 }
25985 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
25986 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
25987 }
25988 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
25989 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25990 }
25991 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}};
25992 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}};
25993 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}};
25994 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}};
25995 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}};
25996 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}};
25997 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}};
25998 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}};
25999 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}};
26000 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}};
26001 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}};
26002 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}};
26003 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}};
26004 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}};
26005 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}};
26006 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}};
26007 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}};
26008 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}};
26009 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}};
26010 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}};
26011 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}};
26012 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}};
26013 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}};
26014 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}};
26015 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}};
26016 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}};
26017 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}};
26018 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}};
26019 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}};
26020 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}};
26021 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}};
26022 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}};
26023 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}};
26024 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}};
26025 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}};
26026 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}};
26027 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}};
26028 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}};
26029 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}};
26030 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}};
26031 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}};
26032 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}};
26033 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}};
26034 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}};
26035 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}};
26036 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}};
26037 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}};
26038 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}};
26039 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}};
26040 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}};
26041 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}};
26042 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26043 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}};
26044 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}};
26045 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}};
26046 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}};
26047 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}};
26048 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}};
26049 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}};
26050 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}};
26051 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}};
26052 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}};
26053 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}};
26054 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}};
26055 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}};
26056 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}};
26057 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}};
26058 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}};
26059 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}};
26060 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}};
26061 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}};
26062 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}};
26063 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}};
26064 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}};
26065 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}};
26066 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}};
26067 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}};
26068 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}};
26069 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}};
26070 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}};
26071 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}};
26072 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}};
26073 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}};
26074 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}};
26075 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}};
26076
26077 static swig_type_info *swig_types_initial[] = {
26078 _swigt__p_wxQueryLayoutInfoEvent,
26079 _swigt__p_wxPreviewFrame,
26080 _swigt__p_wxPyPreviewFrame,
26081 _swigt__p_wxPyPanel,
26082 _swigt__p_wxMenu,
26083 _swigt__p_wxPrintData,
26084 _swigt__p_wxFontData,
26085 _swigt__p_wxEvent,
26086 _swigt__p_wxTaskBarIcon,
26087 _swigt__p_wxIconBundle,
26088 _swigt__p_wxLayoutAlgorithm,
26089 _swigt__p_wxFindDialogEvent,
26090 _swigt__p_wxPreviewCanvas,
26091 _swigt__p_wxFont,
26092 _swigt__p_wxSplitterEvent,
26093 _swigt__p_wxRegion,
26094 _swigt__p_wxFindReplaceData,
26095 _swigt__p_int,
26096 _swigt__p_wxSize,
26097 _swigt__p_wxDC,
26098 _swigt__p_wxIcon,
26099 _swigt__p_wxMDIChildFrame,
26100 _swigt__p_wxColourData,
26101 _swigt__p_wxNotifyEvent,
26102 _swigt__p_wxPyWindow,
26103 _swigt__p_wxSplashScreen,
26104 _swigt__p_wxFindReplaceDialog,
26105 _swigt__p_wxProgressDialog,
26106 _swigt__p_wxMessageDialog,
26107 _swigt__p_wxTextEntryDialog,
26108 _swigt__p_wxSingleChoiceDialog,
26109 _swigt__p_wxMultiChoiceDialog,
26110 _swigt__p_wxFileDialog,
26111 _swigt__p_wxPrinter,
26112 _swigt__p_wxArrayInt,
26113 _swigt__p_wxEvtHandler,
26114 _swigt__p_wxCalculateLayoutEvent,
26115 _swigt__p_wxPyHtmlListBox,
26116 _swigt__p_wxPyVListBox,
26117 _swigt__p_wxRect,
26118 _swigt__p_char,
26119 _swigt__p_wxMiniFrame,
26120 _swigt__p_wxFrame,
26121 _swigt__p_wxPyPrintout,
26122 _swigt__p_wxTaskBarIconEvent,
26123 _swigt__p_wxScrollWinEvent,
26124 _swigt__p_wxStatusBar,
26125 _swigt__p_wxMDIParentFrame,
26126 _swigt__p_wxPoint,
26127 _swigt__p_wxObject,
26128 _swigt__p_wxOutputStream,
26129 _swigt__p_unsigned_long,
26130 _swigt__p_wxPyScrolledWindow,
26131 _swigt__p_wxMDIClientWindow,
26132 _swigt__p_wxTipWindow,
26133 _swigt__p_wxSashLayoutWindow,
26134 _swigt__p_wxSplitterWindow,
26135 _swigt__p_wxPyVScrolledWindow,
26136 _swigt__p_wxPyPopupTransientWindow,
26137 _swigt__p_wxPopupWindow,
26138 _swigt__p_wxSashWindow,
26139 _swigt__p_wxTopLevelWindow,
26140 _swigt__p_wxWindow,
26141 _swigt__p_wxScrolledWindow,
26142 _swigt__p_wxSplashScreenWindow,
26143 _swigt__p_wxMenuBar,
26144 _swigt__p_wxPrintPreview,
26145 _swigt__p_wxSashEvent,
26146 _swigt__p_wxString,
26147 _swigt__p_wxPyPrintPreview,
26148 _swigt__p_wxFontDialog,
26149 _swigt__p_wxDirDialog,
26150 _swigt__p_wxColourDialog,
26151 _swigt__p_wxDialog,
26152 _swigt__p_wxPanel,
26153 _swigt__p_wxPageSetupDialog,
26154 _swigt__p_wxPrintDialog,
26155 _swigt__p_wxBitmap,
26156 _swigt__p_wxCommandEvent,
26157 _swigt__p_wxPreviewControlBar,
26158 _swigt__p_wxPyPreviewControlBar,
26159 _swigt__p_wxColour,
26160 _swigt__p_wxToolBar,
26161 _swigt__p_wxPageSetupDialogData,
26162 _swigt__p_wxPrintDialogData,
26163 0
26164 };
26165
26166
26167 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26168
26169 static swig_const_info swig_const_table[] = {
26170 {0}};
26171
26172 #ifdef __cplusplus
26173 }
26174 #endif
26175
26176 #ifdef __cplusplus
26177 extern "C"
26178 #endif
26179 SWIGEXPORT(void) SWIG_init(void) {
26180 static PyObject *SWIG_globals = 0;
26181 static int typeinit = 0;
26182 PyObject *m, *d;
26183 int i;
26184 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26185 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26186 d = PyModule_GetDict(m);
26187
26188 if (!typeinit) {
26189 for (i = 0; swig_types_initial[i]; i++) {
26190 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26191 }
26192 typeinit = 1;
26193 }
26194 SWIG_InstallConstants(d,swig_const_table);
26195
26196 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26197 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26198 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26199 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26200 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26201 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26202 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26203 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26204 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26205 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26206 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26207 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26208 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26209 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26210 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26211 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26212 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26213 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26214 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26215 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26216 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26217 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26218 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26219 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26220 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26221 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26222 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26223 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26224 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26225 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26226 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26227 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26228 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26229 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26230 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26231 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26232 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26233 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26234 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26235 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26236 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26237 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26238 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26239 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26240 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26241 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26242 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26243 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26244 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26245 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26246 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26247 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26248 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26249 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26250 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26251 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26252 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26253 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26254 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26255 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26256 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26257 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26258 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26259 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26260 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26261 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26262 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26263 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26264 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26265 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26266 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26267 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26268 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26269 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26270 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26271 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26272 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26273 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26274 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26275 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26276 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26277 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26278 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26279 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26280 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26281 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26282 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26283 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26284 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26285
26286 // Map renamed classes back to their common name for OOR
26287 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26288 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26289 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26290
26291 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26292 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26293 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26294 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26295 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26296 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26297 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26298 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26299 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26300 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26301 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26302 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26303 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26304 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26305 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26306 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26307 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26308 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26309 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26310 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26311 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26312 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26313 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26314 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26315 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26316 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26317 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26318 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26319 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26320 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26321 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26322 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26323 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26324 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26325 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26326 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26327 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26328 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26329 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26330 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26331 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26332 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26333 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26334 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26335 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26336 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26337 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26338 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26339 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26340 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26341 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26342 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26343 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26344 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26345 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26346 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26347 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26348 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26349 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26350 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26351
26352 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26353
26354 }
26355