]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/windows_wrap.cpp
Remove some obsolete window styles, added a new sizer flag
[wxWidgets.git] / wxPython / src / msw / 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
520
521 return self->IsModalShowing();
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 *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2444 PyObject *resultobj;
2445 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2446 wxRect *arg2 = 0 ;
2447 wxRect temp2 ;
2448 PyObject * obj0 = 0 ;
2449 PyObject * obj1 = 0 ;
2450 char *kwnames[] = {
2451 (char *) "self",(char *) "rect", NULL
2452 };
2453
2454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2457 {
2458 arg2 = &temp2;
2459 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2460 }
2461 {
2462 PyThreadState* __tstate = wxPyBeginAllowThreads();
2463 (arg1)->SetTargetRect((wxRect const &)*arg2);
2464
2465 wxPyEndAllowThreads(__tstate);
2466 if (PyErr_Occurred()) SWIG_fail;
2467 }
2468 Py_INCREF(Py_None); resultobj = Py_None;
2469 return resultobj;
2470 fail:
2471 return NULL;
2472 }
2473
2474
2475 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2476 PyObject *resultobj;
2477 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2478 wxRect result;
2479 PyObject * obj0 = 0 ;
2480 char *kwnames[] = {
2481 (char *) "self", NULL
2482 };
2483
2484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2487 {
2488 PyThreadState* __tstate = wxPyBeginAllowThreads();
2489 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2490
2491 wxPyEndAllowThreads(__tstate);
2492 if (PyErr_Occurred()) SWIG_fail;
2493 }
2494 {
2495 wxRect * resultptr;
2496 resultptr = new wxRect((wxRect &) result);
2497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2498 }
2499 return resultobj;
2500 fail:
2501 return NULL;
2502 }
2503
2504
2505 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2506 PyObject *obj;
2507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2508 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2509 Py_INCREF(obj);
2510 return Py_BuildValue((char *)"");
2511 }
2512 static int _wrap_FrameNameStr_set(PyObject *_val) {
2513 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2514 return 1;
2515 }
2516
2517
2518 static PyObject *_wrap_FrameNameStr_get() {
2519 PyObject *pyobj;
2520
2521 {
2522 #if wxUSE_UNICODE
2523 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2524 #else
2525 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2526 #endif
2527 }
2528 return pyobj;
2529 }
2530
2531
2532 static int _wrap_DialogNameStr_set(PyObject *_val) {
2533 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2534 return 1;
2535 }
2536
2537
2538 static PyObject *_wrap_DialogNameStr_get() {
2539 PyObject *pyobj;
2540
2541 {
2542 #if wxUSE_UNICODE
2543 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2544 #else
2545 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2546 #endif
2547 }
2548 return pyobj;
2549 }
2550
2551
2552 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2553 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2554 return 1;
2555 }
2556
2557
2558 static PyObject *_wrap_StatusLineNameStr_get() {
2559 PyObject *pyobj;
2560
2561 {
2562 #if wxUSE_UNICODE
2563 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2564 #else
2565 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2566 #endif
2567 }
2568 return pyobj;
2569 }
2570
2571
2572 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2573 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2574 return 1;
2575 }
2576
2577
2578 static PyObject *_wrap_ToolBarNameStr_get() {
2579 PyObject *pyobj;
2580
2581 {
2582 #if wxUSE_UNICODE
2583 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2584 #else
2585 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2586 #endif
2587 }
2588 return pyobj;
2589 }
2590
2591
2592 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2593 PyObject *resultobj;
2594 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2595 bool arg2 = (bool) True ;
2596 PyObject * obj0 = 0 ;
2597 PyObject * obj1 = 0 ;
2598 char *kwnames[] = {
2599 (char *) "self",(char *) "maximize", NULL
2600 };
2601
2602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2605 if (obj1) {
2606 arg2 = (bool) SWIG_AsBool(obj1);
2607 if (PyErr_Occurred()) SWIG_fail;
2608 }
2609 {
2610 PyThreadState* __tstate = wxPyBeginAllowThreads();
2611 (arg1)->Maximize(arg2);
2612
2613 wxPyEndAllowThreads(__tstate);
2614 if (PyErr_Occurred()) SWIG_fail;
2615 }
2616 Py_INCREF(Py_None); resultobj = Py_None;
2617 return resultobj;
2618 fail:
2619 return NULL;
2620 }
2621
2622
2623 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2624 PyObject *resultobj;
2625 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2626 PyObject * obj0 = 0 ;
2627 char *kwnames[] = {
2628 (char *) "self", NULL
2629 };
2630
2631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2634 {
2635 PyThreadState* __tstate = wxPyBeginAllowThreads();
2636 (arg1)->Restore();
2637
2638 wxPyEndAllowThreads(__tstate);
2639 if (PyErr_Occurred()) SWIG_fail;
2640 }
2641 Py_INCREF(Py_None); resultobj = Py_None;
2642 return resultobj;
2643 fail:
2644 return NULL;
2645 }
2646
2647
2648 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2649 PyObject *resultobj;
2650 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2651 bool arg2 = (bool) True ;
2652 PyObject * obj0 = 0 ;
2653 PyObject * obj1 = 0 ;
2654 char *kwnames[] = {
2655 (char *) "self",(char *) "iconize", NULL
2656 };
2657
2658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2661 if (obj1) {
2662 arg2 = (bool) SWIG_AsBool(obj1);
2663 if (PyErr_Occurred()) SWIG_fail;
2664 }
2665 {
2666 PyThreadState* __tstate = wxPyBeginAllowThreads();
2667 (arg1)->Iconize(arg2);
2668
2669 wxPyEndAllowThreads(__tstate);
2670 if (PyErr_Occurred()) SWIG_fail;
2671 }
2672 Py_INCREF(Py_None); resultobj = Py_None;
2673 return resultobj;
2674 fail:
2675 return NULL;
2676 }
2677
2678
2679 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2680 PyObject *resultobj;
2681 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2682 bool result;
2683 PyObject * obj0 = 0 ;
2684 char *kwnames[] = {
2685 (char *) "self", NULL
2686 };
2687
2688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2691 {
2692 PyThreadState* __tstate = wxPyBeginAllowThreads();
2693 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2694
2695 wxPyEndAllowThreads(__tstate);
2696 if (PyErr_Occurred()) SWIG_fail;
2697 }
2698 {
2699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2700 }
2701 return resultobj;
2702 fail:
2703 return NULL;
2704 }
2705
2706
2707 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2708 PyObject *resultobj;
2709 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2710 bool result;
2711 PyObject * obj0 = 0 ;
2712 char *kwnames[] = {
2713 (char *) "self", NULL
2714 };
2715
2716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2719 {
2720 PyThreadState* __tstate = wxPyBeginAllowThreads();
2721 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2722
2723 wxPyEndAllowThreads(__tstate);
2724 if (PyErr_Occurred()) SWIG_fail;
2725 }
2726 {
2727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2728 }
2729 return resultobj;
2730 fail:
2731 return NULL;
2732 }
2733
2734
2735 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2736 PyObject *resultobj;
2737 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2738 wxIcon result;
2739 PyObject * obj0 = 0 ;
2740 char *kwnames[] = {
2741 (char *) "self", NULL
2742 };
2743
2744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2747 {
2748 PyThreadState* __tstate = wxPyBeginAllowThreads();
2749 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2750
2751 wxPyEndAllowThreads(__tstate);
2752 if (PyErr_Occurred()) SWIG_fail;
2753 }
2754 {
2755 wxIcon * resultptr;
2756 resultptr = new wxIcon((wxIcon &) result);
2757 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2758 }
2759 return resultobj;
2760 fail:
2761 return NULL;
2762 }
2763
2764
2765 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2766 PyObject *resultobj;
2767 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2768 wxIcon *arg2 = 0 ;
2769 PyObject * obj0 = 0 ;
2770 PyObject * obj1 = 0 ;
2771 char *kwnames[] = {
2772 (char *) "self",(char *) "icon", NULL
2773 };
2774
2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2779 SWIG_POINTER_EXCEPTION | 0)) == -1)
2780 SWIG_fail;
2781 if (arg2 == NULL) {
2782 PyErr_SetString(PyExc_TypeError,"null reference");
2783 SWIG_fail;
2784 }
2785 {
2786 PyThreadState* __tstate = wxPyBeginAllowThreads();
2787 (arg1)->SetIcon((wxIcon const &)*arg2);
2788
2789 wxPyEndAllowThreads(__tstate);
2790 if (PyErr_Occurred()) SWIG_fail;
2791 }
2792 Py_INCREF(Py_None); resultobj = Py_None;
2793 return resultobj;
2794 fail:
2795 return NULL;
2796 }
2797
2798
2799 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2800 PyObject *resultobj;
2801 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2802 wxIconBundle *arg2 = 0 ;
2803 PyObject * obj0 = 0 ;
2804 PyObject * obj1 = 0 ;
2805 char *kwnames[] = {
2806 (char *) "self",(char *) "icons", NULL
2807 };
2808
2809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2812 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2813 SWIG_POINTER_EXCEPTION | 0)) == -1)
2814 SWIG_fail;
2815 if (arg2 == NULL) {
2816 PyErr_SetString(PyExc_TypeError,"null reference");
2817 SWIG_fail;
2818 }
2819 {
2820 PyThreadState* __tstate = wxPyBeginAllowThreads();
2821 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2822
2823 wxPyEndAllowThreads(__tstate);
2824 if (PyErr_Occurred()) SWIG_fail;
2825 }
2826 Py_INCREF(Py_None); resultobj = Py_None;
2827 return resultobj;
2828 fail:
2829 return NULL;
2830 }
2831
2832
2833 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2834 PyObject *resultobj;
2835 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2836 bool arg2 ;
2837 long arg3 = (long) wxFULLSCREEN_ALL ;
2838 bool result;
2839 PyObject * obj0 = 0 ;
2840 PyObject * obj1 = 0 ;
2841 PyObject * obj2 = 0 ;
2842 char *kwnames[] = {
2843 (char *) "self",(char *) "show",(char *) "style", NULL
2844 };
2845
2846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2849 arg2 = (bool) SWIG_AsBool(obj1);
2850 if (PyErr_Occurred()) SWIG_fail;
2851 if (obj2) {
2852 arg3 = (long) SWIG_AsLong(obj2);
2853 if (PyErr_Occurred()) SWIG_fail;
2854 }
2855 {
2856 PyThreadState* __tstate = wxPyBeginAllowThreads();
2857 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2858
2859 wxPyEndAllowThreads(__tstate);
2860 if (PyErr_Occurred()) SWIG_fail;
2861 }
2862 {
2863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2864 }
2865 return resultobj;
2866 fail:
2867 return NULL;
2868 }
2869
2870
2871 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2872 PyObject *resultobj;
2873 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2874 bool result;
2875 PyObject * obj0 = 0 ;
2876 char *kwnames[] = {
2877 (char *) "self", NULL
2878 };
2879
2880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2883 {
2884 PyThreadState* __tstate = wxPyBeginAllowThreads();
2885 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2886
2887 wxPyEndAllowThreads(__tstate);
2888 if (PyErr_Occurred()) SWIG_fail;
2889 }
2890 {
2891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2892 }
2893 return resultobj;
2894 fail:
2895 return NULL;
2896 }
2897
2898
2899 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2900 PyObject *resultobj;
2901 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2902 wxString *arg2 = 0 ;
2903 bool temp2 = False ;
2904 PyObject * obj0 = 0 ;
2905 PyObject * obj1 = 0 ;
2906 char *kwnames[] = {
2907 (char *) "self",(char *) "title", NULL
2908 };
2909
2910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2913 {
2914 arg2 = wxString_in_helper(obj1);
2915 if (arg2 == NULL) SWIG_fail;
2916 temp2 = True;
2917 }
2918 {
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 (arg1)->SetTitle((wxString const &)*arg2);
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 Py_INCREF(Py_None); resultobj = Py_None;
2926 {
2927 if (temp2)
2928 delete arg2;
2929 }
2930 return resultobj;
2931 fail:
2932 {
2933 if (temp2)
2934 delete arg2;
2935 }
2936 return NULL;
2937 }
2938
2939
2940 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2941 PyObject *resultobj;
2942 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2943 wxString result;
2944 PyObject * obj0 = 0 ;
2945 char *kwnames[] = {
2946 (char *) "self", NULL
2947 };
2948
2949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2952 {
2953 PyThreadState* __tstate = wxPyBeginAllowThreads();
2954 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2955
2956 wxPyEndAllowThreads(__tstate);
2957 if (PyErr_Occurred()) SWIG_fail;
2958 }
2959 {
2960 #if wxUSE_UNICODE
2961 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2962 #else
2963 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2964 #endif
2965 }
2966 return resultobj;
2967 fail:
2968 return NULL;
2969 }
2970
2971
2972 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2973 PyObject *resultobj;
2974 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2975 wxRegion *arg2 = 0 ;
2976 bool result;
2977 PyObject * obj0 = 0 ;
2978 PyObject * obj1 = 0 ;
2979 char *kwnames[] = {
2980 (char *) "self",(char *) "region", NULL
2981 };
2982
2983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2986 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2987 SWIG_POINTER_EXCEPTION | 0)) == -1)
2988 SWIG_fail;
2989 if (arg2 == NULL) {
2990 PyErr_SetString(PyExc_TypeError,"null reference");
2991 SWIG_fail;
2992 }
2993 {
2994 PyThreadState* __tstate = wxPyBeginAllowThreads();
2995 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2996
2997 wxPyEndAllowThreads(__tstate);
2998 if (PyErr_Occurred()) SWIG_fail;
2999 }
3000 {
3001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3002 }
3003 return resultobj;
3004 fail:
3005 return NULL;
3006 }
3007
3008
3009 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3010 PyObject *obj;
3011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3012 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3013 Py_INCREF(obj);
3014 return Py_BuildValue((char *)"");
3015 }
3016 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3017 PyObject *resultobj;
3018 wxWindow *arg1 = (wxWindow *) 0 ;
3019 int arg2 ;
3020 wxString *arg3 = 0 ;
3021 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3022 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3023 wxSize const &arg5_defvalue = wxDefaultSize ;
3024 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3025 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3026 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3027 wxString *arg7 = (wxString *) &arg7_defvalue ;
3028 wxFrame *result;
3029 bool temp3 = False ;
3030 wxPoint temp4 ;
3031 wxSize temp5 ;
3032 bool temp7 = False ;
3033 PyObject * obj0 = 0 ;
3034 PyObject * obj1 = 0 ;
3035 PyObject * obj2 = 0 ;
3036 PyObject * obj3 = 0 ;
3037 PyObject * obj4 = 0 ;
3038 PyObject * obj5 = 0 ;
3039 PyObject * obj6 = 0 ;
3040 char *kwnames[] = {
3041 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3042 };
3043
3044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3047 arg2 = (int const) SWIG_AsInt(obj1);
3048 if (PyErr_Occurred()) SWIG_fail;
3049 {
3050 arg3 = wxString_in_helper(obj2);
3051 if (arg3 == NULL) SWIG_fail;
3052 temp3 = True;
3053 }
3054 if (obj3) {
3055 {
3056 arg4 = &temp4;
3057 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3058 }
3059 }
3060 if (obj4) {
3061 {
3062 arg5 = &temp5;
3063 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3064 }
3065 }
3066 if (obj5) {
3067 arg6 = (long) SWIG_AsLong(obj5);
3068 if (PyErr_Occurred()) SWIG_fail;
3069 }
3070 if (obj6) {
3071 {
3072 arg7 = wxString_in_helper(obj6);
3073 if (arg7 == NULL) SWIG_fail;
3074 temp7 = True;
3075 }
3076 }
3077 {
3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
3079 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3080
3081 wxPyEndAllowThreads(__tstate);
3082 if (PyErr_Occurred()) SWIG_fail;
3083 }
3084 {
3085 resultobj = wxPyMake_wxObject(result);
3086 }
3087 {
3088 if (temp3)
3089 delete arg3;
3090 }
3091 {
3092 if (temp7)
3093 delete arg7;
3094 }
3095 return resultobj;
3096 fail:
3097 {
3098 if (temp3)
3099 delete arg3;
3100 }
3101 {
3102 if (temp7)
3103 delete arg7;
3104 }
3105 return NULL;
3106 }
3107
3108
3109 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3110 PyObject *resultobj;
3111 wxFrame *result;
3112 char *kwnames[] = {
3113 NULL
3114 };
3115
3116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3117 {
3118 PyThreadState* __tstate = wxPyBeginAllowThreads();
3119 result = (wxFrame *)new wxFrame();
3120
3121 wxPyEndAllowThreads(__tstate);
3122 if (PyErr_Occurred()) SWIG_fail;
3123 }
3124 {
3125 resultobj = wxPyMake_wxObject(result);
3126 }
3127 return resultobj;
3128 fail:
3129 return NULL;
3130 }
3131
3132
3133 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3134 PyObject *resultobj;
3135 wxFrame *arg1 = (wxFrame *) 0 ;
3136 wxWindow *arg2 = (wxWindow *) 0 ;
3137 int arg3 ;
3138 wxString *arg4 = 0 ;
3139 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3140 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3141 wxSize const &arg6_defvalue = wxDefaultSize ;
3142 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3143 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3144 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3145 wxString *arg8 = (wxString *) &arg8_defvalue ;
3146 bool result;
3147 bool temp4 = False ;
3148 wxPoint temp5 ;
3149 wxSize temp6 ;
3150 bool temp8 = False ;
3151 PyObject * obj0 = 0 ;
3152 PyObject * obj1 = 0 ;
3153 PyObject * obj2 = 0 ;
3154 PyObject * obj3 = 0 ;
3155 PyObject * obj4 = 0 ;
3156 PyObject * obj5 = 0 ;
3157 PyObject * obj6 = 0 ;
3158 PyObject * obj7 = 0 ;
3159 char *kwnames[] = {
3160 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3161 };
3162
3163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3166 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3168 arg3 = (int const) SWIG_AsInt(obj2);
3169 if (PyErr_Occurred()) SWIG_fail;
3170 {
3171 arg4 = wxString_in_helper(obj3);
3172 if (arg4 == NULL) SWIG_fail;
3173 temp4 = True;
3174 }
3175 if (obj4) {
3176 {
3177 arg5 = &temp5;
3178 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3179 }
3180 }
3181 if (obj5) {
3182 {
3183 arg6 = &temp6;
3184 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3185 }
3186 }
3187 if (obj6) {
3188 arg7 = (long) SWIG_AsLong(obj6);
3189 if (PyErr_Occurred()) SWIG_fail;
3190 }
3191 if (obj7) {
3192 {
3193 arg8 = wxString_in_helper(obj7);
3194 if (arg8 == NULL) SWIG_fail;
3195 temp8 = True;
3196 }
3197 }
3198 {
3199 PyThreadState* __tstate = wxPyBeginAllowThreads();
3200 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3201
3202 wxPyEndAllowThreads(__tstate);
3203 if (PyErr_Occurred()) SWIG_fail;
3204 }
3205 {
3206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3207 }
3208 {
3209 if (temp4)
3210 delete arg4;
3211 }
3212 {
3213 if (temp8)
3214 delete arg8;
3215 }
3216 return resultobj;
3217 fail:
3218 {
3219 if (temp4)
3220 delete arg4;
3221 }
3222 {
3223 if (temp8)
3224 delete arg8;
3225 }
3226 return NULL;
3227 }
3228
3229
3230 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3231 PyObject *resultobj;
3232 wxFrame *arg1 = (wxFrame *) 0 ;
3233 wxPoint result;
3234 PyObject * obj0 = 0 ;
3235 char *kwnames[] = {
3236 (char *) "self", NULL
3237 };
3238
3239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3242 {
3243 PyThreadState* __tstate = wxPyBeginAllowThreads();
3244 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3245
3246 wxPyEndAllowThreads(__tstate);
3247 if (PyErr_Occurred()) SWIG_fail;
3248 }
3249 {
3250 wxPoint * resultptr;
3251 resultptr = new wxPoint((wxPoint &) result);
3252 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3253 }
3254 return resultobj;
3255 fail:
3256 return NULL;
3257 }
3258
3259
3260 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3261 PyObject *resultobj;
3262 wxFrame *arg1 = (wxFrame *) 0 ;
3263 PyObject * obj0 = 0 ;
3264 char *kwnames[] = {
3265 (char *) "self", NULL
3266 };
3267
3268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3271 {
3272 PyThreadState* __tstate = wxPyBeginAllowThreads();
3273 (arg1)->SendSizeEvent();
3274
3275 wxPyEndAllowThreads(__tstate);
3276 if (PyErr_Occurred()) SWIG_fail;
3277 }
3278 Py_INCREF(Py_None); resultobj = Py_None;
3279 return resultobj;
3280 fail:
3281 return NULL;
3282 }
3283
3284
3285 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3286 PyObject *resultobj;
3287 wxFrame *arg1 = (wxFrame *) 0 ;
3288 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3289 PyObject * obj0 = 0 ;
3290 PyObject * obj1 = 0 ;
3291 char *kwnames[] = {
3292 (char *) "self",(char *) "menubar", NULL
3293 };
3294
3295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3298 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3300 {
3301 PyThreadState* __tstate = wxPyBeginAllowThreads();
3302 (arg1)->SetMenuBar(arg2);
3303
3304 wxPyEndAllowThreads(__tstate);
3305 if (PyErr_Occurred()) SWIG_fail;
3306 }
3307 Py_INCREF(Py_None); resultobj = Py_None;
3308 return resultobj;
3309 fail:
3310 return NULL;
3311 }
3312
3313
3314 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3315 PyObject *resultobj;
3316 wxFrame *arg1 = (wxFrame *) 0 ;
3317 wxMenuBar *result;
3318 PyObject * obj0 = 0 ;
3319 char *kwnames[] = {
3320 (char *) "self", NULL
3321 };
3322
3323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3326 {
3327 PyThreadState* __tstate = wxPyBeginAllowThreads();
3328 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3329
3330 wxPyEndAllowThreads(__tstate);
3331 if (PyErr_Occurred()) SWIG_fail;
3332 }
3333 {
3334 resultobj = wxPyMake_wxObject(result);
3335 }
3336 return resultobj;
3337 fail:
3338 return NULL;
3339 }
3340
3341
3342 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3343 PyObject *resultobj;
3344 wxFrame *arg1 = (wxFrame *) 0 ;
3345 int arg2 ;
3346 bool result;
3347 PyObject * obj0 = 0 ;
3348 PyObject * obj1 = 0 ;
3349 char *kwnames[] = {
3350 (char *) "self",(char *) "winid", NULL
3351 };
3352
3353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3356 arg2 = (int) SWIG_AsInt(obj1);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 {
3359 PyThreadState* __tstate = wxPyBeginAllowThreads();
3360 result = (bool)(arg1)->ProcessCommand(arg2);
3361
3362 wxPyEndAllowThreads(__tstate);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
3365 {
3366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3367 }
3368 return resultobj;
3369 fail:
3370 return NULL;
3371 }
3372
3373
3374 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3375 PyObject *resultobj;
3376 wxFrame *arg1 = (wxFrame *) 0 ;
3377 int arg2 = (int) 1 ;
3378 long arg3 = (long) wxST_SIZEGRIP ;
3379 int arg4 = (int) 0 ;
3380 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3381 wxString *arg5 = (wxString *) &arg5_defvalue ;
3382 wxStatusBar *result;
3383 bool temp5 = False ;
3384 PyObject * obj0 = 0 ;
3385 PyObject * obj1 = 0 ;
3386 PyObject * obj2 = 0 ;
3387 PyObject * obj3 = 0 ;
3388 PyObject * obj4 = 0 ;
3389 char *kwnames[] = {
3390 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3391 };
3392
3393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3396 if (obj1) {
3397 arg2 = (int) SWIG_AsInt(obj1);
3398 if (PyErr_Occurred()) SWIG_fail;
3399 }
3400 if (obj2) {
3401 arg3 = (long) SWIG_AsLong(obj2);
3402 if (PyErr_Occurred()) SWIG_fail;
3403 }
3404 if (obj3) {
3405 arg4 = (int) SWIG_AsInt(obj3);
3406 if (PyErr_Occurred()) SWIG_fail;
3407 }
3408 if (obj4) {
3409 {
3410 arg5 = wxString_in_helper(obj4);
3411 if (arg5 == NULL) SWIG_fail;
3412 temp5 = True;
3413 }
3414 }
3415 {
3416 PyThreadState* __tstate = wxPyBeginAllowThreads();
3417 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3418
3419 wxPyEndAllowThreads(__tstate);
3420 if (PyErr_Occurred()) SWIG_fail;
3421 }
3422 {
3423 resultobj = wxPyMake_wxObject(result);
3424 }
3425 {
3426 if (temp5)
3427 delete arg5;
3428 }
3429 return resultobj;
3430 fail:
3431 {
3432 if (temp5)
3433 delete arg5;
3434 }
3435 return NULL;
3436 }
3437
3438
3439 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3440 PyObject *resultobj;
3441 wxFrame *arg1 = (wxFrame *) 0 ;
3442 wxStatusBar *result;
3443 PyObject * obj0 = 0 ;
3444 char *kwnames[] = {
3445 (char *) "self", NULL
3446 };
3447
3448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3451 {
3452 PyThreadState* __tstate = wxPyBeginAllowThreads();
3453 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3454
3455 wxPyEndAllowThreads(__tstate);
3456 if (PyErr_Occurred()) SWIG_fail;
3457 }
3458 {
3459 resultobj = wxPyMake_wxObject(result);
3460 }
3461 return resultobj;
3462 fail:
3463 return NULL;
3464 }
3465
3466
3467 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3468 PyObject *resultobj;
3469 wxFrame *arg1 = (wxFrame *) 0 ;
3470 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3471 PyObject * obj0 = 0 ;
3472 PyObject * obj1 = 0 ;
3473 char *kwnames[] = {
3474 (char *) "self",(char *) "statBar", NULL
3475 };
3476
3477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3480 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3482 {
3483 PyThreadState* __tstate = wxPyBeginAllowThreads();
3484 (arg1)->SetStatusBar(arg2);
3485
3486 wxPyEndAllowThreads(__tstate);
3487 if (PyErr_Occurred()) SWIG_fail;
3488 }
3489 Py_INCREF(Py_None); resultobj = Py_None;
3490 return resultobj;
3491 fail:
3492 return NULL;
3493 }
3494
3495
3496 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3497 PyObject *resultobj;
3498 wxFrame *arg1 = (wxFrame *) 0 ;
3499 wxString *arg2 = 0 ;
3500 int arg3 = (int) 0 ;
3501 bool temp2 = False ;
3502 PyObject * obj0 = 0 ;
3503 PyObject * obj1 = 0 ;
3504 PyObject * obj2 = 0 ;
3505 char *kwnames[] = {
3506 (char *) "self",(char *) "text",(char *) "number", NULL
3507 };
3508
3509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3512 {
3513 arg2 = wxString_in_helper(obj1);
3514 if (arg2 == NULL) SWIG_fail;
3515 temp2 = True;
3516 }
3517 if (obj2) {
3518 arg3 = (int) SWIG_AsInt(obj2);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 }
3521 {
3522 PyThreadState* __tstate = wxPyBeginAllowThreads();
3523 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3524
3525 wxPyEndAllowThreads(__tstate);
3526 if (PyErr_Occurred()) SWIG_fail;
3527 }
3528 Py_INCREF(Py_None); resultobj = Py_None;
3529 {
3530 if (temp2)
3531 delete arg2;
3532 }
3533 return resultobj;
3534 fail:
3535 {
3536 if (temp2)
3537 delete arg2;
3538 }
3539 return NULL;
3540 }
3541
3542
3543 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3544 PyObject *resultobj;
3545 wxFrame *arg1 = (wxFrame *) 0 ;
3546 int arg2 ;
3547 int *arg3 = (int *) 0 ;
3548 PyObject * obj0 = 0 ;
3549 PyObject * obj1 = 0 ;
3550 char *kwnames[] = {
3551 (char *) "self",(char *) "widths", NULL
3552 };
3553
3554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3557 {
3558 arg2 = PyList_Size(obj1);
3559 arg3 = int_LIST_helper(obj1);
3560 if (arg3 == NULL) SWIG_fail;
3561 }
3562 {
3563 PyThreadState* __tstate = wxPyBeginAllowThreads();
3564 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3565
3566 wxPyEndAllowThreads(__tstate);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 Py_INCREF(Py_None); resultobj = Py_None;
3570 {
3571 if (arg3) delete [] arg3;
3572 }
3573 return resultobj;
3574 fail:
3575 {
3576 if (arg3) delete [] arg3;
3577 }
3578 return NULL;
3579 }
3580
3581
3582 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3583 PyObject *resultobj;
3584 wxFrame *arg1 = (wxFrame *) 0 ;
3585 wxString *arg2 = 0 ;
3586 int arg3 = (int) 0 ;
3587 bool temp2 = False ;
3588 PyObject * obj0 = 0 ;
3589 PyObject * obj1 = 0 ;
3590 PyObject * obj2 = 0 ;
3591 char *kwnames[] = {
3592 (char *) "self",(char *) "text",(char *) "number", NULL
3593 };
3594
3595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3598 {
3599 arg2 = wxString_in_helper(obj1);
3600 if (arg2 == NULL) SWIG_fail;
3601 temp2 = True;
3602 }
3603 if (obj2) {
3604 arg3 = (int) SWIG_AsInt(obj2);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 }
3607 {
3608 PyThreadState* __tstate = wxPyBeginAllowThreads();
3609 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3610
3611 wxPyEndAllowThreads(__tstate);
3612 if (PyErr_Occurred()) SWIG_fail;
3613 }
3614 Py_INCREF(Py_None); resultobj = Py_None;
3615 {
3616 if (temp2)
3617 delete arg2;
3618 }
3619 return resultobj;
3620 fail:
3621 {
3622 if (temp2)
3623 delete arg2;
3624 }
3625 return NULL;
3626 }
3627
3628
3629 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3630 PyObject *resultobj;
3631 wxFrame *arg1 = (wxFrame *) 0 ;
3632 int arg2 = (int) 0 ;
3633 PyObject * obj0 = 0 ;
3634 PyObject * obj1 = 0 ;
3635 char *kwnames[] = {
3636 (char *) "self",(char *) "number", NULL
3637 };
3638
3639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3642 if (obj1) {
3643 arg2 = (int) SWIG_AsInt(obj1);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 }
3646 {
3647 PyThreadState* __tstate = wxPyBeginAllowThreads();
3648 (arg1)->PopStatusText(arg2);
3649
3650 wxPyEndAllowThreads(__tstate);
3651 if (PyErr_Occurred()) SWIG_fail;
3652 }
3653 Py_INCREF(Py_None); resultobj = Py_None;
3654 return resultobj;
3655 fail:
3656 return NULL;
3657 }
3658
3659
3660 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3661 PyObject *resultobj;
3662 wxFrame *arg1 = (wxFrame *) 0 ;
3663 int arg2 ;
3664 PyObject * obj0 = 0 ;
3665 PyObject * obj1 = 0 ;
3666 char *kwnames[] = {
3667 (char *) "self",(char *) "n", NULL
3668 };
3669
3670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3673 arg2 = (int) SWIG_AsInt(obj1);
3674 if (PyErr_Occurred()) SWIG_fail;
3675 {
3676 PyThreadState* __tstate = wxPyBeginAllowThreads();
3677 (arg1)->SetStatusBarPane(arg2);
3678
3679 wxPyEndAllowThreads(__tstate);
3680 if (PyErr_Occurred()) SWIG_fail;
3681 }
3682 Py_INCREF(Py_None); resultobj = Py_None;
3683 return resultobj;
3684 fail:
3685 return NULL;
3686 }
3687
3688
3689 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3690 PyObject *resultobj;
3691 wxFrame *arg1 = (wxFrame *) 0 ;
3692 int result;
3693 PyObject * obj0 = 0 ;
3694 char *kwnames[] = {
3695 (char *) "self", NULL
3696 };
3697
3698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3701 {
3702 PyThreadState* __tstate = wxPyBeginAllowThreads();
3703 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3704
3705 wxPyEndAllowThreads(__tstate);
3706 if (PyErr_Occurred()) SWIG_fail;
3707 }
3708 resultobj = SWIG_FromInt((int)result);
3709 return resultobj;
3710 fail:
3711 return NULL;
3712 }
3713
3714
3715 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3716 PyObject *resultobj;
3717 wxFrame *arg1 = (wxFrame *) 0 ;
3718 long arg2 = (long) -1 ;
3719 int arg3 = (int) -1 ;
3720 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3721 wxString *arg4 = (wxString *) &arg4_defvalue ;
3722 wxToolBar *result;
3723 bool temp4 = False ;
3724 PyObject * obj0 = 0 ;
3725 PyObject * obj1 = 0 ;
3726 PyObject * obj2 = 0 ;
3727 PyObject * obj3 = 0 ;
3728 char *kwnames[] = {
3729 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3730 };
3731
3732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3735 if (obj1) {
3736 arg2 = (long) SWIG_AsLong(obj1);
3737 if (PyErr_Occurred()) SWIG_fail;
3738 }
3739 if (obj2) {
3740 arg3 = (int) SWIG_AsInt(obj2);
3741 if (PyErr_Occurred()) SWIG_fail;
3742 }
3743 if (obj3) {
3744 {
3745 arg4 = wxString_in_helper(obj3);
3746 if (arg4 == NULL) SWIG_fail;
3747 temp4 = True;
3748 }
3749 }
3750 {
3751 PyThreadState* __tstate = wxPyBeginAllowThreads();
3752 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3753
3754 wxPyEndAllowThreads(__tstate);
3755 if (PyErr_Occurred()) SWIG_fail;
3756 }
3757 {
3758 resultobj = wxPyMake_wxObject(result);
3759 }
3760 {
3761 if (temp4)
3762 delete arg4;
3763 }
3764 return resultobj;
3765 fail:
3766 {
3767 if (temp4)
3768 delete arg4;
3769 }
3770 return NULL;
3771 }
3772
3773
3774 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3775 PyObject *resultobj;
3776 wxFrame *arg1 = (wxFrame *) 0 ;
3777 wxToolBar *result;
3778 PyObject * obj0 = 0 ;
3779 char *kwnames[] = {
3780 (char *) "self", NULL
3781 };
3782
3783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3786 {
3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
3788 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3789
3790 wxPyEndAllowThreads(__tstate);
3791 if (PyErr_Occurred()) SWIG_fail;
3792 }
3793 {
3794 resultobj = wxPyMake_wxObject(result);
3795 }
3796 return resultobj;
3797 fail:
3798 return NULL;
3799 }
3800
3801
3802 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3803 PyObject *resultobj;
3804 wxFrame *arg1 = (wxFrame *) 0 ;
3805 wxToolBar *arg2 = (wxToolBar *) 0 ;
3806 PyObject * obj0 = 0 ;
3807 PyObject * obj1 = 0 ;
3808 char *kwnames[] = {
3809 (char *) "self",(char *) "toolbar", NULL
3810 };
3811
3812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3815 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3817 {
3818 PyThreadState* __tstate = wxPyBeginAllowThreads();
3819 (arg1)->SetToolBar(arg2);
3820
3821 wxPyEndAllowThreads(__tstate);
3822 if (PyErr_Occurred()) SWIG_fail;
3823 }
3824 Py_INCREF(Py_None); resultobj = Py_None;
3825 return resultobj;
3826 fail:
3827 return NULL;
3828 }
3829
3830
3831 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3832 PyObject *resultobj;
3833 wxFrame *arg1 = (wxFrame *) 0 ;
3834 wxString *arg2 = 0 ;
3835 bool arg3 ;
3836 bool temp2 = False ;
3837 PyObject * obj0 = 0 ;
3838 PyObject * obj1 = 0 ;
3839 PyObject * obj2 = 0 ;
3840 char *kwnames[] = {
3841 (char *) "self",(char *) "text",(char *) "show", NULL
3842 };
3843
3844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3847 {
3848 arg2 = wxString_in_helper(obj1);
3849 if (arg2 == NULL) SWIG_fail;
3850 temp2 = True;
3851 }
3852 arg3 = (bool) SWIG_AsBool(obj2);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 {
3855 PyThreadState* __tstate = wxPyBeginAllowThreads();
3856 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3857
3858 wxPyEndAllowThreads(__tstate);
3859 if (PyErr_Occurred()) SWIG_fail;
3860 }
3861 Py_INCREF(Py_None); resultobj = Py_None;
3862 {
3863 if (temp2)
3864 delete arg2;
3865 }
3866 return resultobj;
3867 fail:
3868 {
3869 if (temp2)
3870 delete arg2;
3871 }
3872 return NULL;
3873 }
3874
3875
3876 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3877 PyObject *resultobj;
3878 wxFrame *arg1 = (wxFrame *) 0 ;
3879 wxMenu *arg2 = (wxMenu *) NULL ;
3880 PyObject * obj0 = 0 ;
3881 PyObject * obj1 = 0 ;
3882 char *kwnames[] = {
3883 (char *) "self",(char *) "menu", NULL
3884 };
3885
3886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3889 if (obj1) {
3890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3892 }
3893 {
3894 PyThreadState* __tstate = wxPyBeginAllowThreads();
3895 (arg1)->DoMenuUpdates(arg2);
3896
3897 wxPyEndAllowThreads(__tstate);
3898 if (PyErr_Occurred()) SWIG_fail;
3899 }
3900 Py_INCREF(Py_None); resultobj = Py_None;
3901 return resultobj;
3902 fail:
3903 return NULL;
3904 }
3905
3906
3907 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3908 PyObject *obj;
3909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3910 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3911 Py_INCREF(obj);
3912 return Py_BuildValue((char *)"");
3913 }
3914 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3915 PyObject *resultobj;
3916 wxWindow *arg1 = (wxWindow *) 0 ;
3917 int arg2 ;
3918 wxString *arg3 = 0 ;
3919 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3920 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3921 wxSize const &arg5_defvalue = wxDefaultSize ;
3922 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3923 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3924 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3925 wxString *arg7 = (wxString *) &arg7_defvalue ;
3926 wxDialog *result;
3927 bool temp3 = False ;
3928 wxPoint temp4 ;
3929 wxSize temp5 ;
3930 bool temp7 = False ;
3931 PyObject * obj0 = 0 ;
3932 PyObject * obj1 = 0 ;
3933 PyObject * obj2 = 0 ;
3934 PyObject * obj3 = 0 ;
3935 PyObject * obj4 = 0 ;
3936 PyObject * obj5 = 0 ;
3937 PyObject * obj6 = 0 ;
3938 char *kwnames[] = {
3939 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3940 };
3941
3942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3945 arg2 = (int const) SWIG_AsInt(obj1);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 {
3948 arg3 = wxString_in_helper(obj2);
3949 if (arg3 == NULL) SWIG_fail;
3950 temp3 = True;
3951 }
3952 if (obj3) {
3953 {
3954 arg4 = &temp4;
3955 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3956 }
3957 }
3958 if (obj4) {
3959 {
3960 arg5 = &temp5;
3961 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3962 }
3963 }
3964 if (obj5) {
3965 arg6 = (long) SWIG_AsLong(obj5);
3966 if (PyErr_Occurred()) SWIG_fail;
3967 }
3968 if (obj6) {
3969 {
3970 arg7 = wxString_in_helper(obj6);
3971 if (arg7 == NULL) SWIG_fail;
3972 temp7 = True;
3973 }
3974 }
3975 {
3976 PyThreadState* __tstate = wxPyBeginAllowThreads();
3977 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3978
3979 wxPyEndAllowThreads(__tstate);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 }
3982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3983 {
3984 if (temp3)
3985 delete arg3;
3986 }
3987 {
3988 if (temp7)
3989 delete arg7;
3990 }
3991 return resultobj;
3992 fail:
3993 {
3994 if (temp3)
3995 delete arg3;
3996 }
3997 {
3998 if (temp7)
3999 delete arg7;
4000 }
4001 return NULL;
4002 }
4003
4004
4005 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4006 PyObject *resultobj;
4007 wxDialog *result;
4008 char *kwnames[] = {
4009 NULL
4010 };
4011
4012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4013 {
4014 PyThreadState* __tstate = wxPyBeginAllowThreads();
4015 result = (wxDialog *)new wxDialog();
4016
4017 wxPyEndAllowThreads(__tstate);
4018 if (PyErr_Occurred()) SWIG_fail;
4019 }
4020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4021 return resultobj;
4022 fail:
4023 return NULL;
4024 }
4025
4026
4027 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4028 PyObject *resultobj;
4029 wxDialog *arg1 = (wxDialog *) 0 ;
4030 wxWindow *arg2 = (wxWindow *) 0 ;
4031 int arg3 ;
4032 wxString *arg4 = 0 ;
4033 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4034 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4035 wxSize const &arg6_defvalue = wxDefaultSize ;
4036 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4037 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4038 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4039 wxString *arg8 = (wxString *) &arg8_defvalue ;
4040 bool result;
4041 bool temp4 = False ;
4042 wxPoint temp5 ;
4043 wxSize temp6 ;
4044 bool temp8 = False ;
4045 PyObject * obj0 = 0 ;
4046 PyObject * obj1 = 0 ;
4047 PyObject * obj2 = 0 ;
4048 PyObject * obj3 = 0 ;
4049 PyObject * obj4 = 0 ;
4050 PyObject * obj5 = 0 ;
4051 PyObject * obj6 = 0 ;
4052 PyObject * obj7 = 0 ;
4053 char *kwnames[] = {
4054 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4055 };
4056
4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4060 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4062 arg3 = (int const) SWIG_AsInt(obj2);
4063 if (PyErr_Occurred()) SWIG_fail;
4064 {
4065 arg4 = wxString_in_helper(obj3);
4066 if (arg4 == NULL) SWIG_fail;
4067 temp4 = True;
4068 }
4069 if (obj4) {
4070 {
4071 arg5 = &temp5;
4072 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4073 }
4074 }
4075 if (obj5) {
4076 {
4077 arg6 = &temp6;
4078 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4079 }
4080 }
4081 if (obj6) {
4082 arg7 = (long) SWIG_AsLong(obj6);
4083 if (PyErr_Occurred()) SWIG_fail;
4084 }
4085 if (obj7) {
4086 {
4087 arg8 = wxString_in_helper(obj7);
4088 if (arg8 == NULL) SWIG_fail;
4089 temp8 = True;
4090 }
4091 }
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
4099 {
4100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4101 }
4102 {
4103 if (temp4)
4104 delete arg4;
4105 }
4106 {
4107 if (temp8)
4108 delete arg8;
4109 }
4110 return resultobj;
4111 fail:
4112 {
4113 if (temp4)
4114 delete arg4;
4115 }
4116 {
4117 if (temp8)
4118 delete arg8;
4119 }
4120 return NULL;
4121 }
4122
4123
4124 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4125 PyObject *resultobj;
4126 wxDialog *arg1 = (wxDialog *) 0 ;
4127 int arg2 ;
4128 PyObject * obj0 = 0 ;
4129 PyObject * obj1 = 0 ;
4130 char *kwnames[] = {
4131 (char *) "self",(char *) "returnCode", NULL
4132 };
4133
4134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4137 arg2 = (int) SWIG_AsInt(obj1);
4138 if (PyErr_Occurred()) SWIG_fail;
4139 {
4140 PyThreadState* __tstate = wxPyBeginAllowThreads();
4141 (arg1)->SetReturnCode(arg2);
4142
4143 wxPyEndAllowThreads(__tstate);
4144 if (PyErr_Occurred()) SWIG_fail;
4145 }
4146 Py_INCREF(Py_None); resultobj = Py_None;
4147 return resultobj;
4148 fail:
4149 return NULL;
4150 }
4151
4152
4153 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4154 PyObject *resultobj;
4155 wxDialog *arg1 = (wxDialog *) 0 ;
4156 int result;
4157 PyObject * obj0 = 0 ;
4158 char *kwnames[] = {
4159 (char *) "self", NULL
4160 };
4161
4162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4165 {
4166 PyThreadState* __tstate = wxPyBeginAllowThreads();
4167 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4168
4169 wxPyEndAllowThreads(__tstate);
4170 if (PyErr_Occurred()) SWIG_fail;
4171 }
4172 resultobj = SWIG_FromInt((int)result);
4173 return resultobj;
4174 fail:
4175 return NULL;
4176 }
4177
4178
4179 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4180 PyObject *resultobj;
4181 wxDialog *arg1 = (wxDialog *) 0 ;
4182 wxString *arg2 = 0 ;
4183 wxSizer *result;
4184 bool temp2 = False ;
4185 PyObject * obj0 = 0 ;
4186 PyObject * obj1 = 0 ;
4187 char *kwnames[] = {
4188 (char *) "self",(char *) "message", NULL
4189 };
4190
4191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4194 {
4195 arg2 = wxString_in_helper(obj1);
4196 if (arg2 == NULL) SWIG_fail;
4197 temp2 = True;
4198 }
4199 {
4200 PyThreadState* __tstate = wxPyBeginAllowThreads();
4201 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4202
4203 wxPyEndAllowThreads(__tstate);
4204 if (PyErr_Occurred()) SWIG_fail;
4205 }
4206 {
4207 resultobj = wxPyMake_wxSizer(result);
4208 }
4209 {
4210 if (temp2)
4211 delete arg2;
4212 }
4213 return resultobj;
4214 fail:
4215 {
4216 if (temp2)
4217 delete arg2;
4218 }
4219 return NULL;
4220 }
4221
4222
4223 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4224 PyObject *resultobj;
4225 wxDialog *arg1 = (wxDialog *) 0 ;
4226 long arg2 ;
4227 wxSizer *result;
4228 PyObject * obj0 = 0 ;
4229 PyObject * obj1 = 0 ;
4230 char *kwnames[] = {
4231 (char *) "self",(char *) "flags", NULL
4232 };
4233
4234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4237 arg2 = (long) SWIG_AsLong(obj1);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 {
4240 PyThreadState* __tstate = wxPyBeginAllowThreads();
4241 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4242
4243 wxPyEndAllowThreads(__tstate);
4244 if (PyErr_Occurred()) SWIG_fail;
4245 }
4246 {
4247 resultobj = wxPyMake_wxSizer(result);
4248 }
4249 return resultobj;
4250 fail:
4251 return NULL;
4252 }
4253
4254
4255 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4256 PyObject *resultobj;
4257 wxDialog *arg1 = (wxDialog *) 0 ;
4258 bool result;
4259 PyObject * obj0 = 0 ;
4260 char *kwnames[] = {
4261 (char *) "self", NULL
4262 };
4263
4264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4267 {
4268 PyThreadState* __tstate = wxPyBeginAllowThreads();
4269 result = (bool)((wxDialog const *)arg1)->IsModal();
4270
4271 wxPyEndAllowThreads(__tstate);
4272 if (PyErr_Occurred()) SWIG_fail;
4273 }
4274 {
4275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4276 }
4277 return resultobj;
4278 fail:
4279 return NULL;
4280 }
4281
4282
4283 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4284 PyObject *resultobj;
4285 wxDialog *arg1 = (wxDialog *) 0 ;
4286 int result;
4287 PyObject * obj0 = 0 ;
4288 char *kwnames[] = {
4289 (char *) "self", NULL
4290 };
4291
4292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4295 {
4296 PyThreadState* __tstate = wxPyBeginAllowThreads();
4297 result = (int)(arg1)->ShowModal();
4298
4299 wxPyEndAllowThreads(__tstate);
4300 if (PyErr_Occurred()) SWIG_fail;
4301 }
4302 resultobj = SWIG_FromInt((int)result);
4303 return resultobj;
4304 fail:
4305 return NULL;
4306 }
4307
4308
4309 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4310 PyObject *resultobj;
4311 wxDialog *arg1 = (wxDialog *) 0 ;
4312 int arg2 ;
4313 PyObject * obj0 = 0 ;
4314 PyObject * obj1 = 0 ;
4315 char *kwnames[] = {
4316 (char *) "self",(char *) "retCode", NULL
4317 };
4318
4319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4322 arg2 = (int) SWIG_AsInt(obj1);
4323 if (PyErr_Occurred()) SWIG_fail;
4324 {
4325 PyThreadState* __tstate = wxPyBeginAllowThreads();
4326 (arg1)->EndModal(arg2);
4327
4328 wxPyEndAllowThreads(__tstate);
4329 if (PyErr_Occurred()) SWIG_fail;
4330 }
4331 Py_INCREF(Py_None); resultobj = Py_None;
4332 return resultobj;
4333 fail:
4334 return NULL;
4335 }
4336
4337
4338 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4339 PyObject *resultobj;
4340 wxDialog *arg1 = (wxDialog *) 0 ;
4341 bool result;
4342 PyObject * obj0 = 0 ;
4343 char *kwnames[] = {
4344 (char *) "self", NULL
4345 };
4346
4347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4350 {
4351 PyThreadState* __tstate = wxPyBeginAllowThreads();
4352 result = (bool)wxDialog_IsModalShowing(arg1);
4353
4354 wxPyEndAllowThreads(__tstate);
4355 if (PyErr_Occurred()) SWIG_fail;
4356 }
4357 {
4358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4359 }
4360 return resultobj;
4361 fail:
4362 return NULL;
4363 }
4364
4365
4366 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4367 PyObject *obj;
4368 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4369 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4370 Py_INCREF(obj);
4371 return Py_BuildValue((char *)"");
4372 }
4373 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4374 PyObject *resultobj;
4375 wxWindow *arg1 = (wxWindow *) 0 ;
4376 int arg2 ;
4377 wxString *arg3 = 0 ;
4378 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4379 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4380 wxSize const &arg5_defvalue = wxDefaultSize ;
4381 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4382 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4383 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4384 wxString *arg7 = (wxString *) &arg7_defvalue ;
4385 wxMiniFrame *result;
4386 bool temp3 = False ;
4387 wxPoint temp4 ;
4388 wxSize temp5 ;
4389 bool temp7 = False ;
4390 PyObject * obj0 = 0 ;
4391 PyObject * obj1 = 0 ;
4392 PyObject * obj2 = 0 ;
4393 PyObject * obj3 = 0 ;
4394 PyObject * obj4 = 0 ;
4395 PyObject * obj5 = 0 ;
4396 PyObject * obj6 = 0 ;
4397 char *kwnames[] = {
4398 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4399 };
4400
4401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4404 arg2 = (int const) SWIG_AsInt(obj1);
4405 if (PyErr_Occurred()) SWIG_fail;
4406 {
4407 arg3 = wxString_in_helper(obj2);
4408 if (arg3 == NULL) SWIG_fail;
4409 temp3 = True;
4410 }
4411 if (obj3) {
4412 {
4413 arg4 = &temp4;
4414 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4415 }
4416 }
4417 if (obj4) {
4418 {
4419 arg5 = &temp5;
4420 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4421 }
4422 }
4423 if (obj5) {
4424 arg6 = (long) SWIG_AsLong(obj5);
4425 if (PyErr_Occurred()) SWIG_fail;
4426 }
4427 if (obj6) {
4428 {
4429 arg7 = wxString_in_helper(obj6);
4430 if (arg7 == NULL) SWIG_fail;
4431 temp7 = True;
4432 }
4433 }
4434 {
4435 PyThreadState* __tstate = wxPyBeginAllowThreads();
4436 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4437
4438 wxPyEndAllowThreads(__tstate);
4439 if (PyErr_Occurred()) SWIG_fail;
4440 }
4441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4442 {
4443 if (temp3)
4444 delete arg3;
4445 }
4446 {
4447 if (temp7)
4448 delete arg7;
4449 }
4450 return resultobj;
4451 fail:
4452 {
4453 if (temp3)
4454 delete arg3;
4455 }
4456 {
4457 if (temp7)
4458 delete arg7;
4459 }
4460 return NULL;
4461 }
4462
4463
4464 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4465 PyObject *resultobj;
4466 wxMiniFrame *result;
4467 char *kwnames[] = {
4468 NULL
4469 };
4470
4471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4472 {
4473 PyThreadState* __tstate = wxPyBeginAllowThreads();
4474 result = (wxMiniFrame *)new wxMiniFrame();
4475
4476 wxPyEndAllowThreads(__tstate);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 }
4479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4480 return resultobj;
4481 fail:
4482 return NULL;
4483 }
4484
4485
4486 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4487 PyObject *resultobj;
4488 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4489 wxWindow *arg2 = (wxWindow *) 0 ;
4490 int arg3 ;
4491 wxString *arg4 = 0 ;
4492 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4493 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4494 wxSize const &arg6_defvalue = wxDefaultSize ;
4495 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4496 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4497 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4498 wxString *arg8 = (wxString *) &arg8_defvalue ;
4499 bool result;
4500 bool temp4 = False ;
4501 wxPoint temp5 ;
4502 wxSize temp6 ;
4503 bool temp8 = False ;
4504 PyObject * obj0 = 0 ;
4505 PyObject * obj1 = 0 ;
4506 PyObject * obj2 = 0 ;
4507 PyObject * obj3 = 0 ;
4508 PyObject * obj4 = 0 ;
4509 PyObject * obj5 = 0 ;
4510 PyObject * obj6 = 0 ;
4511 PyObject * obj7 = 0 ;
4512 char *kwnames[] = {
4513 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4514 };
4515
4516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4519 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4521 arg3 = (int const) SWIG_AsInt(obj2);
4522 if (PyErr_Occurred()) SWIG_fail;
4523 {
4524 arg4 = wxString_in_helper(obj3);
4525 if (arg4 == NULL) SWIG_fail;
4526 temp4 = True;
4527 }
4528 if (obj4) {
4529 {
4530 arg5 = &temp5;
4531 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4532 }
4533 }
4534 if (obj5) {
4535 {
4536 arg6 = &temp6;
4537 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4538 }
4539 }
4540 if (obj6) {
4541 arg7 = (long) SWIG_AsLong(obj6);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 if (obj7) {
4545 {
4546 arg8 = wxString_in_helper(obj7);
4547 if (arg8 == NULL) SWIG_fail;
4548 temp8 = True;
4549 }
4550 }
4551 {
4552 PyThreadState* __tstate = wxPyBeginAllowThreads();
4553 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4554
4555 wxPyEndAllowThreads(__tstate);
4556 if (PyErr_Occurred()) SWIG_fail;
4557 }
4558 {
4559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4560 }
4561 {
4562 if (temp4)
4563 delete arg4;
4564 }
4565 {
4566 if (temp8)
4567 delete arg8;
4568 }
4569 return resultobj;
4570 fail:
4571 {
4572 if (temp4)
4573 delete arg4;
4574 }
4575 {
4576 if (temp8)
4577 delete arg8;
4578 }
4579 return NULL;
4580 }
4581
4582
4583 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4584 PyObject *obj;
4585 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4586 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4587 Py_INCREF(obj);
4588 return Py_BuildValue((char *)"");
4589 }
4590 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4591 PyObject *resultobj;
4592 wxBitmap *arg1 = 0 ;
4593 wxWindow *arg2 = (wxWindow *) 0 ;
4594 int arg3 ;
4595 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4596 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4597 wxSize const &arg5_defvalue = wxDefaultSize ;
4598 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4599 long arg6 = (long) wxNO_BORDER ;
4600 wxSplashScreenWindow *result;
4601 wxPoint temp4 ;
4602 wxSize temp5 ;
4603 PyObject * obj0 = 0 ;
4604 PyObject * obj1 = 0 ;
4605 PyObject * obj2 = 0 ;
4606 PyObject * obj3 = 0 ;
4607 PyObject * obj4 = 0 ;
4608 PyObject * obj5 = 0 ;
4609 char *kwnames[] = {
4610 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4611 };
4612
4613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4615 SWIG_POINTER_EXCEPTION | 0)) == -1)
4616 SWIG_fail;
4617 if (arg1 == NULL) {
4618 PyErr_SetString(PyExc_TypeError,"null reference");
4619 SWIG_fail;
4620 }
4621 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4623 arg3 = (int) SWIG_AsInt(obj2);
4624 if (PyErr_Occurred()) SWIG_fail;
4625 if (obj3) {
4626 {
4627 arg4 = &temp4;
4628 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4629 }
4630 }
4631 if (obj4) {
4632 {
4633 arg5 = &temp5;
4634 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4635 }
4636 }
4637 if (obj5) {
4638 arg6 = (long) SWIG_AsLong(obj5);
4639 if (PyErr_Occurred()) SWIG_fail;
4640 }
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4644
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4649 return resultobj;
4650 fail:
4651 return NULL;
4652 }
4653
4654
4655 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4656 PyObject *resultobj;
4657 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4658 wxBitmap *arg2 = 0 ;
4659 PyObject * obj0 = 0 ;
4660 PyObject * obj1 = 0 ;
4661 char *kwnames[] = {
4662 (char *) "self",(char *) "bitmap", NULL
4663 };
4664
4665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4669 SWIG_POINTER_EXCEPTION | 0)) == -1)
4670 SWIG_fail;
4671 if (arg2 == NULL) {
4672 PyErr_SetString(PyExc_TypeError,"null reference");
4673 SWIG_fail;
4674 }
4675 {
4676 PyThreadState* __tstate = wxPyBeginAllowThreads();
4677 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4678
4679 wxPyEndAllowThreads(__tstate);
4680 if (PyErr_Occurred()) SWIG_fail;
4681 }
4682 Py_INCREF(Py_None); resultobj = Py_None;
4683 return resultobj;
4684 fail:
4685 return NULL;
4686 }
4687
4688
4689 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4690 PyObject *resultobj;
4691 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4692 wxBitmap *result;
4693 PyObject * obj0 = 0 ;
4694 char *kwnames[] = {
4695 (char *) "self", NULL
4696 };
4697
4698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4701 {
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 {
4704 wxBitmap &_result_ref = (arg1)->GetBitmap();
4705 result = (wxBitmap *) &_result_ref;
4706 }
4707
4708 wxPyEndAllowThreads(__tstate);
4709 if (PyErr_Occurred()) SWIG_fail;
4710 }
4711 {
4712 wxBitmap* resultptr = new wxBitmap(*result);
4713 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4714 }
4715 return resultobj;
4716 fail:
4717 return NULL;
4718 }
4719
4720
4721 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4722 PyObject *obj;
4723 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4724 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4725 Py_INCREF(obj);
4726 return Py_BuildValue((char *)"");
4727 }
4728 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4729 PyObject *resultobj;
4730 wxBitmap *arg1 = 0 ;
4731 long arg2 ;
4732 int arg3 ;
4733 wxWindow *arg4 = (wxWindow *) 0 ;
4734 int arg5 ;
4735 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4736 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4737 wxSize const &arg7_defvalue = wxDefaultSize ;
4738 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4739 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4740 wxSplashScreen *result;
4741 wxPoint temp6 ;
4742 wxSize temp7 ;
4743 PyObject * obj0 = 0 ;
4744 PyObject * obj1 = 0 ;
4745 PyObject * obj2 = 0 ;
4746 PyObject * obj3 = 0 ;
4747 PyObject * obj4 = 0 ;
4748 PyObject * obj5 = 0 ;
4749 PyObject * obj6 = 0 ;
4750 PyObject * obj7 = 0 ;
4751 char *kwnames[] = {
4752 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4753 };
4754
4755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4757 SWIG_POINTER_EXCEPTION | 0)) == -1)
4758 SWIG_fail;
4759 if (arg1 == NULL) {
4760 PyErr_SetString(PyExc_TypeError,"null reference");
4761 SWIG_fail;
4762 }
4763 arg2 = (long) SWIG_AsLong(obj1);
4764 if (PyErr_Occurred()) SWIG_fail;
4765 arg3 = (int) SWIG_AsInt(obj2);
4766 if (PyErr_Occurred()) SWIG_fail;
4767 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4769 arg5 = (int) SWIG_AsInt(obj4);
4770 if (PyErr_Occurred()) SWIG_fail;
4771 if (obj5) {
4772 {
4773 arg6 = &temp6;
4774 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4775 }
4776 }
4777 if (obj6) {
4778 {
4779 arg7 = &temp7;
4780 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4781 }
4782 }
4783 if (obj7) {
4784 arg8 = (long) SWIG_AsLong(obj7);
4785 if (PyErr_Occurred()) SWIG_fail;
4786 }
4787 {
4788 PyThreadState* __tstate = wxPyBeginAllowThreads();
4789 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4790
4791 wxPyEndAllowThreads(__tstate);
4792 if (PyErr_Occurred()) SWIG_fail;
4793 }
4794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4795 return resultobj;
4796 fail:
4797 return NULL;
4798 }
4799
4800
4801 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4802 PyObject *resultobj;
4803 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4804 long result;
4805 PyObject * obj0 = 0 ;
4806 char *kwnames[] = {
4807 (char *) "self", NULL
4808 };
4809
4810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4813 {
4814 PyThreadState* __tstate = wxPyBeginAllowThreads();
4815 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4816
4817 wxPyEndAllowThreads(__tstate);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 resultobj = SWIG_FromLong((long)result);
4821 return resultobj;
4822 fail:
4823 return NULL;
4824 }
4825
4826
4827 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4828 PyObject *resultobj;
4829 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4830 wxSplashScreenWindow *result;
4831 PyObject * obj0 = 0 ;
4832 char *kwnames[] = {
4833 (char *) "self", NULL
4834 };
4835
4836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4839 {
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4842
4843 wxPyEndAllowThreads(__tstate);
4844 if (PyErr_Occurred()) SWIG_fail;
4845 }
4846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4847 return resultobj;
4848 fail:
4849 return NULL;
4850 }
4851
4852
4853 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject *resultobj;
4855 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4856 int result;
4857 PyObject * obj0 = 0 ;
4858 char *kwnames[] = {
4859 (char *) "self", NULL
4860 };
4861
4862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4865 {
4866 PyThreadState* __tstate = wxPyBeginAllowThreads();
4867 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4868
4869 wxPyEndAllowThreads(__tstate);
4870 if (PyErr_Occurred()) SWIG_fail;
4871 }
4872 resultobj = SWIG_FromInt((int)result);
4873 return resultobj;
4874 fail:
4875 return NULL;
4876 }
4877
4878
4879 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4880 PyObject *obj;
4881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4882 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4883 Py_INCREF(obj);
4884 return Py_BuildValue((char *)"");
4885 }
4886 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4887 PyObject *resultobj;
4888 wxWindow *arg1 = (wxWindow *) 0 ;
4889 int arg2 = (int) -1 ;
4890 long arg3 = (long) wxST_SIZEGRIP ;
4891 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4892 wxString *arg4 = (wxString *) &arg4_defvalue ;
4893 wxStatusBar *result;
4894 bool temp4 = False ;
4895 PyObject * obj0 = 0 ;
4896 PyObject * obj1 = 0 ;
4897 PyObject * obj2 = 0 ;
4898 PyObject * obj3 = 0 ;
4899 char *kwnames[] = {
4900 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4901 };
4902
4903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4906 if (obj1) {
4907 arg2 = (int) SWIG_AsInt(obj1);
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
4910 if (obj2) {
4911 arg3 = (long) SWIG_AsLong(obj2);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
4914 if (obj3) {
4915 {
4916 arg4 = wxString_in_helper(obj3);
4917 if (arg4 == NULL) SWIG_fail;
4918 temp4 = True;
4919 }
4920 }
4921 {
4922 PyThreadState* __tstate = wxPyBeginAllowThreads();
4923 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4924
4925 wxPyEndAllowThreads(__tstate);
4926 if (PyErr_Occurred()) SWIG_fail;
4927 }
4928 {
4929 resultobj = wxPyMake_wxObject(result);
4930 }
4931 {
4932 if (temp4)
4933 delete arg4;
4934 }
4935 return resultobj;
4936 fail:
4937 {
4938 if (temp4)
4939 delete arg4;
4940 }
4941 return NULL;
4942 }
4943
4944
4945 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4946 PyObject *resultobj;
4947 wxStatusBar *result;
4948 char *kwnames[] = {
4949 NULL
4950 };
4951
4952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4953 {
4954 PyThreadState* __tstate = wxPyBeginAllowThreads();
4955 result = (wxStatusBar *)new wxStatusBar();
4956
4957 wxPyEndAllowThreads(__tstate);
4958 if (PyErr_Occurred()) SWIG_fail;
4959 }
4960 {
4961 resultobj = wxPyMake_wxObject(result);
4962 }
4963 return resultobj;
4964 fail:
4965 return NULL;
4966 }
4967
4968
4969 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4970 PyObject *resultobj;
4971 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4972 wxWindow *arg2 = (wxWindow *) 0 ;
4973 int arg3 ;
4974 long arg4 = (long) wxST_SIZEGRIP ;
4975 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4976 wxString *arg5 = (wxString *) &arg5_defvalue ;
4977 bool result;
4978 bool temp5 = False ;
4979 PyObject * obj0 = 0 ;
4980 PyObject * obj1 = 0 ;
4981 PyObject * obj2 = 0 ;
4982 PyObject * obj3 = 0 ;
4983 PyObject * obj4 = 0 ;
4984 char *kwnames[] = {
4985 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4986 };
4987
4988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4993 arg3 = (int) SWIG_AsInt(obj2);
4994 if (PyErr_Occurred()) SWIG_fail;
4995 if (obj3) {
4996 arg4 = (long) SWIG_AsLong(obj3);
4997 if (PyErr_Occurred()) SWIG_fail;
4998 }
4999 if (obj4) {
5000 {
5001 arg5 = wxString_in_helper(obj4);
5002 if (arg5 == NULL) SWIG_fail;
5003 temp5 = True;
5004 }
5005 }
5006 {
5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
5008 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5009
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 {
5014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5015 }
5016 {
5017 if (temp5)
5018 delete arg5;
5019 }
5020 return resultobj;
5021 fail:
5022 {
5023 if (temp5)
5024 delete arg5;
5025 }
5026 return NULL;
5027 }
5028
5029
5030 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5031 PyObject *resultobj;
5032 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5033 int arg2 = (int) 1 ;
5034 PyObject * obj0 = 0 ;
5035 PyObject * obj1 = 0 ;
5036 char *kwnames[] = {
5037 (char *) "self",(char *) "number", NULL
5038 };
5039
5040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5043 if (obj1) {
5044 arg2 = (int) SWIG_AsInt(obj1);
5045 if (PyErr_Occurred()) SWIG_fail;
5046 }
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 (arg1)->SetFieldsCount(arg2);
5050
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
5054 Py_INCREF(Py_None); resultobj = Py_None;
5055 return resultobj;
5056 fail:
5057 return NULL;
5058 }
5059
5060
5061 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj;
5063 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5064 int result;
5065 PyObject * obj0 = 0 ;
5066 char *kwnames[] = {
5067 (char *) "self", NULL
5068 };
5069
5070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5073 {
5074 PyThreadState* __tstate = wxPyBeginAllowThreads();
5075 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5076
5077 wxPyEndAllowThreads(__tstate);
5078 if (PyErr_Occurred()) SWIG_fail;
5079 }
5080 resultobj = SWIG_FromInt((int)result);
5081 return resultobj;
5082 fail:
5083 return NULL;
5084 }
5085
5086
5087 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5088 PyObject *resultobj;
5089 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5090 wxString *arg2 = 0 ;
5091 int arg3 = (int) 0 ;
5092 bool temp2 = False ;
5093 PyObject * obj0 = 0 ;
5094 PyObject * obj1 = 0 ;
5095 PyObject * obj2 = 0 ;
5096 char *kwnames[] = {
5097 (char *) "self",(char *) "text",(char *) "number", NULL
5098 };
5099
5100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5103 {
5104 arg2 = wxString_in_helper(obj1);
5105 if (arg2 == NULL) SWIG_fail;
5106 temp2 = True;
5107 }
5108 if (obj2) {
5109 arg3 = (int) SWIG_AsInt(obj2);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
5112 {
5113 PyThreadState* __tstate = wxPyBeginAllowThreads();
5114 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5115
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 Py_INCREF(Py_None); resultobj = Py_None;
5120 {
5121 if (temp2)
5122 delete arg2;
5123 }
5124 return resultobj;
5125 fail:
5126 {
5127 if (temp2)
5128 delete arg2;
5129 }
5130 return NULL;
5131 }
5132
5133
5134 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5135 PyObject *resultobj;
5136 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5137 int arg2 = (int) 0 ;
5138 wxString result;
5139 PyObject * obj0 = 0 ;
5140 PyObject * obj1 = 0 ;
5141 char *kwnames[] = {
5142 (char *) "self",(char *) "number", NULL
5143 };
5144
5145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5148 if (obj1) {
5149 arg2 = (int) SWIG_AsInt(obj1);
5150 if (PyErr_Occurred()) SWIG_fail;
5151 }
5152 {
5153 PyThreadState* __tstate = wxPyBeginAllowThreads();
5154 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5155
5156 wxPyEndAllowThreads(__tstate);
5157 if (PyErr_Occurred()) SWIG_fail;
5158 }
5159 {
5160 #if wxUSE_UNICODE
5161 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5162 #else
5163 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5164 #endif
5165 }
5166 return resultobj;
5167 fail:
5168 return NULL;
5169 }
5170
5171
5172 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5173 PyObject *resultobj;
5174 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5175 wxString *arg2 = 0 ;
5176 int arg3 = (int) 0 ;
5177 bool temp2 = False ;
5178 PyObject * obj0 = 0 ;
5179 PyObject * obj1 = 0 ;
5180 PyObject * obj2 = 0 ;
5181 char *kwnames[] = {
5182 (char *) "self",(char *) "text",(char *) "number", NULL
5183 };
5184
5185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5188 {
5189 arg2 = wxString_in_helper(obj1);
5190 if (arg2 == NULL) SWIG_fail;
5191 temp2 = True;
5192 }
5193 if (obj2) {
5194 arg3 = (int) SWIG_AsInt(obj2);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 }
5197 {
5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
5199 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5200
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 Py_INCREF(Py_None); resultobj = Py_None;
5205 {
5206 if (temp2)
5207 delete arg2;
5208 }
5209 return resultobj;
5210 fail:
5211 {
5212 if (temp2)
5213 delete arg2;
5214 }
5215 return NULL;
5216 }
5217
5218
5219 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5220 PyObject *resultobj;
5221 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5222 int arg2 = (int) 0 ;
5223 PyObject * obj0 = 0 ;
5224 PyObject * obj1 = 0 ;
5225 char *kwnames[] = {
5226 (char *) "self",(char *) "number", NULL
5227 };
5228
5229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5232 if (obj1) {
5233 arg2 = (int) SWIG_AsInt(obj1);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 }
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 (arg1)->PopStatusText(arg2);
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 Py_INCREF(Py_None); resultobj = Py_None;
5244 return resultobj;
5245 fail:
5246 return NULL;
5247 }
5248
5249
5250 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5251 PyObject *resultobj;
5252 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5253 int arg2 ;
5254 int *arg3 = (int *) 0 ;
5255 PyObject * obj0 = 0 ;
5256 PyObject * obj1 = 0 ;
5257 char *kwnames[] = {
5258 (char *) "self",(char *) "widths", NULL
5259 };
5260
5261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5264 {
5265 arg2 = PyList_Size(obj1);
5266 arg3 = int_LIST_helper(obj1);
5267 if (arg3 == NULL) SWIG_fail;
5268 }
5269 {
5270 PyThreadState* __tstate = wxPyBeginAllowThreads();
5271 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5272
5273 wxPyEndAllowThreads(__tstate);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
5276 Py_INCREF(Py_None); resultobj = Py_None;
5277 {
5278 if (arg3) delete [] arg3;
5279 }
5280 return resultobj;
5281 fail:
5282 {
5283 if (arg3) delete [] arg3;
5284 }
5285 return NULL;
5286 }
5287
5288
5289 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5290 PyObject *resultobj;
5291 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5292 int arg2 ;
5293 wxRect result;
5294 PyObject * obj0 = 0 ;
5295 PyObject * obj1 = 0 ;
5296 char *kwnames[] = {
5297 (char *) "self",(char *) "i", NULL
5298 };
5299
5300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5303 arg2 = (int) SWIG_AsInt(obj1);
5304 if (PyErr_Occurred()) SWIG_fail;
5305 {
5306 PyThreadState* __tstate = wxPyBeginAllowThreads();
5307 result = wxStatusBar_GetFieldRect(arg1,arg2);
5308
5309 wxPyEndAllowThreads(__tstate);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
5312 {
5313 wxRect * resultptr;
5314 resultptr = new wxRect((wxRect &) result);
5315 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5316 }
5317 return resultobj;
5318 fail:
5319 return NULL;
5320 }
5321
5322
5323 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5324 PyObject *resultobj;
5325 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5326 int arg2 ;
5327 PyObject * obj0 = 0 ;
5328 PyObject * obj1 = 0 ;
5329 char *kwnames[] = {
5330 (char *) "self",(char *) "height", NULL
5331 };
5332
5333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5336 arg2 = (int) SWIG_AsInt(obj1);
5337 if (PyErr_Occurred()) SWIG_fail;
5338 {
5339 PyThreadState* __tstate = wxPyBeginAllowThreads();
5340 (arg1)->SetMinHeight(arg2);
5341
5342 wxPyEndAllowThreads(__tstate);
5343 if (PyErr_Occurred()) SWIG_fail;
5344 }
5345 Py_INCREF(Py_None); resultobj = Py_None;
5346 return resultobj;
5347 fail:
5348 return NULL;
5349 }
5350
5351
5352 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5353 PyObject *resultobj;
5354 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5355 int result;
5356 PyObject * obj0 = 0 ;
5357 char *kwnames[] = {
5358 (char *) "self", NULL
5359 };
5360
5361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5364 {
5365 PyThreadState* __tstate = wxPyBeginAllowThreads();
5366 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5367
5368 wxPyEndAllowThreads(__tstate);
5369 if (PyErr_Occurred()) SWIG_fail;
5370 }
5371 resultobj = SWIG_FromInt((int)result);
5372 return resultobj;
5373 fail:
5374 return NULL;
5375 }
5376
5377
5378 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5379 PyObject *resultobj;
5380 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5381 int result;
5382 PyObject * obj0 = 0 ;
5383 char *kwnames[] = {
5384 (char *) "self", NULL
5385 };
5386
5387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5393
5394 wxPyEndAllowThreads(__tstate);
5395 if (PyErr_Occurred()) SWIG_fail;
5396 }
5397 resultobj = SWIG_FromInt((int)result);
5398 return resultobj;
5399 fail:
5400 return NULL;
5401 }
5402
5403
5404 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5405 PyObject *obj;
5406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5407 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5408 Py_INCREF(obj);
5409 return Py_BuildValue((char *)"");
5410 }
5411 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5412 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5413 return 1;
5414 }
5415
5416
5417 static PyObject *_wrap_SplitterNameStr_get() {
5418 PyObject *pyobj;
5419
5420 {
5421 #if wxUSE_UNICODE
5422 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5423 #else
5424 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5425 #endif
5426 }
5427 return pyobj;
5428 }
5429
5430
5431 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5432 PyObject *resultobj;
5433 wxWindow *arg1 = (wxWindow *) 0 ;
5434 int arg2 = (int) -1 ;
5435 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5436 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5437 wxSize const &arg4_defvalue = wxDefaultSize ;
5438 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5439 long arg5 = (long) wxSP_3D ;
5440 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5441 wxString *arg6 = (wxString *) &arg6_defvalue ;
5442 wxSplitterWindow *result;
5443 wxPoint temp3 ;
5444 wxSize temp4 ;
5445 bool temp6 = False ;
5446 PyObject * obj0 = 0 ;
5447 PyObject * obj1 = 0 ;
5448 PyObject * obj2 = 0 ;
5449 PyObject * obj3 = 0 ;
5450 PyObject * obj4 = 0 ;
5451 PyObject * obj5 = 0 ;
5452 char *kwnames[] = {
5453 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5454 };
5455
5456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5459 if (obj1) {
5460 arg2 = (int) SWIG_AsInt(obj1);
5461 if (PyErr_Occurred()) SWIG_fail;
5462 }
5463 if (obj2) {
5464 {
5465 arg3 = &temp3;
5466 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5467 }
5468 }
5469 if (obj3) {
5470 {
5471 arg4 = &temp4;
5472 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5473 }
5474 }
5475 if (obj4) {
5476 arg5 = (long) SWIG_AsLong(obj4);
5477 if (PyErr_Occurred()) SWIG_fail;
5478 }
5479 if (obj5) {
5480 {
5481 arg6 = wxString_in_helper(obj5);
5482 if (arg6 == NULL) SWIG_fail;
5483 temp6 = True;
5484 }
5485 }
5486 {
5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
5488 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5489
5490 wxPyEndAllowThreads(__tstate);
5491 if (PyErr_Occurred()) SWIG_fail;
5492 }
5493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5494 {
5495 if (temp6)
5496 delete arg6;
5497 }
5498 return resultobj;
5499 fail:
5500 {
5501 if (temp6)
5502 delete arg6;
5503 }
5504 return NULL;
5505 }
5506
5507
5508 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5509 PyObject *resultobj;
5510 wxSplitterWindow *result;
5511 char *kwnames[] = {
5512 NULL
5513 };
5514
5515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5516 {
5517 PyThreadState* __tstate = wxPyBeginAllowThreads();
5518 result = (wxSplitterWindow *)new wxSplitterWindow();
5519
5520 wxPyEndAllowThreads(__tstate);
5521 if (PyErr_Occurred()) SWIG_fail;
5522 }
5523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5524 return resultobj;
5525 fail:
5526 return NULL;
5527 }
5528
5529
5530 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5531 PyObject *resultobj;
5532 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5533 wxWindow *arg2 = (wxWindow *) 0 ;
5534 int arg3 = (int) -1 ;
5535 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5536 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5537 wxSize const &arg5_defvalue = wxDefaultSize ;
5538 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5539 long arg6 = (long) wxSP_3D ;
5540 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5541 wxString *arg7 = (wxString *) &arg7_defvalue ;
5542 bool result;
5543 wxPoint temp4 ;
5544 wxSize temp5 ;
5545 bool temp7 = False ;
5546 PyObject * obj0 = 0 ;
5547 PyObject * obj1 = 0 ;
5548 PyObject * obj2 = 0 ;
5549 PyObject * obj3 = 0 ;
5550 PyObject * obj4 = 0 ;
5551 PyObject * obj5 = 0 ;
5552 PyObject * obj6 = 0 ;
5553 char *kwnames[] = {
5554 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5555 };
5556
5557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5560 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5562 if (obj2) {
5563 arg3 = (int) SWIG_AsInt(obj2);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 }
5566 if (obj3) {
5567 {
5568 arg4 = &temp4;
5569 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5570 }
5571 }
5572 if (obj4) {
5573 {
5574 arg5 = &temp5;
5575 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5576 }
5577 }
5578 if (obj5) {
5579 arg6 = (long) SWIG_AsLong(obj5);
5580 if (PyErr_Occurred()) SWIG_fail;
5581 }
5582 if (obj6) {
5583 {
5584 arg7 = wxString_in_helper(obj6);
5585 if (arg7 == NULL) SWIG_fail;
5586 temp7 = True;
5587 }
5588 }
5589 {
5590 PyThreadState* __tstate = wxPyBeginAllowThreads();
5591 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5592
5593 wxPyEndAllowThreads(__tstate);
5594 if (PyErr_Occurred()) SWIG_fail;
5595 }
5596 {
5597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5598 }
5599 {
5600 if (temp7)
5601 delete arg7;
5602 }
5603 return resultobj;
5604 fail:
5605 {
5606 if (temp7)
5607 delete arg7;
5608 }
5609 return NULL;
5610 }
5611
5612
5613 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5614 PyObject *resultobj;
5615 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5616 wxWindow *result;
5617 PyObject * obj0 = 0 ;
5618 char *kwnames[] = {
5619 (char *) "self", NULL
5620 };
5621
5622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5625 {
5626 PyThreadState* __tstate = wxPyBeginAllowThreads();
5627 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5628
5629 wxPyEndAllowThreads(__tstate);
5630 if (PyErr_Occurred()) SWIG_fail;
5631 }
5632 {
5633 resultobj = wxPyMake_wxObject(result);
5634 }
5635 return resultobj;
5636 fail:
5637 return NULL;
5638 }
5639
5640
5641 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5642 PyObject *resultobj;
5643 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5644 wxWindow *result;
5645 PyObject * obj0 = 0 ;
5646 char *kwnames[] = {
5647 (char *) "self", NULL
5648 };
5649
5650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5653 {
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5656
5657 wxPyEndAllowThreads(__tstate);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
5660 {
5661 resultobj = wxPyMake_wxObject(result);
5662 }
5663 return resultobj;
5664 fail:
5665 return NULL;
5666 }
5667
5668
5669 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5670 PyObject *resultobj;
5671 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5672 int arg2 ;
5673 PyObject * obj0 = 0 ;
5674 PyObject * obj1 = 0 ;
5675 char *kwnames[] = {
5676 (char *) "self",(char *) "mode", NULL
5677 };
5678
5679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5682 arg2 = (int) SWIG_AsInt(obj1);
5683 if (PyErr_Occurred()) SWIG_fail;
5684 {
5685 PyThreadState* __tstate = wxPyBeginAllowThreads();
5686 (arg1)->SetSplitMode(arg2);
5687
5688 wxPyEndAllowThreads(__tstate);
5689 if (PyErr_Occurred()) SWIG_fail;
5690 }
5691 Py_INCREF(Py_None); resultobj = Py_None;
5692 return resultobj;
5693 fail:
5694 return NULL;
5695 }
5696
5697
5698 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5699 PyObject *resultobj;
5700 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5701 int result;
5702 PyObject * obj0 = 0 ;
5703 char *kwnames[] = {
5704 (char *) "self", NULL
5705 };
5706
5707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5710 {
5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
5712 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5713
5714 wxPyEndAllowThreads(__tstate);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 resultobj = SWIG_FromInt((int)result);
5718 return resultobj;
5719 fail:
5720 return NULL;
5721 }
5722
5723
5724 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5725 PyObject *resultobj;
5726 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5727 wxWindow *arg2 = (wxWindow *) 0 ;
5728 PyObject * obj0 = 0 ;
5729 PyObject * obj1 = 0 ;
5730 char *kwnames[] = {
5731 (char *) "self",(char *) "window", NULL
5732 };
5733
5734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5737 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5739 {
5740 PyThreadState* __tstate = wxPyBeginAllowThreads();
5741 (arg1)->Initialize(arg2);
5742
5743 wxPyEndAllowThreads(__tstate);
5744 if (PyErr_Occurred()) SWIG_fail;
5745 }
5746 Py_INCREF(Py_None); resultobj = Py_None;
5747 return resultobj;
5748 fail:
5749 return NULL;
5750 }
5751
5752
5753 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5754 PyObject *resultobj;
5755 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5756 wxWindow *arg2 = (wxWindow *) 0 ;
5757 wxWindow *arg3 = (wxWindow *) 0 ;
5758 int arg4 = (int) 0 ;
5759 bool result;
5760 PyObject * obj0 = 0 ;
5761 PyObject * obj1 = 0 ;
5762 PyObject * obj2 = 0 ;
5763 PyObject * obj3 = 0 ;
5764 char *kwnames[] = {
5765 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5766 };
5767
5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5771 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5773 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5775 if (obj3) {
5776 arg4 = (int) SWIG_AsInt(obj3);
5777 if (PyErr_Occurred()) SWIG_fail;
5778 }
5779 {
5780 PyThreadState* __tstate = wxPyBeginAllowThreads();
5781 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5782
5783 wxPyEndAllowThreads(__tstate);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 }
5786 {
5787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5788 }
5789 return resultobj;
5790 fail:
5791 return NULL;
5792 }
5793
5794
5795 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5796 PyObject *resultobj;
5797 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5798 wxWindow *arg2 = (wxWindow *) 0 ;
5799 wxWindow *arg3 = (wxWindow *) 0 ;
5800 int arg4 = (int) 0 ;
5801 bool result;
5802 PyObject * obj0 = 0 ;
5803 PyObject * obj1 = 0 ;
5804 PyObject * obj2 = 0 ;
5805 PyObject * obj3 = 0 ;
5806 char *kwnames[] = {
5807 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5808 };
5809
5810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5813 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5815 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5817 if (obj3) {
5818 arg4 = (int) SWIG_AsInt(obj3);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 }
5821 {
5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
5823 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5824
5825 wxPyEndAllowThreads(__tstate);
5826 if (PyErr_Occurred()) SWIG_fail;
5827 }
5828 {
5829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5830 }
5831 return resultobj;
5832 fail:
5833 return NULL;
5834 }
5835
5836
5837 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5838 PyObject *resultobj;
5839 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5840 wxWindow *arg2 = (wxWindow *) NULL ;
5841 bool result;
5842 PyObject * obj0 = 0 ;
5843 PyObject * obj1 = 0 ;
5844 char *kwnames[] = {
5845 (char *) "self",(char *) "toRemove", NULL
5846 };
5847
5848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5851 if (obj1) {
5852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5854 }
5855 {
5856 PyThreadState* __tstate = wxPyBeginAllowThreads();
5857 result = (bool)(arg1)->Unsplit(arg2);
5858
5859 wxPyEndAllowThreads(__tstate);
5860 if (PyErr_Occurred()) SWIG_fail;
5861 }
5862 {
5863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5864 }
5865 return resultobj;
5866 fail:
5867 return NULL;
5868 }
5869
5870
5871 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5872 PyObject *resultobj;
5873 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5874 wxWindow *arg2 = (wxWindow *) 0 ;
5875 wxWindow *arg3 = (wxWindow *) 0 ;
5876 bool result;
5877 PyObject * obj0 = 0 ;
5878 PyObject * obj1 = 0 ;
5879 PyObject * obj2 = 0 ;
5880 char *kwnames[] = {
5881 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5882 };
5883
5884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5887 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5889 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5891 {
5892 PyThreadState* __tstate = wxPyBeginAllowThreads();
5893 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5894
5895 wxPyEndAllowThreads(__tstate);
5896 if (PyErr_Occurred()) SWIG_fail;
5897 }
5898 {
5899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5900 }
5901 return resultobj;
5902 fail:
5903 return NULL;
5904 }
5905
5906
5907 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5908 PyObject *resultobj;
5909 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5910 PyObject * obj0 = 0 ;
5911 char *kwnames[] = {
5912 (char *) "self", NULL
5913 };
5914
5915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5918 {
5919 PyThreadState* __tstate = wxPyBeginAllowThreads();
5920 (arg1)->UpdateSize();
5921
5922 wxPyEndAllowThreads(__tstate);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 Py_INCREF(Py_None); resultobj = Py_None;
5926 return resultobj;
5927 fail:
5928 return NULL;
5929 }
5930
5931
5932 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5933 PyObject *resultobj;
5934 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5935 bool result;
5936 PyObject * obj0 = 0 ;
5937 char *kwnames[] = {
5938 (char *) "self", NULL
5939 };
5940
5941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5944 {
5945 PyThreadState* __tstate = wxPyBeginAllowThreads();
5946 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5947
5948 wxPyEndAllowThreads(__tstate);
5949 if (PyErr_Occurred()) SWIG_fail;
5950 }
5951 {
5952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5953 }
5954 return resultobj;
5955 fail:
5956 return NULL;
5957 }
5958
5959
5960 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5961 PyObject *resultobj;
5962 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5963 int arg2 ;
5964 PyObject * obj0 = 0 ;
5965 PyObject * obj1 = 0 ;
5966 char *kwnames[] = {
5967 (char *) "self",(char *) "width", NULL
5968 };
5969
5970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5973 arg2 = (int) SWIG_AsInt(obj1);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 {
5976 PyThreadState* __tstate = wxPyBeginAllowThreads();
5977 (arg1)->SetSashSize(arg2);
5978
5979 wxPyEndAllowThreads(__tstate);
5980 if (PyErr_Occurred()) SWIG_fail;
5981 }
5982 Py_INCREF(Py_None); resultobj = Py_None;
5983 return resultobj;
5984 fail:
5985 return NULL;
5986 }
5987
5988
5989 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5990 PyObject *resultobj;
5991 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5992 int arg2 ;
5993 PyObject * obj0 = 0 ;
5994 PyObject * obj1 = 0 ;
5995 char *kwnames[] = {
5996 (char *) "self",(char *) "width", NULL
5997 };
5998
5999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6002 arg2 = (int) SWIG_AsInt(obj1);
6003 if (PyErr_Occurred()) SWIG_fail;
6004 {
6005 PyThreadState* __tstate = wxPyBeginAllowThreads();
6006 (arg1)->SetBorderSize(arg2);
6007
6008 wxPyEndAllowThreads(__tstate);
6009 if (PyErr_Occurred()) SWIG_fail;
6010 }
6011 Py_INCREF(Py_None); resultobj = Py_None;
6012 return resultobj;
6013 fail:
6014 return NULL;
6015 }
6016
6017
6018 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6019 PyObject *resultobj;
6020 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6021 int result;
6022 PyObject * obj0 = 0 ;
6023 char *kwnames[] = {
6024 (char *) "self", NULL
6025 };
6026
6027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6030 {
6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6032 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6033
6034 wxPyEndAllowThreads(__tstate);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 }
6037 resultobj = SWIG_FromInt((int)result);
6038 return resultobj;
6039 fail:
6040 return NULL;
6041 }
6042
6043
6044 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6045 PyObject *resultobj;
6046 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6047 int result;
6048 PyObject * obj0 = 0 ;
6049 char *kwnames[] = {
6050 (char *) "self", NULL
6051 };
6052
6053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6056 {
6057 PyThreadState* __tstate = wxPyBeginAllowThreads();
6058 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6059
6060 wxPyEndAllowThreads(__tstate);
6061 if (PyErr_Occurred()) SWIG_fail;
6062 }
6063 resultobj = SWIG_FromInt((int)result);
6064 return resultobj;
6065 fail:
6066 return NULL;
6067 }
6068
6069
6070 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6071 PyObject *resultobj;
6072 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6073 int arg2 ;
6074 bool arg3 = (bool) True ;
6075 PyObject * obj0 = 0 ;
6076 PyObject * obj1 = 0 ;
6077 PyObject * obj2 = 0 ;
6078 char *kwnames[] = {
6079 (char *) "self",(char *) "position",(char *) "redraw", NULL
6080 };
6081
6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6085 arg2 = (int) SWIG_AsInt(obj1);
6086 if (PyErr_Occurred()) SWIG_fail;
6087 if (obj2) {
6088 arg3 = (bool) SWIG_AsBool(obj2);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 (arg1)->SetSashPosition(arg2,arg3);
6094
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 Py_INCREF(Py_None); resultobj = Py_None;
6099 return resultobj;
6100 fail:
6101 return NULL;
6102 }
6103
6104
6105 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6106 PyObject *resultobj;
6107 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6108 int result;
6109 PyObject * obj0 = 0 ;
6110 char *kwnames[] = {
6111 (char *) "self", NULL
6112 };
6113
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6120
6121 wxPyEndAllowThreads(__tstate);
6122 if (PyErr_Occurred()) SWIG_fail;
6123 }
6124 resultobj = SWIG_FromInt((int)result);
6125 return resultobj;
6126 fail:
6127 return NULL;
6128 }
6129
6130
6131 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6132 PyObject *resultobj;
6133 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6134 int arg2 ;
6135 PyObject * obj0 = 0 ;
6136 PyObject * obj1 = 0 ;
6137 char *kwnames[] = {
6138 (char *) "self",(char *) "min", NULL
6139 };
6140
6141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6144 arg2 = (int) SWIG_AsInt(obj1);
6145 if (PyErr_Occurred()) SWIG_fail;
6146 {
6147 PyThreadState* __tstate = wxPyBeginAllowThreads();
6148 (arg1)->SetMinimumPaneSize(arg2);
6149
6150 wxPyEndAllowThreads(__tstate);
6151 if (PyErr_Occurred()) SWIG_fail;
6152 }
6153 Py_INCREF(Py_None); resultobj = Py_None;
6154 return resultobj;
6155 fail:
6156 return NULL;
6157 }
6158
6159
6160 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6161 PyObject *resultobj;
6162 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6163 int result;
6164 PyObject * obj0 = 0 ;
6165 char *kwnames[] = {
6166 (char *) "self", NULL
6167 };
6168
6169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) SWIG_fail;
6178 }
6179 resultobj = SWIG_FromInt((int)result);
6180 return resultobj;
6181 fail:
6182 return NULL;
6183 }
6184
6185
6186 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6187 PyObject *resultobj;
6188 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6189 int arg2 ;
6190 int arg3 ;
6191 int arg4 = (int) 5 ;
6192 bool result;
6193 PyObject * obj0 = 0 ;
6194 PyObject * obj1 = 0 ;
6195 PyObject * obj2 = 0 ;
6196 PyObject * obj3 = 0 ;
6197 char *kwnames[] = {
6198 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6199 };
6200
6201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6204 arg2 = (int) SWIG_AsInt(obj1);
6205 if (PyErr_Occurred()) SWIG_fail;
6206 arg3 = (int) SWIG_AsInt(obj2);
6207 if (PyErr_Occurred()) SWIG_fail;
6208 if (obj3) {
6209 arg4 = (int) SWIG_AsInt(obj3);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 {
6213 PyThreadState* __tstate = wxPyBeginAllowThreads();
6214 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6215
6216 wxPyEndAllowThreads(__tstate);
6217 if (PyErr_Occurred()) SWIG_fail;
6218 }
6219 {
6220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6221 }
6222 return resultobj;
6223 fail:
6224 return NULL;
6225 }
6226
6227
6228 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6229 PyObject *resultobj;
6230 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6231 PyObject * obj0 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 (arg1)->SizeWindows();
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 Py_INCREF(Py_None); resultobj = Py_None;
6247 return resultobj;
6248 fail:
6249 return NULL;
6250 }
6251
6252
6253 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6254 PyObject *resultobj;
6255 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6256 bool arg2 ;
6257 PyObject * obj0 = 0 ;
6258 PyObject * obj1 = 0 ;
6259 char *kwnames[] = {
6260 (char *) "self",(char *) "needUpdating", NULL
6261 };
6262
6263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6266 arg2 = (bool) SWIG_AsBool(obj1);
6267 if (PyErr_Occurred()) SWIG_fail;
6268 {
6269 PyThreadState* __tstate = wxPyBeginAllowThreads();
6270 (arg1)->SetNeedUpdating(arg2);
6271
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 }
6275 Py_INCREF(Py_None); resultobj = Py_None;
6276 return resultobj;
6277 fail:
6278 return NULL;
6279 }
6280
6281
6282 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6283 PyObject *resultobj;
6284 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6285 bool result;
6286 PyObject * obj0 = 0 ;
6287 char *kwnames[] = {
6288 (char *) "self", NULL
6289 };
6290
6291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6297
6298 wxPyEndAllowThreads(__tstate);
6299 if (PyErr_Occurred()) SWIG_fail;
6300 }
6301 {
6302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6303 }
6304 return resultobj;
6305 fail:
6306 return NULL;
6307 }
6308
6309
6310 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6311 PyObject *obj;
6312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6313 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6314 Py_INCREF(obj);
6315 return Py_BuildValue((char *)"");
6316 }
6317 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6318 PyObject *resultobj;
6319 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6320 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6321 wxSplitterEvent *result;
6322 PyObject * obj0 = 0 ;
6323 PyObject * obj1 = 0 ;
6324 char *kwnames[] = {
6325 (char *) "type",(char *) "splitter", NULL
6326 };
6327
6328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6329 if (obj0) {
6330 arg1 = (wxEventType) SWIG_AsInt(obj0);
6331 if (PyErr_Occurred()) SWIG_fail;
6332 }
6333 if (obj1) {
6334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6336 }
6337 {
6338 PyThreadState* __tstate = wxPyBeginAllowThreads();
6339 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6340
6341 wxPyEndAllowThreads(__tstate);
6342 if (PyErr_Occurred()) SWIG_fail;
6343 }
6344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6345 return resultobj;
6346 fail:
6347 return NULL;
6348 }
6349
6350
6351 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6352 PyObject *resultobj;
6353 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6354 int arg2 ;
6355 PyObject * obj0 = 0 ;
6356 PyObject * obj1 = 0 ;
6357 char *kwnames[] = {
6358 (char *) "self",(char *) "pos", NULL
6359 };
6360
6361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6364 arg2 = (int) SWIG_AsInt(obj1);
6365 if (PyErr_Occurred()) SWIG_fail;
6366 {
6367 PyThreadState* __tstate = wxPyBeginAllowThreads();
6368 (arg1)->SetSashPosition(arg2);
6369
6370 wxPyEndAllowThreads(__tstate);
6371 if (PyErr_Occurred()) SWIG_fail;
6372 }
6373 Py_INCREF(Py_None); resultobj = Py_None;
6374 return resultobj;
6375 fail:
6376 return NULL;
6377 }
6378
6379
6380 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6381 PyObject *resultobj;
6382 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6383 int result;
6384 PyObject * obj0 = 0 ;
6385 char *kwnames[] = {
6386 (char *) "self", NULL
6387 };
6388
6389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6392 {
6393 PyThreadState* __tstate = wxPyBeginAllowThreads();
6394 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6395
6396 wxPyEndAllowThreads(__tstate);
6397 if (PyErr_Occurred()) SWIG_fail;
6398 }
6399 resultobj = SWIG_FromInt((int)result);
6400 return resultobj;
6401 fail:
6402 return NULL;
6403 }
6404
6405
6406 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6407 PyObject *resultobj;
6408 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6409 wxWindow *result;
6410 PyObject * obj0 = 0 ;
6411 char *kwnames[] = {
6412 (char *) "self", NULL
6413 };
6414
6415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6418 {
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6421
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 {
6426 resultobj = wxPyMake_wxObject(result);
6427 }
6428 return resultobj;
6429 fail:
6430 return NULL;
6431 }
6432
6433
6434 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6435 PyObject *resultobj;
6436 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6437 int result;
6438 PyObject * obj0 = 0 ;
6439 char *kwnames[] = {
6440 (char *) "self", NULL
6441 };
6442
6443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6446 {
6447 PyThreadState* __tstate = wxPyBeginAllowThreads();
6448 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6449
6450 wxPyEndAllowThreads(__tstate);
6451 if (PyErr_Occurred()) SWIG_fail;
6452 }
6453 resultobj = SWIG_FromInt((int)result);
6454 return resultobj;
6455 fail:
6456 return NULL;
6457 }
6458
6459
6460 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6461 PyObject *resultobj;
6462 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6463 int result;
6464 PyObject * obj0 = 0 ;
6465 char *kwnames[] = {
6466 (char *) "self", NULL
6467 };
6468
6469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6475
6476 wxPyEndAllowThreads(__tstate);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 }
6479 resultobj = SWIG_FromInt((int)result);
6480 return resultobj;
6481 fail:
6482 return NULL;
6483 }
6484
6485
6486 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6487 PyObject *obj;
6488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6489 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6490 Py_INCREF(obj);
6491 return Py_BuildValue((char *)"");
6492 }
6493 static int _wrap_SashNameStr_set(PyObject *_val) {
6494 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6495 return 1;
6496 }
6497
6498
6499 static PyObject *_wrap_SashNameStr_get() {
6500 PyObject *pyobj;
6501
6502 {
6503 #if wxUSE_UNICODE
6504 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6505 #else
6506 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6507 #endif
6508 }
6509 return pyobj;
6510 }
6511
6512
6513 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6514 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6515 return 1;
6516 }
6517
6518
6519 static PyObject *_wrap_SashLayoutNameStr_get() {
6520 PyObject *pyobj;
6521
6522 {
6523 #if wxUSE_UNICODE
6524 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6525 #else
6526 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6527 #endif
6528 }
6529 return pyobj;
6530 }
6531
6532
6533 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6534 PyObject *resultobj;
6535 wxWindow *arg1 = (wxWindow *) 0 ;
6536 int arg2 ;
6537 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6538 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6539 wxSize const &arg4_defvalue = wxDefaultSize ;
6540 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6541 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6542 wxString const &arg6_defvalue = wxPySashNameStr ;
6543 wxString *arg6 = (wxString *) &arg6_defvalue ;
6544 wxSashWindow *result;
6545 wxPoint temp3 ;
6546 wxSize temp4 ;
6547 bool temp6 = False ;
6548 PyObject * obj0 = 0 ;
6549 PyObject * obj1 = 0 ;
6550 PyObject * obj2 = 0 ;
6551 PyObject * obj3 = 0 ;
6552 PyObject * obj4 = 0 ;
6553 PyObject * obj5 = 0 ;
6554 char *kwnames[] = {
6555 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6556 };
6557
6558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6561 arg2 = (int) SWIG_AsInt(obj1);
6562 if (PyErr_Occurred()) SWIG_fail;
6563 if (obj2) {
6564 {
6565 arg3 = &temp3;
6566 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6567 }
6568 }
6569 if (obj3) {
6570 {
6571 arg4 = &temp4;
6572 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6573 }
6574 }
6575 if (obj4) {
6576 arg5 = (long) SWIG_AsLong(obj4);
6577 if (PyErr_Occurred()) SWIG_fail;
6578 }
6579 if (obj5) {
6580 {
6581 arg6 = wxString_in_helper(obj5);
6582 if (arg6 == NULL) SWIG_fail;
6583 temp6 = True;
6584 }
6585 }
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6589
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6594 {
6595 if (temp6)
6596 delete arg6;
6597 }
6598 return resultobj;
6599 fail:
6600 {
6601 if (temp6)
6602 delete arg6;
6603 }
6604 return NULL;
6605 }
6606
6607
6608 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6609 PyObject *resultobj;
6610 wxSashWindow *result;
6611 char *kwnames[] = {
6612 NULL
6613 };
6614
6615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6616 {
6617 PyThreadState* __tstate = wxPyBeginAllowThreads();
6618 result = (wxSashWindow *)new wxSashWindow();
6619
6620 wxPyEndAllowThreads(__tstate);
6621 if (PyErr_Occurred()) SWIG_fail;
6622 }
6623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6624 return resultobj;
6625 fail:
6626 return NULL;
6627 }
6628
6629
6630 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6631 PyObject *resultobj;
6632 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6633 wxWindow *arg2 = (wxWindow *) 0 ;
6634 int arg3 ;
6635 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6636 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6637 wxSize const &arg5_defvalue = wxDefaultSize ;
6638 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6639 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6640 wxString const &arg7_defvalue = wxPySashNameStr ;
6641 wxString *arg7 = (wxString *) &arg7_defvalue ;
6642 bool result;
6643 wxPoint temp4 ;
6644 wxSize temp5 ;
6645 bool temp7 = False ;
6646 PyObject * obj0 = 0 ;
6647 PyObject * obj1 = 0 ;
6648 PyObject * obj2 = 0 ;
6649 PyObject * obj3 = 0 ;
6650 PyObject * obj4 = 0 ;
6651 PyObject * obj5 = 0 ;
6652 PyObject * obj6 = 0 ;
6653 char *kwnames[] = {
6654 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6655 };
6656
6657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6662 arg3 = (int) SWIG_AsInt(obj2);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 if (obj3) {
6665 {
6666 arg4 = &temp4;
6667 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6668 }
6669 }
6670 if (obj4) {
6671 {
6672 arg5 = &temp5;
6673 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6674 }
6675 }
6676 if (obj5) {
6677 arg6 = (long) SWIG_AsLong(obj5);
6678 if (PyErr_Occurred()) SWIG_fail;
6679 }
6680 if (obj6) {
6681 {
6682 arg7 = wxString_in_helper(obj6);
6683 if (arg7 == NULL) SWIG_fail;
6684 temp7 = True;
6685 }
6686 }
6687 {
6688 PyThreadState* __tstate = wxPyBeginAllowThreads();
6689 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6690
6691 wxPyEndAllowThreads(__tstate);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 {
6695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6696 }
6697 {
6698 if (temp7)
6699 delete arg7;
6700 }
6701 return resultobj;
6702 fail:
6703 {
6704 if (temp7)
6705 delete arg7;
6706 }
6707 return NULL;
6708 }
6709
6710
6711 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6712 PyObject *resultobj;
6713 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6714 int arg2 ;
6715 bool arg3 ;
6716 PyObject * obj0 = 0 ;
6717 PyObject * obj1 = 0 ;
6718 PyObject * obj2 = 0 ;
6719 char *kwnames[] = {
6720 (char *) "self",(char *) "edge",(char *) "sash", NULL
6721 };
6722
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6726 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 arg3 = (bool) SWIG_AsBool(obj2);
6729 if (PyErr_Occurred()) SWIG_fail;
6730 {
6731 PyThreadState* __tstate = wxPyBeginAllowThreads();
6732 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6733
6734 wxPyEndAllowThreads(__tstate);
6735 if (PyErr_Occurred()) SWIG_fail;
6736 }
6737 Py_INCREF(Py_None); resultobj = Py_None;
6738 return resultobj;
6739 fail:
6740 return NULL;
6741 }
6742
6743
6744 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6745 PyObject *resultobj;
6746 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6747 int arg2 ;
6748 bool result;
6749 PyObject * obj0 = 0 ;
6750 PyObject * obj1 = 0 ;
6751 char *kwnames[] = {
6752 (char *) "self",(char *) "edge", NULL
6753 };
6754
6755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6758 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 {
6761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6762 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6763
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
6767 {
6768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6769 }
6770 return resultobj;
6771 fail:
6772 return NULL;
6773 }
6774
6775
6776 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6777 PyObject *resultobj;
6778 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6779 int arg2 ;
6780 bool arg3 ;
6781 PyObject * obj0 = 0 ;
6782 PyObject * obj1 = 0 ;
6783 PyObject * obj2 = 0 ;
6784 char *kwnames[] = {
6785 (char *) "self",(char *) "edge",(char *) "border", NULL
6786 };
6787
6788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6791 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6792 if (PyErr_Occurred()) SWIG_fail;
6793 arg3 = (bool) SWIG_AsBool(obj2);
6794 if (PyErr_Occurred()) SWIG_fail;
6795 {
6796 PyThreadState* __tstate = wxPyBeginAllowThreads();
6797 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6798
6799 wxPyEndAllowThreads(__tstate);
6800 if (PyErr_Occurred()) SWIG_fail;
6801 }
6802 Py_INCREF(Py_None); resultobj = Py_None;
6803 return resultobj;
6804 fail:
6805 return NULL;
6806 }
6807
6808
6809 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6810 PyObject *resultobj;
6811 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6812 int arg2 ;
6813 bool result;
6814 PyObject * obj0 = 0 ;
6815 PyObject * obj1 = 0 ;
6816 char *kwnames[] = {
6817 (char *) "self",(char *) "edge", NULL
6818 };
6819
6820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6823 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6824 if (PyErr_Occurred()) SWIG_fail;
6825 {
6826 PyThreadState* __tstate = wxPyBeginAllowThreads();
6827 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6828
6829 wxPyEndAllowThreads(__tstate);
6830 if (PyErr_Occurred()) SWIG_fail;
6831 }
6832 {
6833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6834 }
6835 return resultobj;
6836 fail:
6837 return NULL;
6838 }
6839
6840
6841 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6842 PyObject *resultobj;
6843 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6844 int arg2 ;
6845 int result;
6846 PyObject * obj0 = 0 ;
6847 PyObject * obj1 = 0 ;
6848 char *kwnames[] = {
6849 (char *) "self",(char *) "edge", NULL
6850 };
6851
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6855 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6856 if (PyErr_Occurred()) SWIG_fail;
6857 {
6858 PyThreadState* __tstate = wxPyBeginAllowThreads();
6859 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6860
6861 wxPyEndAllowThreads(__tstate);
6862 if (PyErr_Occurred()) SWIG_fail;
6863 }
6864 resultobj = SWIG_FromInt((int)result);
6865 return resultobj;
6866 fail:
6867 return NULL;
6868 }
6869
6870
6871 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6872 PyObject *resultobj;
6873 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6874 int arg2 ;
6875 PyObject * obj0 = 0 ;
6876 PyObject * obj1 = 0 ;
6877 char *kwnames[] = {
6878 (char *) "self",(char *) "width", NULL
6879 };
6880
6881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6884 arg2 = (int) SWIG_AsInt(obj1);
6885 if (PyErr_Occurred()) SWIG_fail;
6886 {
6887 PyThreadState* __tstate = wxPyBeginAllowThreads();
6888 (arg1)->SetDefaultBorderSize(arg2);
6889
6890 wxPyEndAllowThreads(__tstate);
6891 if (PyErr_Occurred()) SWIG_fail;
6892 }
6893 Py_INCREF(Py_None); resultobj = Py_None;
6894 return resultobj;
6895 fail:
6896 return NULL;
6897 }
6898
6899
6900 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6901 PyObject *resultobj;
6902 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6903 int result;
6904 PyObject * obj0 = 0 ;
6905 char *kwnames[] = {
6906 (char *) "self", NULL
6907 };
6908
6909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6912 {
6913 PyThreadState* __tstate = wxPyBeginAllowThreads();
6914 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6915
6916 wxPyEndAllowThreads(__tstate);
6917 if (PyErr_Occurred()) SWIG_fail;
6918 }
6919 resultobj = SWIG_FromInt((int)result);
6920 return resultobj;
6921 fail:
6922 return NULL;
6923 }
6924
6925
6926 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6927 PyObject *resultobj;
6928 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6929 int arg2 ;
6930 PyObject * obj0 = 0 ;
6931 PyObject * obj1 = 0 ;
6932 char *kwnames[] = {
6933 (char *) "self",(char *) "width", NULL
6934 };
6935
6936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6939 arg2 = (int) SWIG_AsInt(obj1);
6940 if (PyErr_Occurred()) SWIG_fail;
6941 {
6942 PyThreadState* __tstate = wxPyBeginAllowThreads();
6943 (arg1)->SetExtraBorderSize(arg2);
6944
6945 wxPyEndAllowThreads(__tstate);
6946 if (PyErr_Occurred()) SWIG_fail;
6947 }
6948 Py_INCREF(Py_None); resultobj = Py_None;
6949 return resultobj;
6950 fail:
6951 return NULL;
6952 }
6953
6954
6955 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6956 PyObject *resultobj;
6957 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6958 int result;
6959 PyObject * obj0 = 0 ;
6960 char *kwnames[] = {
6961 (char *) "self", NULL
6962 };
6963
6964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6967 {
6968 PyThreadState* __tstate = wxPyBeginAllowThreads();
6969 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6970
6971 wxPyEndAllowThreads(__tstate);
6972 if (PyErr_Occurred()) SWIG_fail;
6973 }
6974 resultobj = SWIG_FromInt((int)result);
6975 return resultobj;
6976 fail:
6977 return NULL;
6978 }
6979
6980
6981 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6982 PyObject *resultobj;
6983 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6984 int arg2 ;
6985 PyObject * obj0 = 0 ;
6986 PyObject * obj1 = 0 ;
6987 char *kwnames[] = {
6988 (char *) "self",(char *) "min", NULL
6989 };
6990
6991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6994 arg2 = (int) SWIG_AsInt(obj1);
6995 if (PyErr_Occurred()) SWIG_fail;
6996 {
6997 PyThreadState* __tstate = wxPyBeginAllowThreads();
6998 (arg1)->SetMinimumSizeX(arg2);
6999
7000 wxPyEndAllowThreads(__tstate);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 }
7003 Py_INCREF(Py_None); resultobj = Py_None;
7004 return resultobj;
7005 fail:
7006 return NULL;
7007 }
7008
7009
7010 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7011 PyObject *resultobj;
7012 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7013 int arg2 ;
7014 PyObject * obj0 = 0 ;
7015 PyObject * obj1 = 0 ;
7016 char *kwnames[] = {
7017 (char *) "self",(char *) "min", NULL
7018 };
7019
7020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7023 arg2 = (int) SWIG_AsInt(obj1);
7024 if (PyErr_Occurred()) SWIG_fail;
7025 {
7026 PyThreadState* __tstate = wxPyBeginAllowThreads();
7027 (arg1)->SetMinimumSizeY(arg2);
7028
7029 wxPyEndAllowThreads(__tstate);
7030 if (PyErr_Occurred()) SWIG_fail;
7031 }
7032 Py_INCREF(Py_None); resultobj = Py_None;
7033 return resultobj;
7034 fail:
7035 return NULL;
7036 }
7037
7038
7039 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7040 PyObject *resultobj;
7041 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7042 int result;
7043 PyObject * obj0 = 0 ;
7044 char *kwnames[] = {
7045 (char *) "self", NULL
7046 };
7047
7048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7051 {
7052 PyThreadState* __tstate = wxPyBeginAllowThreads();
7053 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7054
7055 wxPyEndAllowThreads(__tstate);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 resultobj = SWIG_FromInt((int)result);
7059 return resultobj;
7060 fail:
7061 return NULL;
7062 }
7063
7064
7065 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7066 PyObject *resultobj;
7067 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7068 int result;
7069 PyObject * obj0 = 0 ;
7070 char *kwnames[] = {
7071 (char *) "self", NULL
7072 };
7073
7074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7077 {
7078 PyThreadState* __tstate = wxPyBeginAllowThreads();
7079 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7080
7081 wxPyEndAllowThreads(__tstate);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 }
7084 resultobj = SWIG_FromInt((int)result);
7085 return resultobj;
7086 fail:
7087 return NULL;
7088 }
7089
7090
7091 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7092 PyObject *resultobj;
7093 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7094 int arg2 ;
7095 PyObject * obj0 = 0 ;
7096 PyObject * obj1 = 0 ;
7097 char *kwnames[] = {
7098 (char *) "self",(char *) "max", NULL
7099 };
7100
7101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7104 arg2 = (int) SWIG_AsInt(obj1);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 {
7107 PyThreadState* __tstate = wxPyBeginAllowThreads();
7108 (arg1)->SetMaximumSizeX(arg2);
7109
7110 wxPyEndAllowThreads(__tstate);
7111 if (PyErr_Occurred()) SWIG_fail;
7112 }
7113 Py_INCREF(Py_None); resultobj = Py_None;
7114 return resultobj;
7115 fail:
7116 return NULL;
7117 }
7118
7119
7120 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7121 PyObject *resultobj;
7122 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7123 int arg2 ;
7124 PyObject * obj0 = 0 ;
7125 PyObject * obj1 = 0 ;
7126 char *kwnames[] = {
7127 (char *) "self",(char *) "max", NULL
7128 };
7129
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7133 arg2 = (int) SWIG_AsInt(obj1);
7134 if (PyErr_Occurred()) SWIG_fail;
7135 {
7136 PyThreadState* __tstate = wxPyBeginAllowThreads();
7137 (arg1)->SetMaximumSizeY(arg2);
7138
7139 wxPyEndAllowThreads(__tstate);
7140 if (PyErr_Occurred()) SWIG_fail;
7141 }
7142 Py_INCREF(Py_None); resultobj = Py_None;
7143 return resultobj;
7144 fail:
7145 return NULL;
7146 }
7147
7148
7149 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7150 PyObject *resultobj;
7151 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7152 int result;
7153 PyObject * obj0 = 0 ;
7154 char *kwnames[] = {
7155 (char *) "self", NULL
7156 };
7157
7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7161 {
7162 PyThreadState* __tstate = wxPyBeginAllowThreads();
7163 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7164
7165 wxPyEndAllowThreads(__tstate);
7166 if (PyErr_Occurred()) SWIG_fail;
7167 }
7168 resultobj = SWIG_FromInt((int)result);
7169 return resultobj;
7170 fail:
7171 return NULL;
7172 }
7173
7174
7175 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7176 PyObject *resultobj;
7177 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7178 int result;
7179 PyObject * obj0 = 0 ;
7180 char *kwnames[] = {
7181 (char *) "self", NULL
7182 };
7183
7184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7187 {
7188 PyThreadState* __tstate = wxPyBeginAllowThreads();
7189 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7190
7191 wxPyEndAllowThreads(__tstate);
7192 if (PyErr_Occurred()) SWIG_fail;
7193 }
7194 resultobj = SWIG_FromInt((int)result);
7195 return resultobj;
7196 fail:
7197 return NULL;
7198 }
7199
7200
7201 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7202 PyObject *resultobj;
7203 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7204 int arg2 ;
7205 int arg3 ;
7206 int arg4 = (int) 2 ;
7207 int result;
7208 PyObject * obj0 = 0 ;
7209 PyObject * obj1 = 0 ;
7210 PyObject * obj2 = 0 ;
7211 PyObject * obj3 = 0 ;
7212 char *kwnames[] = {
7213 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7214 };
7215
7216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7219 arg2 = (int) SWIG_AsInt(obj1);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 arg3 = (int) SWIG_AsInt(obj2);
7222 if (PyErr_Occurred()) SWIG_fail;
7223 if (obj3) {
7224 arg4 = (int) SWIG_AsInt(obj3);
7225 if (PyErr_Occurred()) SWIG_fail;
7226 }
7227 {
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7230
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 resultobj = SWIG_FromInt((int)result);
7235 return resultobj;
7236 fail:
7237 return NULL;
7238 }
7239
7240
7241 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7242 PyObject *resultobj;
7243 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7244 PyObject * obj0 = 0 ;
7245 char *kwnames[] = {
7246 (char *) "self", NULL
7247 };
7248
7249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7252 {
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
7254 (arg1)->SizeWindows();
7255
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
7259 Py_INCREF(Py_None); resultobj = Py_None;
7260 return resultobj;
7261 fail:
7262 return NULL;
7263 }
7264
7265
7266 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7267 PyObject *obj;
7268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7269 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7270 Py_INCREF(obj);
7271 return Py_BuildValue((char *)"");
7272 }
7273 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7274 PyObject *resultobj;
7275 int arg1 = (int) 0 ;
7276 int arg2 = (int) wxSASH_NONE ;
7277 wxSashEvent *result;
7278 PyObject * obj0 = 0 ;
7279 PyObject * obj1 = 0 ;
7280 char *kwnames[] = {
7281 (char *) "id",(char *) "edge", NULL
7282 };
7283
7284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7285 if (obj0) {
7286 arg1 = (int) SWIG_AsInt(obj0);
7287 if (PyErr_Occurred()) SWIG_fail;
7288 }
7289 if (obj1) {
7290 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7291 if (PyErr_Occurred()) SWIG_fail;
7292 }
7293 {
7294 PyThreadState* __tstate = wxPyBeginAllowThreads();
7295 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7296
7297 wxPyEndAllowThreads(__tstate);
7298 if (PyErr_Occurred()) SWIG_fail;
7299 }
7300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7301 return resultobj;
7302 fail:
7303 return NULL;
7304 }
7305
7306
7307 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7308 PyObject *resultobj;
7309 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7310 int arg2 ;
7311 PyObject * obj0 = 0 ;
7312 PyObject * obj1 = 0 ;
7313 char *kwnames[] = {
7314 (char *) "self",(char *) "edge", NULL
7315 };
7316
7317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7320 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7321 if (PyErr_Occurred()) SWIG_fail;
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7325
7326 wxPyEndAllowThreads(__tstate);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 }
7329 Py_INCREF(Py_None); resultobj = Py_None;
7330 return resultobj;
7331 fail:
7332 return NULL;
7333 }
7334
7335
7336 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7337 PyObject *resultobj;
7338 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7339 int result;
7340 PyObject * obj0 = 0 ;
7341 char *kwnames[] = {
7342 (char *) "self", NULL
7343 };
7344
7345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7348 {
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7351
7352 wxPyEndAllowThreads(__tstate);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 }
7355 resultobj = SWIG_FromInt((int)result);
7356 return resultobj;
7357 fail:
7358 return NULL;
7359 }
7360
7361
7362 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj;
7364 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7365 wxRect *arg2 = 0 ;
7366 wxRect temp2 ;
7367 PyObject * obj0 = 0 ;
7368 PyObject * obj1 = 0 ;
7369 char *kwnames[] = {
7370 (char *) "self",(char *) "rect", NULL
7371 };
7372
7373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7376 {
7377 arg2 = &temp2;
7378 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7379 }
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 (arg1)->SetDragRect((wxRect const &)*arg2);
7383
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
7387 Py_INCREF(Py_None); resultobj = Py_None;
7388 return resultobj;
7389 fail:
7390 return NULL;
7391 }
7392
7393
7394 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7395 PyObject *resultobj;
7396 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7397 wxRect result;
7398 PyObject * obj0 = 0 ;
7399 char *kwnames[] = {
7400 (char *) "self", NULL
7401 };
7402
7403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7406 {
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 result = ((wxSashEvent const *)arg1)->GetDragRect();
7409
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) SWIG_fail;
7412 }
7413 {
7414 wxRect * resultptr;
7415 resultptr = new wxRect((wxRect &) result);
7416 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7417 }
7418 return resultobj;
7419 fail:
7420 return NULL;
7421 }
7422
7423
7424 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7425 PyObject *resultobj;
7426 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7427 int arg2 ;
7428 PyObject * obj0 = 0 ;
7429 PyObject * obj1 = 0 ;
7430 char *kwnames[] = {
7431 (char *) "self",(char *) "status", NULL
7432 };
7433
7434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7437 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 {
7440 PyThreadState* __tstate = wxPyBeginAllowThreads();
7441 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7442
7443 wxPyEndAllowThreads(__tstate);
7444 if (PyErr_Occurred()) SWIG_fail;
7445 }
7446 Py_INCREF(Py_None); resultobj = Py_None;
7447 return resultobj;
7448 fail:
7449 return NULL;
7450 }
7451
7452
7453 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7454 PyObject *resultobj;
7455 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7456 int result;
7457 PyObject * obj0 = 0 ;
7458 char *kwnames[] = {
7459 (char *) "self", NULL
7460 };
7461
7462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7465 {
7466 PyThreadState* __tstate = wxPyBeginAllowThreads();
7467 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7468
7469 wxPyEndAllowThreads(__tstate);
7470 if (PyErr_Occurred()) SWIG_fail;
7471 }
7472 resultobj = SWIG_FromInt((int)result);
7473 return resultobj;
7474 fail:
7475 return NULL;
7476 }
7477
7478
7479 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7480 PyObject *obj;
7481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7482 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7483 Py_INCREF(obj);
7484 return Py_BuildValue((char *)"");
7485 }
7486 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7487 PyObject *resultobj;
7488 int arg1 = (int) 0 ;
7489 wxQueryLayoutInfoEvent *result;
7490 PyObject * obj0 = 0 ;
7491 char *kwnames[] = {
7492 (char *) "id", NULL
7493 };
7494
7495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7496 if (obj0) {
7497 arg1 = (int) SWIG_AsInt(obj0);
7498 if (PyErr_Occurred()) SWIG_fail;
7499 }
7500 {
7501 PyThreadState* __tstate = wxPyBeginAllowThreads();
7502 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7503
7504 wxPyEndAllowThreads(__tstate);
7505 if (PyErr_Occurred()) SWIG_fail;
7506 }
7507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7508 return resultobj;
7509 fail:
7510 return NULL;
7511 }
7512
7513
7514 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7515 PyObject *resultobj;
7516 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7517 int arg2 ;
7518 PyObject * obj0 = 0 ;
7519 PyObject * obj1 = 0 ;
7520 char *kwnames[] = {
7521 (char *) "self",(char *) "length", NULL
7522 };
7523
7524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7527 arg2 = (int) SWIG_AsInt(obj1);
7528 if (PyErr_Occurred()) SWIG_fail;
7529 {
7530 PyThreadState* __tstate = wxPyBeginAllowThreads();
7531 (arg1)->SetRequestedLength(arg2);
7532
7533 wxPyEndAllowThreads(__tstate);
7534 if (PyErr_Occurred()) SWIG_fail;
7535 }
7536 Py_INCREF(Py_None); resultobj = Py_None;
7537 return resultobj;
7538 fail:
7539 return NULL;
7540 }
7541
7542
7543 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7544 PyObject *resultobj;
7545 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7546 int result;
7547 PyObject * obj0 = 0 ;
7548 char *kwnames[] = {
7549 (char *) "self", NULL
7550 };
7551
7552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7555 {
7556 PyThreadState* __tstate = wxPyBeginAllowThreads();
7557 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7558
7559 wxPyEndAllowThreads(__tstate);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
7562 resultobj = SWIG_FromInt((int)result);
7563 return resultobj;
7564 fail:
7565 return NULL;
7566 }
7567
7568
7569 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7570 PyObject *resultobj;
7571 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7572 int arg2 ;
7573 PyObject * obj0 = 0 ;
7574 PyObject * obj1 = 0 ;
7575 char *kwnames[] = {
7576 (char *) "self",(char *) "flags", NULL
7577 };
7578
7579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7582 arg2 = (int) SWIG_AsInt(obj1);
7583 if (PyErr_Occurred()) SWIG_fail;
7584 {
7585 PyThreadState* __tstate = wxPyBeginAllowThreads();
7586 (arg1)->SetFlags(arg2);
7587
7588 wxPyEndAllowThreads(__tstate);
7589 if (PyErr_Occurred()) SWIG_fail;
7590 }
7591 Py_INCREF(Py_None); resultobj = Py_None;
7592 return resultobj;
7593 fail:
7594 return NULL;
7595 }
7596
7597
7598 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7599 PyObject *resultobj;
7600 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7601 int result;
7602 PyObject * obj0 = 0 ;
7603 char *kwnames[] = {
7604 (char *) "self", NULL
7605 };
7606
7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7610 {
7611 PyThreadState* __tstate = wxPyBeginAllowThreads();
7612 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7613
7614 wxPyEndAllowThreads(__tstate);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
7617 resultobj = SWIG_FromInt((int)result);
7618 return resultobj;
7619 fail:
7620 return NULL;
7621 }
7622
7623
7624 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7625 PyObject *resultobj;
7626 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7627 wxSize *arg2 = 0 ;
7628 wxSize temp2 ;
7629 PyObject * obj0 = 0 ;
7630 PyObject * obj1 = 0 ;
7631 char *kwnames[] = {
7632 (char *) "self",(char *) "size", NULL
7633 };
7634
7635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7638 {
7639 arg2 = &temp2;
7640 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7641 }
7642 {
7643 PyThreadState* __tstate = wxPyBeginAllowThreads();
7644 (arg1)->SetSize((wxSize const &)*arg2);
7645
7646 wxPyEndAllowThreads(__tstate);
7647 if (PyErr_Occurred()) SWIG_fail;
7648 }
7649 Py_INCREF(Py_None); resultobj = Py_None;
7650 return resultobj;
7651 fail:
7652 return NULL;
7653 }
7654
7655
7656 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7657 PyObject *resultobj;
7658 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7659 wxSize result;
7660 PyObject * obj0 = 0 ;
7661 char *kwnames[] = {
7662 (char *) "self", NULL
7663 };
7664
7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7668 {
7669 PyThreadState* __tstate = wxPyBeginAllowThreads();
7670 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7671
7672 wxPyEndAllowThreads(__tstate);
7673 if (PyErr_Occurred()) SWIG_fail;
7674 }
7675 {
7676 wxSize * resultptr;
7677 resultptr = new wxSize((wxSize &) result);
7678 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7679 }
7680 return resultobj;
7681 fail:
7682 return NULL;
7683 }
7684
7685
7686 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7687 PyObject *resultobj;
7688 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7689 int arg2 ;
7690 PyObject * obj0 = 0 ;
7691 PyObject * obj1 = 0 ;
7692 char *kwnames[] = {
7693 (char *) "self",(char *) "orient", NULL
7694 };
7695
7696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7699 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 {
7702 PyThreadState* __tstate = wxPyBeginAllowThreads();
7703 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7704
7705 wxPyEndAllowThreads(__tstate);
7706 if (PyErr_Occurred()) SWIG_fail;
7707 }
7708 Py_INCREF(Py_None); resultobj = Py_None;
7709 return resultobj;
7710 fail:
7711 return NULL;
7712 }
7713
7714
7715 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7716 PyObject *resultobj;
7717 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7718 int result;
7719 PyObject * obj0 = 0 ;
7720 char *kwnames[] = {
7721 (char *) "self", NULL
7722 };
7723
7724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 resultobj = SWIG_FromInt((int)result);
7735 return resultobj;
7736 fail:
7737 return NULL;
7738 }
7739
7740
7741 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7742 PyObject *resultobj;
7743 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7744 int arg2 ;
7745 PyObject * obj0 = 0 ;
7746 PyObject * obj1 = 0 ;
7747 char *kwnames[] = {
7748 (char *) "self",(char *) "align", NULL
7749 };
7750
7751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7754 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7755 if (PyErr_Occurred()) SWIG_fail;
7756 {
7757 PyThreadState* __tstate = wxPyBeginAllowThreads();
7758 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7759
7760 wxPyEndAllowThreads(__tstate);
7761 if (PyErr_Occurred()) SWIG_fail;
7762 }
7763 Py_INCREF(Py_None); resultobj = Py_None;
7764 return resultobj;
7765 fail:
7766 return NULL;
7767 }
7768
7769
7770 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7771 PyObject *resultobj;
7772 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7773 int result;
7774 PyObject * obj0 = 0 ;
7775 char *kwnames[] = {
7776 (char *) "self", NULL
7777 };
7778
7779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7782 {
7783 PyThreadState* __tstate = wxPyBeginAllowThreads();
7784 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7785
7786 wxPyEndAllowThreads(__tstate);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 }
7789 resultobj = SWIG_FromInt((int)result);
7790 return resultobj;
7791 fail:
7792 return NULL;
7793 }
7794
7795
7796 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7797 PyObject *obj;
7798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7799 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7800 Py_INCREF(obj);
7801 return Py_BuildValue((char *)"");
7802 }
7803 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj;
7805 int arg1 = (int) 0 ;
7806 wxCalculateLayoutEvent *result;
7807 PyObject * obj0 = 0 ;
7808 char *kwnames[] = {
7809 (char *) "id", NULL
7810 };
7811
7812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7813 if (obj0) {
7814 arg1 = (int) SWIG_AsInt(obj0);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
7817 {
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7819 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7820
7821 wxPyEndAllowThreads(__tstate);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
7824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7825 return resultobj;
7826 fail:
7827 return NULL;
7828 }
7829
7830
7831 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7832 PyObject *resultobj;
7833 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7834 int arg2 ;
7835 PyObject * obj0 = 0 ;
7836 PyObject * obj1 = 0 ;
7837 char *kwnames[] = {
7838 (char *) "self",(char *) "flags", NULL
7839 };
7840
7841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7844 arg2 = (int) SWIG_AsInt(obj1);
7845 if (PyErr_Occurred()) SWIG_fail;
7846 {
7847 PyThreadState* __tstate = wxPyBeginAllowThreads();
7848 (arg1)->SetFlags(arg2);
7849
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 }
7853 Py_INCREF(Py_None); resultobj = Py_None;
7854 return resultobj;
7855 fail:
7856 return NULL;
7857 }
7858
7859
7860 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7861 PyObject *resultobj;
7862 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7863 int result;
7864 PyObject * obj0 = 0 ;
7865 char *kwnames[] = {
7866 (char *) "self", NULL
7867 };
7868
7869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7872 {
7873 PyThreadState* __tstate = wxPyBeginAllowThreads();
7874 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7875
7876 wxPyEndAllowThreads(__tstate);
7877 if (PyErr_Occurred()) SWIG_fail;
7878 }
7879 resultobj = SWIG_FromInt((int)result);
7880 return resultobj;
7881 fail:
7882 return NULL;
7883 }
7884
7885
7886 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7887 PyObject *resultobj;
7888 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7889 wxRect *arg2 = 0 ;
7890 wxRect temp2 ;
7891 PyObject * obj0 = 0 ;
7892 PyObject * obj1 = 0 ;
7893 char *kwnames[] = {
7894 (char *) "self",(char *) "rect", NULL
7895 };
7896
7897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7900 {
7901 arg2 = &temp2;
7902 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7903 }
7904 {
7905 PyThreadState* __tstate = wxPyBeginAllowThreads();
7906 (arg1)->SetRect((wxRect const &)*arg2);
7907
7908 wxPyEndAllowThreads(__tstate);
7909 if (PyErr_Occurred()) SWIG_fail;
7910 }
7911 Py_INCREF(Py_None); resultobj = Py_None;
7912 return resultobj;
7913 fail:
7914 return NULL;
7915 }
7916
7917
7918 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7919 PyObject *resultobj;
7920 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7921 wxRect result;
7922 PyObject * obj0 = 0 ;
7923 char *kwnames[] = {
7924 (char *) "self", NULL
7925 };
7926
7927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7930 {
7931 PyThreadState* __tstate = wxPyBeginAllowThreads();
7932 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7933
7934 wxPyEndAllowThreads(__tstate);
7935 if (PyErr_Occurred()) SWIG_fail;
7936 }
7937 {
7938 wxRect * resultptr;
7939 resultptr = new wxRect((wxRect &) result);
7940 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7941 }
7942 return resultobj;
7943 fail:
7944 return NULL;
7945 }
7946
7947
7948 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7949 PyObject *obj;
7950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7951 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7952 Py_INCREF(obj);
7953 return Py_BuildValue((char *)"");
7954 }
7955 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7956 PyObject *resultobj;
7957 wxWindow *arg1 = (wxWindow *) 0 ;
7958 int arg2 ;
7959 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7960 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7961 wxSize const &arg4_defvalue = wxDefaultSize ;
7962 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7963 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7964 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7965 wxString *arg6 = (wxString *) &arg6_defvalue ;
7966 wxSashLayoutWindow *result;
7967 wxPoint temp3 ;
7968 wxSize temp4 ;
7969 bool temp6 = False ;
7970 PyObject * obj0 = 0 ;
7971 PyObject * obj1 = 0 ;
7972 PyObject * obj2 = 0 ;
7973 PyObject * obj3 = 0 ;
7974 PyObject * obj4 = 0 ;
7975 PyObject * obj5 = 0 ;
7976 char *kwnames[] = {
7977 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7978 };
7979
7980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7983 arg2 = (int) SWIG_AsInt(obj1);
7984 if (PyErr_Occurred()) SWIG_fail;
7985 if (obj2) {
7986 {
7987 arg3 = &temp3;
7988 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7989 }
7990 }
7991 if (obj3) {
7992 {
7993 arg4 = &temp4;
7994 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7995 }
7996 }
7997 if (obj4) {
7998 arg5 = (long) SWIG_AsLong(obj4);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
8001 if (obj5) {
8002 {
8003 arg6 = wxString_in_helper(obj5);
8004 if (arg6 == NULL) SWIG_fail;
8005 temp6 = True;
8006 }
8007 }
8008 {
8009 PyThreadState* __tstate = wxPyBeginAllowThreads();
8010 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8011
8012 wxPyEndAllowThreads(__tstate);
8013 if (PyErr_Occurred()) SWIG_fail;
8014 }
8015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8016 {
8017 if (temp6)
8018 delete arg6;
8019 }
8020 return resultobj;
8021 fail:
8022 {
8023 if (temp6)
8024 delete arg6;
8025 }
8026 return NULL;
8027 }
8028
8029
8030 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8031 PyObject *resultobj;
8032 wxSashLayoutWindow *result;
8033 char *kwnames[] = {
8034 NULL
8035 };
8036
8037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8038 {
8039 PyThreadState* __tstate = wxPyBeginAllowThreads();
8040 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8041
8042 wxPyEndAllowThreads(__tstate);
8043 if (PyErr_Occurred()) SWIG_fail;
8044 }
8045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8046 return resultobj;
8047 fail:
8048 return NULL;
8049 }
8050
8051
8052 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8053 PyObject *resultobj;
8054 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8055 wxWindow *arg2 = (wxWindow *) 0 ;
8056 int arg3 ;
8057 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8058 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8059 wxSize const &arg5_defvalue = wxDefaultSize ;
8060 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8061 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8062 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8063 wxString *arg7 = (wxString *) &arg7_defvalue ;
8064 bool result;
8065 wxPoint temp4 ;
8066 wxSize temp5 ;
8067 bool temp7 = False ;
8068 PyObject * obj0 = 0 ;
8069 PyObject * obj1 = 0 ;
8070 PyObject * obj2 = 0 ;
8071 PyObject * obj3 = 0 ;
8072 PyObject * obj4 = 0 ;
8073 PyObject * obj5 = 0 ;
8074 PyObject * obj6 = 0 ;
8075 char *kwnames[] = {
8076 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8077 };
8078
8079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8084 arg3 = (int) SWIG_AsInt(obj2);
8085 if (PyErr_Occurred()) SWIG_fail;
8086 if (obj3) {
8087 {
8088 arg4 = &temp4;
8089 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8090 }
8091 }
8092 if (obj4) {
8093 {
8094 arg5 = &temp5;
8095 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8096 }
8097 }
8098 if (obj5) {
8099 arg6 = (long) SWIG_AsLong(obj5);
8100 if (PyErr_Occurred()) SWIG_fail;
8101 }
8102 if (obj6) {
8103 {
8104 arg7 = wxString_in_helper(obj6);
8105 if (arg7 == NULL) SWIG_fail;
8106 temp7 = True;
8107 }
8108 }
8109 {
8110 PyThreadState* __tstate = wxPyBeginAllowThreads();
8111 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8112
8113 wxPyEndAllowThreads(__tstate);
8114 if (PyErr_Occurred()) SWIG_fail;
8115 }
8116 {
8117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8118 }
8119 {
8120 if (temp7)
8121 delete arg7;
8122 }
8123 return resultobj;
8124 fail:
8125 {
8126 if (temp7)
8127 delete arg7;
8128 }
8129 return NULL;
8130 }
8131
8132
8133 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8134 PyObject *resultobj;
8135 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8136 int result;
8137 PyObject * obj0 = 0 ;
8138 char *kwnames[] = {
8139 (char *) "self", NULL
8140 };
8141
8142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 result = (int)(arg1)->GetAlignment();
8148
8149 wxPyEndAllowThreads(__tstate);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 resultobj = SWIG_FromInt((int)result);
8153 return resultobj;
8154 fail:
8155 return NULL;
8156 }
8157
8158
8159 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8160 PyObject *resultobj;
8161 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8162 int result;
8163 PyObject * obj0 = 0 ;
8164 char *kwnames[] = {
8165 (char *) "self", NULL
8166 };
8167
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8171 {
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 result = (int)(arg1)->GetOrientation();
8174
8175 wxPyEndAllowThreads(__tstate);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 }
8178 resultobj = SWIG_FromInt((int)result);
8179 return resultobj;
8180 fail:
8181 return NULL;
8182 }
8183
8184
8185 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8186 PyObject *resultobj;
8187 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8188 int arg2 ;
8189 PyObject * obj0 = 0 ;
8190 PyObject * obj1 = 0 ;
8191 char *kwnames[] = {
8192 (char *) "self",(char *) "alignment", NULL
8193 };
8194
8195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8198 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8199 if (PyErr_Occurred()) SWIG_fail;
8200 {
8201 PyThreadState* __tstate = wxPyBeginAllowThreads();
8202 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8203
8204 wxPyEndAllowThreads(__tstate);
8205 if (PyErr_Occurred()) SWIG_fail;
8206 }
8207 Py_INCREF(Py_None); resultobj = Py_None;
8208 return resultobj;
8209 fail:
8210 return NULL;
8211 }
8212
8213
8214 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8215 PyObject *resultobj;
8216 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8217 wxSize *arg2 = 0 ;
8218 wxSize temp2 ;
8219 PyObject * obj0 = 0 ;
8220 PyObject * obj1 = 0 ;
8221 char *kwnames[] = {
8222 (char *) "self",(char *) "size", NULL
8223 };
8224
8225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8228 {
8229 arg2 = &temp2;
8230 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8231 }
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8235
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) SWIG_fail;
8238 }
8239 Py_INCREF(Py_None); resultobj = Py_None;
8240 return resultobj;
8241 fail:
8242 return NULL;
8243 }
8244
8245
8246 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8247 PyObject *resultobj;
8248 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8249 int arg2 ;
8250 PyObject * obj0 = 0 ;
8251 PyObject * obj1 = 0 ;
8252 char *kwnames[] = {
8253 (char *) "self",(char *) "orientation", NULL
8254 };
8255
8256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8259 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8260 if (PyErr_Occurred()) SWIG_fail;
8261 {
8262 PyThreadState* __tstate = wxPyBeginAllowThreads();
8263 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8264
8265 wxPyEndAllowThreads(__tstate);
8266 if (PyErr_Occurred()) SWIG_fail;
8267 }
8268 Py_INCREF(Py_None); resultobj = Py_None;
8269 return resultobj;
8270 fail:
8271 return NULL;
8272 }
8273
8274
8275 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8276 PyObject *obj;
8277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8278 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8279 Py_INCREF(obj);
8280 return Py_BuildValue((char *)"");
8281 }
8282 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8283 PyObject *resultobj;
8284 wxLayoutAlgorithm *result;
8285 char *kwnames[] = {
8286 NULL
8287 };
8288
8289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8290 {
8291 PyThreadState* __tstate = wxPyBeginAllowThreads();
8292 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8293
8294 wxPyEndAllowThreads(__tstate);
8295 if (PyErr_Occurred()) SWIG_fail;
8296 }
8297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8298 return resultobj;
8299 fail:
8300 return NULL;
8301 }
8302
8303
8304 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8305 PyObject *resultobj;
8306 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8307 PyObject * obj0 = 0 ;
8308 char *kwnames[] = {
8309 (char *) "self", NULL
8310 };
8311
8312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8315 {
8316 PyThreadState* __tstate = wxPyBeginAllowThreads();
8317 delete arg1;
8318
8319 wxPyEndAllowThreads(__tstate);
8320 if (PyErr_Occurred()) SWIG_fail;
8321 }
8322 Py_INCREF(Py_None); resultobj = Py_None;
8323 return resultobj;
8324 fail:
8325 return NULL;
8326 }
8327
8328
8329 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8330 PyObject *resultobj;
8331 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8332 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8333 wxRect *arg3 = (wxRect *) NULL ;
8334 bool result;
8335 PyObject * obj0 = 0 ;
8336 PyObject * obj1 = 0 ;
8337 PyObject * obj2 = 0 ;
8338 char *kwnames[] = {
8339 (char *) "self",(char *) "frame",(char *) "rect", NULL
8340 };
8341
8342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8345 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8347 if (obj2) {
8348 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8350 }
8351 {
8352 PyThreadState* __tstate = wxPyBeginAllowThreads();
8353 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8354
8355 wxPyEndAllowThreads(__tstate);
8356 if (PyErr_Occurred()) SWIG_fail;
8357 }
8358 {
8359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8360 }
8361 return resultobj;
8362 fail:
8363 return NULL;
8364 }
8365
8366
8367 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8368 PyObject *resultobj;
8369 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8370 wxFrame *arg2 = (wxFrame *) 0 ;
8371 wxWindow *arg3 = (wxWindow *) NULL ;
8372 bool result;
8373 PyObject * obj0 = 0 ;
8374 PyObject * obj1 = 0 ;
8375 PyObject * obj2 = 0 ;
8376 char *kwnames[] = {
8377 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8378 };
8379
8380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8383 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8385 if (obj2) {
8386 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8388 }
8389 {
8390 PyThreadState* __tstate = wxPyBeginAllowThreads();
8391 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8392
8393 wxPyEndAllowThreads(__tstate);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
8396 {
8397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8398 }
8399 return resultobj;
8400 fail:
8401 return NULL;
8402 }
8403
8404
8405 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8406 PyObject *resultobj;
8407 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8408 wxWindow *arg2 = (wxWindow *) 0 ;
8409 wxWindow *arg3 = (wxWindow *) NULL ;
8410 bool result;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj1 = 0 ;
8413 PyObject * obj2 = 0 ;
8414 char *kwnames[] = {
8415 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8416 };
8417
8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8421 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8423 if (obj2) {
8424 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8426 }
8427 {
8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
8429 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8430
8431 wxPyEndAllowThreads(__tstate);
8432 if (PyErr_Occurred()) SWIG_fail;
8433 }
8434 {
8435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8436 }
8437 return resultobj;
8438 fail:
8439 return NULL;
8440 }
8441
8442
8443 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8444 PyObject *obj;
8445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8446 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8447 Py_INCREF(obj);
8448 return Py_BuildValue((char *)"");
8449 }
8450 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8451 PyObject *resultobj;
8452 wxWindow *arg1 = (wxWindow *) 0 ;
8453 int arg2 = (int) wxBORDER_NONE ;
8454 wxPopupWindow *result;
8455 PyObject * obj0 = 0 ;
8456 PyObject * obj1 = 0 ;
8457 char *kwnames[] = {
8458 (char *) "parent",(char *) "flags", NULL
8459 };
8460
8461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8464 if (obj1) {
8465 arg2 = (int) SWIG_AsInt(obj1);
8466 if (PyErr_Occurred()) SWIG_fail;
8467 }
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8471
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
8475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8476 return resultobj;
8477 fail:
8478 return NULL;
8479 }
8480
8481
8482 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8483 PyObject *resultobj;
8484 wxPopupWindow *result;
8485 char *kwnames[] = {
8486 NULL
8487 };
8488
8489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8490 {
8491 PyThreadState* __tstate = wxPyBeginAllowThreads();
8492 result = (wxPopupWindow *)new wxPopupWindow();
8493
8494 wxPyEndAllowThreads(__tstate);
8495 if (PyErr_Occurred()) SWIG_fail;
8496 }
8497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8498 return resultobj;
8499 fail:
8500 return NULL;
8501 }
8502
8503
8504 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8505 PyObject *resultobj;
8506 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8507 wxWindow *arg2 = (wxWindow *) 0 ;
8508 int arg3 = (int) wxBORDER_NONE ;
8509 bool result;
8510 PyObject * obj0 = 0 ;
8511 PyObject * obj1 = 0 ;
8512 PyObject * obj2 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "self",(char *) "parent",(char *) "flags", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8520 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8522 if (obj2) {
8523 arg3 = (int) SWIG_AsInt(obj2);
8524 if (PyErr_Occurred()) SWIG_fail;
8525 }
8526 {
8527 PyThreadState* __tstate = wxPyBeginAllowThreads();
8528 result = (bool)(arg1)->Create(arg2,arg3);
8529
8530 wxPyEndAllowThreads(__tstate);
8531 if (PyErr_Occurred()) SWIG_fail;
8532 }
8533 {
8534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8535 }
8536 return resultobj;
8537 fail:
8538 return NULL;
8539 }
8540
8541
8542 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8543 PyObject *resultobj;
8544 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8545 wxPoint *arg2 = 0 ;
8546 wxSize *arg3 = 0 ;
8547 wxPoint temp2 ;
8548 wxSize temp3 ;
8549 PyObject * obj0 = 0 ;
8550 PyObject * obj1 = 0 ;
8551 PyObject * obj2 = 0 ;
8552 char *kwnames[] = {
8553 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8554 };
8555
8556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8559 {
8560 arg2 = &temp2;
8561 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8562 }
8563 {
8564 arg3 = &temp3;
8565 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8566 }
8567 {
8568 PyThreadState* __tstate = wxPyBeginAllowThreads();
8569 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8570
8571 wxPyEndAllowThreads(__tstate);
8572 if (PyErr_Occurred()) SWIG_fail;
8573 }
8574 Py_INCREF(Py_None); resultobj = Py_None;
8575 return resultobj;
8576 fail:
8577 return NULL;
8578 }
8579
8580
8581 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8582 PyObject *obj;
8583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8584 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8585 Py_INCREF(obj);
8586 return Py_BuildValue((char *)"");
8587 }
8588 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8589 PyObject *resultobj;
8590 wxWindow *arg1 = (wxWindow *) 0 ;
8591 int arg2 = (int) wxBORDER_NONE ;
8592 wxPyPopupTransientWindow *result;
8593 PyObject * obj0 = 0 ;
8594 PyObject * obj1 = 0 ;
8595 char *kwnames[] = {
8596 (char *) "parent",(char *) "style", NULL
8597 };
8598
8599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8602 if (obj1) {
8603 arg2 = (int) SWIG_AsInt(obj1);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 {
8607 PyThreadState* __tstate = wxPyBeginAllowThreads();
8608 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8609
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8614 return resultobj;
8615 fail:
8616 return NULL;
8617 }
8618
8619
8620 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8621 PyObject *resultobj;
8622 wxPyPopupTransientWindow *result;
8623 char *kwnames[] = {
8624 NULL
8625 };
8626
8627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8628 {
8629 PyThreadState* __tstate = wxPyBeginAllowThreads();
8630 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8631
8632 wxPyEndAllowThreads(__tstate);
8633 if (PyErr_Occurred()) SWIG_fail;
8634 }
8635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8636 return resultobj;
8637 fail:
8638 return NULL;
8639 }
8640
8641
8642 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8643 PyObject *resultobj;
8644 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8645 PyObject *arg2 = (PyObject *) 0 ;
8646 PyObject *arg3 = (PyObject *) 0 ;
8647 PyObject * obj0 = 0 ;
8648 PyObject * obj1 = 0 ;
8649 PyObject * obj2 = 0 ;
8650 char *kwnames[] = {
8651 (char *) "self",(char *) "self",(char *) "_class", NULL
8652 };
8653
8654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8657 arg2 = obj1;
8658 arg3 = obj2;
8659 {
8660 PyThreadState* __tstate = wxPyBeginAllowThreads();
8661 (arg1)->_setCallbackInfo(arg2,arg3);
8662
8663 wxPyEndAllowThreads(__tstate);
8664 if (PyErr_Occurred()) SWIG_fail;
8665 }
8666 Py_INCREF(Py_None); resultobj = Py_None;
8667 return resultobj;
8668 fail:
8669 return NULL;
8670 }
8671
8672
8673 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8674 PyObject *resultobj;
8675 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8676 wxWindow *arg2 = (wxWindow *) NULL ;
8677 PyObject * obj0 = 0 ;
8678 PyObject * obj1 = 0 ;
8679 char *kwnames[] = {
8680 (char *) "self",(char *) "focus", NULL
8681 };
8682
8683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8686 if (obj1) {
8687 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8689 }
8690 {
8691 PyThreadState* __tstate = wxPyBeginAllowThreads();
8692 (arg1)->Popup(arg2);
8693
8694 wxPyEndAllowThreads(__tstate);
8695 if (PyErr_Occurred()) SWIG_fail;
8696 }
8697 Py_INCREF(Py_None); resultobj = Py_None;
8698 return resultobj;
8699 fail:
8700 return NULL;
8701 }
8702
8703
8704 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8705 PyObject *resultobj;
8706 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8707 PyObject * obj0 = 0 ;
8708 char *kwnames[] = {
8709 (char *) "self", NULL
8710 };
8711
8712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8715 {
8716 PyThreadState* __tstate = wxPyBeginAllowThreads();
8717 (arg1)->Dismiss();
8718
8719 wxPyEndAllowThreads(__tstate);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
8722 Py_INCREF(Py_None); resultobj = Py_None;
8723 return resultobj;
8724 fail:
8725 return NULL;
8726 }
8727
8728
8729 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8730 PyObject *obj;
8731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8732 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8733 Py_INCREF(obj);
8734 return Py_BuildValue((char *)"");
8735 }
8736 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8737 PyObject *resultobj;
8738 wxWindow *arg1 = (wxWindow *) 0 ;
8739 wxString *arg2 = 0 ;
8740 int arg3 = (int) 100 ;
8741 wxRect *arg4 = (wxRect *) NULL ;
8742 wxTipWindow *result;
8743 bool temp2 = False ;
8744 PyObject * obj0 = 0 ;
8745 PyObject * obj1 = 0 ;
8746 PyObject * obj2 = 0 ;
8747 PyObject * obj3 = 0 ;
8748 char *kwnames[] = {
8749 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8750 };
8751
8752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8755 {
8756 arg2 = wxString_in_helper(obj1);
8757 if (arg2 == NULL) SWIG_fail;
8758 temp2 = True;
8759 }
8760 if (obj2) {
8761 arg3 = (int) SWIG_AsInt(obj2);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
8764 if (obj3) {
8765 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8767 }
8768 {
8769 PyThreadState* __tstate = wxPyBeginAllowThreads();
8770 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8771
8772 wxPyEndAllowThreads(__tstate);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 }
8775 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8776 {
8777 if (temp2)
8778 delete arg2;
8779 }
8780 return resultobj;
8781 fail:
8782 {
8783 if (temp2)
8784 delete arg2;
8785 }
8786 return NULL;
8787 }
8788
8789
8790 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8791 PyObject *resultobj;
8792 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8793 wxRect *arg2 = 0 ;
8794 wxRect temp2 ;
8795 PyObject * obj0 = 0 ;
8796 PyObject * obj1 = 0 ;
8797 char *kwnames[] = {
8798 (char *) "self",(char *) "rectBound", NULL
8799 };
8800
8801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8804 {
8805 arg2 = &temp2;
8806 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8807 }
8808 {
8809 PyThreadState* __tstate = wxPyBeginAllowThreads();
8810 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8811
8812 wxPyEndAllowThreads(__tstate);
8813 if (PyErr_Occurred()) SWIG_fail;
8814 }
8815 Py_INCREF(Py_None); resultobj = Py_None;
8816 return resultobj;
8817 fail:
8818 return NULL;
8819 }
8820
8821
8822 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8823 PyObject *resultobj;
8824 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8825 PyObject * obj0 = 0 ;
8826 char *kwnames[] = {
8827 (char *) "self", NULL
8828 };
8829
8830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8833 {
8834 PyThreadState* __tstate = wxPyBeginAllowThreads();
8835 (arg1)->Close();
8836
8837 wxPyEndAllowThreads(__tstate);
8838 if (PyErr_Occurred()) SWIG_fail;
8839 }
8840 Py_INCREF(Py_None); resultobj = Py_None;
8841 return resultobj;
8842 fail:
8843 return NULL;
8844 }
8845
8846
8847 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8848 PyObject *obj;
8849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8850 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8851 Py_INCREF(obj);
8852 return Py_BuildValue((char *)"");
8853 }
8854 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8855 PyObject *resultobj;
8856 wxWindow *arg1 = (wxWindow *) 0 ;
8857 int arg2 = (int) wxID_ANY ;
8858 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8859 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8860 wxSize const &arg4_defvalue = wxDefaultSize ;
8861 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8862 long arg5 = (long) 0 ;
8863 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8864 wxString *arg6 = (wxString *) &arg6_defvalue ;
8865 wxPyVScrolledWindow *result;
8866 wxPoint temp3 ;
8867 wxSize temp4 ;
8868 bool temp6 = False ;
8869 PyObject * obj0 = 0 ;
8870 PyObject * obj1 = 0 ;
8871 PyObject * obj2 = 0 ;
8872 PyObject * obj3 = 0 ;
8873 PyObject * obj4 = 0 ;
8874 PyObject * obj5 = 0 ;
8875 char *kwnames[] = {
8876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8877 };
8878
8879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8882 if (obj1) {
8883 arg2 = (int) SWIG_AsInt(obj1);
8884 if (PyErr_Occurred()) SWIG_fail;
8885 }
8886 if (obj2) {
8887 {
8888 arg3 = &temp3;
8889 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8890 }
8891 }
8892 if (obj3) {
8893 {
8894 arg4 = &temp4;
8895 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8896 }
8897 }
8898 if (obj4) {
8899 arg5 = (long) SWIG_AsLong(obj4);
8900 if (PyErr_Occurred()) SWIG_fail;
8901 }
8902 if (obj5) {
8903 {
8904 arg6 = wxString_in_helper(obj5);
8905 if (arg6 == NULL) SWIG_fail;
8906 temp6 = True;
8907 }
8908 }
8909 {
8910 PyThreadState* __tstate = wxPyBeginAllowThreads();
8911 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8912
8913 wxPyEndAllowThreads(__tstate);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 }
8916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8917 {
8918 if (temp6)
8919 delete arg6;
8920 }
8921 return resultobj;
8922 fail:
8923 {
8924 if (temp6)
8925 delete arg6;
8926 }
8927 return NULL;
8928 }
8929
8930
8931 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8932 PyObject *resultobj;
8933 wxPyVScrolledWindow *result;
8934 char *kwnames[] = {
8935 NULL
8936 };
8937
8938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8939 {
8940 PyThreadState* __tstate = wxPyBeginAllowThreads();
8941 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8942
8943 wxPyEndAllowThreads(__tstate);
8944 if (PyErr_Occurred()) SWIG_fail;
8945 }
8946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8947 return resultobj;
8948 fail:
8949 return NULL;
8950 }
8951
8952
8953 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8954 PyObject *resultobj;
8955 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8956 PyObject *arg2 = (PyObject *) 0 ;
8957 PyObject *arg3 = (PyObject *) 0 ;
8958 PyObject * obj0 = 0 ;
8959 PyObject * obj1 = 0 ;
8960 PyObject * obj2 = 0 ;
8961 char *kwnames[] = {
8962 (char *) "self",(char *) "self",(char *) "_class", NULL
8963 };
8964
8965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8968 arg2 = obj1;
8969 arg3 = obj2;
8970 {
8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
8972 (arg1)->_setCallbackInfo(arg2,arg3);
8973
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) SWIG_fail;
8976 }
8977 Py_INCREF(Py_None); resultobj = Py_None;
8978 return resultobj;
8979 fail:
8980 return NULL;
8981 }
8982
8983
8984 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8985 PyObject *resultobj;
8986 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8987 wxWindow *arg2 = (wxWindow *) 0 ;
8988 int arg3 = (int) wxID_ANY ;
8989 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8990 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8991 wxSize const &arg5_defvalue = wxDefaultSize ;
8992 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8993 long arg6 = (long) 0 ;
8994 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8995 wxString *arg7 = (wxString *) &arg7_defvalue ;
8996 bool result;
8997 wxPoint temp4 ;
8998 wxSize temp5 ;
8999 bool temp7 = False ;
9000 PyObject * obj0 = 0 ;
9001 PyObject * obj1 = 0 ;
9002 PyObject * obj2 = 0 ;
9003 PyObject * obj3 = 0 ;
9004 PyObject * obj4 = 0 ;
9005 PyObject * obj5 = 0 ;
9006 PyObject * obj6 = 0 ;
9007 char *kwnames[] = {
9008 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9009 };
9010
9011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9014 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9016 if (obj2) {
9017 arg3 = (int) SWIG_AsInt(obj2);
9018 if (PyErr_Occurred()) SWIG_fail;
9019 }
9020 if (obj3) {
9021 {
9022 arg4 = &temp4;
9023 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9024 }
9025 }
9026 if (obj4) {
9027 {
9028 arg5 = &temp5;
9029 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9030 }
9031 }
9032 if (obj5) {
9033 arg6 = (long) SWIG_AsLong(obj5);
9034 if (PyErr_Occurred()) SWIG_fail;
9035 }
9036 if (obj6) {
9037 {
9038 arg7 = wxString_in_helper(obj6);
9039 if (arg7 == NULL) SWIG_fail;
9040 temp7 = True;
9041 }
9042 }
9043 {
9044 PyThreadState* __tstate = wxPyBeginAllowThreads();
9045 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9046
9047 wxPyEndAllowThreads(__tstate);
9048 if (PyErr_Occurred()) SWIG_fail;
9049 }
9050 {
9051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9052 }
9053 {
9054 if (temp7)
9055 delete arg7;
9056 }
9057 return resultobj;
9058 fail:
9059 {
9060 if (temp7)
9061 delete arg7;
9062 }
9063 return NULL;
9064 }
9065
9066
9067 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9068 PyObject *resultobj;
9069 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9070 size_t arg2 ;
9071 PyObject * obj0 = 0 ;
9072 PyObject * obj1 = 0 ;
9073 char *kwnames[] = {
9074 (char *) "self",(char *) "count", NULL
9075 };
9076
9077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",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 = (size_t) SWIG_AsUnsignedLong(obj1);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 {
9083 PyThreadState* __tstate = wxPyBeginAllowThreads();
9084 (arg1)->SetLineCount(arg2);
9085
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 Py_INCREF(Py_None); resultobj = Py_None;
9090 return resultobj;
9091 fail:
9092 return NULL;
9093 }
9094
9095
9096 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9097 PyObject *resultobj;
9098 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9099 size_t arg2 ;
9100 bool result;
9101 PyObject * obj0 = 0 ;
9102 PyObject * obj1 = 0 ;
9103 char *kwnames[] = {
9104 (char *) "self",(char *) "line", NULL
9105 };
9106
9107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9110 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 {
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 result = (bool)(arg1)->ScrollToLine(arg2);
9115
9116 wxPyEndAllowThreads(__tstate);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
9119 {
9120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9121 }
9122 return resultobj;
9123 fail:
9124 return NULL;
9125 }
9126
9127
9128 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9129 PyObject *resultobj;
9130 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9131 int arg2 ;
9132 bool result;
9133 PyObject * obj0 = 0 ;
9134 PyObject * obj1 = 0 ;
9135 char *kwnames[] = {
9136 (char *) "self",(char *) "lines", NULL
9137 };
9138
9139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9142 arg2 = (int) SWIG_AsInt(obj1);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 {
9145 PyThreadState* __tstate = wxPyBeginAllowThreads();
9146 result = (bool)(arg1)->ScrollLines(arg2);
9147
9148 wxPyEndAllowThreads(__tstate);
9149 if (PyErr_Occurred()) SWIG_fail;
9150 }
9151 {
9152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9153 }
9154 return resultobj;
9155 fail:
9156 return NULL;
9157 }
9158
9159
9160 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9161 PyObject *resultobj;
9162 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9163 int arg2 ;
9164 bool result;
9165 PyObject * obj0 = 0 ;
9166 PyObject * obj1 = 0 ;
9167 char *kwnames[] = {
9168 (char *) "self",(char *) "pages", NULL
9169 };
9170
9171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9174 arg2 = (int) SWIG_AsInt(obj1);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 {
9177 PyThreadState* __tstate = wxPyBeginAllowThreads();
9178 result = (bool)(arg1)->ScrollPages(arg2);
9179
9180 wxPyEndAllowThreads(__tstate);
9181 if (PyErr_Occurred()) SWIG_fail;
9182 }
9183 {
9184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9185 }
9186 return resultobj;
9187 fail:
9188 return NULL;
9189 }
9190
9191
9192 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9193 PyObject *resultobj;
9194 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9195 size_t arg2 ;
9196 PyObject * obj0 = 0 ;
9197 PyObject * obj1 = 0 ;
9198 char *kwnames[] = {
9199 (char *) "self",(char *) "line", NULL
9200 };
9201
9202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9205 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 {
9208 PyThreadState* __tstate = wxPyBeginAllowThreads();
9209 (arg1)->RefreshLine(arg2);
9210
9211 wxPyEndAllowThreads(__tstate);
9212 if (PyErr_Occurred()) SWIG_fail;
9213 }
9214 Py_INCREF(Py_None); resultobj = Py_None;
9215 return resultobj;
9216 fail:
9217 return NULL;
9218 }
9219
9220
9221 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9222 PyObject *resultobj;
9223 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9224 size_t arg2 ;
9225 size_t arg3 ;
9226 PyObject * obj0 = 0 ;
9227 PyObject * obj1 = 0 ;
9228 PyObject * obj2 = 0 ;
9229 char *kwnames[] = {
9230 (char *) "self",(char *) "from",(char *) "to", NULL
9231 };
9232
9233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9236 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9239 if (PyErr_Occurred()) SWIG_fail;
9240 {
9241 PyThreadState* __tstate = wxPyBeginAllowThreads();
9242 (arg1)->RefreshLines(arg2,arg3);
9243
9244 wxPyEndAllowThreads(__tstate);
9245 if (PyErr_Occurred()) SWIG_fail;
9246 }
9247 Py_INCREF(Py_None); resultobj = Py_None;
9248 return resultobj;
9249 fail:
9250 return NULL;
9251 }
9252
9253
9254 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9255 PyObject *resultobj;
9256 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9257 int arg2 ;
9258 int arg3 ;
9259 int result;
9260 PyObject * obj0 = 0 ;
9261 PyObject * obj1 = 0 ;
9262 PyObject * obj2 = 0 ;
9263 char *kwnames[] = {
9264 (char *) "self",(char *) "x",(char *) "y", NULL
9265 };
9266
9267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9270 arg2 = (int) SWIG_AsInt(obj1);
9271 if (PyErr_Occurred()) SWIG_fail;
9272 arg3 = (int) SWIG_AsInt(obj2);
9273 if (PyErr_Occurred()) SWIG_fail;
9274 {
9275 PyThreadState* __tstate = wxPyBeginAllowThreads();
9276 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9277
9278 wxPyEndAllowThreads(__tstate);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 resultobj = SWIG_FromInt((int)result);
9282 return resultobj;
9283 fail:
9284 return NULL;
9285 }
9286
9287
9288 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9289 PyObject *resultobj;
9290 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9291 wxPoint *arg2 = 0 ;
9292 int result;
9293 wxPoint temp2 ;
9294 PyObject * obj0 = 0 ;
9295 PyObject * obj1 = 0 ;
9296 char *kwnames[] = {
9297 (char *) "self",(char *) "pt", NULL
9298 };
9299
9300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9303 {
9304 arg2 = &temp2;
9305 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9306 }
9307 {
9308 PyThreadState* __tstate = wxPyBeginAllowThreads();
9309 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9310
9311 wxPyEndAllowThreads(__tstate);
9312 if (PyErr_Occurred()) SWIG_fail;
9313 }
9314 resultobj = SWIG_FromInt((int)result);
9315 return resultobj;
9316 fail:
9317 return NULL;
9318 }
9319
9320
9321 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9322 PyObject *resultobj;
9323 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9324 PyObject * obj0 = 0 ;
9325 char *kwnames[] = {
9326 (char *) "self", NULL
9327 };
9328
9329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9332 {
9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
9334 (arg1)->RefreshAll();
9335
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) SWIG_fail;
9338 }
9339 Py_INCREF(Py_None); resultobj = Py_None;
9340 return resultobj;
9341 fail:
9342 return NULL;
9343 }
9344
9345
9346 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9347 PyObject *resultobj;
9348 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9349 size_t result;
9350 PyObject * obj0 = 0 ;
9351 char *kwnames[] = {
9352 (char *) "self", NULL
9353 };
9354
9355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9361
9362 wxPyEndAllowThreads(__tstate);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 }
9365 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9366 return resultobj;
9367 fail:
9368 return NULL;
9369 }
9370
9371
9372 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9373 PyObject *resultobj;
9374 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9375 size_t result;
9376 PyObject * obj0 = 0 ;
9377 char *kwnames[] = {
9378 (char *) "self", NULL
9379 };
9380
9381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9384 {
9385 PyThreadState* __tstate = wxPyBeginAllowThreads();
9386 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9387
9388 wxPyEndAllowThreads(__tstate);
9389 if (PyErr_Occurred()) SWIG_fail;
9390 }
9391 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9392 return resultobj;
9393 fail:
9394 return NULL;
9395 }
9396
9397
9398 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9399 PyObject *resultobj;
9400 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9401 size_t result;
9402 PyObject * obj0 = 0 ;
9403 char *kwnames[] = {
9404 (char *) "self", NULL
9405 };
9406
9407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9410 {
9411 PyThreadState* __tstate = wxPyBeginAllowThreads();
9412 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9413
9414 wxPyEndAllowThreads(__tstate);
9415 if (PyErr_Occurred()) SWIG_fail;
9416 }
9417 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9418 return resultobj;
9419 fail:
9420 return NULL;
9421 }
9422
9423
9424 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9425 PyObject *resultobj;
9426 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9427 size_t arg2 ;
9428 bool result;
9429 PyObject * obj0 = 0 ;
9430 PyObject * obj1 = 0 ;
9431 char *kwnames[] = {
9432 (char *) "self",(char *) "line", NULL
9433 };
9434
9435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9438 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9439 if (PyErr_Occurred()) SWIG_fail;
9440 {
9441 PyThreadState* __tstate = wxPyBeginAllowThreads();
9442 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9443
9444 wxPyEndAllowThreads(__tstate);
9445 if (PyErr_Occurred()) SWIG_fail;
9446 }
9447 {
9448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9449 }
9450 return resultobj;
9451 fail:
9452 return NULL;
9453 }
9454
9455
9456 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9457 PyObject *obj;
9458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9459 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9460 Py_INCREF(obj);
9461 return Py_BuildValue((char *)"");
9462 }
9463 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9464 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9465 return 1;
9466 }
9467
9468
9469 static PyObject *_wrap_VListBoxNameStr_get() {
9470 PyObject *pyobj;
9471
9472 {
9473 #if wxUSE_UNICODE
9474 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9475 #else
9476 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9477 #endif
9478 }
9479 return pyobj;
9480 }
9481
9482
9483 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9484 PyObject *resultobj;
9485 wxWindow *arg1 = (wxWindow *) 0 ;
9486 int arg2 = (int) wxID_ANY ;
9487 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9488 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9489 wxSize const &arg4_defvalue = wxDefaultSize ;
9490 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9491 long arg5 = (long) 0 ;
9492 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9493 wxString *arg6 = (wxString *) &arg6_defvalue ;
9494 wxPyVListBox *result;
9495 wxPoint temp3 ;
9496 wxSize temp4 ;
9497 bool temp6 = False ;
9498 PyObject * obj0 = 0 ;
9499 PyObject * obj1 = 0 ;
9500 PyObject * obj2 = 0 ;
9501 PyObject * obj3 = 0 ;
9502 PyObject * obj4 = 0 ;
9503 PyObject * obj5 = 0 ;
9504 char *kwnames[] = {
9505 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9506 };
9507
9508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9511 if (obj1) {
9512 arg2 = (int) SWIG_AsInt(obj1);
9513 if (PyErr_Occurred()) SWIG_fail;
9514 }
9515 if (obj2) {
9516 {
9517 arg3 = &temp3;
9518 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9519 }
9520 }
9521 if (obj3) {
9522 {
9523 arg4 = &temp4;
9524 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9525 }
9526 }
9527 if (obj4) {
9528 arg5 = (long) SWIG_AsLong(obj4);
9529 if (PyErr_Occurred()) SWIG_fail;
9530 }
9531 if (obj5) {
9532 {
9533 arg6 = wxString_in_helper(obj5);
9534 if (arg6 == NULL) SWIG_fail;
9535 temp6 = True;
9536 }
9537 }
9538 {
9539 PyThreadState* __tstate = wxPyBeginAllowThreads();
9540 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9541
9542 wxPyEndAllowThreads(__tstate);
9543 if (PyErr_Occurred()) SWIG_fail;
9544 }
9545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9546 {
9547 if (temp6)
9548 delete arg6;
9549 }
9550 return resultobj;
9551 fail:
9552 {
9553 if (temp6)
9554 delete arg6;
9555 }
9556 return NULL;
9557 }
9558
9559
9560 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9561 PyObject *resultobj;
9562 wxPyVListBox *result;
9563 char *kwnames[] = {
9564 NULL
9565 };
9566
9567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9568 {
9569 PyThreadState* __tstate = wxPyBeginAllowThreads();
9570 result = (wxPyVListBox *)new wxPyVListBox();
9571
9572 wxPyEndAllowThreads(__tstate);
9573 if (PyErr_Occurred()) SWIG_fail;
9574 }
9575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9576 return resultobj;
9577 fail:
9578 return NULL;
9579 }
9580
9581
9582 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9583 PyObject *resultobj;
9584 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9585 PyObject *arg2 = (PyObject *) 0 ;
9586 PyObject *arg3 = (PyObject *) 0 ;
9587 PyObject * obj0 = 0 ;
9588 PyObject * obj1 = 0 ;
9589 PyObject * obj2 = 0 ;
9590 char *kwnames[] = {
9591 (char *) "self",(char *) "self",(char *) "_class", NULL
9592 };
9593
9594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9597 arg2 = obj1;
9598 arg3 = obj2;
9599 {
9600 PyThreadState* __tstate = wxPyBeginAllowThreads();
9601 (arg1)->_setCallbackInfo(arg2,arg3);
9602
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
9606 Py_INCREF(Py_None); resultobj = Py_None;
9607 return resultobj;
9608 fail:
9609 return NULL;
9610 }
9611
9612
9613 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9614 PyObject *resultobj;
9615 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9616 wxWindow *arg2 = (wxWindow *) 0 ;
9617 int arg3 = (int) wxID_ANY ;
9618 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9619 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9620 wxSize const &arg5_defvalue = wxDefaultSize ;
9621 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9622 long arg6 = (long) 0 ;
9623 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9624 wxString *arg7 = (wxString *) &arg7_defvalue ;
9625 bool result;
9626 wxPoint temp4 ;
9627 wxSize temp5 ;
9628 bool temp7 = False ;
9629 PyObject * obj0 = 0 ;
9630 PyObject * obj1 = 0 ;
9631 PyObject * obj2 = 0 ;
9632 PyObject * obj3 = 0 ;
9633 PyObject * obj4 = 0 ;
9634 PyObject * obj5 = 0 ;
9635 PyObject * obj6 = 0 ;
9636 char *kwnames[] = {
9637 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9638 };
9639
9640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9643 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9645 if (obj2) {
9646 arg3 = (int) SWIG_AsInt(obj2);
9647 if (PyErr_Occurred()) SWIG_fail;
9648 }
9649 if (obj3) {
9650 {
9651 arg4 = &temp4;
9652 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9653 }
9654 }
9655 if (obj4) {
9656 {
9657 arg5 = &temp5;
9658 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9659 }
9660 }
9661 if (obj5) {
9662 arg6 = (long) SWIG_AsLong(obj5);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 if (obj6) {
9666 {
9667 arg7 = wxString_in_helper(obj6);
9668 if (arg7 == NULL) SWIG_fail;
9669 temp7 = True;
9670 }
9671 }
9672 {
9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
9674 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9675
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 {
9680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9681 }
9682 {
9683 if (temp7)
9684 delete arg7;
9685 }
9686 return resultobj;
9687 fail:
9688 {
9689 if (temp7)
9690 delete arg7;
9691 }
9692 return NULL;
9693 }
9694
9695
9696 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9697 PyObject *resultobj;
9698 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9699 size_t result;
9700 PyObject * obj0 = 0 ;
9701 char *kwnames[] = {
9702 (char *) "self", NULL
9703 };
9704
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9708 {
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
9710 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9711
9712 wxPyEndAllowThreads(__tstate);
9713 if (PyErr_Occurred()) SWIG_fail;
9714 }
9715 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9716 return resultobj;
9717 fail:
9718 return NULL;
9719 }
9720
9721
9722 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9723 PyObject *resultobj;
9724 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9725 bool result;
9726 PyObject * obj0 = 0 ;
9727 char *kwnames[] = {
9728 (char *) "self", NULL
9729 };
9730
9731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9734 {
9735 PyThreadState* __tstate = wxPyBeginAllowThreads();
9736 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9737
9738 wxPyEndAllowThreads(__tstate);
9739 if (PyErr_Occurred()) SWIG_fail;
9740 }
9741 {
9742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9743 }
9744 return resultobj;
9745 fail:
9746 return NULL;
9747 }
9748
9749
9750 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9751 PyObject *resultobj;
9752 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9753 int result;
9754 PyObject * obj0 = 0 ;
9755 char *kwnames[] = {
9756 (char *) "self", NULL
9757 };
9758
9759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9762 {
9763 PyThreadState* __tstate = wxPyBeginAllowThreads();
9764 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9765
9766 wxPyEndAllowThreads(__tstate);
9767 if (PyErr_Occurred()) SWIG_fail;
9768 }
9769 resultobj = SWIG_FromInt((int)result);
9770 return resultobj;
9771 fail:
9772 return NULL;
9773 }
9774
9775
9776 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9777 PyObject *resultobj;
9778 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9779 size_t arg2 ;
9780 bool result;
9781 PyObject * obj0 = 0 ;
9782 PyObject * obj1 = 0 ;
9783 char *kwnames[] = {
9784 (char *) "self",(char *) "item", NULL
9785 };
9786
9787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9790 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9791 if (PyErr_Occurred()) SWIG_fail;
9792 {
9793 PyThreadState* __tstate = wxPyBeginAllowThreads();
9794 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9795
9796 wxPyEndAllowThreads(__tstate);
9797 if (PyErr_Occurred()) SWIG_fail;
9798 }
9799 {
9800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9801 }
9802 return resultobj;
9803 fail:
9804 return NULL;
9805 }
9806
9807
9808 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9809 PyObject *resultobj;
9810 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9811 size_t arg2 ;
9812 bool result;
9813 PyObject * obj0 = 0 ;
9814 PyObject * obj1 = 0 ;
9815 char *kwnames[] = {
9816 (char *) "self",(char *) "item", NULL
9817 };
9818
9819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9822 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9823 if (PyErr_Occurred()) SWIG_fail;
9824 {
9825 PyThreadState* __tstate = wxPyBeginAllowThreads();
9826 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9827
9828 wxPyEndAllowThreads(__tstate);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 }
9831 {
9832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9833 }
9834 return resultobj;
9835 fail:
9836 return NULL;
9837 }
9838
9839
9840 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9841 PyObject *resultobj;
9842 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9843 size_t result;
9844 PyObject * obj0 = 0 ;
9845 char *kwnames[] = {
9846 (char *) "self", NULL
9847 };
9848
9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9860 return resultobj;
9861 fail:
9862 return NULL;
9863 }
9864
9865
9866 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9867 PyObject *resultobj;
9868 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9869 unsigned long *arg2 = 0 ;
9870 int result;
9871 PyObject * obj0 = 0 ;
9872 PyObject * obj1 = 0 ;
9873 char *kwnames[] = {
9874 (char *) "self",(char *) "cookie", NULL
9875 };
9876
9877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9881 SWIG_POINTER_EXCEPTION | 0)) == -1)
9882 SWIG_fail;
9883 if (arg2 == NULL) {
9884 PyErr_SetString(PyExc_TypeError,"null reference");
9885 SWIG_fail;
9886 }
9887 {
9888 PyThreadState* __tstate = wxPyBeginAllowThreads();
9889 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9890
9891 wxPyEndAllowThreads(__tstate);
9892 if (PyErr_Occurred()) SWIG_fail;
9893 }
9894 resultobj = SWIG_FromInt((int)result);
9895 return resultobj;
9896 fail:
9897 return NULL;
9898 }
9899
9900
9901 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9902 PyObject *resultobj;
9903 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9904 unsigned long *arg2 = 0 ;
9905 int result;
9906 PyObject * obj0 = 0 ;
9907 PyObject * obj1 = 0 ;
9908 char *kwnames[] = {
9909 (char *) "self",(char *) "cookie", NULL
9910 };
9911
9912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9916 SWIG_POINTER_EXCEPTION | 0)) == -1)
9917 SWIG_fail;
9918 if (arg2 == NULL) {
9919 PyErr_SetString(PyExc_TypeError,"null reference");
9920 SWIG_fail;
9921 }
9922 {
9923 PyThreadState* __tstate = wxPyBeginAllowThreads();
9924 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9925
9926 wxPyEndAllowThreads(__tstate);
9927 if (PyErr_Occurred()) SWIG_fail;
9928 }
9929 resultobj = SWIG_FromInt((int)result);
9930 return resultobj;
9931 fail:
9932 return NULL;
9933 }
9934
9935
9936 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9937 PyObject *resultobj;
9938 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9939 wxPoint result;
9940 PyObject * obj0 = 0 ;
9941 char *kwnames[] = {
9942 (char *) "self", NULL
9943 };
9944
9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9948 {
9949 PyThreadState* __tstate = wxPyBeginAllowThreads();
9950 result = ((wxPyVListBox const *)arg1)->GetMargins();
9951
9952 wxPyEndAllowThreads(__tstate);
9953 if (PyErr_Occurred()) SWIG_fail;
9954 }
9955 {
9956 wxPoint * resultptr;
9957 resultptr = new wxPoint((wxPoint &) result);
9958 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9959 }
9960 return resultobj;
9961 fail:
9962 return NULL;
9963 }
9964
9965
9966 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9967 PyObject *resultobj;
9968 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9969 wxColour *result;
9970 PyObject * obj0 = 0 ;
9971 char *kwnames[] = {
9972 (char *) "self", NULL
9973 };
9974
9975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9978 {
9979 PyThreadState* __tstate = wxPyBeginAllowThreads();
9980 {
9981 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9982 result = (wxColour *) &_result_ref;
9983 }
9984
9985 wxPyEndAllowThreads(__tstate);
9986 if (PyErr_Occurred()) SWIG_fail;
9987 }
9988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9989 return resultobj;
9990 fail:
9991 return NULL;
9992 }
9993
9994
9995 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9996 PyObject *resultobj;
9997 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9998 size_t arg2 ;
9999 PyObject * obj0 = 0 ;
10000 PyObject * obj1 = 0 ;
10001 char *kwnames[] = {
10002 (char *) "self",(char *) "count", NULL
10003 };
10004
10005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10008 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10009 if (PyErr_Occurred()) SWIG_fail;
10010 {
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 (arg1)->SetItemCount(arg2);
10013
10014 wxPyEndAllowThreads(__tstate);
10015 if (PyErr_Occurred()) SWIG_fail;
10016 }
10017 Py_INCREF(Py_None); resultobj = Py_None;
10018 return resultobj;
10019 fail:
10020 return NULL;
10021 }
10022
10023
10024 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10025 PyObject *resultobj;
10026 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10027 PyObject * obj0 = 0 ;
10028 char *kwnames[] = {
10029 (char *) "self", NULL
10030 };
10031
10032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10035 {
10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
10037 (arg1)->Clear();
10038
10039 wxPyEndAllowThreads(__tstate);
10040 if (PyErr_Occurred()) SWIG_fail;
10041 }
10042 Py_INCREF(Py_None); resultobj = Py_None;
10043 return resultobj;
10044 fail:
10045 return NULL;
10046 }
10047
10048
10049 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10050 PyObject *resultobj;
10051 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10052 int arg2 ;
10053 PyObject * obj0 = 0 ;
10054 PyObject * obj1 = 0 ;
10055 char *kwnames[] = {
10056 (char *) "self",(char *) "selection", NULL
10057 };
10058
10059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10062 arg2 = (int) SWIG_AsInt(obj1);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 {
10065 PyThreadState* __tstate = wxPyBeginAllowThreads();
10066 (arg1)->SetSelection(arg2);
10067
10068 wxPyEndAllowThreads(__tstate);
10069 if (PyErr_Occurred()) SWIG_fail;
10070 }
10071 Py_INCREF(Py_None); resultobj = Py_None;
10072 return resultobj;
10073 fail:
10074 return NULL;
10075 }
10076
10077
10078 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10079 PyObject *resultobj;
10080 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10081 size_t arg2 ;
10082 bool arg3 = (bool) True ;
10083 bool result;
10084 PyObject * obj0 = 0 ;
10085 PyObject * obj1 = 0 ;
10086 PyObject * obj2 = 0 ;
10087 char *kwnames[] = {
10088 (char *) "self",(char *) "item",(char *) "select", NULL
10089 };
10090
10091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10094 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10095 if (PyErr_Occurred()) SWIG_fail;
10096 if (obj2) {
10097 arg3 = (bool) SWIG_AsBool(obj2);
10098 if (PyErr_Occurred()) SWIG_fail;
10099 }
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 result = (bool)(arg1)->Select(arg2,arg3);
10103
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 {
10108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10109 }
10110 return resultobj;
10111 fail:
10112 return NULL;
10113 }
10114
10115
10116 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10117 PyObject *resultobj;
10118 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10119 size_t arg2 ;
10120 size_t arg3 ;
10121 bool result;
10122 PyObject * obj0 = 0 ;
10123 PyObject * obj1 = 0 ;
10124 PyObject * obj2 = 0 ;
10125 char *kwnames[] = {
10126 (char *) "self",(char *) "from",(char *) "to", NULL
10127 };
10128
10129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10132 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10135 if (PyErr_Occurred()) SWIG_fail;
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 result = (bool)(arg1)->SelectRange(arg2,arg3);
10139
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 {
10144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10145 }
10146 return resultobj;
10147 fail:
10148 return NULL;
10149 }
10150
10151
10152 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10153 PyObject *resultobj;
10154 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10155 size_t arg2 ;
10156 PyObject * obj0 = 0 ;
10157 PyObject * obj1 = 0 ;
10158 char *kwnames[] = {
10159 (char *) "self",(char *) "item", NULL
10160 };
10161
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10165 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10166 if (PyErr_Occurred()) SWIG_fail;
10167 {
10168 PyThreadState* __tstate = wxPyBeginAllowThreads();
10169 (arg1)->Toggle(arg2);
10170
10171 wxPyEndAllowThreads(__tstate);
10172 if (PyErr_Occurred()) SWIG_fail;
10173 }
10174 Py_INCREF(Py_None); resultobj = Py_None;
10175 return resultobj;
10176 fail:
10177 return NULL;
10178 }
10179
10180
10181 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10182 PyObject *resultobj;
10183 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10184 bool result;
10185 PyObject * obj0 = 0 ;
10186 char *kwnames[] = {
10187 (char *) "self", NULL
10188 };
10189
10190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10193 {
10194 PyThreadState* __tstate = wxPyBeginAllowThreads();
10195 result = (bool)(arg1)->SelectAll();
10196
10197 wxPyEndAllowThreads(__tstate);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 {
10201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10202 }
10203 return resultobj;
10204 fail:
10205 return NULL;
10206 }
10207
10208
10209 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10210 PyObject *resultobj;
10211 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10212 bool result;
10213 PyObject * obj0 = 0 ;
10214 char *kwnames[] = {
10215 (char *) "self", NULL
10216 };
10217
10218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10221 {
10222 PyThreadState* __tstate = wxPyBeginAllowThreads();
10223 result = (bool)(arg1)->DeselectAll();
10224
10225 wxPyEndAllowThreads(__tstate);
10226 if (PyErr_Occurred()) SWIG_fail;
10227 }
10228 {
10229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10230 }
10231 return resultobj;
10232 fail:
10233 return NULL;
10234 }
10235
10236
10237 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10238 PyObject *resultobj;
10239 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10240 wxPoint *arg2 = 0 ;
10241 wxPoint temp2 ;
10242 PyObject * obj0 = 0 ;
10243 PyObject * obj1 = 0 ;
10244 char *kwnames[] = {
10245 (char *) "self",(char *) "pt", NULL
10246 };
10247
10248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10251 {
10252 arg2 = &temp2;
10253 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10254 }
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 (arg1)->SetMargins((wxPoint const &)*arg2);
10258
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
10262 Py_INCREF(Py_None); resultobj = Py_None;
10263 return resultobj;
10264 fail:
10265 return NULL;
10266 }
10267
10268
10269 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10270 PyObject *resultobj;
10271 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10272 int arg2 ;
10273 int arg3 ;
10274 PyObject * obj0 = 0 ;
10275 PyObject * obj1 = 0 ;
10276 PyObject * obj2 = 0 ;
10277 char *kwnames[] = {
10278 (char *) "self",(char *) "x",(char *) "y", NULL
10279 };
10280
10281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10284 arg2 = (int) SWIG_AsInt(obj1);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 arg3 = (int) SWIG_AsInt(obj2);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 {
10289 PyThreadState* __tstate = wxPyBeginAllowThreads();
10290 (arg1)->SetMargins(arg2,arg3);
10291
10292 wxPyEndAllowThreads(__tstate);
10293 if (PyErr_Occurred()) SWIG_fail;
10294 }
10295 Py_INCREF(Py_None); resultobj = Py_None;
10296 return resultobj;
10297 fail:
10298 return NULL;
10299 }
10300
10301
10302 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10303 PyObject *resultobj;
10304 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10305 wxColour *arg2 = 0 ;
10306 wxColour temp2 ;
10307 PyObject * obj0 = 0 ;
10308 PyObject * obj1 = 0 ;
10309 char *kwnames[] = {
10310 (char *) "self",(char *) "col", NULL
10311 };
10312
10313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10316 {
10317 arg2 = &temp2;
10318 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10319 }
10320 {
10321 PyThreadState* __tstate = wxPyBeginAllowThreads();
10322 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10323
10324 wxPyEndAllowThreads(__tstate);
10325 if (PyErr_Occurred()) SWIG_fail;
10326 }
10327 Py_INCREF(Py_None); resultobj = Py_None;
10328 return resultobj;
10329 fail:
10330 return NULL;
10331 }
10332
10333
10334 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10335 PyObject *obj;
10336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10337 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10338 Py_INCREF(obj);
10339 return Py_BuildValue((char *)"");
10340 }
10341 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10342 PyObject *resultobj;
10343 wxWindow *arg1 = (wxWindow *) 0 ;
10344 int arg2 = (int) wxID_ANY ;
10345 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10346 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10347 wxSize const &arg4_defvalue = wxDefaultSize ;
10348 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10349 long arg5 = (long) 0 ;
10350 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10351 wxString *arg6 = (wxString *) &arg6_defvalue ;
10352 wxPyHtmlListBox *result;
10353 wxPoint temp3 ;
10354 wxSize temp4 ;
10355 bool temp6 = False ;
10356 PyObject * obj0 = 0 ;
10357 PyObject * obj1 = 0 ;
10358 PyObject * obj2 = 0 ;
10359 PyObject * obj3 = 0 ;
10360 PyObject * obj4 = 0 ;
10361 PyObject * obj5 = 0 ;
10362 char *kwnames[] = {
10363 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10364 };
10365
10366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10369 if (obj1) {
10370 arg2 = (int) SWIG_AsInt(obj1);
10371 if (PyErr_Occurred()) SWIG_fail;
10372 }
10373 if (obj2) {
10374 {
10375 arg3 = &temp3;
10376 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10377 }
10378 }
10379 if (obj3) {
10380 {
10381 arg4 = &temp4;
10382 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10383 }
10384 }
10385 if (obj4) {
10386 arg5 = (long) SWIG_AsLong(obj4);
10387 if (PyErr_Occurred()) SWIG_fail;
10388 }
10389 if (obj5) {
10390 {
10391 arg6 = wxString_in_helper(obj5);
10392 if (arg6 == NULL) SWIG_fail;
10393 temp6 = True;
10394 }
10395 }
10396 {
10397 PyThreadState* __tstate = wxPyBeginAllowThreads();
10398 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10399
10400 wxPyEndAllowThreads(__tstate);
10401 if (PyErr_Occurred()) SWIG_fail;
10402 }
10403 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10404 {
10405 if (temp6)
10406 delete arg6;
10407 }
10408 return resultobj;
10409 fail:
10410 {
10411 if (temp6)
10412 delete arg6;
10413 }
10414 return NULL;
10415 }
10416
10417
10418 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10419 PyObject *resultobj;
10420 wxPyHtmlListBox *result;
10421 char *kwnames[] = {
10422 NULL
10423 };
10424
10425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10426 {
10427 PyThreadState* __tstate = wxPyBeginAllowThreads();
10428 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10429
10430 wxPyEndAllowThreads(__tstate);
10431 if (PyErr_Occurred()) SWIG_fail;
10432 }
10433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10434 return resultobj;
10435 fail:
10436 return NULL;
10437 }
10438
10439
10440 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10441 PyObject *resultobj;
10442 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10443 PyObject *arg2 = (PyObject *) 0 ;
10444 PyObject *arg3 = (PyObject *) 0 ;
10445 PyObject * obj0 = 0 ;
10446 PyObject * obj1 = 0 ;
10447 PyObject * obj2 = 0 ;
10448 char *kwnames[] = {
10449 (char *) "self",(char *) "self",(char *) "_class", NULL
10450 };
10451
10452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10455 arg2 = obj1;
10456 arg3 = obj2;
10457 {
10458 PyThreadState* __tstate = wxPyBeginAllowThreads();
10459 (arg1)->_setCallbackInfo(arg2,arg3);
10460
10461 wxPyEndAllowThreads(__tstate);
10462 if (PyErr_Occurred()) SWIG_fail;
10463 }
10464 Py_INCREF(Py_None); resultobj = Py_None;
10465 return resultobj;
10466 fail:
10467 return NULL;
10468 }
10469
10470
10471 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10472 PyObject *resultobj;
10473 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10474 wxWindow *arg2 = (wxWindow *) 0 ;
10475 int arg3 = (int) wxID_ANY ;
10476 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10477 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10478 wxSize const &arg5_defvalue = wxDefaultSize ;
10479 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10480 long arg6 = (long) 0 ;
10481 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10482 wxString *arg7 = (wxString *) &arg7_defvalue ;
10483 bool result;
10484 wxPoint temp4 ;
10485 wxSize temp5 ;
10486 bool temp7 = False ;
10487 PyObject * obj0 = 0 ;
10488 PyObject * obj1 = 0 ;
10489 PyObject * obj2 = 0 ;
10490 PyObject * obj3 = 0 ;
10491 PyObject * obj4 = 0 ;
10492 PyObject * obj5 = 0 ;
10493 PyObject * obj6 = 0 ;
10494 char *kwnames[] = {
10495 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10496 };
10497
10498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10501 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10503 if (obj2) {
10504 arg3 = (int) SWIG_AsInt(obj2);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 if (obj3) {
10508 {
10509 arg4 = &temp4;
10510 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10511 }
10512 }
10513 if (obj4) {
10514 {
10515 arg5 = &temp5;
10516 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10517 }
10518 }
10519 if (obj5) {
10520 arg6 = (long) SWIG_AsLong(obj5);
10521 if (PyErr_Occurred()) SWIG_fail;
10522 }
10523 if (obj6) {
10524 {
10525 arg7 = wxString_in_helper(obj6);
10526 if (arg7 == NULL) SWIG_fail;
10527 temp7 = True;
10528 }
10529 }
10530 {
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
10532 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10533
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 {
10538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10539 }
10540 {
10541 if (temp7)
10542 delete arg7;
10543 }
10544 return resultobj;
10545 fail:
10546 {
10547 if (temp7)
10548 delete arg7;
10549 }
10550 return NULL;
10551 }
10552
10553
10554 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10555 PyObject *resultobj;
10556 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10557 PyObject * obj0 = 0 ;
10558 char *kwnames[] = {
10559 (char *) "self", NULL
10560 };
10561
10562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10565 {
10566 PyThreadState* __tstate = wxPyBeginAllowThreads();
10567 (arg1)->RefreshAll();
10568
10569 wxPyEndAllowThreads(__tstate);
10570 if (PyErr_Occurred()) SWIG_fail;
10571 }
10572 Py_INCREF(Py_None); resultobj = Py_None;
10573 return resultobj;
10574 fail:
10575 return NULL;
10576 }
10577
10578
10579 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10580 PyObject *resultobj;
10581 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10582 size_t arg2 ;
10583 PyObject * obj0 = 0 ;
10584 PyObject * obj1 = 0 ;
10585 char *kwnames[] = {
10586 (char *) "self",(char *) "count", NULL
10587 };
10588
10589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10592 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 {
10595 PyThreadState* __tstate = wxPyBeginAllowThreads();
10596 (arg1)->SetItemCount(arg2);
10597
10598 wxPyEndAllowThreads(__tstate);
10599 if (PyErr_Occurred()) SWIG_fail;
10600 }
10601 Py_INCREF(Py_None); resultobj = Py_None;
10602 return resultobj;
10603 fail:
10604 return NULL;
10605 }
10606
10607
10608 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10609 PyObject *obj;
10610 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10611 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10612 Py_INCREF(obj);
10613 return Py_BuildValue((char *)"");
10614 }
10615 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10616 PyObject *resultobj;
10617 wxTaskBarIcon *result;
10618 char *kwnames[] = {
10619 NULL
10620 };
10621
10622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 }
10630 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10631 return resultobj;
10632 fail:
10633 return NULL;
10634 }
10635
10636
10637 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10638 PyObject *resultobj;
10639 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10640 PyObject * obj0 = 0 ;
10641 char *kwnames[] = {
10642 (char *) "self", NULL
10643 };
10644
10645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10648 {
10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
10650 delete arg1;
10651
10652 wxPyEndAllowThreads(__tstate);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 }
10655 Py_INCREF(Py_None); resultobj = Py_None;
10656 return resultobj;
10657 fail:
10658 return NULL;
10659 }
10660
10661
10662 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10663 PyObject *resultobj;
10664 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10665 PyObject * obj0 = 0 ;
10666 char *kwnames[] = {
10667 (char *) "self", NULL
10668 };
10669
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10673 {
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
10675 wxTaskBarIcon_Destroy(arg1);
10676
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 Py_INCREF(Py_None); resultobj = Py_None;
10681 return resultobj;
10682 fail:
10683 return NULL;
10684 }
10685
10686
10687 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10688 PyObject *resultobj;
10689 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10690 bool result;
10691 PyObject * obj0 = 0 ;
10692 char *kwnames[] = {
10693 (char *) "self", NULL
10694 };
10695
10696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10699 {
10700 PyThreadState* __tstate = wxPyBeginAllowThreads();
10701 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10702
10703 wxPyEndAllowThreads(__tstate);
10704 if (PyErr_Occurred()) SWIG_fail;
10705 }
10706 {
10707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10708 }
10709 return resultobj;
10710 fail:
10711 return NULL;
10712 }
10713
10714
10715 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10716 PyObject *resultobj;
10717 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10718 bool result;
10719 PyObject * obj0 = 0 ;
10720 char *kwnames[] = {
10721 (char *) "self", NULL
10722 };
10723
10724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10727 {
10728 PyThreadState* __tstate = wxPyBeginAllowThreads();
10729 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10730
10731 wxPyEndAllowThreads(__tstate);
10732 if (PyErr_Occurred()) SWIG_fail;
10733 }
10734 {
10735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10736 }
10737 return resultobj;
10738 fail:
10739 return NULL;
10740 }
10741
10742
10743 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10744 PyObject *resultobj;
10745 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10746 wxIcon *arg2 = 0 ;
10747 wxString const &arg3_defvalue = wxPyEmptyString ;
10748 wxString *arg3 = (wxString *) &arg3_defvalue ;
10749 bool result;
10750 bool temp3 = False ;
10751 PyObject * obj0 = 0 ;
10752 PyObject * obj1 = 0 ;
10753 PyObject * obj2 = 0 ;
10754 char *kwnames[] = {
10755 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10756 };
10757
10758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10761 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10762 SWIG_POINTER_EXCEPTION | 0)) == -1)
10763 SWIG_fail;
10764 if (arg2 == NULL) {
10765 PyErr_SetString(PyExc_TypeError,"null reference");
10766 SWIG_fail;
10767 }
10768 if (obj2) {
10769 {
10770 arg3 = wxString_in_helper(obj2);
10771 if (arg3 == NULL) SWIG_fail;
10772 temp3 = True;
10773 }
10774 }
10775 {
10776 PyThreadState* __tstate = wxPyBeginAllowThreads();
10777 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10778
10779 wxPyEndAllowThreads(__tstate);
10780 if (PyErr_Occurred()) SWIG_fail;
10781 }
10782 {
10783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10784 }
10785 {
10786 if (temp3)
10787 delete arg3;
10788 }
10789 return resultobj;
10790 fail:
10791 {
10792 if (temp3)
10793 delete arg3;
10794 }
10795 return NULL;
10796 }
10797
10798
10799 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10800 PyObject *resultobj;
10801 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10802 bool result;
10803 PyObject * obj0 = 0 ;
10804 char *kwnames[] = {
10805 (char *) "self", NULL
10806 };
10807
10808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10811 {
10812 PyThreadState* __tstate = wxPyBeginAllowThreads();
10813 result = (bool)(arg1)->RemoveIcon();
10814
10815 wxPyEndAllowThreads(__tstate);
10816 if (PyErr_Occurred()) SWIG_fail;
10817 }
10818 {
10819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10820 }
10821 return resultobj;
10822 fail:
10823 return NULL;
10824 }
10825
10826
10827 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10828 PyObject *resultobj;
10829 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10830 wxMenu *arg2 = (wxMenu *) 0 ;
10831 bool result;
10832 PyObject * obj0 = 0 ;
10833 PyObject * obj1 = 0 ;
10834 char *kwnames[] = {
10835 (char *) "self",(char *) "menu", NULL
10836 };
10837
10838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10841 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
10842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10843 {
10844 PyThreadState* __tstate = wxPyBeginAllowThreads();
10845 result = (bool)(arg1)->PopupMenu(arg2);
10846
10847 wxPyEndAllowThreads(__tstate);
10848 if (PyErr_Occurred()) SWIG_fail;
10849 }
10850 {
10851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10852 }
10853 return resultobj;
10854 fail:
10855 return NULL;
10856 }
10857
10858
10859 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10860 PyObject *obj;
10861 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10862 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10863 Py_INCREF(obj);
10864 return Py_BuildValue((char *)"");
10865 }
10866 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10867 PyObject *resultobj;
10868 wxEventType arg1 ;
10869 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10870 wxTaskBarIconEvent *result;
10871 PyObject * obj0 = 0 ;
10872 PyObject * obj1 = 0 ;
10873 char *kwnames[] = {
10874 (char *) "evtType",(char *) "tbIcon", NULL
10875 };
10876
10877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10878 arg1 = (wxEventType) SWIG_AsInt(obj0);
10879 if (PyErr_Occurred()) SWIG_fail;
10880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10882 {
10883 PyThreadState* __tstate = wxPyBeginAllowThreads();
10884 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10885
10886 wxPyEndAllowThreads(__tstate);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 }
10889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10890 return resultobj;
10891 fail:
10892 return NULL;
10893 }
10894
10895
10896 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10897 PyObject *obj;
10898 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10899 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10900 Py_INCREF(obj);
10901 return Py_BuildValue((char *)"");
10902 }
10903 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10904 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10905 return 1;
10906 }
10907
10908
10909 static PyObject *_wrap_FileSelectorPromptStr_get() {
10910 PyObject *pyobj;
10911
10912 {
10913 #if wxUSE_UNICODE
10914 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10915 #else
10916 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10917 #endif
10918 }
10919 return pyobj;
10920 }
10921
10922
10923 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10924 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10925 return 1;
10926 }
10927
10928
10929 static PyObject *_wrap_DirSelectorPromptStr_get() {
10930 PyObject *pyobj;
10931
10932 {
10933 #if wxUSE_UNICODE
10934 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10935 #else
10936 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10937 #endif
10938 }
10939 return pyobj;
10940 }
10941
10942
10943 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10944 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10945 return 1;
10946 }
10947
10948
10949 static PyObject *_wrap_DirDialogNameStr_get() {
10950 PyObject *pyobj;
10951
10952 {
10953 #if wxUSE_UNICODE
10954 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10955 #else
10956 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10957 #endif
10958 }
10959 return pyobj;
10960 }
10961
10962
10963 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10964 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10965 return 1;
10966 }
10967
10968
10969 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10970 PyObject *pyobj;
10971
10972 {
10973 #if wxUSE_UNICODE
10974 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10975 #else
10976 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10977 #endif
10978 }
10979 return pyobj;
10980 }
10981
10982
10983 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10984 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10985 return 1;
10986 }
10987
10988
10989 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10990 PyObject *pyobj;
10991
10992 {
10993 #if wxUSE_UNICODE
10994 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10995 #else
10996 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10997 #endif
10998 }
10999 return pyobj;
11000 }
11001
11002
11003 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
11004 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11005 return 1;
11006 }
11007
11008
11009 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11010 PyObject *pyobj;
11011
11012 {
11013 #if wxUSE_UNICODE
11014 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11015 #else
11016 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11017 #endif
11018 }
11019 return pyobj;
11020 }
11021
11022
11023 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11024 PyObject *resultobj;
11025 wxColourData *result;
11026 char *kwnames[] = {
11027 NULL
11028 };
11029
11030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11031 {
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 result = (wxColourData *)new wxColourData();
11034
11035 wxPyEndAllowThreads(__tstate);
11036 if (PyErr_Occurred()) SWIG_fail;
11037 }
11038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11039 return resultobj;
11040 fail:
11041 return NULL;
11042 }
11043
11044
11045 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11046 PyObject *resultobj;
11047 wxColourData *arg1 = (wxColourData *) 0 ;
11048 PyObject * obj0 = 0 ;
11049 char *kwnames[] = {
11050 (char *) "self", NULL
11051 };
11052
11053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 delete arg1;
11059
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 Py_INCREF(Py_None); resultobj = Py_None;
11064 return resultobj;
11065 fail:
11066 return NULL;
11067 }
11068
11069
11070 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11071 PyObject *resultobj;
11072 wxColourData *arg1 = (wxColourData *) 0 ;
11073 bool result;
11074 PyObject * obj0 = 0 ;
11075 char *kwnames[] = {
11076 (char *) "self", NULL
11077 };
11078
11079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11082 {
11083 PyThreadState* __tstate = wxPyBeginAllowThreads();
11084 result = (bool)(arg1)->GetChooseFull();
11085
11086 wxPyEndAllowThreads(__tstate);
11087 if (PyErr_Occurred()) SWIG_fail;
11088 }
11089 {
11090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11091 }
11092 return resultobj;
11093 fail:
11094 return NULL;
11095 }
11096
11097
11098 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11099 PyObject *resultobj;
11100 wxColourData *arg1 = (wxColourData *) 0 ;
11101 wxColour result;
11102 PyObject * obj0 = 0 ;
11103 char *kwnames[] = {
11104 (char *) "self", NULL
11105 };
11106
11107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11110 {
11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
11112 result = (arg1)->GetColour();
11113
11114 wxPyEndAllowThreads(__tstate);
11115 if (PyErr_Occurred()) SWIG_fail;
11116 }
11117 {
11118 wxColour * resultptr;
11119 resultptr = new wxColour((wxColour &) result);
11120 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11121 }
11122 return resultobj;
11123 fail:
11124 return NULL;
11125 }
11126
11127
11128 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11129 PyObject *resultobj;
11130 wxColourData *arg1 = (wxColourData *) 0 ;
11131 int arg2 ;
11132 wxColour result;
11133 PyObject * obj0 = 0 ;
11134 PyObject * obj1 = 0 ;
11135 char *kwnames[] = {
11136 (char *) "self",(char *) "i", NULL
11137 };
11138
11139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11142 arg2 = (int) SWIG_AsInt(obj1);
11143 if (PyErr_Occurred()) SWIG_fail;
11144 {
11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
11146 result = (arg1)->GetCustomColour(arg2);
11147
11148 wxPyEndAllowThreads(__tstate);
11149 if (PyErr_Occurred()) SWIG_fail;
11150 }
11151 {
11152 wxColour * resultptr;
11153 resultptr = new wxColour((wxColour &) result);
11154 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11155 }
11156 return resultobj;
11157 fail:
11158 return NULL;
11159 }
11160
11161
11162 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11163 PyObject *resultobj;
11164 wxColourData *arg1 = (wxColourData *) 0 ;
11165 int arg2 ;
11166 PyObject * obj0 = 0 ;
11167 PyObject * obj1 = 0 ;
11168 char *kwnames[] = {
11169 (char *) "self",(char *) "flag", NULL
11170 };
11171
11172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11175 arg2 = (int) SWIG_AsInt(obj1);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 {
11178 PyThreadState* __tstate = wxPyBeginAllowThreads();
11179 (arg1)->SetChooseFull(arg2);
11180
11181 wxPyEndAllowThreads(__tstate);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 Py_INCREF(Py_None); resultobj = Py_None;
11185 return resultobj;
11186 fail:
11187 return NULL;
11188 }
11189
11190
11191 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11192 PyObject *resultobj;
11193 wxColourData *arg1 = (wxColourData *) 0 ;
11194 wxColour *arg2 = 0 ;
11195 wxColour temp2 ;
11196 PyObject * obj0 = 0 ;
11197 PyObject * obj1 = 0 ;
11198 char *kwnames[] = {
11199 (char *) "self",(char *) "colour", NULL
11200 };
11201
11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11205 {
11206 arg2 = &temp2;
11207 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11208 }
11209 {
11210 PyThreadState* __tstate = wxPyBeginAllowThreads();
11211 (arg1)->SetColour((wxColour const &)*arg2);
11212
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 Py_INCREF(Py_None); resultobj = Py_None;
11217 return resultobj;
11218 fail:
11219 return NULL;
11220 }
11221
11222
11223 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11224 PyObject *resultobj;
11225 wxColourData *arg1 = (wxColourData *) 0 ;
11226 int arg2 ;
11227 wxColour *arg3 = 0 ;
11228 wxColour temp3 ;
11229 PyObject * obj0 = 0 ;
11230 PyObject * obj1 = 0 ;
11231 PyObject * obj2 = 0 ;
11232 char *kwnames[] = {
11233 (char *) "self",(char *) "i",(char *) "colour", NULL
11234 };
11235
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11239 arg2 = (int) SWIG_AsInt(obj1);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 {
11242 arg3 = &temp3;
11243 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11244 }
11245 {
11246 PyThreadState* __tstate = wxPyBeginAllowThreads();
11247 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11248
11249 wxPyEndAllowThreads(__tstate);
11250 if (PyErr_Occurred()) SWIG_fail;
11251 }
11252 Py_INCREF(Py_None); resultobj = Py_None;
11253 return resultobj;
11254 fail:
11255 return NULL;
11256 }
11257
11258
11259 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11260 PyObject *obj;
11261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11262 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11263 Py_INCREF(obj);
11264 return Py_BuildValue((char *)"");
11265 }
11266 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11267 PyObject *resultobj;
11268 wxWindow *arg1 = (wxWindow *) 0 ;
11269 wxColourData *arg2 = (wxColourData *) NULL ;
11270 wxColourDialog *result;
11271 PyObject * obj0 = 0 ;
11272 PyObject * obj1 = 0 ;
11273 char *kwnames[] = {
11274 (char *) "parent",(char *) "data", NULL
11275 };
11276
11277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11280 if (obj1) {
11281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11283 }
11284 {
11285 PyThreadState* __tstate = wxPyBeginAllowThreads();
11286 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11287
11288 wxPyEndAllowThreads(__tstate);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 }
11291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11292 return resultobj;
11293 fail:
11294 return NULL;
11295 }
11296
11297
11298 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11299 PyObject *resultobj;
11300 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11301 wxColourData *result;
11302 PyObject * obj0 = 0 ;
11303 char *kwnames[] = {
11304 (char *) "self", NULL
11305 };
11306
11307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11310 {
11311 PyThreadState* __tstate = wxPyBeginAllowThreads();
11312 {
11313 wxColourData &_result_ref = (arg1)->GetColourData();
11314 result = (wxColourData *) &_result_ref;
11315 }
11316
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11321 return resultobj;
11322 fail:
11323 return NULL;
11324 }
11325
11326
11327 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11328 PyObject *obj;
11329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11330 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11331 Py_INCREF(obj);
11332 return Py_BuildValue((char *)"");
11333 }
11334 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11335 PyObject *resultobj;
11336 wxWindow *arg1 = (wxWindow *) 0 ;
11337 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11338 wxString *arg2 = (wxString *) &arg2_defvalue ;
11339 wxString const &arg3_defvalue = wxPyEmptyString ;
11340 wxString *arg3 = (wxString *) &arg3_defvalue ;
11341 long arg4 = (long) 0 ;
11342 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11343 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11344 wxSize const &arg6_defvalue = wxDefaultSize ;
11345 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11346 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11347 wxString *arg7 = (wxString *) &arg7_defvalue ;
11348 wxDirDialog *result;
11349 bool temp2 = False ;
11350 bool temp3 = False ;
11351 wxPoint temp5 ;
11352 wxSize temp6 ;
11353 bool temp7 = False ;
11354 PyObject * obj0 = 0 ;
11355 PyObject * obj1 = 0 ;
11356 PyObject * obj2 = 0 ;
11357 PyObject * obj3 = 0 ;
11358 PyObject * obj4 = 0 ;
11359 PyObject * obj5 = 0 ;
11360 PyObject * obj6 = 0 ;
11361 char *kwnames[] = {
11362 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11363 };
11364
11365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11368 if (obj1) {
11369 {
11370 arg2 = wxString_in_helper(obj1);
11371 if (arg2 == NULL) SWIG_fail;
11372 temp2 = True;
11373 }
11374 }
11375 if (obj2) {
11376 {
11377 arg3 = wxString_in_helper(obj2);
11378 if (arg3 == NULL) SWIG_fail;
11379 temp3 = True;
11380 }
11381 }
11382 if (obj3) {
11383 arg4 = (long) SWIG_AsLong(obj3);
11384 if (PyErr_Occurred()) SWIG_fail;
11385 }
11386 if (obj4) {
11387 {
11388 arg5 = &temp5;
11389 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11390 }
11391 }
11392 if (obj5) {
11393 {
11394 arg6 = &temp6;
11395 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11396 }
11397 }
11398 if (obj6) {
11399 {
11400 arg7 = wxString_in_helper(obj6);
11401 if (arg7 == NULL) SWIG_fail;
11402 temp7 = True;
11403 }
11404 }
11405 {
11406 PyThreadState* __tstate = wxPyBeginAllowThreads();
11407 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11408
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11413 {
11414 if (temp2)
11415 delete arg2;
11416 }
11417 {
11418 if (temp3)
11419 delete arg3;
11420 }
11421 {
11422 if (temp7)
11423 delete arg7;
11424 }
11425 return resultobj;
11426 fail:
11427 {
11428 if (temp2)
11429 delete arg2;
11430 }
11431 {
11432 if (temp3)
11433 delete arg3;
11434 }
11435 {
11436 if (temp7)
11437 delete arg7;
11438 }
11439 return NULL;
11440 }
11441
11442
11443 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11444 PyObject *resultobj;
11445 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11446 wxString result;
11447 PyObject * obj0 = 0 ;
11448 char *kwnames[] = {
11449 (char *) "self", NULL
11450 };
11451
11452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11455 {
11456 PyThreadState* __tstate = wxPyBeginAllowThreads();
11457 result = (arg1)->GetPath();
11458
11459 wxPyEndAllowThreads(__tstate);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 }
11462 {
11463 #if wxUSE_UNICODE
11464 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11465 #else
11466 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11467 #endif
11468 }
11469 return resultobj;
11470 fail:
11471 return NULL;
11472 }
11473
11474
11475 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11476 PyObject *resultobj;
11477 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11478 wxString result;
11479 PyObject * obj0 = 0 ;
11480 char *kwnames[] = {
11481 (char *) "self", NULL
11482 };
11483
11484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 result = (arg1)->GetMessage();
11490
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
11494 {
11495 #if wxUSE_UNICODE
11496 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11497 #else
11498 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11499 #endif
11500 }
11501 return resultobj;
11502 fail:
11503 return NULL;
11504 }
11505
11506
11507 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11508 PyObject *resultobj;
11509 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11510 long result;
11511 PyObject * obj0 = 0 ;
11512 char *kwnames[] = {
11513 (char *) "self", NULL
11514 };
11515
11516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11519 {
11520 PyThreadState* __tstate = wxPyBeginAllowThreads();
11521 result = (long)(arg1)->GetStyle();
11522
11523 wxPyEndAllowThreads(__tstate);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 }
11526 resultobj = SWIG_FromLong((long)result);
11527 return resultobj;
11528 fail:
11529 return NULL;
11530 }
11531
11532
11533 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11534 PyObject *resultobj;
11535 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11536 wxString *arg2 = 0 ;
11537 bool temp2 = False ;
11538 PyObject * obj0 = 0 ;
11539 PyObject * obj1 = 0 ;
11540 char *kwnames[] = {
11541 (char *) "self",(char *) "message", NULL
11542 };
11543
11544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11547 {
11548 arg2 = wxString_in_helper(obj1);
11549 if (arg2 == NULL) SWIG_fail;
11550 temp2 = True;
11551 }
11552 {
11553 PyThreadState* __tstate = wxPyBeginAllowThreads();
11554 (arg1)->SetMessage((wxString const &)*arg2);
11555
11556 wxPyEndAllowThreads(__tstate);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 Py_INCREF(Py_None); resultobj = Py_None;
11560 {
11561 if (temp2)
11562 delete arg2;
11563 }
11564 return resultobj;
11565 fail:
11566 {
11567 if (temp2)
11568 delete arg2;
11569 }
11570 return NULL;
11571 }
11572
11573
11574 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11575 PyObject *resultobj;
11576 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11577 wxString *arg2 = 0 ;
11578 bool temp2 = False ;
11579 PyObject * obj0 = 0 ;
11580 PyObject * obj1 = 0 ;
11581 char *kwnames[] = {
11582 (char *) "self",(char *) "path", NULL
11583 };
11584
11585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11588 {
11589 arg2 = wxString_in_helper(obj1);
11590 if (arg2 == NULL) SWIG_fail;
11591 temp2 = True;
11592 }
11593 {
11594 PyThreadState* __tstate = wxPyBeginAllowThreads();
11595 (arg1)->SetPath((wxString const &)*arg2);
11596
11597 wxPyEndAllowThreads(__tstate);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 }
11600 Py_INCREF(Py_None); resultobj = Py_None;
11601 {
11602 if (temp2)
11603 delete arg2;
11604 }
11605 return resultobj;
11606 fail:
11607 {
11608 if (temp2)
11609 delete arg2;
11610 }
11611 return NULL;
11612 }
11613
11614
11615 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11616 PyObject *obj;
11617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11618 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11619 Py_INCREF(obj);
11620 return Py_BuildValue((char *)"");
11621 }
11622 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11623 PyObject *resultobj;
11624 wxWindow *arg1 = (wxWindow *) 0 ;
11625 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11626 wxString *arg2 = (wxString *) &arg2_defvalue ;
11627 wxString const &arg3_defvalue = wxPyEmptyString ;
11628 wxString *arg3 = (wxString *) &arg3_defvalue ;
11629 wxString const &arg4_defvalue = wxPyEmptyString ;
11630 wxString *arg4 = (wxString *) &arg4_defvalue ;
11631 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11632 wxString *arg5 = (wxString *) &arg5_defvalue ;
11633 long arg6 = (long) 0 ;
11634 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11635 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11636 wxFileDialog *result;
11637 bool temp2 = False ;
11638 bool temp3 = False ;
11639 bool temp4 = False ;
11640 bool temp5 = False ;
11641 wxPoint temp7 ;
11642 PyObject * obj0 = 0 ;
11643 PyObject * obj1 = 0 ;
11644 PyObject * obj2 = 0 ;
11645 PyObject * obj3 = 0 ;
11646 PyObject * obj4 = 0 ;
11647 PyObject * obj5 = 0 ;
11648 PyObject * obj6 = 0 ;
11649 char *kwnames[] = {
11650 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11651 };
11652
11653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11656 if (obj1) {
11657 {
11658 arg2 = wxString_in_helper(obj1);
11659 if (arg2 == NULL) SWIG_fail;
11660 temp2 = True;
11661 }
11662 }
11663 if (obj2) {
11664 {
11665 arg3 = wxString_in_helper(obj2);
11666 if (arg3 == NULL) SWIG_fail;
11667 temp3 = True;
11668 }
11669 }
11670 if (obj3) {
11671 {
11672 arg4 = wxString_in_helper(obj3);
11673 if (arg4 == NULL) SWIG_fail;
11674 temp4 = True;
11675 }
11676 }
11677 if (obj4) {
11678 {
11679 arg5 = wxString_in_helper(obj4);
11680 if (arg5 == NULL) SWIG_fail;
11681 temp5 = True;
11682 }
11683 }
11684 if (obj5) {
11685 arg6 = (long) SWIG_AsLong(obj5);
11686 if (PyErr_Occurred()) SWIG_fail;
11687 }
11688 if (obj6) {
11689 {
11690 arg7 = &temp7;
11691 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11692 }
11693 }
11694 {
11695 PyThreadState* __tstate = wxPyBeginAllowThreads();
11696 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11697
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11702 {
11703 if (temp2)
11704 delete arg2;
11705 }
11706 {
11707 if (temp3)
11708 delete arg3;
11709 }
11710 {
11711 if (temp4)
11712 delete arg4;
11713 }
11714 {
11715 if (temp5)
11716 delete arg5;
11717 }
11718 return resultobj;
11719 fail:
11720 {
11721 if (temp2)
11722 delete arg2;
11723 }
11724 {
11725 if (temp3)
11726 delete arg3;
11727 }
11728 {
11729 if (temp4)
11730 delete arg4;
11731 }
11732 {
11733 if (temp5)
11734 delete arg5;
11735 }
11736 return NULL;
11737 }
11738
11739
11740 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11741 PyObject *resultobj;
11742 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11743 wxString *arg2 = 0 ;
11744 bool temp2 = False ;
11745 PyObject * obj0 = 0 ;
11746 PyObject * obj1 = 0 ;
11747 char *kwnames[] = {
11748 (char *) "self",(char *) "message", NULL
11749 };
11750
11751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11754 {
11755 arg2 = wxString_in_helper(obj1);
11756 if (arg2 == NULL) SWIG_fail;
11757 temp2 = True;
11758 }
11759 {
11760 PyThreadState* __tstate = wxPyBeginAllowThreads();
11761 (arg1)->SetMessage((wxString const &)*arg2);
11762
11763 wxPyEndAllowThreads(__tstate);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 }
11766 Py_INCREF(Py_None); resultobj = Py_None;
11767 {
11768 if (temp2)
11769 delete arg2;
11770 }
11771 return resultobj;
11772 fail:
11773 {
11774 if (temp2)
11775 delete arg2;
11776 }
11777 return NULL;
11778 }
11779
11780
11781 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11782 PyObject *resultobj;
11783 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11784 wxString *arg2 = 0 ;
11785 bool temp2 = False ;
11786 PyObject * obj0 = 0 ;
11787 PyObject * obj1 = 0 ;
11788 char *kwnames[] = {
11789 (char *) "self",(char *) "path", NULL
11790 };
11791
11792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11795 {
11796 arg2 = wxString_in_helper(obj1);
11797 if (arg2 == NULL) SWIG_fail;
11798 temp2 = True;
11799 }
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 (arg1)->SetPath((wxString const &)*arg2);
11803
11804 wxPyEndAllowThreads(__tstate);
11805 if (PyErr_Occurred()) SWIG_fail;
11806 }
11807 Py_INCREF(Py_None); resultobj = Py_None;
11808 {
11809 if (temp2)
11810 delete arg2;
11811 }
11812 return resultobj;
11813 fail:
11814 {
11815 if (temp2)
11816 delete arg2;
11817 }
11818 return NULL;
11819 }
11820
11821
11822 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11823 PyObject *resultobj;
11824 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11825 wxString *arg2 = 0 ;
11826 bool temp2 = False ;
11827 PyObject * obj0 = 0 ;
11828 PyObject * obj1 = 0 ;
11829 char *kwnames[] = {
11830 (char *) "self",(char *) "dir", NULL
11831 };
11832
11833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11836 {
11837 arg2 = wxString_in_helper(obj1);
11838 if (arg2 == NULL) SWIG_fail;
11839 temp2 = True;
11840 }
11841 {
11842 PyThreadState* __tstate = wxPyBeginAllowThreads();
11843 (arg1)->SetDirectory((wxString const &)*arg2);
11844
11845 wxPyEndAllowThreads(__tstate);
11846 if (PyErr_Occurred()) SWIG_fail;
11847 }
11848 Py_INCREF(Py_None); resultobj = Py_None;
11849 {
11850 if (temp2)
11851 delete arg2;
11852 }
11853 return resultobj;
11854 fail:
11855 {
11856 if (temp2)
11857 delete arg2;
11858 }
11859 return NULL;
11860 }
11861
11862
11863 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11864 PyObject *resultobj;
11865 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11866 wxString *arg2 = 0 ;
11867 bool temp2 = False ;
11868 PyObject * obj0 = 0 ;
11869 PyObject * obj1 = 0 ;
11870 char *kwnames[] = {
11871 (char *) "self",(char *) "name", NULL
11872 };
11873
11874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11877 {
11878 arg2 = wxString_in_helper(obj1);
11879 if (arg2 == NULL) SWIG_fail;
11880 temp2 = True;
11881 }
11882 {
11883 PyThreadState* __tstate = wxPyBeginAllowThreads();
11884 (arg1)->SetFilename((wxString const &)*arg2);
11885
11886 wxPyEndAllowThreads(__tstate);
11887 if (PyErr_Occurred()) SWIG_fail;
11888 }
11889 Py_INCREF(Py_None); resultobj = Py_None;
11890 {
11891 if (temp2)
11892 delete arg2;
11893 }
11894 return resultobj;
11895 fail:
11896 {
11897 if (temp2)
11898 delete arg2;
11899 }
11900 return NULL;
11901 }
11902
11903
11904 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11905 PyObject *resultobj;
11906 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11907 wxString *arg2 = 0 ;
11908 bool temp2 = False ;
11909 PyObject * obj0 = 0 ;
11910 PyObject * obj1 = 0 ;
11911 char *kwnames[] = {
11912 (char *) "self",(char *) "wildCard", NULL
11913 };
11914
11915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11918 {
11919 arg2 = wxString_in_helper(obj1);
11920 if (arg2 == NULL) SWIG_fail;
11921 temp2 = True;
11922 }
11923 {
11924 PyThreadState* __tstate = wxPyBeginAllowThreads();
11925 (arg1)->SetWildcard((wxString const &)*arg2);
11926
11927 wxPyEndAllowThreads(__tstate);
11928 if (PyErr_Occurred()) SWIG_fail;
11929 }
11930 Py_INCREF(Py_None); resultobj = Py_None;
11931 {
11932 if (temp2)
11933 delete arg2;
11934 }
11935 return resultobj;
11936 fail:
11937 {
11938 if (temp2)
11939 delete arg2;
11940 }
11941 return NULL;
11942 }
11943
11944
11945 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11946 PyObject *resultobj;
11947 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11948 long arg2 ;
11949 PyObject * obj0 = 0 ;
11950 PyObject * obj1 = 0 ;
11951 char *kwnames[] = {
11952 (char *) "self",(char *) "style", NULL
11953 };
11954
11955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11958 arg2 = (long) SWIG_AsLong(obj1);
11959 if (PyErr_Occurred()) SWIG_fail;
11960 {
11961 PyThreadState* __tstate = wxPyBeginAllowThreads();
11962 (arg1)->SetStyle(arg2);
11963
11964 wxPyEndAllowThreads(__tstate);
11965 if (PyErr_Occurred()) SWIG_fail;
11966 }
11967 Py_INCREF(Py_None); resultobj = Py_None;
11968 return resultobj;
11969 fail:
11970 return NULL;
11971 }
11972
11973
11974 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11975 PyObject *resultobj;
11976 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11977 int arg2 ;
11978 PyObject * obj0 = 0 ;
11979 PyObject * obj1 = 0 ;
11980 char *kwnames[] = {
11981 (char *) "self",(char *) "filterIndex", NULL
11982 };
11983
11984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11987 arg2 = (int) SWIG_AsInt(obj1);
11988 if (PyErr_Occurred()) SWIG_fail;
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
11991 (arg1)->SetFilterIndex(arg2);
11992
11993 wxPyEndAllowThreads(__tstate);
11994 if (PyErr_Occurred()) SWIG_fail;
11995 }
11996 Py_INCREF(Py_None); resultobj = Py_None;
11997 return resultobj;
11998 fail:
11999 return NULL;
12000 }
12001
12002
12003 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12004 PyObject *resultobj;
12005 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12006 wxString result;
12007 PyObject * obj0 = 0 ;
12008 char *kwnames[] = {
12009 (char *) "self", NULL
12010 };
12011
12012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12015 {
12016 PyThreadState* __tstate = wxPyBeginAllowThreads();
12017 result = ((wxFileDialog const *)arg1)->GetMessage();
12018
12019 wxPyEndAllowThreads(__tstate);
12020 if (PyErr_Occurred()) SWIG_fail;
12021 }
12022 {
12023 #if wxUSE_UNICODE
12024 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12025 #else
12026 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12027 #endif
12028 }
12029 return resultobj;
12030 fail:
12031 return NULL;
12032 }
12033
12034
12035 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12036 PyObject *resultobj;
12037 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12038 wxString result;
12039 PyObject * obj0 = 0 ;
12040 char *kwnames[] = {
12041 (char *) "self", NULL
12042 };
12043
12044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12047 {
12048 PyThreadState* __tstate = wxPyBeginAllowThreads();
12049 result = ((wxFileDialog const *)arg1)->GetPath();
12050
12051 wxPyEndAllowThreads(__tstate);
12052 if (PyErr_Occurred()) SWIG_fail;
12053 }
12054 {
12055 #if wxUSE_UNICODE
12056 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12057 #else
12058 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12059 #endif
12060 }
12061 return resultobj;
12062 fail:
12063 return NULL;
12064 }
12065
12066
12067 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12068 PyObject *resultobj;
12069 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12070 wxString result;
12071 PyObject * obj0 = 0 ;
12072 char *kwnames[] = {
12073 (char *) "self", NULL
12074 };
12075
12076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12079 {
12080 PyThreadState* __tstate = wxPyBeginAllowThreads();
12081 result = ((wxFileDialog const *)arg1)->GetDirectory();
12082
12083 wxPyEndAllowThreads(__tstate);
12084 if (PyErr_Occurred()) SWIG_fail;
12085 }
12086 {
12087 #if wxUSE_UNICODE
12088 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12089 #else
12090 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12091 #endif
12092 }
12093 return resultobj;
12094 fail:
12095 return NULL;
12096 }
12097
12098
12099 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12100 PyObject *resultobj;
12101 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12102 wxString result;
12103 PyObject * obj0 = 0 ;
12104 char *kwnames[] = {
12105 (char *) "self", NULL
12106 };
12107
12108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12111 {
12112 PyThreadState* __tstate = wxPyBeginAllowThreads();
12113 result = ((wxFileDialog const *)arg1)->GetFilename();
12114
12115 wxPyEndAllowThreads(__tstate);
12116 if (PyErr_Occurred()) SWIG_fail;
12117 }
12118 {
12119 #if wxUSE_UNICODE
12120 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12121 #else
12122 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12123 #endif
12124 }
12125 return resultobj;
12126 fail:
12127 return NULL;
12128 }
12129
12130
12131 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12132 PyObject *resultobj;
12133 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12134 wxString result;
12135 PyObject * obj0 = 0 ;
12136 char *kwnames[] = {
12137 (char *) "self", NULL
12138 };
12139
12140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12143 {
12144 PyThreadState* __tstate = wxPyBeginAllowThreads();
12145 result = ((wxFileDialog const *)arg1)->GetWildcard();
12146
12147 wxPyEndAllowThreads(__tstate);
12148 if (PyErr_Occurred()) SWIG_fail;
12149 }
12150 {
12151 #if wxUSE_UNICODE
12152 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12153 #else
12154 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12155 #endif
12156 }
12157 return resultobj;
12158 fail:
12159 return NULL;
12160 }
12161
12162
12163 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12164 PyObject *resultobj;
12165 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12166 long result;
12167 PyObject * obj0 = 0 ;
12168 char *kwnames[] = {
12169 (char *) "self", NULL
12170 };
12171
12172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12175 {
12176 PyThreadState* __tstate = wxPyBeginAllowThreads();
12177 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12178
12179 wxPyEndAllowThreads(__tstate);
12180 if (PyErr_Occurred()) SWIG_fail;
12181 }
12182 resultobj = SWIG_FromLong((long)result);
12183 return resultobj;
12184 fail:
12185 return NULL;
12186 }
12187
12188
12189 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12190 PyObject *resultobj;
12191 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12192 int result;
12193 PyObject * obj0 = 0 ;
12194 char *kwnames[] = {
12195 (char *) "self", NULL
12196 };
12197
12198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12201 {
12202 PyThreadState* __tstate = wxPyBeginAllowThreads();
12203 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12204
12205 wxPyEndAllowThreads(__tstate);
12206 if (PyErr_Occurred()) SWIG_fail;
12207 }
12208 resultobj = SWIG_FromInt((int)result);
12209 return resultobj;
12210 fail:
12211 return NULL;
12212 }
12213
12214
12215 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12216 PyObject *resultobj;
12217 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12218 PyObject *result;
12219 PyObject * obj0 = 0 ;
12220 char *kwnames[] = {
12221 (char *) "self", NULL
12222 };
12223
12224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12227 {
12228 PyThreadState* __tstate = wxPyBeginAllowThreads();
12229 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12230
12231 wxPyEndAllowThreads(__tstate);
12232 if (PyErr_Occurred()) SWIG_fail;
12233 }
12234 resultobj = result;
12235 return resultobj;
12236 fail:
12237 return NULL;
12238 }
12239
12240
12241 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12242 PyObject *resultobj;
12243 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12244 PyObject *result;
12245 PyObject * obj0 = 0 ;
12246 char *kwnames[] = {
12247 (char *) "self", NULL
12248 };
12249
12250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12253 {
12254 PyThreadState* __tstate = wxPyBeginAllowThreads();
12255 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12256
12257 wxPyEndAllowThreads(__tstate);
12258 if (PyErr_Occurred()) SWIG_fail;
12259 }
12260 resultobj = result;
12261 return resultobj;
12262 fail:
12263 return NULL;
12264 }
12265
12266
12267 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12268 PyObject *obj;
12269 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12270 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12271 Py_INCREF(obj);
12272 return Py_BuildValue((char *)"");
12273 }
12274 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12275 PyObject *resultobj;
12276 wxWindow *arg1 = (wxWindow *) 0 ;
12277 wxString *arg2 = 0 ;
12278 wxString *arg3 = 0 ;
12279 int arg4 = (int) 0 ;
12280 wxString *arg5 = (wxString *) 0 ;
12281 long arg6 = (long) wxCHOICEDLG_STYLE ;
12282 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12283 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12284 wxMultiChoiceDialog *result;
12285 bool temp2 = False ;
12286 bool temp3 = False ;
12287 wxPoint temp6 ;
12288 PyObject * obj0 = 0 ;
12289 PyObject * obj1 = 0 ;
12290 PyObject * obj2 = 0 ;
12291 PyObject * obj3 = 0 ;
12292 PyObject * obj4 = 0 ;
12293 PyObject * obj5 = 0 ;
12294 char *kwnames[] = {
12295 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12296 };
12297
12298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12301 {
12302 arg2 = wxString_in_helper(obj1);
12303 if (arg2 == NULL) SWIG_fail;
12304 temp2 = True;
12305 }
12306 {
12307 arg3 = wxString_in_helper(obj2);
12308 if (arg3 == NULL) SWIG_fail;
12309 temp3 = True;
12310 }
12311 if (obj3) {
12312 {
12313 arg4 = PyList_Size(obj3);
12314 arg5 = wxString_LIST_helper(obj3);
12315 if (arg5 == NULL) SWIG_fail;
12316 }
12317 }
12318 if (obj4) {
12319 arg6 = (long) SWIG_AsLong(obj4);
12320 if (PyErr_Occurred()) SWIG_fail;
12321 }
12322 if (obj5) {
12323 {
12324 arg7 = &temp6;
12325 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12326 }
12327 }
12328 {
12329 PyThreadState* __tstate = wxPyBeginAllowThreads();
12330 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12331
12332 wxPyEndAllowThreads(__tstate);
12333 if (PyErr_Occurred()) SWIG_fail;
12334 }
12335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12336 {
12337 if (temp2)
12338 delete arg2;
12339 }
12340 {
12341 if (temp3)
12342 delete arg3;
12343 }
12344 {
12345 if (arg5) delete [] arg5;
12346 }
12347 return resultobj;
12348 fail:
12349 {
12350 if (temp2)
12351 delete arg2;
12352 }
12353 {
12354 if (temp3)
12355 delete arg3;
12356 }
12357 {
12358 if (arg5) delete [] arg5;
12359 }
12360 return NULL;
12361 }
12362
12363
12364 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12365 PyObject *resultobj;
12366 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12367 wxArrayInt *arg2 = 0 ;
12368 bool temp2 = False ;
12369 PyObject * obj0 = 0 ;
12370 PyObject * obj1 = 0 ;
12371 char *kwnames[] = {
12372 (char *) "self",(char *) "selections", NULL
12373 };
12374
12375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12378 {
12379 if (! PySequence_Check(obj1)) {
12380 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12381 SWIG_fail;
12382 }
12383 arg2 = new wxArrayInt;
12384 temp2 = True;
12385 int i, len=PySequence_Length(obj1);
12386 for (i=0; i<len; i++) {
12387 PyObject* item = PySequence_GetItem(obj1, i);
12388 PyObject* number = PyNumber_Int(item);
12389 arg2->Add(PyInt_AS_LONG(number));
12390 Py_DECREF(item);
12391 Py_DECREF(number);
12392 }
12393 }
12394 {
12395 PyThreadState* __tstate = wxPyBeginAllowThreads();
12396 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12397
12398 wxPyEndAllowThreads(__tstate);
12399 if (PyErr_Occurred()) SWIG_fail;
12400 }
12401 Py_INCREF(Py_None); resultobj = Py_None;
12402 {
12403 if (temp2) delete arg2;
12404 }
12405 return resultobj;
12406 fail:
12407 {
12408 if (temp2) delete arg2;
12409 }
12410 return NULL;
12411 }
12412
12413
12414 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12415 PyObject *resultobj;
12416 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12417 PyObject *result;
12418 PyObject * obj0 = 0 ;
12419 char *kwnames[] = {
12420 (char *) "self", NULL
12421 };
12422
12423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12426 {
12427 PyThreadState* __tstate = wxPyBeginAllowThreads();
12428 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12429
12430 wxPyEndAllowThreads(__tstate);
12431 if (PyErr_Occurred()) SWIG_fail;
12432 }
12433 resultobj = result;
12434 return resultobj;
12435 fail:
12436 return NULL;
12437 }
12438
12439
12440 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12441 PyObject *obj;
12442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12443 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12444 Py_INCREF(obj);
12445 return Py_BuildValue((char *)"");
12446 }
12447 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12448 PyObject *resultobj;
12449 wxWindow *arg1 = (wxWindow *) 0 ;
12450 wxString *arg2 = 0 ;
12451 wxString *arg3 = 0 ;
12452 int arg4 ;
12453 wxString *arg5 = (wxString *) 0 ;
12454 long arg6 = (long) wxCHOICEDLG_STYLE ;
12455 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12456 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12457 wxSingleChoiceDialog *result;
12458 bool temp2 = False ;
12459 bool temp3 = False ;
12460 wxPoint temp6 ;
12461 PyObject * obj0 = 0 ;
12462 PyObject * obj1 = 0 ;
12463 PyObject * obj2 = 0 ;
12464 PyObject * obj3 = 0 ;
12465 PyObject * obj4 = 0 ;
12466 PyObject * obj5 = 0 ;
12467 char *kwnames[] = {
12468 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12469 };
12470
12471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12474 {
12475 arg2 = wxString_in_helper(obj1);
12476 if (arg2 == NULL) SWIG_fail;
12477 temp2 = True;
12478 }
12479 {
12480 arg3 = wxString_in_helper(obj2);
12481 if (arg3 == NULL) SWIG_fail;
12482 temp3 = True;
12483 }
12484 {
12485 arg4 = PyList_Size(obj3);
12486 arg5 = wxString_LIST_helper(obj3);
12487 if (arg5 == NULL) SWIG_fail;
12488 }
12489 if (obj4) {
12490 arg6 = (long) SWIG_AsLong(obj4);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 if (obj5) {
12494 {
12495 arg7 = &temp6;
12496 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12497 }
12498 }
12499 {
12500 PyThreadState* __tstate = wxPyBeginAllowThreads();
12501 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12502
12503 wxPyEndAllowThreads(__tstate);
12504 if (PyErr_Occurred()) SWIG_fail;
12505 }
12506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12507 {
12508 if (temp2)
12509 delete arg2;
12510 }
12511 {
12512 if (temp3)
12513 delete arg3;
12514 }
12515 {
12516 if (arg5) delete [] arg5;
12517 }
12518 return resultobj;
12519 fail:
12520 {
12521 if (temp2)
12522 delete arg2;
12523 }
12524 {
12525 if (temp3)
12526 delete arg3;
12527 }
12528 {
12529 if (arg5) delete [] arg5;
12530 }
12531 return NULL;
12532 }
12533
12534
12535 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12536 PyObject *resultobj;
12537 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12538 int result;
12539 PyObject * obj0 = 0 ;
12540 char *kwnames[] = {
12541 (char *) "self", NULL
12542 };
12543
12544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12547 {
12548 PyThreadState* __tstate = wxPyBeginAllowThreads();
12549 result = (int)(arg1)->GetSelection();
12550
12551 wxPyEndAllowThreads(__tstate);
12552 if (PyErr_Occurred()) SWIG_fail;
12553 }
12554 resultobj = SWIG_FromInt((int)result);
12555 return resultobj;
12556 fail:
12557 return NULL;
12558 }
12559
12560
12561 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12562 PyObject *resultobj;
12563 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12564 wxString result;
12565 PyObject * obj0 = 0 ;
12566 char *kwnames[] = {
12567 (char *) "self", NULL
12568 };
12569
12570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12573 {
12574 PyThreadState* __tstate = wxPyBeginAllowThreads();
12575 result = (arg1)->GetStringSelection();
12576
12577 wxPyEndAllowThreads(__tstate);
12578 if (PyErr_Occurred()) SWIG_fail;
12579 }
12580 {
12581 #if wxUSE_UNICODE
12582 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12583 #else
12584 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12585 #endif
12586 }
12587 return resultobj;
12588 fail:
12589 return NULL;
12590 }
12591
12592
12593 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12594 PyObject *resultobj;
12595 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12596 int arg2 ;
12597 PyObject * obj0 = 0 ;
12598 PyObject * obj1 = 0 ;
12599 char *kwnames[] = {
12600 (char *) "self",(char *) "sel", NULL
12601 };
12602
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12606 arg2 = (int) SWIG_AsInt(obj1);
12607 if (PyErr_Occurred()) SWIG_fail;
12608 {
12609 PyThreadState* __tstate = wxPyBeginAllowThreads();
12610 (arg1)->SetSelection(arg2);
12611
12612 wxPyEndAllowThreads(__tstate);
12613 if (PyErr_Occurred()) SWIG_fail;
12614 }
12615 Py_INCREF(Py_None); resultobj = Py_None;
12616 return resultobj;
12617 fail:
12618 return NULL;
12619 }
12620
12621
12622 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12623 PyObject *obj;
12624 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12625 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12626 Py_INCREF(obj);
12627 return Py_BuildValue((char *)"");
12628 }
12629 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12630 PyObject *resultobj;
12631 wxWindow *arg1 = (wxWindow *) 0 ;
12632 wxString *arg2 = 0 ;
12633 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12634 wxString *arg3 = (wxString *) &arg3_defvalue ;
12635 wxString const &arg4_defvalue = wxPyEmptyString ;
12636 wxString *arg4 = (wxString *) &arg4_defvalue ;
12637 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12638 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12639 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12640 wxTextEntryDialog *result;
12641 bool temp2 = False ;
12642 bool temp3 = False ;
12643 bool temp4 = False ;
12644 wxPoint temp6 ;
12645 PyObject * obj0 = 0 ;
12646 PyObject * obj1 = 0 ;
12647 PyObject * obj2 = 0 ;
12648 PyObject * obj3 = 0 ;
12649 PyObject * obj4 = 0 ;
12650 PyObject * obj5 = 0 ;
12651 char *kwnames[] = {
12652 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12653 };
12654
12655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12658 {
12659 arg2 = wxString_in_helper(obj1);
12660 if (arg2 == NULL) SWIG_fail;
12661 temp2 = True;
12662 }
12663 if (obj2) {
12664 {
12665 arg3 = wxString_in_helper(obj2);
12666 if (arg3 == NULL) SWIG_fail;
12667 temp3 = True;
12668 }
12669 }
12670 if (obj3) {
12671 {
12672 arg4 = wxString_in_helper(obj3);
12673 if (arg4 == NULL) SWIG_fail;
12674 temp4 = True;
12675 }
12676 }
12677 if (obj4) {
12678 arg5 = (long) SWIG_AsLong(obj4);
12679 if (PyErr_Occurred()) SWIG_fail;
12680 }
12681 if (obj5) {
12682 {
12683 arg6 = &temp6;
12684 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12685 }
12686 }
12687 {
12688 PyThreadState* __tstate = wxPyBeginAllowThreads();
12689 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12690
12691 wxPyEndAllowThreads(__tstate);
12692 if (PyErr_Occurred()) SWIG_fail;
12693 }
12694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12695 {
12696 if (temp2)
12697 delete arg2;
12698 }
12699 {
12700 if (temp3)
12701 delete arg3;
12702 }
12703 {
12704 if (temp4)
12705 delete arg4;
12706 }
12707 return resultobj;
12708 fail:
12709 {
12710 if (temp2)
12711 delete arg2;
12712 }
12713 {
12714 if (temp3)
12715 delete arg3;
12716 }
12717 {
12718 if (temp4)
12719 delete arg4;
12720 }
12721 return NULL;
12722 }
12723
12724
12725 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12726 PyObject *resultobj;
12727 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12728 wxString result;
12729 PyObject * obj0 = 0 ;
12730 char *kwnames[] = {
12731 (char *) "self", NULL
12732 };
12733
12734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12737 {
12738 PyThreadState* __tstate = wxPyBeginAllowThreads();
12739 result = (arg1)->GetValue();
12740
12741 wxPyEndAllowThreads(__tstate);
12742 if (PyErr_Occurred()) SWIG_fail;
12743 }
12744 {
12745 #if wxUSE_UNICODE
12746 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12747 #else
12748 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12749 #endif
12750 }
12751 return resultobj;
12752 fail:
12753 return NULL;
12754 }
12755
12756
12757 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12758 PyObject *resultobj;
12759 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12760 wxString *arg2 = 0 ;
12761 bool temp2 = False ;
12762 PyObject * obj0 = 0 ;
12763 PyObject * obj1 = 0 ;
12764 char *kwnames[] = {
12765 (char *) "self",(char *) "value", NULL
12766 };
12767
12768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12771 {
12772 arg2 = wxString_in_helper(obj1);
12773 if (arg2 == NULL) SWIG_fail;
12774 temp2 = True;
12775 }
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 (arg1)->SetValue((wxString const &)*arg2);
12779
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 Py_INCREF(Py_None); resultobj = Py_None;
12784 {
12785 if (temp2)
12786 delete arg2;
12787 }
12788 return resultobj;
12789 fail:
12790 {
12791 if (temp2)
12792 delete arg2;
12793 }
12794 return NULL;
12795 }
12796
12797
12798 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12799 PyObject *obj;
12800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12801 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12802 Py_INCREF(obj);
12803 return Py_BuildValue((char *)"");
12804 }
12805 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12806 PyObject *resultobj;
12807 wxFontData *result;
12808 char *kwnames[] = {
12809 NULL
12810 };
12811
12812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12813 {
12814 PyThreadState* __tstate = wxPyBeginAllowThreads();
12815 result = (wxFontData *)new wxFontData();
12816
12817 wxPyEndAllowThreads(__tstate);
12818 if (PyErr_Occurred()) SWIG_fail;
12819 }
12820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12821 return resultobj;
12822 fail:
12823 return NULL;
12824 }
12825
12826
12827 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12828 PyObject *resultobj;
12829 wxFontData *arg1 = (wxFontData *) 0 ;
12830 PyObject * obj0 = 0 ;
12831 char *kwnames[] = {
12832 (char *) "self", NULL
12833 };
12834
12835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12838 {
12839 PyThreadState* __tstate = wxPyBeginAllowThreads();
12840 delete arg1;
12841
12842 wxPyEndAllowThreads(__tstate);
12843 if (PyErr_Occurred()) SWIG_fail;
12844 }
12845 Py_INCREF(Py_None); resultobj = Py_None;
12846 return resultobj;
12847 fail:
12848 return NULL;
12849 }
12850
12851
12852 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12853 PyObject *resultobj;
12854 wxFontData *arg1 = (wxFontData *) 0 ;
12855 bool arg2 ;
12856 PyObject * obj0 = 0 ;
12857 PyObject * obj1 = 0 ;
12858 char *kwnames[] = {
12859 (char *) "self",(char *) "enable", NULL
12860 };
12861
12862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12865 arg2 = (bool) SWIG_AsBool(obj1);
12866 if (PyErr_Occurred()) SWIG_fail;
12867 {
12868 PyThreadState* __tstate = wxPyBeginAllowThreads();
12869 (arg1)->EnableEffects(arg2);
12870
12871 wxPyEndAllowThreads(__tstate);
12872 if (PyErr_Occurred()) SWIG_fail;
12873 }
12874 Py_INCREF(Py_None); resultobj = Py_None;
12875 return resultobj;
12876 fail:
12877 return NULL;
12878 }
12879
12880
12881 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12882 PyObject *resultobj;
12883 wxFontData *arg1 = (wxFontData *) 0 ;
12884 bool result;
12885 PyObject * obj0 = 0 ;
12886 char *kwnames[] = {
12887 (char *) "self", NULL
12888 };
12889
12890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12893 {
12894 PyThreadState* __tstate = wxPyBeginAllowThreads();
12895 result = (bool)(arg1)->GetAllowSymbols();
12896
12897 wxPyEndAllowThreads(__tstate);
12898 if (PyErr_Occurred()) SWIG_fail;
12899 }
12900 {
12901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12902 }
12903 return resultobj;
12904 fail:
12905 return NULL;
12906 }
12907
12908
12909 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12910 PyObject *resultobj;
12911 wxFontData *arg1 = (wxFontData *) 0 ;
12912 wxColour result;
12913 PyObject * obj0 = 0 ;
12914 char *kwnames[] = {
12915 (char *) "self", NULL
12916 };
12917
12918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12921 {
12922 PyThreadState* __tstate = wxPyBeginAllowThreads();
12923 result = (arg1)->GetColour();
12924
12925 wxPyEndAllowThreads(__tstate);
12926 if (PyErr_Occurred()) SWIG_fail;
12927 }
12928 {
12929 wxColour * resultptr;
12930 resultptr = new wxColour((wxColour &) result);
12931 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12932 }
12933 return resultobj;
12934 fail:
12935 return NULL;
12936 }
12937
12938
12939 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12940 PyObject *resultobj;
12941 wxFontData *arg1 = (wxFontData *) 0 ;
12942 wxFont result;
12943 PyObject * obj0 = 0 ;
12944 char *kwnames[] = {
12945 (char *) "self", NULL
12946 };
12947
12948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12951 {
12952 PyThreadState* __tstate = wxPyBeginAllowThreads();
12953 result = (arg1)->GetChosenFont();
12954
12955 wxPyEndAllowThreads(__tstate);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
12958 {
12959 wxFont * resultptr;
12960 resultptr = new wxFont((wxFont &) result);
12961 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12962 }
12963 return resultobj;
12964 fail:
12965 return NULL;
12966 }
12967
12968
12969 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12970 PyObject *resultobj;
12971 wxFontData *arg1 = (wxFontData *) 0 ;
12972 bool result;
12973 PyObject * obj0 = 0 ;
12974 char *kwnames[] = {
12975 (char *) "self", NULL
12976 };
12977
12978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12981 {
12982 PyThreadState* __tstate = wxPyBeginAllowThreads();
12983 result = (bool)(arg1)->GetEnableEffects();
12984
12985 wxPyEndAllowThreads(__tstate);
12986 if (PyErr_Occurred()) SWIG_fail;
12987 }
12988 {
12989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12990 }
12991 return resultobj;
12992 fail:
12993 return NULL;
12994 }
12995
12996
12997 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12998 PyObject *resultobj;
12999 wxFontData *arg1 = (wxFontData *) 0 ;
13000 wxFont result;
13001 PyObject * obj0 = 0 ;
13002 char *kwnames[] = {
13003 (char *) "self", NULL
13004 };
13005
13006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13009 {
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 result = (arg1)->GetInitialFont();
13012
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
13016 {
13017 wxFont * resultptr;
13018 resultptr = new wxFont((wxFont &) result);
13019 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13020 }
13021 return resultobj;
13022 fail:
13023 return NULL;
13024 }
13025
13026
13027 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13028 PyObject *resultobj;
13029 wxFontData *arg1 = (wxFontData *) 0 ;
13030 bool result;
13031 PyObject * obj0 = 0 ;
13032 char *kwnames[] = {
13033 (char *) "self", NULL
13034 };
13035
13036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 result = (bool)(arg1)->GetShowHelp();
13042
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
13046 {
13047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13048 }
13049 return resultobj;
13050 fail:
13051 return NULL;
13052 }
13053
13054
13055 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13056 PyObject *resultobj;
13057 wxFontData *arg1 = (wxFontData *) 0 ;
13058 bool arg2 ;
13059 PyObject * obj0 = 0 ;
13060 PyObject * obj1 = 0 ;
13061 char *kwnames[] = {
13062 (char *) "self",(char *) "allowSymbols", NULL
13063 };
13064
13065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13068 arg2 = (bool) SWIG_AsBool(obj1);
13069 if (PyErr_Occurred()) SWIG_fail;
13070 {
13071 PyThreadState* __tstate = wxPyBeginAllowThreads();
13072 (arg1)->SetAllowSymbols(arg2);
13073
13074 wxPyEndAllowThreads(__tstate);
13075 if (PyErr_Occurred()) SWIG_fail;
13076 }
13077 Py_INCREF(Py_None); resultobj = Py_None;
13078 return resultobj;
13079 fail:
13080 return NULL;
13081 }
13082
13083
13084 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13085 PyObject *resultobj;
13086 wxFontData *arg1 = (wxFontData *) 0 ;
13087 wxFont *arg2 = 0 ;
13088 PyObject * obj0 = 0 ;
13089 PyObject * obj1 = 0 ;
13090 char *kwnames[] = {
13091 (char *) "self",(char *) "font", NULL
13092 };
13093
13094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13097 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13098 SWIG_POINTER_EXCEPTION | 0)) == -1)
13099 SWIG_fail;
13100 if (arg2 == NULL) {
13101 PyErr_SetString(PyExc_TypeError,"null reference");
13102 SWIG_fail;
13103 }
13104 {
13105 PyThreadState* __tstate = wxPyBeginAllowThreads();
13106 (arg1)->SetChosenFont((wxFont const &)*arg2);
13107
13108 wxPyEndAllowThreads(__tstate);
13109 if (PyErr_Occurred()) SWIG_fail;
13110 }
13111 Py_INCREF(Py_None); resultobj = Py_None;
13112 return resultobj;
13113 fail:
13114 return NULL;
13115 }
13116
13117
13118 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13119 PyObject *resultobj;
13120 wxFontData *arg1 = (wxFontData *) 0 ;
13121 wxColour *arg2 = 0 ;
13122 wxColour temp2 ;
13123 PyObject * obj0 = 0 ;
13124 PyObject * obj1 = 0 ;
13125 char *kwnames[] = {
13126 (char *) "self",(char *) "colour", NULL
13127 };
13128
13129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13132 {
13133 arg2 = &temp2;
13134 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13135 }
13136 {
13137 PyThreadState* __tstate = wxPyBeginAllowThreads();
13138 (arg1)->SetColour((wxColour const &)*arg2);
13139
13140 wxPyEndAllowThreads(__tstate);
13141 if (PyErr_Occurred()) SWIG_fail;
13142 }
13143 Py_INCREF(Py_None); resultobj = Py_None;
13144 return resultobj;
13145 fail:
13146 return NULL;
13147 }
13148
13149
13150 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13151 PyObject *resultobj;
13152 wxFontData *arg1 = (wxFontData *) 0 ;
13153 wxFont *arg2 = 0 ;
13154 PyObject * obj0 = 0 ;
13155 PyObject * obj1 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self",(char *) "font", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13163 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13164 SWIG_POINTER_EXCEPTION | 0)) == -1)
13165 SWIG_fail;
13166 if (arg2 == NULL) {
13167 PyErr_SetString(PyExc_TypeError,"null reference");
13168 SWIG_fail;
13169 }
13170 {
13171 PyThreadState* __tstate = wxPyBeginAllowThreads();
13172 (arg1)->SetInitialFont((wxFont const &)*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 *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13185 PyObject *resultobj;
13186 wxFontData *arg1 = (wxFontData *) 0 ;
13187 int arg2 ;
13188 int arg3 ;
13189 PyObject * obj0 = 0 ;
13190 PyObject * obj1 = 0 ;
13191 PyObject * obj2 = 0 ;
13192 char *kwnames[] = {
13193 (char *) "self",(char *) "min",(char *) "max", NULL
13194 };
13195
13196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13199 arg2 = (int) SWIG_AsInt(obj1);
13200 if (PyErr_Occurred()) SWIG_fail;
13201 arg3 = (int) SWIG_AsInt(obj2);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 {
13204 PyThreadState* __tstate = wxPyBeginAllowThreads();
13205 (arg1)->SetRange(arg2,arg3);
13206
13207 wxPyEndAllowThreads(__tstate);
13208 if (PyErr_Occurred()) SWIG_fail;
13209 }
13210 Py_INCREF(Py_None); resultobj = Py_None;
13211 return resultobj;
13212 fail:
13213 return NULL;
13214 }
13215
13216
13217 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13218 PyObject *resultobj;
13219 wxFontData *arg1 = (wxFontData *) 0 ;
13220 bool arg2 ;
13221 PyObject * obj0 = 0 ;
13222 PyObject * obj1 = 0 ;
13223 char *kwnames[] = {
13224 (char *) "self",(char *) "showHelp", NULL
13225 };
13226
13227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13230 arg2 = (bool) SWIG_AsBool(obj1);
13231 if (PyErr_Occurred()) SWIG_fail;
13232 {
13233 PyThreadState* __tstate = wxPyBeginAllowThreads();
13234 (arg1)->SetShowHelp(arg2);
13235
13236 wxPyEndAllowThreads(__tstate);
13237 if (PyErr_Occurred()) SWIG_fail;
13238 }
13239 Py_INCREF(Py_None); resultobj = Py_None;
13240 return resultobj;
13241 fail:
13242 return NULL;
13243 }
13244
13245
13246 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13247 PyObject *obj;
13248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13249 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13250 Py_INCREF(obj);
13251 return Py_BuildValue((char *)"");
13252 }
13253 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj;
13255 wxWindow *arg1 = (wxWindow *) 0 ;
13256 wxFontData *arg2 = 0 ;
13257 wxFontDialog *result;
13258 PyObject * obj0 = 0 ;
13259 PyObject * obj1 = 0 ;
13260 char *kwnames[] = {
13261 (char *) "parent",(char *) "data", NULL
13262 };
13263
13264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13268 SWIG_POINTER_EXCEPTION | 0)) == -1)
13269 SWIG_fail;
13270 if (arg2 == NULL) {
13271 PyErr_SetString(PyExc_TypeError,"null reference");
13272 SWIG_fail;
13273 }
13274 {
13275 PyThreadState* __tstate = wxPyBeginAllowThreads();
13276 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13277
13278 wxPyEndAllowThreads(__tstate);
13279 if (PyErr_Occurred()) SWIG_fail;
13280 }
13281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13282 return resultobj;
13283 fail:
13284 return NULL;
13285 }
13286
13287
13288 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13289 PyObject *resultobj;
13290 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13291 wxFontData *result;
13292 PyObject * obj0 = 0 ;
13293 char *kwnames[] = {
13294 (char *) "self", NULL
13295 };
13296
13297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13300 {
13301 PyThreadState* __tstate = wxPyBeginAllowThreads();
13302 {
13303 wxFontData &_result_ref = (arg1)->GetFontData();
13304 result = (wxFontData *) &_result_ref;
13305 }
13306
13307 wxPyEndAllowThreads(__tstate);
13308 if (PyErr_Occurred()) SWIG_fail;
13309 }
13310 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13311 return resultobj;
13312 fail:
13313 return NULL;
13314 }
13315
13316
13317 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13318 PyObject *obj;
13319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13320 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13321 Py_INCREF(obj);
13322 return Py_BuildValue((char *)"");
13323 }
13324 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13325 PyObject *resultobj;
13326 wxWindow *arg1 = (wxWindow *) 0 ;
13327 wxString *arg2 = 0 ;
13328 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13329 wxString *arg3 = (wxString *) &arg3_defvalue ;
13330 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13331 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13332 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13333 wxMessageDialog *result;
13334 bool temp2 = False ;
13335 bool temp3 = False ;
13336 wxPoint temp5 ;
13337 PyObject * obj0 = 0 ;
13338 PyObject * obj1 = 0 ;
13339 PyObject * obj2 = 0 ;
13340 PyObject * obj3 = 0 ;
13341 PyObject * obj4 = 0 ;
13342 char *kwnames[] = {
13343 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13344 };
13345
13346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13349 {
13350 arg2 = wxString_in_helper(obj1);
13351 if (arg2 == NULL) SWIG_fail;
13352 temp2 = True;
13353 }
13354 if (obj2) {
13355 {
13356 arg3 = wxString_in_helper(obj2);
13357 if (arg3 == NULL) SWIG_fail;
13358 temp3 = True;
13359 }
13360 }
13361 if (obj3) {
13362 arg4 = (long) SWIG_AsLong(obj3);
13363 if (PyErr_Occurred()) SWIG_fail;
13364 }
13365 if (obj4) {
13366 {
13367 arg5 = &temp5;
13368 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13369 }
13370 }
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13374
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13379 {
13380 if (temp2)
13381 delete arg2;
13382 }
13383 {
13384 if (temp3)
13385 delete arg3;
13386 }
13387 return resultobj;
13388 fail:
13389 {
13390 if (temp2)
13391 delete arg2;
13392 }
13393 {
13394 if (temp3)
13395 delete arg3;
13396 }
13397 return NULL;
13398 }
13399
13400
13401 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13402 PyObject *obj;
13403 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13404 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13405 Py_INCREF(obj);
13406 return Py_BuildValue((char *)"");
13407 }
13408 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13409 PyObject *resultobj;
13410 wxString *arg1 = 0 ;
13411 wxString *arg2 = 0 ;
13412 int arg3 = (int) 100 ;
13413 wxWindow *arg4 = (wxWindow *) NULL ;
13414 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13415 wxProgressDialog *result;
13416 bool temp1 = False ;
13417 bool temp2 = False ;
13418 PyObject * obj0 = 0 ;
13419 PyObject * obj1 = 0 ;
13420 PyObject * obj2 = 0 ;
13421 PyObject * obj3 = 0 ;
13422 PyObject * obj4 = 0 ;
13423 char *kwnames[] = {
13424 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13425 };
13426
13427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13428 {
13429 arg1 = wxString_in_helper(obj0);
13430 if (arg1 == NULL) SWIG_fail;
13431 temp1 = True;
13432 }
13433 {
13434 arg2 = wxString_in_helper(obj1);
13435 if (arg2 == NULL) SWIG_fail;
13436 temp2 = True;
13437 }
13438 if (obj2) {
13439 arg3 = (int) SWIG_AsInt(obj2);
13440 if (PyErr_Occurred()) SWIG_fail;
13441 }
13442 if (obj3) {
13443 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13445 }
13446 if (obj4) {
13447 arg5 = (int) SWIG_AsInt(obj4);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 }
13450 {
13451 PyThreadState* __tstate = wxPyBeginAllowThreads();
13452 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13453
13454 wxPyEndAllowThreads(__tstate);
13455 if (PyErr_Occurred()) SWIG_fail;
13456 }
13457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13458 {
13459 if (temp1)
13460 delete arg1;
13461 }
13462 {
13463 if (temp2)
13464 delete arg2;
13465 }
13466 return resultobj;
13467 fail:
13468 {
13469 if (temp1)
13470 delete arg1;
13471 }
13472 {
13473 if (temp2)
13474 delete arg2;
13475 }
13476 return NULL;
13477 }
13478
13479
13480 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13481 PyObject *resultobj;
13482 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13483 int arg2 ;
13484 wxString const &arg3_defvalue = wxPyEmptyString ;
13485 wxString *arg3 = (wxString *) &arg3_defvalue ;
13486 bool result;
13487 bool temp3 = False ;
13488 PyObject * obj0 = 0 ;
13489 PyObject * obj1 = 0 ;
13490 PyObject * obj2 = 0 ;
13491 char *kwnames[] = {
13492 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13493 };
13494
13495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13498 arg2 = (int) SWIG_AsInt(obj1);
13499 if (PyErr_Occurred()) SWIG_fail;
13500 if (obj2) {
13501 {
13502 arg3 = wxString_in_helper(obj2);
13503 if (arg3 == NULL) SWIG_fail;
13504 temp3 = True;
13505 }
13506 }
13507 {
13508 PyThreadState* __tstate = wxPyBeginAllowThreads();
13509 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13510
13511 wxPyEndAllowThreads(__tstate);
13512 if (PyErr_Occurred()) SWIG_fail;
13513 }
13514 {
13515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13516 }
13517 {
13518 if (temp3)
13519 delete arg3;
13520 }
13521 return resultobj;
13522 fail:
13523 {
13524 if (temp3)
13525 delete arg3;
13526 }
13527 return NULL;
13528 }
13529
13530
13531 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13532 PyObject *resultobj;
13533 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13534 PyObject * obj0 = 0 ;
13535 char *kwnames[] = {
13536 (char *) "self", NULL
13537 };
13538
13539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13542 {
13543 PyThreadState* __tstate = wxPyBeginAllowThreads();
13544 (arg1)->Resume();
13545
13546 wxPyEndAllowThreads(__tstate);
13547 if (PyErr_Occurred()) SWIG_fail;
13548 }
13549 Py_INCREF(Py_None); resultobj = Py_None;
13550 return resultobj;
13551 fail:
13552 return NULL;
13553 }
13554
13555
13556 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13557 PyObject *obj;
13558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13559 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13560 Py_INCREF(obj);
13561 return Py_BuildValue((char *)"");
13562 }
13563 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13564 PyObject *resultobj;
13565 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13566 int arg2 = (int) 0 ;
13567 wxFindDialogEvent *result;
13568 PyObject * obj0 = 0 ;
13569 PyObject * obj1 = 0 ;
13570 char *kwnames[] = {
13571 (char *) "commandType",(char *) "id", NULL
13572 };
13573
13574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13575 if (obj0) {
13576 arg1 = (wxEventType) SWIG_AsInt(obj0);
13577 if (PyErr_Occurred()) SWIG_fail;
13578 }
13579 if (obj1) {
13580 arg2 = (int) SWIG_AsInt(obj1);
13581 if (PyErr_Occurred()) SWIG_fail;
13582 }
13583 {
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13586
13587 wxPyEndAllowThreads(__tstate);
13588 if (PyErr_Occurred()) SWIG_fail;
13589 }
13590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13591 return resultobj;
13592 fail:
13593 return NULL;
13594 }
13595
13596
13597 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13598 PyObject *resultobj;
13599 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13600 int result;
13601 PyObject * obj0 = 0 ;
13602 char *kwnames[] = {
13603 (char *) "self", NULL
13604 };
13605
13606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13609 {
13610 PyThreadState* __tstate = wxPyBeginAllowThreads();
13611 result = (int)(arg1)->GetFlags();
13612
13613 wxPyEndAllowThreads(__tstate);
13614 if (PyErr_Occurred()) SWIG_fail;
13615 }
13616 resultobj = SWIG_FromInt((int)result);
13617 return resultobj;
13618 fail:
13619 return NULL;
13620 }
13621
13622
13623 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13624 PyObject *resultobj;
13625 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13626 wxString *result;
13627 PyObject * obj0 = 0 ;
13628 char *kwnames[] = {
13629 (char *) "self", NULL
13630 };
13631
13632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13635 {
13636 PyThreadState* __tstate = wxPyBeginAllowThreads();
13637 {
13638 wxString const &_result_ref = (arg1)->GetFindString();
13639 result = (wxString *) &_result_ref;
13640 }
13641
13642 wxPyEndAllowThreads(__tstate);
13643 if (PyErr_Occurred()) SWIG_fail;
13644 }
13645 {
13646 #if wxUSE_UNICODE
13647 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13648 #else
13649 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13650 #endif
13651 }
13652 return resultobj;
13653 fail:
13654 return NULL;
13655 }
13656
13657
13658 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13659 PyObject *resultobj;
13660 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13661 wxString *result;
13662 PyObject * obj0 = 0 ;
13663 char *kwnames[] = {
13664 (char *) "self", NULL
13665 };
13666
13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13670 {
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 {
13673 wxString const &_result_ref = (arg1)->GetReplaceString();
13674 result = (wxString *) &_result_ref;
13675 }
13676
13677 wxPyEndAllowThreads(__tstate);
13678 if (PyErr_Occurred()) SWIG_fail;
13679 }
13680 {
13681 #if wxUSE_UNICODE
13682 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13683 #else
13684 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13685 #endif
13686 }
13687 return resultobj;
13688 fail:
13689 return NULL;
13690 }
13691
13692
13693 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13694 PyObject *resultobj;
13695 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13696 wxFindReplaceDialog *result;
13697 PyObject * obj0 = 0 ;
13698 char *kwnames[] = {
13699 (char *) "self", NULL
13700 };
13701
13702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13705 {
13706 PyThreadState* __tstate = wxPyBeginAllowThreads();
13707 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13708
13709 wxPyEndAllowThreads(__tstate);
13710 if (PyErr_Occurred()) SWIG_fail;
13711 }
13712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13713 return resultobj;
13714 fail:
13715 return NULL;
13716 }
13717
13718
13719 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13720 PyObject *resultobj;
13721 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13722 int arg2 ;
13723 PyObject * obj0 = 0 ;
13724 PyObject * obj1 = 0 ;
13725 char *kwnames[] = {
13726 (char *) "self",(char *) "flags", NULL
13727 };
13728
13729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13732 arg2 = (int) SWIG_AsInt(obj1);
13733 if (PyErr_Occurred()) SWIG_fail;
13734 {
13735 PyThreadState* __tstate = wxPyBeginAllowThreads();
13736 (arg1)->SetFlags(arg2);
13737
13738 wxPyEndAllowThreads(__tstate);
13739 if (PyErr_Occurred()) SWIG_fail;
13740 }
13741 Py_INCREF(Py_None); resultobj = Py_None;
13742 return resultobj;
13743 fail:
13744 return NULL;
13745 }
13746
13747
13748 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13749 PyObject *resultobj;
13750 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13751 wxString *arg2 = 0 ;
13752 bool temp2 = False ;
13753 PyObject * obj0 = 0 ;
13754 PyObject * obj1 = 0 ;
13755 char *kwnames[] = {
13756 (char *) "self",(char *) "str", NULL
13757 };
13758
13759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13762 {
13763 arg2 = wxString_in_helper(obj1);
13764 if (arg2 == NULL) SWIG_fail;
13765 temp2 = True;
13766 }
13767 {
13768 PyThreadState* __tstate = wxPyBeginAllowThreads();
13769 (arg1)->SetFindString((wxString const &)*arg2);
13770
13771 wxPyEndAllowThreads(__tstate);
13772 if (PyErr_Occurred()) SWIG_fail;
13773 }
13774 Py_INCREF(Py_None); resultobj = Py_None;
13775 {
13776 if (temp2)
13777 delete arg2;
13778 }
13779 return resultobj;
13780 fail:
13781 {
13782 if (temp2)
13783 delete arg2;
13784 }
13785 return NULL;
13786 }
13787
13788
13789 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13790 PyObject *resultobj;
13791 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13792 wxString *arg2 = 0 ;
13793 bool temp2 = False ;
13794 PyObject * obj0 = 0 ;
13795 PyObject * obj1 = 0 ;
13796 char *kwnames[] = {
13797 (char *) "self",(char *) "str", NULL
13798 };
13799
13800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13803 {
13804 arg2 = wxString_in_helper(obj1);
13805 if (arg2 == NULL) SWIG_fail;
13806 temp2 = True;
13807 }
13808 {
13809 PyThreadState* __tstate = wxPyBeginAllowThreads();
13810 (arg1)->SetReplaceString((wxString const &)*arg2);
13811
13812 wxPyEndAllowThreads(__tstate);
13813 if (PyErr_Occurred()) SWIG_fail;
13814 }
13815 Py_INCREF(Py_None); resultobj = Py_None;
13816 {
13817 if (temp2)
13818 delete arg2;
13819 }
13820 return resultobj;
13821 fail:
13822 {
13823 if (temp2)
13824 delete arg2;
13825 }
13826 return NULL;
13827 }
13828
13829
13830 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13831 PyObject *obj;
13832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13833 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13834 Py_INCREF(obj);
13835 return Py_BuildValue((char *)"");
13836 }
13837 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13838 PyObject *resultobj;
13839 int arg1 = (int) 0 ;
13840 wxFindReplaceData *result;
13841 PyObject * obj0 = 0 ;
13842 char *kwnames[] = {
13843 (char *) "flags", NULL
13844 };
13845
13846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13847 if (obj0) {
13848 arg1 = (int) SWIG_AsInt(obj0);
13849 if (PyErr_Occurred()) SWIG_fail;
13850 }
13851 {
13852 PyThreadState* __tstate = wxPyBeginAllowThreads();
13853 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13854
13855 wxPyEndAllowThreads(__tstate);
13856 if (PyErr_Occurred()) SWIG_fail;
13857 }
13858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13859 return resultobj;
13860 fail:
13861 return NULL;
13862 }
13863
13864
13865 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13866 PyObject *resultobj;
13867 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13868 PyObject * obj0 = 0 ;
13869 char *kwnames[] = {
13870 (char *) "self", NULL
13871 };
13872
13873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13876 {
13877 PyThreadState* __tstate = wxPyBeginAllowThreads();
13878 delete arg1;
13879
13880 wxPyEndAllowThreads(__tstate);
13881 if (PyErr_Occurred()) SWIG_fail;
13882 }
13883 Py_INCREF(Py_None); resultobj = Py_None;
13884 return resultobj;
13885 fail:
13886 return NULL;
13887 }
13888
13889
13890 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13891 PyObject *resultobj;
13892 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13893 wxString *result;
13894 PyObject * obj0 = 0 ;
13895 char *kwnames[] = {
13896 (char *) "self", NULL
13897 };
13898
13899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13902 {
13903 PyThreadState* __tstate = wxPyBeginAllowThreads();
13904 {
13905 wxString const &_result_ref = (arg1)->GetFindString();
13906 result = (wxString *) &_result_ref;
13907 }
13908
13909 wxPyEndAllowThreads(__tstate);
13910 if (PyErr_Occurred()) SWIG_fail;
13911 }
13912 {
13913 #if wxUSE_UNICODE
13914 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13915 #else
13916 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13917 #endif
13918 }
13919 return resultobj;
13920 fail:
13921 return NULL;
13922 }
13923
13924
13925 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13926 PyObject *resultobj;
13927 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13928 wxString *result;
13929 PyObject * obj0 = 0 ;
13930 char *kwnames[] = {
13931 (char *) "self", NULL
13932 };
13933
13934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13937 {
13938 PyThreadState* __tstate = wxPyBeginAllowThreads();
13939 {
13940 wxString const &_result_ref = (arg1)->GetReplaceString();
13941 result = (wxString *) &_result_ref;
13942 }
13943
13944 wxPyEndAllowThreads(__tstate);
13945 if (PyErr_Occurred()) SWIG_fail;
13946 }
13947 {
13948 #if wxUSE_UNICODE
13949 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13950 #else
13951 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13952 #endif
13953 }
13954 return resultobj;
13955 fail:
13956 return NULL;
13957 }
13958
13959
13960 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13961 PyObject *resultobj;
13962 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13963 int result;
13964 PyObject * obj0 = 0 ;
13965 char *kwnames[] = {
13966 (char *) "self", NULL
13967 };
13968
13969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13972 {
13973 PyThreadState* __tstate = wxPyBeginAllowThreads();
13974 result = (int)(arg1)->GetFlags();
13975
13976 wxPyEndAllowThreads(__tstate);
13977 if (PyErr_Occurred()) SWIG_fail;
13978 }
13979 resultobj = SWIG_FromInt((int)result);
13980 return resultobj;
13981 fail:
13982 return NULL;
13983 }
13984
13985
13986 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13987 PyObject *resultobj;
13988 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13989 int arg2 ;
13990 PyObject * obj0 = 0 ;
13991 PyObject * obj1 = 0 ;
13992 char *kwnames[] = {
13993 (char *) "self",(char *) "flags", NULL
13994 };
13995
13996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13999 arg2 = (int) SWIG_AsInt(obj1);
14000 if (PyErr_Occurred()) SWIG_fail;
14001 {
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
14003 (arg1)->SetFlags(arg2);
14004
14005 wxPyEndAllowThreads(__tstate);
14006 if (PyErr_Occurred()) SWIG_fail;
14007 }
14008 Py_INCREF(Py_None); resultobj = Py_None;
14009 return resultobj;
14010 fail:
14011 return NULL;
14012 }
14013
14014
14015 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14016 PyObject *resultobj;
14017 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14018 wxString *arg2 = 0 ;
14019 bool temp2 = False ;
14020 PyObject * obj0 = 0 ;
14021 PyObject * obj1 = 0 ;
14022 char *kwnames[] = {
14023 (char *) "self",(char *) "str", NULL
14024 };
14025
14026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14029 {
14030 arg2 = wxString_in_helper(obj1);
14031 if (arg2 == NULL) SWIG_fail;
14032 temp2 = True;
14033 }
14034 {
14035 PyThreadState* __tstate = wxPyBeginAllowThreads();
14036 (arg1)->SetFindString((wxString const &)*arg2);
14037
14038 wxPyEndAllowThreads(__tstate);
14039 if (PyErr_Occurred()) SWIG_fail;
14040 }
14041 Py_INCREF(Py_None); resultobj = Py_None;
14042 {
14043 if (temp2)
14044 delete arg2;
14045 }
14046 return resultobj;
14047 fail:
14048 {
14049 if (temp2)
14050 delete arg2;
14051 }
14052 return NULL;
14053 }
14054
14055
14056 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14057 PyObject *resultobj;
14058 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14059 wxString *arg2 = 0 ;
14060 bool temp2 = False ;
14061 PyObject * obj0 = 0 ;
14062 PyObject * obj1 = 0 ;
14063 char *kwnames[] = {
14064 (char *) "self",(char *) "str", NULL
14065 };
14066
14067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14070 {
14071 arg2 = wxString_in_helper(obj1);
14072 if (arg2 == NULL) SWIG_fail;
14073 temp2 = True;
14074 }
14075 {
14076 PyThreadState* __tstate = wxPyBeginAllowThreads();
14077 (arg1)->SetReplaceString((wxString const &)*arg2);
14078
14079 wxPyEndAllowThreads(__tstate);
14080 if (PyErr_Occurred()) SWIG_fail;
14081 }
14082 Py_INCREF(Py_None); resultobj = Py_None;
14083 {
14084 if (temp2)
14085 delete arg2;
14086 }
14087 return resultobj;
14088 fail:
14089 {
14090 if (temp2)
14091 delete arg2;
14092 }
14093 return NULL;
14094 }
14095
14096
14097 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14098 PyObject *obj;
14099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14100 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14101 Py_INCREF(obj);
14102 return Py_BuildValue((char *)"");
14103 }
14104 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14105 PyObject *resultobj;
14106 wxWindow *arg1 = (wxWindow *) 0 ;
14107 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14108 wxString *arg3 = 0 ;
14109 int arg4 = (int) 0 ;
14110 wxFindReplaceDialog *result;
14111 bool temp3 = False ;
14112 PyObject * obj0 = 0 ;
14113 PyObject * obj1 = 0 ;
14114 PyObject * obj2 = 0 ;
14115 PyObject * obj3 = 0 ;
14116 char *kwnames[] = {
14117 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14118 };
14119
14120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14123 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14125 {
14126 arg3 = wxString_in_helper(obj2);
14127 if (arg3 == NULL) SWIG_fail;
14128 temp3 = True;
14129 }
14130 if (obj3) {
14131 arg4 = (int) SWIG_AsInt(obj3);
14132 if (PyErr_Occurred()) SWIG_fail;
14133 }
14134 {
14135 PyThreadState* __tstate = wxPyBeginAllowThreads();
14136 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14137
14138 wxPyEndAllowThreads(__tstate);
14139 if (PyErr_Occurred()) SWIG_fail;
14140 }
14141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14142 {
14143 if (temp3)
14144 delete arg3;
14145 }
14146 return resultobj;
14147 fail:
14148 {
14149 if (temp3)
14150 delete arg3;
14151 }
14152 return NULL;
14153 }
14154
14155
14156 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14157 PyObject *resultobj;
14158 wxFindReplaceDialog *result;
14159 char *kwnames[] = {
14160 NULL
14161 };
14162
14163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14164 {
14165 PyThreadState* __tstate = wxPyBeginAllowThreads();
14166 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14167
14168 wxPyEndAllowThreads(__tstate);
14169 if (PyErr_Occurred()) SWIG_fail;
14170 }
14171 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14172 return resultobj;
14173 fail:
14174 return NULL;
14175 }
14176
14177
14178 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14179 PyObject *resultobj;
14180 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14181 wxWindow *arg2 = (wxWindow *) 0 ;
14182 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14183 wxString *arg4 = 0 ;
14184 int arg5 = (int) 0 ;
14185 bool result;
14186 bool temp4 = False ;
14187 PyObject * obj0 = 0 ;
14188 PyObject * obj1 = 0 ;
14189 PyObject * obj2 = 0 ;
14190 PyObject * obj3 = 0 ;
14191 PyObject * obj4 = 0 ;
14192 char *kwnames[] = {
14193 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14194 };
14195
14196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14199 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14201 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14203 {
14204 arg4 = wxString_in_helper(obj3);
14205 if (arg4 == NULL) SWIG_fail;
14206 temp4 = True;
14207 }
14208 if (obj4) {
14209 arg5 = (int) SWIG_AsInt(obj4);
14210 if (PyErr_Occurred()) SWIG_fail;
14211 }
14212 {
14213 PyThreadState* __tstate = wxPyBeginAllowThreads();
14214 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14215
14216 wxPyEndAllowThreads(__tstate);
14217 if (PyErr_Occurred()) SWIG_fail;
14218 }
14219 {
14220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14221 }
14222 {
14223 if (temp4)
14224 delete arg4;
14225 }
14226 return resultobj;
14227 fail:
14228 {
14229 if (temp4)
14230 delete arg4;
14231 }
14232 return NULL;
14233 }
14234
14235
14236 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14237 PyObject *resultobj;
14238 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14239 wxFindReplaceData *result;
14240 PyObject * obj0 = 0 ;
14241 char *kwnames[] = {
14242 (char *) "self", NULL
14243 };
14244
14245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14248 {
14249 PyThreadState* __tstate = wxPyBeginAllowThreads();
14250 result = (wxFindReplaceData *)(arg1)->GetData();
14251
14252 wxPyEndAllowThreads(__tstate);
14253 if (PyErr_Occurred()) SWIG_fail;
14254 }
14255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14256 return resultobj;
14257 fail:
14258 return NULL;
14259 }
14260
14261
14262 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14263 PyObject *resultobj;
14264 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14265 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14266 PyObject * obj0 = 0 ;
14267 PyObject * obj1 = 0 ;
14268 char *kwnames[] = {
14269 (char *) "self",(char *) "data", NULL
14270 };
14271
14272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14275 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14277 {
14278 PyThreadState* __tstate = wxPyBeginAllowThreads();
14279 (arg1)->SetData(arg2);
14280
14281 wxPyEndAllowThreads(__tstate);
14282 if (PyErr_Occurred()) SWIG_fail;
14283 }
14284 Py_INCREF(Py_None); resultobj = Py_None;
14285 return resultobj;
14286 fail:
14287 return NULL;
14288 }
14289
14290
14291 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14292 PyObject *obj;
14293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14294 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14295 Py_INCREF(obj);
14296 return Py_BuildValue((char *)"");
14297 }
14298 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14299 PyObject *resultobj;
14300 wxWindow *arg1 = (wxWindow *) 0 ;
14301 int arg2 ;
14302 wxString *arg3 = 0 ;
14303 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14304 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14305 wxSize const &arg5_defvalue = wxDefaultSize ;
14306 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14307 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14308 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14309 wxString *arg7 = (wxString *) &arg7_defvalue ;
14310 wxMDIParentFrame *result;
14311 bool temp3 = False ;
14312 wxPoint temp4 ;
14313 wxSize temp5 ;
14314 bool temp7 = False ;
14315 PyObject * obj0 = 0 ;
14316 PyObject * obj1 = 0 ;
14317 PyObject * obj2 = 0 ;
14318 PyObject * obj3 = 0 ;
14319 PyObject * obj4 = 0 ;
14320 PyObject * obj5 = 0 ;
14321 PyObject * obj6 = 0 ;
14322 char *kwnames[] = {
14323 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14324 };
14325
14326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14329 arg2 = (int const) SWIG_AsInt(obj1);
14330 if (PyErr_Occurred()) SWIG_fail;
14331 {
14332 arg3 = wxString_in_helper(obj2);
14333 if (arg3 == NULL) SWIG_fail;
14334 temp3 = True;
14335 }
14336 if (obj3) {
14337 {
14338 arg4 = &temp4;
14339 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14340 }
14341 }
14342 if (obj4) {
14343 {
14344 arg5 = &temp5;
14345 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14346 }
14347 }
14348 if (obj5) {
14349 arg6 = (long) SWIG_AsLong(obj5);
14350 if (PyErr_Occurred()) SWIG_fail;
14351 }
14352 if (obj6) {
14353 {
14354 arg7 = wxString_in_helper(obj6);
14355 if (arg7 == NULL) SWIG_fail;
14356 temp7 = True;
14357 }
14358 }
14359 {
14360 PyThreadState* __tstate = wxPyBeginAllowThreads();
14361 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14362
14363 wxPyEndAllowThreads(__tstate);
14364 if (PyErr_Occurred()) SWIG_fail;
14365 }
14366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14367 {
14368 if (temp3)
14369 delete arg3;
14370 }
14371 {
14372 if (temp7)
14373 delete arg7;
14374 }
14375 return resultobj;
14376 fail:
14377 {
14378 if (temp3)
14379 delete arg3;
14380 }
14381 {
14382 if (temp7)
14383 delete arg7;
14384 }
14385 return NULL;
14386 }
14387
14388
14389 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14390 PyObject *resultobj;
14391 wxMDIParentFrame *result;
14392 char *kwnames[] = {
14393 NULL
14394 };
14395
14396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14397 {
14398 PyThreadState* __tstate = wxPyBeginAllowThreads();
14399 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14400
14401 wxPyEndAllowThreads(__tstate);
14402 if (PyErr_Occurred()) SWIG_fail;
14403 }
14404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14405 return resultobj;
14406 fail:
14407 return NULL;
14408 }
14409
14410
14411 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14412 PyObject *resultobj;
14413 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14414 wxWindow *arg2 = (wxWindow *) 0 ;
14415 int arg3 ;
14416 wxString *arg4 = 0 ;
14417 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14418 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14419 wxSize const &arg6_defvalue = wxDefaultSize ;
14420 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14421 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14422 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14423 wxString *arg8 = (wxString *) &arg8_defvalue ;
14424 bool result;
14425 bool temp4 = False ;
14426 wxPoint temp5 ;
14427 wxSize temp6 ;
14428 bool temp8 = False ;
14429 PyObject * obj0 = 0 ;
14430 PyObject * obj1 = 0 ;
14431 PyObject * obj2 = 0 ;
14432 PyObject * obj3 = 0 ;
14433 PyObject * obj4 = 0 ;
14434 PyObject * obj5 = 0 ;
14435 PyObject * obj6 = 0 ;
14436 PyObject * obj7 = 0 ;
14437 char *kwnames[] = {
14438 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14439 };
14440
14441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14444 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14446 arg3 = (int const) SWIG_AsInt(obj2);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 {
14449 arg4 = wxString_in_helper(obj3);
14450 if (arg4 == NULL) SWIG_fail;
14451 temp4 = True;
14452 }
14453 if (obj4) {
14454 {
14455 arg5 = &temp5;
14456 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14457 }
14458 }
14459 if (obj5) {
14460 {
14461 arg6 = &temp6;
14462 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14463 }
14464 }
14465 if (obj6) {
14466 arg7 = (long) SWIG_AsLong(obj6);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
14469 if (obj7) {
14470 {
14471 arg8 = wxString_in_helper(obj7);
14472 if (arg8 == NULL) SWIG_fail;
14473 temp8 = True;
14474 }
14475 }
14476 {
14477 PyThreadState* __tstate = wxPyBeginAllowThreads();
14478 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14479
14480 wxPyEndAllowThreads(__tstate);
14481 if (PyErr_Occurred()) SWIG_fail;
14482 }
14483 {
14484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14485 }
14486 {
14487 if (temp4)
14488 delete arg4;
14489 }
14490 {
14491 if (temp8)
14492 delete arg8;
14493 }
14494 return resultobj;
14495 fail:
14496 {
14497 if (temp4)
14498 delete arg4;
14499 }
14500 {
14501 if (temp8)
14502 delete arg8;
14503 }
14504 return NULL;
14505 }
14506
14507
14508 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14509 PyObject *resultobj;
14510 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14511 PyObject * obj0 = 0 ;
14512 char *kwnames[] = {
14513 (char *) "self", NULL
14514 };
14515
14516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14519 {
14520 PyThreadState* __tstate = wxPyBeginAllowThreads();
14521 (arg1)->ActivateNext();
14522
14523 wxPyEndAllowThreads(__tstate);
14524 if (PyErr_Occurred()) SWIG_fail;
14525 }
14526 Py_INCREF(Py_None); resultobj = Py_None;
14527 return resultobj;
14528 fail:
14529 return NULL;
14530 }
14531
14532
14533 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14534 PyObject *resultobj;
14535 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14536 PyObject * obj0 = 0 ;
14537 char *kwnames[] = {
14538 (char *) "self", NULL
14539 };
14540
14541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14544 {
14545 PyThreadState* __tstate = wxPyBeginAllowThreads();
14546 (arg1)->ActivatePrevious();
14547
14548 wxPyEndAllowThreads(__tstate);
14549 if (PyErr_Occurred()) SWIG_fail;
14550 }
14551 Py_INCREF(Py_None); resultobj = Py_None;
14552 return resultobj;
14553 fail:
14554 return NULL;
14555 }
14556
14557
14558 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14559 PyObject *resultobj;
14560 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14561 PyObject * obj0 = 0 ;
14562 char *kwnames[] = {
14563 (char *) "self", NULL
14564 };
14565
14566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14569 {
14570 PyThreadState* __tstate = wxPyBeginAllowThreads();
14571 (arg1)->ArrangeIcons();
14572
14573 wxPyEndAllowThreads(__tstate);
14574 if (PyErr_Occurred()) SWIG_fail;
14575 }
14576 Py_INCREF(Py_None); resultobj = Py_None;
14577 return resultobj;
14578 fail:
14579 return NULL;
14580 }
14581
14582
14583 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14584 PyObject *resultobj;
14585 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14586 PyObject * obj0 = 0 ;
14587 char *kwnames[] = {
14588 (char *) "self", NULL
14589 };
14590
14591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14594 {
14595 PyThreadState* __tstate = wxPyBeginAllowThreads();
14596 (arg1)->Cascade();
14597
14598 wxPyEndAllowThreads(__tstate);
14599 if (PyErr_Occurred()) SWIG_fail;
14600 }
14601 Py_INCREF(Py_None); resultobj = Py_None;
14602 return resultobj;
14603 fail:
14604 return NULL;
14605 }
14606
14607
14608 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14609 PyObject *resultobj;
14610 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14611 wxMDIChildFrame *result;
14612 PyObject * obj0 = 0 ;
14613 char *kwnames[] = {
14614 (char *) "self", NULL
14615 };
14616
14617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14620 {
14621 PyThreadState* __tstate = wxPyBeginAllowThreads();
14622 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14623
14624 wxPyEndAllowThreads(__tstate);
14625 if (PyErr_Occurred()) SWIG_fail;
14626 }
14627 {
14628 resultobj = wxPyMake_wxObject(result);
14629 }
14630 return resultobj;
14631 fail:
14632 return NULL;
14633 }
14634
14635
14636 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14637 PyObject *resultobj;
14638 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14639 wxMDIClientWindow *result;
14640 PyObject * obj0 = 0 ;
14641 char *kwnames[] = {
14642 (char *) "self", NULL
14643 };
14644
14645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14648 {
14649 PyThreadState* __tstate = wxPyBeginAllowThreads();
14650 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14651
14652 wxPyEndAllowThreads(__tstate);
14653 if (PyErr_Occurred()) SWIG_fail;
14654 }
14655 {
14656 resultobj = wxPyMake_wxObject(result);
14657 }
14658 return resultobj;
14659 fail:
14660 return NULL;
14661 }
14662
14663
14664 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14665 PyObject *resultobj;
14666 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14667 wxWindow *result;
14668 PyObject * obj0 = 0 ;
14669 char *kwnames[] = {
14670 (char *) "self", NULL
14671 };
14672
14673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14676 {
14677 PyThreadState* __tstate = wxPyBeginAllowThreads();
14678 result = (wxWindow *)(arg1)->GetToolBar();
14679
14680 wxPyEndAllowThreads(__tstate);
14681 if (PyErr_Occurred()) SWIG_fail;
14682 }
14683 {
14684 resultobj = wxPyMake_wxObject(result);
14685 }
14686 return resultobj;
14687 fail:
14688 return NULL;
14689 }
14690
14691
14692 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14693 PyObject *resultobj;
14694 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14695 wxMenu *result;
14696 PyObject * obj0 = 0 ;
14697 char *kwnames[] = {
14698 (char *) "self", NULL
14699 };
14700
14701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
14702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14704 {
14705 PyThreadState* __tstate = wxPyBeginAllowThreads();
14706 result = (wxMenu *)(arg1)->GetWindowMenu();
14707
14708 wxPyEndAllowThreads(__tstate);
14709 if (PyErr_Occurred()) SWIG_fail;
14710 }
14711 {
14712 resultobj = wxPyMake_wxObject(result);
14713 }
14714 return resultobj;
14715 fail:
14716 return NULL;
14717 }
14718
14719
14720 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14721 PyObject *resultobj;
14722 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14723 wxMenu *arg2 = (wxMenu *) 0 ;
14724 PyObject * obj0 = 0 ;
14725 PyObject * obj1 = 0 ;
14726 char *kwnames[] = {
14727 (char *) "self",(char *) "menu", NULL
14728 };
14729
14730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
14731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14733 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
14734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14735 {
14736 PyThreadState* __tstate = wxPyBeginAllowThreads();
14737 (arg1)->SetWindowMenu(arg2);
14738
14739 wxPyEndAllowThreads(__tstate);
14740 if (PyErr_Occurred()) SWIG_fail;
14741 }
14742 Py_INCREF(Py_None); resultobj = Py_None;
14743 return resultobj;
14744 fail:
14745 return NULL;
14746 }
14747
14748
14749 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14750 PyObject *resultobj;
14751 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14752 wxToolBar *arg2 = (wxToolBar *) 0 ;
14753 PyObject * obj0 = 0 ;
14754 PyObject * obj1 = 0 ;
14755 char *kwnames[] = {
14756 (char *) "self",(char *) "toolbar", NULL
14757 };
14758
14759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
14760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14762 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
14763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14764 {
14765 PyThreadState* __tstate = wxPyBeginAllowThreads();
14766 (arg1)->SetToolBar(arg2);
14767
14768 wxPyEndAllowThreads(__tstate);
14769 if (PyErr_Occurred()) SWIG_fail;
14770 }
14771 Py_INCREF(Py_None); resultobj = Py_None;
14772 return resultobj;
14773 fail:
14774 return NULL;
14775 }
14776
14777
14778 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14779 PyObject *resultobj;
14780 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14781 PyObject * obj0 = 0 ;
14782 char *kwnames[] = {
14783 (char *) "self", NULL
14784 };
14785
14786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14789 {
14790 PyThreadState* __tstate = wxPyBeginAllowThreads();
14791 (arg1)->Tile();
14792
14793 wxPyEndAllowThreads(__tstate);
14794 if (PyErr_Occurred()) SWIG_fail;
14795 }
14796 Py_INCREF(Py_None); resultobj = Py_None;
14797 return resultobj;
14798 fail:
14799 return NULL;
14800 }
14801
14802
14803 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14804 PyObject *obj;
14805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14806 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14807 Py_INCREF(obj);
14808 return Py_BuildValue((char *)"");
14809 }
14810 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14811 PyObject *resultobj;
14812 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14813 int arg2 ;
14814 wxString *arg3 = 0 ;
14815 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14816 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14817 wxSize const &arg5_defvalue = wxDefaultSize ;
14818 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14819 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14820 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14821 wxString *arg7 = (wxString *) &arg7_defvalue ;
14822 wxMDIChildFrame *result;
14823 bool temp3 = False ;
14824 wxPoint temp4 ;
14825 wxSize temp5 ;
14826 bool temp7 = False ;
14827 PyObject * obj0 = 0 ;
14828 PyObject * obj1 = 0 ;
14829 PyObject * obj2 = 0 ;
14830 PyObject * obj3 = 0 ;
14831 PyObject * obj4 = 0 ;
14832 PyObject * obj5 = 0 ;
14833 PyObject * obj6 = 0 ;
14834 char *kwnames[] = {
14835 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14836 };
14837
14838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14841 arg2 = (int const) SWIG_AsInt(obj1);
14842 if (PyErr_Occurred()) SWIG_fail;
14843 {
14844 arg3 = wxString_in_helper(obj2);
14845 if (arg3 == NULL) SWIG_fail;
14846 temp3 = True;
14847 }
14848 if (obj3) {
14849 {
14850 arg4 = &temp4;
14851 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14852 }
14853 }
14854 if (obj4) {
14855 {
14856 arg5 = &temp5;
14857 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14858 }
14859 }
14860 if (obj5) {
14861 arg6 = (long) SWIG_AsLong(obj5);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
14864 if (obj6) {
14865 {
14866 arg7 = wxString_in_helper(obj6);
14867 if (arg7 == NULL) SWIG_fail;
14868 temp7 = True;
14869 }
14870 }
14871 {
14872 PyThreadState* __tstate = wxPyBeginAllowThreads();
14873 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14874
14875 wxPyEndAllowThreads(__tstate);
14876 if (PyErr_Occurred()) SWIG_fail;
14877 }
14878 {
14879 resultobj = wxPyMake_wxObject(result);
14880 }
14881 {
14882 if (temp3)
14883 delete arg3;
14884 }
14885 {
14886 if (temp7)
14887 delete arg7;
14888 }
14889 return resultobj;
14890 fail:
14891 {
14892 if (temp3)
14893 delete arg3;
14894 }
14895 {
14896 if (temp7)
14897 delete arg7;
14898 }
14899 return NULL;
14900 }
14901
14902
14903 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14904 PyObject *resultobj;
14905 wxMDIChildFrame *result;
14906 char *kwnames[] = {
14907 NULL
14908 };
14909
14910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14911 {
14912 PyThreadState* __tstate = wxPyBeginAllowThreads();
14913 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14914
14915 wxPyEndAllowThreads(__tstate);
14916 if (PyErr_Occurred()) SWIG_fail;
14917 }
14918 {
14919 resultobj = wxPyMake_wxObject(result);
14920 }
14921 return resultobj;
14922 fail:
14923 return NULL;
14924 }
14925
14926
14927 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14928 PyObject *resultobj;
14929 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14930 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14931 int arg3 ;
14932 wxString *arg4 = 0 ;
14933 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14934 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14935 wxSize const &arg6_defvalue = wxDefaultSize ;
14936 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14937 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14938 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14939 wxString *arg8 = (wxString *) &arg8_defvalue ;
14940 bool result;
14941 bool temp4 = False ;
14942 wxPoint temp5 ;
14943 wxSize temp6 ;
14944 bool temp8 = False ;
14945 PyObject * obj0 = 0 ;
14946 PyObject * obj1 = 0 ;
14947 PyObject * obj2 = 0 ;
14948 PyObject * obj3 = 0 ;
14949 PyObject * obj4 = 0 ;
14950 PyObject * obj5 = 0 ;
14951 PyObject * obj6 = 0 ;
14952 PyObject * obj7 = 0 ;
14953 char *kwnames[] = {
14954 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14955 };
14956
14957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14962 arg3 = (int const) SWIG_AsInt(obj2);
14963 if (PyErr_Occurred()) SWIG_fail;
14964 {
14965 arg4 = wxString_in_helper(obj3);
14966 if (arg4 == NULL) SWIG_fail;
14967 temp4 = True;
14968 }
14969 if (obj4) {
14970 {
14971 arg5 = &temp5;
14972 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14973 }
14974 }
14975 if (obj5) {
14976 {
14977 arg6 = &temp6;
14978 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14979 }
14980 }
14981 if (obj6) {
14982 arg7 = (long) SWIG_AsLong(obj6);
14983 if (PyErr_Occurred()) SWIG_fail;
14984 }
14985 if (obj7) {
14986 {
14987 arg8 = wxString_in_helper(obj7);
14988 if (arg8 == NULL) SWIG_fail;
14989 temp8 = True;
14990 }
14991 }
14992 {
14993 PyThreadState* __tstate = wxPyBeginAllowThreads();
14994 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14995
14996 wxPyEndAllowThreads(__tstate);
14997 if (PyErr_Occurred()) SWIG_fail;
14998 }
14999 {
15000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15001 }
15002 {
15003 if (temp4)
15004 delete arg4;
15005 }
15006 {
15007 if (temp8)
15008 delete arg8;
15009 }
15010 return resultobj;
15011 fail:
15012 {
15013 if (temp4)
15014 delete arg4;
15015 }
15016 {
15017 if (temp8)
15018 delete arg8;
15019 }
15020 return NULL;
15021 }
15022
15023
15024 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
15025 PyObject *resultobj;
15026 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15027 PyObject * obj0 = 0 ;
15028 char *kwnames[] = {
15029 (char *) "self", NULL
15030 };
15031
15032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15035 {
15036 PyThreadState* __tstate = wxPyBeginAllowThreads();
15037 (arg1)->Activate();
15038
15039 wxPyEndAllowThreads(__tstate);
15040 if (PyErr_Occurred()) SWIG_fail;
15041 }
15042 Py_INCREF(Py_None); resultobj = Py_None;
15043 return resultobj;
15044 fail:
15045 return NULL;
15046 }
15047
15048
15049 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15050 PyObject *resultobj;
15051 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15052 bool arg2 ;
15053 PyObject * obj0 = 0 ;
15054 PyObject * obj1 = 0 ;
15055 char *kwnames[] = {
15056 (char *) "self",(char *) "maximize", NULL
15057 };
15058
15059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15062 arg2 = (bool) SWIG_AsBool(obj1);
15063 if (PyErr_Occurred()) SWIG_fail;
15064 {
15065 PyThreadState* __tstate = wxPyBeginAllowThreads();
15066 (arg1)->Maximize(arg2);
15067
15068 wxPyEndAllowThreads(__tstate);
15069 if (PyErr_Occurred()) SWIG_fail;
15070 }
15071 Py_INCREF(Py_None); resultobj = Py_None;
15072 return resultobj;
15073 fail:
15074 return NULL;
15075 }
15076
15077
15078 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15079 PyObject *resultobj;
15080 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15081 PyObject * obj0 = 0 ;
15082 char *kwnames[] = {
15083 (char *) "self", NULL
15084 };
15085
15086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15089 {
15090 PyThreadState* __tstate = wxPyBeginAllowThreads();
15091 (arg1)->Restore();
15092
15093 wxPyEndAllowThreads(__tstate);
15094 if (PyErr_Occurred()) SWIG_fail;
15095 }
15096 Py_INCREF(Py_None); resultobj = Py_None;
15097 return resultobj;
15098 fail:
15099 return NULL;
15100 }
15101
15102
15103 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15104 PyObject *obj;
15105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15106 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15107 Py_INCREF(obj);
15108 return Py_BuildValue((char *)"");
15109 }
15110 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15111 PyObject *resultobj;
15112 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15113 long arg2 = (long) 0 ;
15114 wxMDIClientWindow *result;
15115 PyObject * obj0 = 0 ;
15116 PyObject * obj1 = 0 ;
15117 char *kwnames[] = {
15118 (char *) "parent",(char *) "style", NULL
15119 };
15120
15121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15124 if (obj1) {
15125 arg2 = (long) SWIG_AsLong(obj1);
15126 if (PyErr_Occurred()) SWIG_fail;
15127 }
15128 {
15129 PyThreadState* __tstate = wxPyBeginAllowThreads();
15130 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15131
15132 wxPyEndAllowThreads(__tstate);
15133 if (PyErr_Occurred()) SWIG_fail;
15134 }
15135 {
15136 resultobj = wxPyMake_wxObject(result);
15137 }
15138 return resultobj;
15139 fail:
15140 return NULL;
15141 }
15142
15143
15144 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15145 PyObject *resultobj;
15146 wxMDIClientWindow *result;
15147 char *kwnames[] = {
15148 NULL
15149 };
15150
15151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15152 {
15153 PyThreadState* __tstate = wxPyBeginAllowThreads();
15154 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15155
15156 wxPyEndAllowThreads(__tstate);
15157 if (PyErr_Occurred()) SWIG_fail;
15158 }
15159 {
15160 resultobj = wxPyMake_wxObject(result);
15161 }
15162 return resultobj;
15163 fail:
15164 return NULL;
15165 }
15166
15167
15168 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15169 PyObject *resultobj;
15170 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15171 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15172 long arg3 = (long) 0 ;
15173 bool result;
15174 PyObject * obj0 = 0 ;
15175 PyObject * obj1 = 0 ;
15176 PyObject * obj2 = 0 ;
15177 char *kwnames[] = {
15178 (char *) "self",(char *) "parent",(char *) "style", NULL
15179 };
15180
15181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15184 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15186 if (obj2) {
15187 arg3 = (long) SWIG_AsLong(obj2);
15188 if (PyErr_Occurred()) SWIG_fail;
15189 }
15190 {
15191 PyThreadState* __tstate = wxPyBeginAllowThreads();
15192 result = (bool)(arg1)->Create(arg2,arg3);
15193
15194 wxPyEndAllowThreads(__tstate);
15195 if (PyErr_Occurred()) SWIG_fail;
15196 }
15197 {
15198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15199 }
15200 return resultobj;
15201 fail:
15202 return NULL;
15203 }
15204
15205
15206 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15207 PyObject *obj;
15208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15209 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15210 Py_INCREF(obj);
15211 return Py_BuildValue((char *)"");
15212 }
15213 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15214 PyObject *resultobj;
15215 wxWindow *arg1 = (wxWindow *) 0 ;
15216 int arg2 ;
15217 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15218 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15219 wxSize const &arg4_defvalue = wxDefaultSize ;
15220 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15221 long arg5 = (long) 0 ;
15222 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15223 wxString *arg6 = (wxString *) &arg6_defvalue ;
15224 wxPyWindow *result;
15225 wxPoint temp3 ;
15226 wxSize temp4 ;
15227 bool temp6 = False ;
15228 PyObject * obj0 = 0 ;
15229 PyObject * obj1 = 0 ;
15230 PyObject * obj2 = 0 ;
15231 PyObject * obj3 = 0 ;
15232 PyObject * obj4 = 0 ;
15233 PyObject * obj5 = 0 ;
15234 char *kwnames[] = {
15235 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15236 };
15237
15238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15241 arg2 = (int const) SWIG_AsInt(obj1);
15242 if (PyErr_Occurred()) SWIG_fail;
15243 if (obj2) {
15244 {
15245 arg3 = &temp3;
15246 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15247 }
15248 }
15249 if (obj3) {
15250 {
15251 arg4 = &temp4;
15252 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15253 }
15254 }
15255 if (obj4) {
15256 arg5 = (long) SWIG_AsLong(obj4);
15257 if (PyErr_Occurred()) SWIG_fail;
15258 }
15259 if (obj5) {
15260 {
15261 arg6 = wxString_in_helper(obj5);
15262 if (arg6 == NULL) SWIG_fail;
15263 temp6 = True;
15264 }
15265 }
15266 {
15267 PyThreadState* __tstate = wxPyBeginAllowThreads();
15268 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15269
15270 wxPyEndAllowThreads(__tstate);
15271 if (PyErr_Occurred()) SWIG_fail;
15272 }
15273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15274 {
15275 if (temp6)
15276 delete arg6;
15277 }
15278 return resultobj;
15279 fail:
15280 {
15281 if (temp6)
15282 delete arg6;
15283 }
15284 return NULL;
15285 }
15286
15287
15288 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15289 PyObject *resultobj;
15290 wxPyWindow *result;
15291 char *kwnames[] = {
15292 NULL
15293 };
15294
15295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15296 {
15297 PyThreadState* __tstate = wxPyBeginAllowThreads();
15298 result = (wxPyWindow *)new wxPyWindow();
15299
15300 wxPyEndAllowThreads(__tstate);
15301 if (PyErr_Occurred()) SWIG_fail;
15302 }
15303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15304 return resultobj;
15305 fail:
15306 return NULL;
15307 }
15308
15309
15310 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15311 PyObject *resultobj;
15312 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15313 PyObject *arg2 = (PyObject *) 0 ;
15314 PyObject *arg3 = (PyObject *) 0 ;
15315 PyObject * obj0 = 0 ;
15316 PyObject * obj1 = 0 ;
15317 PyObject * obj2 = 0 ;
15318 char *kwnames[] = {
15319 (char *) "self",(char *) "self",(char *) "_class", NULL
15320 };
15321
15322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15325 arg2 = obj1;
15326 arg3 = obj2;
15327 {
15328 PyThreadState* __tstate = wxPyBeginAllowThreads();
15329 (arg1)->_setCallbackInfo(arg2,arg3);
15330
15331 wxPyEndAllowThreads(__tstate);
15332 if (PyErr_Occurred()) SWIG_fail;
15333 }
15334 Py_INCREF(Py_None); resultobj = Py_None;
15335 return resultobj;
15336 fail:
15337 return NULL;
15338 }
15339
15340
15341 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15342 PyObject *resultobj;
15343 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15344 int arg2 ;
15345 int arg3 ;
15346 int arg4 ;
15347 int arg5 ;
15348 PyObject * obj0 = 0 ;
15349 PyObject * obj1 = 0 ;
15350 PyObject * obj2 = 0 ;
15351 PyObject * obj3 = 0 ;
15352 PyObject * obj4 = 0 ;
15353 char *kwnames[] = {
15354 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15355 };
15356
15357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15360 arg2 = (int) SWIG_AsInt(obj1);
15361 if (PyErr_Occurred()) SWIG_fail;
15362 arg3 = (int) SWIG_AsInt(obj2);
15363 if (PyErr_Occurred()) SWIG_fail;
15364 arg4 = (int) SWIG_AsInt(obj3);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 arg5 = (int) SWIG_AsInt(obj4);
15367 if (PyErr_Occurred()) SWIG_fail;
15368 {
15369 PyThreadState* __tstate = wxPyBeginAllowThreads();
15370 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15371
15372 wxPyEndAllowThreads(__tstate);
15373 if (PyErr_Occurred()) SWIG_fail;
15374 }
15375 Py_INCREF(Py_None); resultobj = Py_None;
15376 return resultobj;
15377 fail:
15378 return NULL;
15379 }
15380
15381
15382 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15383 PyObject *resultobj;
15384 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15385 int arg2 ;
15386 int arg3 ;
15387 int arg4 ;
15388 int arg5 ;
15389 int arg6 = (int) wxSIZE_AUTO ;
15390 PyObject * obj0 = 0 ;
15391 PyObject * obj1 = 0 ;
15392 PyObject * obj2 = 0 ;
15393 PyObject * obj3 = 0 ;
15394 PyObject * obj4 = 0 ;
15395 PyObject * obj5 = 0 ;
15396 char *kwnames[] = {
15397 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15398 };
15399
15400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15403 arg2 = (int) SWIG_AsInt(obj1);
15404 if (PyErr_Occurred()) SWIG_fail;
15405 arg3 = (int) SWIG_AsInt(obj2);
15406 if (PyErr_Occurred()) SWIG_fail;
15407 arg4 = (int) SWIG_AsInt(obj3);
15408 if (PyErr_Occurred()) SWIG_fail;
15409 arg5 = (int) SWIG_AsInt(obj4);
15410 if (PyErr_Occurred()) SWIG_fail;
15411 if (obj5) {
15412 arg6 = (int) SWIG_AsInt(obj5);
15413 if (PyErr_Occurred()) SWIG_fail;
15414 }
15415 {
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
15417 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15418
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
15422 Py_INCREF(Py_None); resultobj = Py_None;
15423 return resultobj;
15424 fail:
15425 return NULL;
15426 }
15427
15428
15429 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15430 PyObject *resultobj;
15431 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15432 int arg2 ;
15433 int arg3 ;
15434 PyObject * obj0 = 0 ;
15435 PyObject * obj1 = 0 ;
15436 PyObject * obj2 = 0 ;
15437 char *kwnames[] = {
15438 (char *) "self",(char *) "width",(char *) "height", NULL
15439 };
15440
15441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15444 arg2 = (int) SWIG_AsInt(obj1);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 arg3 = (int) SWIG_AsInt(obj2);
15447 if (PyErr_Occurred()) SWIG_fail;
15448 {
15449 PyThreadState* __tstate = wxPyBeginAllowThreads();
15450 (arg1)->base_DoSetClientSize(arg2,arg3);
15451
15452 wxPyEndAllowThreads(__tstate);
15453 if (PyErr_Occurred()) SWIG_fail;
15454 }
15455 Py_INCREF(Py_None); resultobj = Py_None;
15456 return resultobj;
15457 fail:
15458 return NULL;
15459 }
15460
15461
15462 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15463 PyObject *resultobj;
15464 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15465 int arg2 ;
15466 int arg3 ;
15467 PyObject * obj0 = 0 ;
15468 PyObject * obj1 = 0 ;
15469 PyObject * obj2 = 0 ;
15470 char *kwnames[] = {
15471 (char *) "self",(char *) "x",(char *) "y", NULL
15472 };
15473
15474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15477 arg2 = (int) SWIG_AsInt(obj1);
15478 if (PyErr_Occurred()) SWIG_fail;
15479 arg3 = (int) SWIG_AsInt(obj2);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 {
15482 PyThreadState* __tstate = wxPyBeginAllowThreads();
15483 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15484
15485 wxPyEndAllowThreads(__tstate);
15486 if (PyErr_Occurred()) SWIG_fail;
15487 }
15488 Py_INCREF(Py_None); resultobj = Py_None;
15489 return resultobj;
15490 fail:
15491 return NULL;
15492 }
15493
15494
15495 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15496 PyObject *resultobj;
15497 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15498 int *arg2 = (int *) 0 ;
15499 int *arg3 = (int *) 0 ;
15500 int temp2 ;
15501 int temp3 ;
15502 PyObject * obj0 = 0 ;
15503 char *kwnames[] = {
15504 (char *) "self", NULL
15505 };
15506
15507 arg2 = &temp2;
15508 arg3 = &temp3;
15509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15512 {
15513 PyThreadState* __tstate = wxPyBeginAllowThreads();
15514 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15515
15516 wxPyEndAllowThreads(__tstate);
15517 if (PyErr_Occurred()) SWIG_fail;
15518 }
15519 Py_INCREF(Py_None); resultobj = Py_None;
15520 {
15521 PyObject *o = PyInt_FromLong((long) (*arg2));
15522 resultobj = t_output_helper(resultobj,o);
15523 }
15524 {
15525 PyObject *o = PyInt_FromLong((long) (*arg3));
15526 resultobj = t_output_helper(resultobj,o);
15527 }
15528 return resultobj;
15529 fail:
15530 return NULL;
15531 }
15532
15533
15534 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15535 PyObject *resultobj;
15536 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15537 int *arg2 = (int *) 0 ;
15538 int *arg3 = (int *) 0 ;
15539 int temp2 ;
15540 int temp3 ;
15541 PyObject * obj0 = 0 ;
15542 char *kwnames[] = {
15543 (char *) "self", NULL
15544 };
15545
15546 arg2 = &temp2;
15547 arg3 = &temp3;
15548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15551 {
15552 PyThreadState* __tstate = wxPyBeginAllowThreads();
15553 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15554
15555 wxPyEndAllowThreads(__tstate);
15556 if (PyErr_Occurred()) SWIG_fail;
15557 }
15558 Py_INCREF(Py_None); resultobj = Py_None;
15559 {
15560 PyObject *o = PyInt_FromLong((long) (*arg2));
15561 resultobj = t_output_helper(resultobj,o);
15562 }
15563 {
15564 PyObject *o = PyInt_FromLong((long) (*arg3));
15565 resultobj = t_output_helper(resultobj,o);
15566 }
15567 return resultobj;
15568 fail:
15569 return NULL;
15570 }
15571
15572
15573 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15574 PyObject *resultobj;
15575 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15576 int *arg2 = (int *) 0 ;
15577 int *arg3 = (int *) 0 ;
15578 int temp2 ;
15579 int temp3 ;
15580 PyObject * obj0 = 0 ;
15581 char *kwnames[] = {
15582 (char *) "self", NULL
15583 };
15584
15585 arg2 = &temp2;
15586 arg3 = &temp3;
15587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15590 {
15591 PyThreadState* __tstate = wxPyBeginAllowThreads();
15592 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15593
15594 wxPyEndAllowThreads(__tstate);
15595 if (PyErr_Occurred()) SWIG_fail;
15596 }
15597 Py_INCREF(Py_None); resultobj = Py_None;
15598 {
15599 PyObject *o = PyInt_FromLong((long) (*arg2));
15600 resultobj = t_output_helper(resultobj,o);
15601 }
15602 {
15603 PyObject *o = PyInt_FromLong((long) (*arg3));
15604 resultobj = t_output_helper(resultobj,o);
15605 }
15606 return resultobj;
15607 fail:
15608 return NULL;
15609 }
15610
15611
15612 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15613 PyObject *resultobj;
15614 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15615 wxSize result;
15616 PyObject * obj0 = 0 ;
15617 char *kwnames[] = {
15618 (char *) "self", NULL
15619 };
15620
15621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15624 {
15625 PyThreadState* __tstate = wxPyBeginAllowThreads();
15626 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15627
15628 wxPyEndAllowThreads(__tstate);
15629 if (PyErr_Occurred()) SWIG_fail;
15630 }
15631 {
15632 wxSize * resultptr;
15633 resultptr = new wxSize((wxSize &) result);
15634 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15635 }
15636 return resultobj;
15637 fail:
15638 return NULL;
15639 }
15640
15641
15642 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15643 PyObject *resultobj;
15644 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15645 wxSize result;
15646 PyObject * obj0 = 0 ;
15647 char *kwnames[] = {
15648 (char *) "self", NULL
15649 };
15650
15651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15654 {
15655 PyThreadState* __tstate = wxPyBeginAllowThreads();
15656 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15657
15658 wxPyEndAllowThreads(__tstate);
15659 if (PyErr_Occurred()) SWIG_fail;
15660 }
15661 {
15662 wxSize * resultptr;
15663 resultptr = new wxSize((wxSize &) result);
15664 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15665 }
15666 return resultobj;
15667 fail:
15668 return NULL;
15669 }
15670
15671
15672 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15673 PyObject *resultobj;
15674 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15675 PyObject * obj0 = 0 ;
15676 char *kwnames[] = {
15677 (char *) "self", NULL
15678 };
15679
15680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15683 {
15684 PyThreadState* __tstate = wxPyBeginAllowThreads();
15685 (arg1)->base_InitDialog();
15686
15687 wxPyEndAllowThreads(__tstate);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 }
15690 Py_INCREF(Py_None); resultobj = Py_None;
15691 return resultobj;
15692 fail:
15693 return NULL;
15694 }
15695
15696
15697 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15698 PyObject *resultobj;
15699 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15700 bool result;
15701 PyObject * obj0 = 0 ;
15702 char *kwnames[] = {
15703 (char *) "self", NULL
15704 };
15705
15706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15709 {
15710 PyThreadState* __tstate = wxPyBeginAllowThreads();
15711 result = (bool)(arg1)->base_TransferDataToWindow();
15712
15713 wxPyEndAllowThreads(__tstate);
15714 if (PyErr_Occurred()) SWIG_fail;
15715 }
15716 {
15717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15718 }
15719 return resultobj;
15720 fail:
15721 return NULL;
15722 }
15723
15724
15725 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15726 PyObject *resultobj;
15727 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15728 bool result;
15729 PyObject * obj0 = 0 ;
15730 char *kwnames[] = {
15731 (char *) "self", NULL
15732 };
15733
15734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15737 {
15738 PyThreadState* __tstate = wxPyBeginAllowThreads();
15739 result = (bool)(arg1)->base_TransferDataFromWindow();
15740
15741 wxPyEndAllowThreads(__tstate);
15742 if (PyErr_Occurred()) SWIG_fail;
15743 }
15744 {
15745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15746 }
15747 return resultobj;
15748 fail:
15749 return NULL;
15750 }
15751
15752
15753 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15754 PyObject *resultobj;
15755 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15756 bool result;
15757 PyObject * obj0 = 0 ;
15758 char *kwnames[] = {
15759 (char *) "self", NULL
15760 };
15761
15762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15765 {
15766 PyThreadState* __tstate = wxPyBeginAllowThreads();
15767 result = (bool)(arg1)->base_Validate();
15768
15769 wxPyEndAllowThreads(__tstate);
15770 if (PyErr_Occurred()) SWIG_fail;
15771 }
15772 {
15773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15774 }
15775 return resultobj;
15776 fail:
15777 return NULL;
15778 }
15779
15780
15781 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15782 PyObject *resultobj;
15783 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15784 bool result;
15785 PyObject * obj0 = 0 ;
15786 char *kwnames[] = {
15787 (char *) "self", NULL
15788 };
15789
15790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15793 {
15794 PyThreadState* __tstate = wxPyBeginAllowThreads();
15795 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15796
15797 wxPyEndAllowThreads(__tstate);
15798 if (PyErr_Occurred()) SWIG_fail;
15799 }
15800 {
15801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15802 }
15803 return resultobj;
15804 fail:
15805 return NULL;
15806 }
15807
15808
15809 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15810 PyObject *resultobj;
15811 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15812 bool result;
15813 PyObject * obj0 = 0 ;
15814 char *kwnames[] = {
15815 (char *) "self", NULL
15816 };
15817
15818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15821 {
15822 PyThreadState* __tstate = wxPyBeginAllowThreads();
15823 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15824
15825 wxPyEndAllowThreads(__tstate);
15826 if (PyErr_Occurred()) SWIG_fail;
15827 }
15828 {
15829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15830 }
15831 return resultobj;
15832 fail:
15833 return NULL;
15834 }
15835
15836
15837 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15838 PyObject *resultobj;
15839 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15840 wxSize result;
15841 PyObject * obj0 = 0 ;
15842 char *kwnames[] = {
15843 (char *) "self", NULL
15844 };
15845
15846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15849 {
15850 PyThreadState* __tstate = wxPyBeginAllowThreads();
15851 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15852
15853 wxPyEndAllowThreads(__tstate);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 }
15856 {
15857 wxSize * resultptr;
15858 resultptr = new wxSize((wxSize &) result);
15859 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15860 }
15861 return resultobj;
15862 fail:
15863 return NULL;
15864 }
15865
15866
15867 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15868 PyObject *resultobj;
15869 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15870 wxWindow *arg2 = (wxWindow *) 0 ;
15871 PyObject * obj0 = 0 ;
15872 PyObject * obj1 = 0 ;
15873 char *kwnames[] = {
15874 (char *) "self",(char *) "child", NULL
15875 };
15876
15877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15882 {
15883 PyThreadState* __tstate = wxPyBeginAllowThreads();
15884 (arg1)->base_AddChild(arg2);
15885
15886 wxPyEndAllowThreads(__tstate);
15887 if (PyErr_Occurred()) SWIG_fail;
15888 }
15889 Py_INCREF(Py_None); resultobj = Py_None;
15890 return resultobj;
15891 fail:
15892 return NULL;
15893 }
15894
15895
15896 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15897 PyObject *resultobj;
15898 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15899 wxWindow *arg2 = (wxWindow *) 0 ;
15900 PyObject * obj0 = 0 ;
15901 PyObject * obj1 = 0 ;
15902 char *kwnames[] = {
15903 (char *) "self",(char *) "child", NULL
15904 };
15905
15906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15909 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15911 {
15912 PyThreadState* __tstate = wxPyBeginAllowThreads();
15913 (arg1)->base_RemoveChild(arg2);
15914
15915 wxPyEndAllowThreads(__tstate);
15916 if (PyErr_Occurred()) SWIG_fail;
15917 }
15918 Py_INCREF(Py_None); resultobj = Py_None;
15919 return resultobj;
15920 fail:
15921 return NULL;
15922 }
15923
15924
15925 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15926 PyObject *resultobj;
15927 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15928 bool result;
15929 PyObject * obj0 = 0 ;
15930 char *kwnames[] = {
15931 (char *) "self", NULL
15932 };
15933
15934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15937 {
15938 PyThreadState* __tstate = wxPyBeginAllowThreads();
15939 result = (bool)(arg1)->base_ShouldInheritColours();
15940
15941 wxPyEndAllowThreads(__tstate);
15942 if (PyErr_Occurred()) SWIG_fail;
15943 }
15944 {
15945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15946 }
15947 return resultobj;
15948 fail:
15949 return NULL;
15950 }
15951
15952
15953 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15954 PyObject *resultobj;
15955 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15956 wxColour *arg2 = 0 ;
15957 wxColour temp2 ;
15958 PyObject * obj0 = 0 ;
15959 PyObject * obj1 = 0 ;
15960 char *kwnames[] = {
15961 (char *) "self",(char *) "c", NULL
15962 };
15963
15964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15967 {
15968 arg2 = &temp2;
15969 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15970 }
15971 {
15972 PyThreadState* __tstate = wxPyBeginAllowThreads();
15973 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15974
15975 wxPyEndAllowThreads(__tstate);
15976 if (PyErr_Occurred()) SWIG_fail;
15977 }
15978 Py_INCREF(Py_None); resultobj = Py_None;
15979 return resultobj;
15980 fail:
15981 return NULL;
15982 }
15983
15984
15985 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15986 PyObject *obj;
15987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15988 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15989 Py_INCREF(obj);
15990 return Py_BuildValue((char *)"");
15991 }
15992 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15993 PyObject *resultobj;
15994 wxWindow *arg1 = (wxWindow *) 0 ;
15995 int arg2 ;
15996 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15997 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15998 wxSize const &arg4_defvalue = wxDefaultSize ;
15999 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16000 long arg5 = (long) 0 ;
16001 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16002 wxString *arg6 = (wxString *) &arg6_defvalue ;
16003 wxPyPanel *result;
16004 wxPoint temp3 ;
16005 wxSize temp4 ;
16006 bool temp6 = False ;
16007 PyObject * obj0 = 0 ;
16008 PyObject * obj1 = 0 ;
16009 PyObject * obj2 = 0 ;
16010 PyObject * obj3 = 0 ;
16011 PyObject * obj4 = 0 ;
16012 PyObject * obj5 = 0 ;
16013 char *kwnames[] = {
16014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16015 };
16016
16017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16020 arg2 = (int const) SWIG_AsInt(obj1);
16021 if (PyErr_Occurred()) SWIG_fail;
16022 if (obj2) {
16023 {
16024 arg3 = &temp3;
16025 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16026 }
16027 }
16028 if (obj3) {
16029 {
16030 arg4 = &temp4;
16031 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16032 }
16033 }
16034 if (obj4) {
16035 arg5 = (long) SWIG_AsLong(obj4);
16036 if (PyErr_Occurred()) SWIG_fail;
16037 }
16038 if (obj5) {
16039 {
16040 arg6 = wxString_in_helper(obj5);
16041 if (arg6 == NULL) SWIG_fail;
16042 temp6 = True;
16043 }
16044 }
16045 {
16046 PyThreadState* __tstate = wxPyBeginAllowThreads();
16047 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16048
16049 wxPyEndAllowThreads(__tstate);
16050 if (PyErr_Occurred()) SWIG_fail;
16051 }
16052 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16053 {
16054 if (temp6)
16055 delete arg6;
16056 }
16057 return resultobj;
16058 fail:
16059 {
16060 if (temp6)
16061 delete arg6;
16062 }
16063 return NULL;
16064 }
16065
16066
16067 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16068 PyObject *resultobj;
16069 wxPyPanel *result;
16070 char *kwnames[] = {
16071 NULL
16072 };
16073
16074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16075 {
16076 PyThreadState* __tstate = wxPyBeginAllowThreads();
16077 result = (wxPyPanel *)new wxPyPanel();
16078
16079 wxPyEndAllowThreads(__tstate);
16080 if (PyErr_Occurred()) SWIG_fail;
16081 }
16082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16083 return resultobj;
16084 fail:
16085 return NULL;
16086 }
16087
16088
16089 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16090 PyObject *resultobj;
16091 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16092 PyObject *arg2 = (PyObject *) 0 ;
16093 PyObject *arg3 = (PyObject *) 0 ;
16094 PyObject * obj0 = 0 ;
16095 PyObject * obj1 = 0 ;
16096 PyObject * obj2 = 0 ;
16097 char *kwnames[] = {
16098 (char *) "self",(char *) "self",(char *) "_class", NULL
16099 };
16100
16101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16104 arg2 = obj1;
16105 arg3 = obj2;
16106 {
16107 PyThreadState* __tstate = wxPyBeginAllowThreads();
16108 (arg1)->_setCallbackInfo(arg2,arg3);
16109
16110 wxPyEndAllowThreads(__tstate);
16111 if (PyErr_Occurred()) SWIG_fail;
16112 }
16113 Py_INCREF(Py_None); resultobj = Py_None;
16114 return resultobj;
16115 fail:
16116 return NULL;
16117 }
16118
16119
16120 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16121 PyObject *resultobj;
16122 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16123 int arg2 ;
16124 int arg3 ;
16125 int arg4 ;
16126 int arg5 ;
16127 PyObject * obj0 = 0 ;
16128 PyObject * obj1 = 0 ;
16129 PyObject * obj2 = 0 ;
16130 PyObject * obj3 = 0 ;
16131 PyObject * obj4 = 0 ;
16132 char *kwnames[] = {
16133 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16134 };
16135
16136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16139 arg2 = (int) SWIG_AsInt(obj1);
16140 if (PyErr_Occurred()) SWIG_fail;
16141 arg3 = (int) SWIG_AsInt(obj2);
16142 if (PyErr_Occurred()) SWIG_fail;
16143 arg4 = (int) SWIG_AsInt(obj3);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 arg5 = (int) SWIG_AsInt(obj4);
16146 if (PyErr_Occurred()) SWIG_fail;
16147 {
16148 PyThreadState* __tstate = wxPyBeginAllowThreads();
16149 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16150
16151 wxPyEndAllowThreads(__tstate);
16152 if (PyErr_Occurred()) SWIG_fail;
16153 }
16154 Py_INCREF(Py_None); resultobj = Py_None;
16155 return resultobj;
16156 fail:
16157 return NULL;
16158 }
16159
16160
16161 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16162 PyObject *resultobj;
16163 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16164 int arg2 ;
16165 int arg3 ;
16166 int arg4 ;
16167 int arg5 ;
16168 int arg6 = (int) wxSIZE_AUTO ;
16169 PyObject * obj0 = 0 ;
16170 PyObject * obj1 = 0 ;
16171 PyObject * obj2 = 0 ;
16172 PyObject * obj3 = 0 ;
16173 PyObject * obj4 = 0 ;
16174 PyObject * obj5 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16182 arg2 = (int) SWIG_AsInt(obj1);
16183 if (PyErr_Occurred()) SWIG_fail;
16184 arg3 = (int) SWIG_AsInt(obj2);
16185 if (PyErr_Occurred()) SWIG_fail;
16186 arg4 = (int) SWIG_AsInt(obj3);
16187 if (PyErr_Occurred()) SWIG_fail;
16188 arg5 = (int) SWIG_AsInt(obj4);
16189 if (PyErr_Occurred()) SWIG_fail;
16190 if (obj5) {
16191 arg6 = (int) SWIG_AsInt(obj5);
16192 if (PyErr_Occurred()) SWIG_fail;
16193 }
16194 {
16195 PyThreadState* __tstate = wxPyBeginAllowThreads();
16196 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16197
16198 wxPyEndAllowThreads(__tstate);
16199 if (PyErr_Occurred()) SWIG_fail;
16200 }
16201 Py_INCREF(Py_None); resultobj = Py_None;
16202 return resultobj;
16203 fail:
16204 return NULL;
16205 }
16206
16207
16208 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16209 PyObject *resultobj;
16210 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16211 int arg2 ;
16212 int arg3 ;
16213 PyObject * obj0 = 0 ;
16214 PyObject * obj1 = 0 ;
16215 PyObject * obj2 = 0 ;
16216 char *kwnames[] = {
16217 (char *) "self",(char *) "width",(char *) "height", NULL
16218 };
16219
16220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16223 arg2 = (int) SWIG_AsInt(obj1);
16224 if (PyErr_Occurred()) SWIG_fail;
16225 arg3 = (int) SWIG_AsInt(obj2);
16226 if (PyErr_Occurred()) SWIG_fail;
16227 {
16228 PyThreadState* __tstate = wxPyBeginAllowThreads();
16229 (arg1)->base_DoSetClientSize(arg2,arg3);
16230
16231 wxPyEndAllowThreads(__tstate);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 }
16234 Py_INCREF(Py_None); resultobj = Py_None;
16235 return resultobj;
16236 fail:
16237 return NULL;
16238 }
16239
16240
16241 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16242 PyObject *resultobj;
16243 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16244 int arg2 ;
16245 int arg3 ;
16246 PyObject * obj0 = 0 ;
16247 PyObject * obj1 = 0 ;
16248 PyObject * obj2 = 0 ;
16249 char *kwnames[] = {
16250 (char *) "self",(char *) "x",(char *) "y", NULL
16251 };
16252
16253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16256 arg2 = (int) SWIG_AsInt(obj1);
16257 if (PyErr_Occurred()) SWIG_fail;
16258 arg3 = (int) SWIG_AsInt(obj2);
16259 if (PyErr_Occurred()) SWIG_fail;
16260 {
16261 PyThreadState* __tstate = wxPyBeginAllowThreads();
16262 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16263
16264 wxPyEndAllowThreads(__tstate);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 }
16267 Py_INCREF(Py_None); resultobj = Py_None;
16268 return resultobj;
16269 fail:
16270 return NULL;
16271 }
16272
16273
16274 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16275 PyObject *resultobj;
16276 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16277 int *arg2 = (int *) 0 ;
16278 int *arg3 = (int *) 0 ;
16279 int temp2 ;
16280 int temp3 ;
16281 PyObject * obj0 = 0 ;
16282 char *kwnames[] = {
16283 (char *) "self", NULL
16284 };
16285
16286 arg2 = &temp2;
16287 arg3 = &temp3;
16288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16291 {
16292 PyThreadState* __tstate = wxPyBeginAllowThreads();
16293 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16294
16295 wxPyEndAllowThreads(__tstate);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 }
16298 Py_INCREF(Py_None); resultobj = Py_None;
16299 {
16300 PyObject *o = PyInt_FromLong((long) (*arg2));
16301 resultobj = t_output_helper(resultobj,o);
16302 }
16303 {
16304 PyObject *o = PyInt_FromLong((long) (*arg3));
16305 resultobj = t_output_helper(resultobj,o);
16306 }
16307 return resultobj;
16308 fail:
16309 return NULL;
16310 }
16311
16312
16313 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16314 PyObject *resultobj;
16315 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16316 int *arg2 = (int *) 0 ;
16317 int *arg3 = (int *) 0 ;
16318 int temp2 ;
16319 int temp3 ;
16320 PyObject * obj0 = 0 ;
16321 char *kwnames[] = {
16322 (char *) "self", NULL
16323 };
16324
16325 arg2 = &temp2;
16326 arg3 = &temp3;
16327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16330 {
16331 PyThreadState* __tstate = wxPyBeginAllowThreads();
16332 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16333
16334 wxPyEndAllowThreads(__tstate);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
16337 Py_INCREF(Py_None); resultobj = Py_None;
16338 {
16339 PyObject *o = PyInt_FromLong((long) (*arg2));
16340 resultobj = t_output_helper(resultobj,o);
16341 }
16342 {
16343 PyObject *o = PyInt_FromLong((long) (*arg3));
16344 resultobj = t_output_helper(resultobj,o);
16345 }
16346 return resultobj;
16347 fail:
16348 return NULL;
16349 }
16350
16351
16352 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16353 PyObject *resultobj;
16354 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16355 int *arg2 = (int *) 0 ;
16356 int *arg3 = (int *) 0 ;
16357 int temp2 ;
16358 int temp3 ;
16359 PyObject * obj0 = 0 ;
16360 char *kwnames[] = {
16361 (char *) "self", NULL
16362 };
16363
16364 arg2 = &temp2;
16365 arg3 = &temp3;
16366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16369 {
16370 PyThreadState* __tstate = wxPyBeginAllowThreads();
16371 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16372
16373 wxPyEndAllowThreads(__tstate);
16374 if (PyErr_Occurred()) SWIG_fail;
16375 }
16376 Py_INCREF(Py_None); resultobj = Py_None;
16377 {
16378 PyObject *o = PyInt_FromLong((long) (*arg2));
16379 resultobj = t_output_helper(resultobj,o);
16380 }
16381 {
16382 PyObject *o = PyInt_FromLong((long) (*arg3));
16383 resultobj = t_output_helper(resultobj,o);
16384 }
16385 return resultobj;
16386 fail:
16387 return NULL;
16388 }
16389
16390
16391 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16392 PyObject *resultobj;
16393 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16394 wxSize result;
16395 PyObject * obj0 = 0 ;
16396 char *kwnames[] = {
16397 (char *) "self", NULL
16398 };
16399
16400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16403 {
16404 PyThreadState* __tstate = wxPyBeginAllowThreads();
16405 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16406
16407 wxPyEndAllowThreads(__tstate);
16408 if (PyErr_Occurred()) SWIG_fail;
16409 }
16410 {
16411 wxSize * resultptr;
16412 resultptr = new wxSize((wxSize &) result);
16413 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16414 }
16415 return resultobj;
16416 fail:
16417 return NULL;
16418 }
16419
16420
16421 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16422 PyObject *resultobj;
16423 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16424 wxSize result;
16425 PyObject * obj0 = 0 ;
16426 char *kwnames[] = {
16427 (char *) "self", NULL
16428 };
16429
16430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16433 {
16434 PyThreadState* __tstate = wxPyBeginAllowThreads();
16435 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16436
16437 wxPyEndAllowThreads(__tstate);
16438 if (PyErr_Occurred()) SWIG_fail;
16439 }
16440 {
16441 wxSize * resultptr;
16442 resultptr = new wxSize((wxSize &) result);
16443 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16444 }
16445 return resultobj;
16446 fail:
16447 return NULL;
16448 }
16449
16450
16451 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16452 PyObject *resultobj;
16453 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16454 PyObject * obj0 = 0 ;
16455 char *kwnames[] = {
16456 (char *) "self", NULL
16457 };
16458
16459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16462 {
16463 PyThreadState* __tstate = wxPyBeginAllowThreads();
16464 (arg1)->base_InitDialog();
16465
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
16469 Py_INCREF(Py_None); resultobj = Py_None;
16470 return resultobj;
16471 fail:
16472 return NULL;
16473 }
16474
16475
16476 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj;
16478 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16479 bool result;
16480 PyObject * obj0 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self", NULL
16483 };
16484
16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16488 {
16489 PyThreadState* __tstate = wxPyBeginAllowThreads();
16490 result = (bool)(arg1)->base_TransferDataToWindow();
16491
16492 wxPyEndAllowThreads(__tstate);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
16495 {
16496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16497 }
16498 return resultobj;
16499 fail:
16500 return NULL;
16501 }
16502
16503
16504 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16505 PyObject *resultobj;
16506 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16507 bool result;
16508 PyObject * obj0 = 0 ;
16509 char *kwnames[] = {
16510 (char *) "self", NULL
16511 };
16512
16513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16516 {
16517 PyThreadState* __tstate = wxPyBeginAllowThreads();
16518 result = (bool)(arg1)->base_TransferDataFromWindow();
16519
16520 wxPyEndAllowThreads(__tstate);
16521 if (PyErr_Occurred()) SWIG_fail;
16522 }
16523 {
16524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16525 }
16526 return resultobj;
16527 fail:
16528 return NULL;
16529 }
16530
16531
16532 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16533 PyObject *resultobj;
16534 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16535 bool result;
16536 PyObject * obj0 = 0 ;
16537 char *kwnames[] = {
16538 (char *) "self", NULL
16539 };
16540
16541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16544 {
16545 PyThreadState* __tstate = wxPyBeginAllowThreads();
16546 result = (bool)(arg1)->base_Validate();
16547
16548 wxPyEndAllowThreads(__tstate);
16549 if (PyErr_Occurred()) SWIG_fail;
16550 }
16551 {
16552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16553 }
16554 return resultobj;
16555 fail:
16556 return NULL;
16557 }
16558
16559
16560 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16561 PyObject *resultobj;
16562 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16563 bool result;
16564 PyObject * obj0 = 0 ;
16565 char *kwnames[] = {
16566 (char *) "self", NULL
16567 };
16568
16569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16572 {
16573 PyThreadState* __tstate = wxPyBeginAllowThreads();
16574 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16575
16576 wxPyEndAllowThreads(__tstate);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
16579 {
16580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16581 }
16582 return resultobj;
16583 fail:
16584 return NULL;
16585 }
16586
16587
16588 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16589 PyObject *resultobj;
16590 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16591 bool result;
16592 PyObject * obj0 = 0 ;
16593 char *kwnames[] = {
16594 (char *) "self", NULL
16595 };
16596
16597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16603
16604 wxPyEndAllowThreads(__tstate);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 }
16607 {
16608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16609 }
16610 return resultobj;
16611 fail:
16612 return NULL;
16613 }
16614
16615
16616 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16617 PyObject *resultobj;
16618 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16619 wxSize result;
16620 PyObject * obj0 = 0 ;
16621 char *kwnames[] = {
16622 (char *) "self", NULL
16623 };
16624
16625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16631
16632 wxPyEndAllowThreads(__tstate);
16633 if (PyErr_Occurred()) SWIG_fail;
16634 }
16635 {
16636 wxSize * resultptr;
16637 resultptr = new wxSize((wxSize &) result);
16638 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16639 }
16640 return resultobj;
16641 fail:
16642 return NULL;
16643 }
16644
16645
16646 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16647 PyObject *resultobj;
16648 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16649 wxWindow *arg2 = (wxWindow *) 0 ;
16650 PyObject * obj0 = 0 ;
16651 PyObject * obj1 = 0 ;
16652 char *kwnames[] = {
16653 (char *) "self",(char *) "child", NULL
16654 };
16655
16656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16659 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16661 {
16662 PyThreadState* __tstate = wxPyBeginAllowThreads();
16663 (arg1)->base_AddChild(arg2);
16664
16665 wxPyEndAllowThreads(__tstate);
16666 if (PyErr_Occurred()) SWIG_fail;
16667 }
16668 Py_INCREF(Py_None); resultobj = Py_None;
16669 return resultobj;
16670 fail:
16671 return NULL;
16672 }
16673
16674
16675 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16676 PyObject *resultobj;
16677 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16678 wxWindow *arg2 = (wxWindow *) 0 ;
16679 PyObject * obj0 = 0 ;
16680 PyObject * obj1 = 0 ;
16681 char *kwnames[] = {
16682 (char *) "self",(char *) "child", NULL
16683 };
16684
16685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16688 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16690 {
16691 PyThreadState* __tstate = wxPyBeginAllowThreads();
16692 (arg1)->base_RemoveChild(arg2);
16693
16694 wxPyEndAllowThreads(__tstate);
16695 if (PyErr_Occurred()) SWIG_fail;
16696 }
16697 Py_INCREF(Py_None); resultobj = Py_None;
16698 return resultobj;
16699 fail:
16700 return NULL;
16701 }
16702
16703
16704 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16705 PyObject *resultobj;
16706 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16707 bool result;
16708 PyObject * obj0 = 0 ;
16709 char *kwnames[] = {
16710 (char *) "self", NULL
16711 };
16712
16713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16716 {
16717 PyThreadState* __tstate = wxPyBeginAllowThreads();
16718 result = (bool)(arg1)->base_ShouldInheritColours();
16719
16720 wxPyEndAllowThreads(__tstate);
16721 if (PyErr_Occurred()) SWIG_fail;
16722 }
16723 {
16724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16725 }
16726 return resultobj;
16727 fail:
16728 return NULL;
16729 }
16730
16731
16732 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16733 PyObject *resultobj;
16734 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16735 wxColour *arg2 = 0 ;
16736 wxColour temp2 ;
16737 PyObject * obj0 = 0 ;
16738 PyObject * obj1 = 0 ;
16739 char *kwnames[] = {
16740 (char *) "self",(char *) "c", NULL
16741 };
16742
16743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16746 {
16747 arg2 = &temp2;
16748 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16749 }
16750 {
16751 PyThreadState* __tstate = wxPyBeginAllowThreads();
16752 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16753
16754 wxPyEndAllowThreads(__tstate);
16755 if (PyErr_Occurred()) SWIG_fail;
16756 }
16757 Py_INCREF(Py_None); resultobj = Py_None;
16758 return resultobj;
16759 fail:
16760 return NULL;
16761 }
16762
16763
16764 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16765 PyObject *obj;
16766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16767 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16768 Py_INCREF(obj);
16769 return Py_BuildValue((char *)"");
16770 }
16771 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16772 PyObject *resultobj;
16773 wxWindow *arg1 = (wxWindow *) 0 ;
16774 int arg2 ;
16775 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16776 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16777 wxSize const &arg4_defvalue = wxDefaultSize ;
16778 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16779 long arg5 = (long) 0 ;
16780 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16781 wxString *arg6 = (wxString *) &arg6_defvalue ;
16782 wxPyScrolledWindow *result;
16783 wxPoint temp3 ;
16784 wxSize temp4 ;
16785 bool temp6 = False ;
16786 PyObject * obj0 = 0 ;
16787 PyObject * obj1 = 0 ;
16788 PyObject * obj2 = 0 ;
16789 PyObject * obj3 = 0 ;
16790 PyObject * obj4 = 0 ;
16791 PyObject * obj5 = 0 ;
16792 char *kwnames[] = {
16793 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16794 };
16795
16796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16799 arg2 = (int const) SWIG_AsInt(obj1);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 if (obj2) {
16802 {
16803 arg3 = &temp3;
16804 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16805 }
16806 }
16807 if (obj3) {
16808 {
16809 arg4 = &temp4;
16810 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16811 }
16812 }
16813 if (obj4) {
16814 arg5 = (long) SWIG_AsLong(obj4);
16815 if (PyErr_Occurred()) SWIG_fail;
16816 }
16817 if (obj5) {
16818 {
16819 arg6 = wxString_in_helper(obj5);
16820 if (arg6 == NULL) SWIG_fail;
16821 temp6 = True;
16822 }
16823 }
16824 {
16825 PyThreadState* __tstate = wxPyBeginAllowThreads();
16826 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16827
16828 wxPyEndAllowThreads(__tstate);
16829 if (PyErr_Occurred()) SWIG_fail;
16830 }
16831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16832 {
16833 if (temp6)
16834 delete arg6;
16835 }
16836 return resultobj;
16837 fail:
16838 {
16839 if (temp6)
16840 delete arg6;
16841 }
16842 return NULL;
16843 }
16844
16845
16846 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16847 PyObject *resultobj;
16848 wxPyScrolledWindow *result;
16849 char *kwnames[] = {
16850 NULL
16851 };
16852
16853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16854 {
16855 PyThreadState* __tstate = wxPyBeginAllowThreads();
16856 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16857
16858 wxPyEndAllowThreads(__tstate);
16859 if (PyErr_Occurred()) SWIG_fail;
16860 }
16861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16862 return resultobj;
16863 fail:
16864 return NULL;
16865 }
16866
16867
16868 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16869 PyObject *resultobj;
16870 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16871 PyObject *arg2 = (PyObject *) 0 ;
16872 PyObject *arg3 = (PyObject *) 0 ;
16873 PyObject * obj0 = 0 ;
16874 PyObject * obj1 = 0 ;
16875 PyObject * obj2 = 0 ;
16876 char *kwnames[] = {
16877 (char *) "self",(char *) "self",(char *) "_class", NULL
16878 };
16879
16880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16883 arg2 = obj1;
16884 arg3 = obj2;
16885 {
16886 PyThreadState* __tstate = wxPyBeginAllowThreads();
16887 (arg1)->_setCallbackInfo(arg2,arg3);
16888
16889 wxPyEndAllowThreads(__tstate);
16890 if (PyErr_Occurred()) SWIG_fail;
16891 }
16892 Py_INCREF(Py_None); resultobj = Py_None;
16893 return resultobj;
16894 fail:
16895 return NULL;
16896 }
16897
16898
16899 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16900 PyObject *resultobj;
16901 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16902 int arg2 ;
16903 int arg3 ;
16904 int arg4 ;
16905 int arg5 ;
16906 PyObject * obj0 = 0 ;
16907 PyObject * obj1 = 0 ;
16908 PyObject * obj2 = 0 ;
16909 PyObject * obj3 = 0 ;
16910 PyObject * obj4 = 0 ;
16911 char *kwnames[] = {
16912 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16913 };
16914
16915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16918 arg2 = (int) SWIG_AsInt(obj1);
16919 if (PyErr_Occurred()) SWIG_fail;
16920 arg3 = (int) SWIG_AsInt(obj2);
16921 if (PyErr_Occurred()) SWIG_fail;
16922 arg4 = (int) SWIG_AsInt(obj3);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 arg5 = (int) SWIG_AsInt(obj4);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 {
16927 PyThreadState* __tstate = wxPyBeginAllowThreads();
16928 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16929
16930 wxPyEndAllowThreads(__tstate);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 }
16933 Py_INCREF(Py_None); resultobj = Py_None;
16934 return resultobj;
16935 fail:
16936 return NULL;
16937 }
16938
16939
16940 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16941 PyObject *resultobj;
16942 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16943 int arg2 ;
16944 int arg3 ;
16945 int arg4 ;
16946 int arg5 ;
16947 int arg6 = (int) wxSIZE_AUTO ;
16948 PyObject * obj0 = 0 ;
16949 PyObject * obj1 = 0 ;
16950 PyObject * obj2 = 0 ;
16951 PyObject * obj3 = 0 ;
16952 PyObject * obj4 = 0 ;
16953 PyObject * obj5 = 0 ;
16954 char *kwnames[] = {
16955 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16956 };
16957
16958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16961 arg2 = (int) SWIG_AsInt(obj1);
16962 if (PyErr_Occurred()) SWIG_fail;
16963 arg3 = (int) SWIG_AsInt(obj2);
16964 if (PyErr_Occurred()) SWIG_fail;
16965 arg4 = (int) SWIG_AsInt(obj3);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 arg5 = (int) SWIG_AsInt(obj4);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 if (obj5) {
16970 arg6 = (int) SWIG_AsInt(obj5);
16971 if (PyErr_Occurred()) SWIG_fail;
16972 }
16973 {
16974 PyThreadState* __tstate = wxPyBeginAllowThreads();
16975 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16976
16977 wxPyEndAllowThreads(__tstate);
16978 if (PyErr_Occurred()) SWIG_fail;
16979 }
16980 Py_INCREF(Py_None); resultobj = Py_None;
16981 return resultobj;
16982 fail:
16983 return NULL;
16984 }
16985
16986
16987 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16988 PyObject *resultobj;
16989 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16990 int arg2 ;
16991 int arg3 ;
16992 PyObject * obj0 = 0 ;
16993 PyObject * obj1 = 0 ;
16994 PyObject * obj2 = 0 ;
16995 char *kwnames[] = {
16996 (char *) "self",(char *) "width",(char *) "height", NULL
16997 };
16998
16999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17002 arg2 = (int) SWIG_AsInt(obj1);
17003 if (PyErr_Occurred()) SWIG_fail;
17004 arg3 = (int) SWIG_AsInt(obj2);
17005 if (PyErr_Occurred()) SWIG_fail;
17006 {
17007 PyThreadState* __tstate = wxPyBeginAllowThreads();
17008 (arg1)->base_DoSetClientSize(arg2,arg3);
17009
17010 wxPyEndAllowThreads(__tstate);
17011 if (PyErr_Occurred()) SWIG_fail;
17012 }
17013 Py_INCREF(Py_None); resultobj = Py_None;
17014 return resultobj;
17015 fail:
17016 return NULL;
17017 }
17018
17019
17020 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17021 PyObject *resultobj;
17022 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17023 int arg2 ;
17024 int arg3 ;
17025 PyObject * obj0 = 0 ;
17026 PyObject * obj1 = 0 ;
17027 PyObject * obj2 = 0 ;
17028 char *kwnames[] = {
17029 (char *) "self",(char *) "x",(char *) "y", NULL
17030 };
17031
17032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17035 arg2 = (int) SWIG_AsInt(obj1);
17036 if (PyErr_Occurred()) SWIG_fail;
17037 arg3 = (int) SWIG_AsInt(obj2);
17038 if (PyErr_Occurred()) SWIG_fail;
17039 {
17040 PyThreadState* __tstate = wxPyBeginAllowThreads();
17041 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17042
17043 wxPyEndAllowThreads(__tstate);
17044 if (PyErr_Occurred()) SWIG_fail;
17045 }
17046 Py_INCREF(Py_None); resultobj = Py_None;
17047 return resultobj;
17048 fail:
17049 return NULL;
17050 }
17051
17052
17053 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17054 PyObject *resultobj;
17055 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17056 int *arg2 = (int *) 0 ;
17057 int *arg3 = (int *) 0 ;
17058 int temp2 ;
17059 int temp3 ;
17060 PyObject * obj0 = 0 ;
17061 char *kwnames[] = {
17062 (char *) "self", NULL
17063 };
17064
17065 arg2 = &temp2;
17066 arg3 = &temp3;
17067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17070 {
17071 PyThreadState* __tstate = wxPyBeginAllowThreads();
17072 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17073
17074 wxPyEndAllowThreads(__tstate);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 Py_INCREF(Py_None); resultobj = Py_None;
17078 {
17079 PyObject *o = PyInt_FromLong((long) (*arg2));
17080 resultobj = t_output_helper(resultobj,o);
17081 }
17082 {
17083 PyObject *o = PyInt_FromLong((long) (*arg3));
17084 resultobj = t_output_helper(resultobj,o);
17085 }
17086 return resultobj;
17087 fail:
17088 return NULL;
17089 }
17090
17091
17092 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17093 PyObject *resultobj;
17094 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17095 int *arg2 = (int *) 0 ;
17096 int *arg3 = (int *) 0 ;
17097 int temp2 ;
17098 int temp3 ;
17099 PyObject * obj0 = 0 ;
17100 char *kwnames[] = {
17101 (char *) "self", NULL
17102 };
17103
17104 arg2 = &temp2;
17105 arg3 = &temp3;
17106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17109 {
17110 PyThreadState* __tstate = wxPyBeginAllowThreads();
17111 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17112
17113 wxPyEndAllowThreads(__tstate);
17114 if (PyErr_Occurred()) SWIG_fail;
17115 }
17116 Py_INCREF(Py_None); resultobj = Py_None;
17117 {
17118 PyObject *o = PyInt_FromLong((long) (*arg2));
17119 resultobj = t_output_helper(resultobj,o);
17120 }
17121 {
17122 PyObject *o = PyInt_FromLong((long) (*arg3));
17123 resultobj = t_output_helper(resultobj,o);
17124 }
17125 return resultobj;
17126 fail:
17127 return NULL;
17128 }
17129
17130
17131 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17132 PyObject *resultobj;
17133 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17134 int *arg2 = (int *) 0 ;
17135 int *arg3 = (int *) 0 ;
17136 int temp2 ;
17137 int temp3 ;
17138 PyObject * obj0 = 0 ;
17139 char *kwnames[] = {
17140 (char *) "self", NULL
17141 };
17142
17143 arg2 = &temp2;
17144 arg3 = &temp3;
17145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17148 {
17149 PyThreadState* __tstate = wxPyBeginAllowThreads();
17150 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17151
17152 wxPyEndAllowThreads(__tstate);
17153 if (PyErr_Occurred()) SWIG_fail;
17154 }
17155 Py_INCREF(Py_None); resultobj = Py_None;
17156 {
17157 PyObject *o = PyInt_FromLong((long) (*arg2));
17158 resultobj = t_output_helper(resultobj,o);
17159 }
17160 {
17161 PyObject *o = PyInt_FromLong((long) (*arg3));
17162 resultobj = t_output_helper(resultobj,o);
17163 }
17164 return resultobj;
17165 fail:
17166 return NULL;
17167 }
17168
17169
17170 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17171 PyObject *resultobj;
17172 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17173 wxSize result;
17174 PyObject * obj0 = 0 ;
17175 char *kwnames[] = {
17176 (char *) "self", NULL
17177 };
17178
17179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17182 {
17183 PyThreadState* __tstate = wxPyBeginAllowThreads();
17184 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17185
17186 wxPyEndAllowThreads(__tstate);
17187 if (PyErr_Occurred()) SWIG_fail;
17188 }
17189 {
17190 wxSize * resultptr;
17191 resultptr = new wxSize((wxSize &) result);
17192 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17193 }
17194 return resultobj;
17195 fail:
17196 return NULL;
17197 }
17198
17199
17200 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17201 PyObject *resultobj;
17202 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17203 wxSize result;
17204 PyObject * obj0 = 0 ;
17205 char *kwnames[] = {
17206 (char *) "self", NULL
17207 };
17208
17209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17212 {
17213 PyThreadState* __tstate = wxPyBeginAllowThreads();
17214 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17215
17216 wxPyEndAllowThreads(__tstate);
17217 if (PyErr_Occurred()) SWIG_fail;
17218 }
17219 {
17220 wxSize * resultptr;
17221 resultptr = new wxSize((wxSize &) result);
17222 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17223 }
17224 return resultobj;
17225 fail:
17226 return NULL;
17227 }
17228
17229
17230 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17231 PyObject *resultobj;
17232 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17233 PyObject * obj0 = 0 ;
17234 char *kwnames[] = {
17235 (char *) "self", NULL
17236 };
17237
17238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17241 {
17242 PyThreadState* __tstate = wxPyBeginAllowThreads();
17243 (arg1)->base_InitDialog();
17244
17245 wxPyEndAllowThreads(__tstate);
17246 if (PyErr_Occurred()) SWIG_fail;
17247 }
17248 Py_INCREF(Py_None); resultobj = Py_None;
17249 return resultobj;
17250 fail:
17251 return NULL;
17252 }
17253
17254
17255 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17256 PyObject *resultobj;
17257 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17258 bool result;
17259 PyObject * obj0 = 0 ;
17260 char *kwnames[] = {
17261 (char *) "self", NULL
17262 };
17263
17264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17267 {
17268 PyThreadState* __tstate = wxPyBeginAllowThreads();
17269 result = (bool)(arg1)->base_TransferDataToWindow();
17270
17271 wxPyEndAllowThreads(__tstate);
17272 if (PyErr_Occurred()) SWIG_fail;
17273 }
17274 {
17275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17276 }
17277 return resultobj;
17278 fail:
17279 return NULL;
17280 }
17281
17282
17283 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17284 PyObject *resultobj;
17285 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17286 bool result;
17287 PyObject * obj0 = 0 ;
17288 char *kwnames[] = {
17289 (char *) "self", NULL
17290 };
17291
17292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17295 {
17296 PyThreadState* __tstate = wxPyBeginAllowThreads();
17297 result = (bool)(arg1)->base_TransferDataFromWindow();
17298
17299 wxPyEndAllowThreads(__tstate);
17300 if (PyErr_Occurred()) SWIG_fail;
17301 }
17302 {
17303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17304 }
17305 return resultobj;
17306 fail:
17307 return NULL;
17308 }
17309
17310
17311 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17312 PyObject *resultobj;
17313 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17314 bool result;
17315 PyObject * obj0 = 0 ;
17316 char *kwnames[] = {
17317 (char *) "self", NULL
17318 };
17319
17320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17323 {
17324 PyThreadState* __tstate = wxPyBeginAllowThreads();
17325 result = (bool)(arg1)->base_Validate();
17326
17327 wxPyEndAllowThreads(__tstate);
17328 if (PyErr_Occurred()) SWIG_fail;
17329 }
17330 {
17331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17332 }
17333 return resultobj;
17334 fail:
17335 return NULL;
17336 }
17337
17338
17339 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17340 PyObject *resultobj;
17341 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17342 bool result;
17343 PyObject * obj0 = 0 ;
17344 char *kwnames[] = {
17345 (char *) "self", NULL
17346 };
17347
17348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17351 {
17352 PyThreadState* __tstate = wxPyBeginAllowThreads();
17353 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17354
17355 wxPyEndAllowThreads(__tstate);
17356 if (PyErr_Occurred()) SWIG_fail;
17357 }
17358 {
17359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17360 }
17361 return resultobj;
17362 fail:
17363 return NULL;
17364 }
17365
17366
17367 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17368 PyObject *resultobj;
17369 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17370 bool result;
17371 PyObject * obj0 = 0 ;
17372 char *kwnames[] = {
17373 (char *) "self", NULL
17374 };
17375
17376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17379 {
17380 PyThreadState* __tstate = wxPyBeginAllowThreads();
17381 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17382
17383 wxPyEndAllowThreads(__tstate);
17384 if (PyErr_Occurred()) SWIG_fail;
17385 }
17386 {
17387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17388 }
17389 return resultobj;
17390 fail:
17391 return NULL;
17392 }
17393
17394
17395 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17396 PyObject *resultobj;
17397 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17398 wxSize result;
17399 PyObject * obj0 = 0 ;
17400 char *kwnames[] = {
17401 (char *) "self", NULL
17402 };
17403
17404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17407 {
17408 PyThreadState* __tstate = wxPyBeginAllowThreads();
17409 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17410
17411 wxPyEndAllowThreads(__tstate);
17412 if (PyErr_Occurred()) SWIG_fail;
17413 }
17414 {
17415 wxSize * resultptr;
17416 resultptr = new wxSize((wxSize &) result);
17417 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17418 }
17419 return resultobj;
17420 fail:
17421 return NULL;
17422 }
17423
17424
17425 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17426 PyObject *resultobj;
17427 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17428 wxWindow *arg2 = (wxWindow *) 0 ;
17429 PyObject * obj0 = 0 ;
17430 PyObject * obj1 = 0 ;
17431 char *kwnames[] = {
17432 (char *) "self",(char *) "child", NULL
17433 };
17434
17435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17438 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17440 {
17441 PyThreadState* __tstate = wxPyBeginAllowThreads();
17442 (arg1)->base_AddChild(arg2);
17443
17444 wxPyEndAllowThreads(__tstate);
17445 if (PyErr_Occurred()) SWIG_fail;
17446 }
17447 Py_INCREF(Py_None); resultobj = Py_None;
17448 return resultobj;
17449 fail:
17450 return NULL;
17451 }
17452
17453
17454 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17455 PyObject *resultobj;
17456 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17457 wxWindow *arg2 = (wxWindow *) 0 ;
17458 PyObject * obj0 = 0 ;
17459 PyObject * obj1 = 0 ;
17460 char *kwnames[] = {
17461 (char *) "self",(char *) "child", NULL
17462 };
17463
17464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17469 {
17470 PyThreadState* __tstate = wxPyBeginAllowThreads();
17471 (arg1)->base_RemoveChild(arg2);
17472
17473 wxPyEndAllowThreads(__tstate);
17474 if (PyErr_Occurred()) SWIG_fail;
17475 }
17476 Py_INCREF(Py_None); resultobj = Py_None;
17477 return resultobj;
17478 fail:
17479 return NULL;
17480 }
17481
17482
17483 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17484 PyObject *resultobj;
17485 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17486 bool result;
17487 PyObject * obj0 = 0 ;
17488 char *kwnames[] = {
17489 (char *) "self", NULL
17490 };
17491
17492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17495 {
17496 PyThreadState* __tstate = wxPyBeginAllowThreads();
17497 result = (bool)(arg1)->base_ShouldInheritColours();
17498
17499 wxPyEndAllowThreads(__tstate);
17500 if (PyErr_Occurred()) SWIG_fail;
17501 }
17502 {
17503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17504 }
17505 return resultobj;
17506 fail:
17507 return NULL;
17508 }
17509
17510
17511 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17512 PyObject *resultobj;
17513 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17514 wxColour *arg2 = 0 ;
17515 wxColour temp2 ;
17516 PyObject * obj0 = 0 ;
17517 PyObject * obj1 = 0 ;
17518 char *kwnames[] = {
17519 (char *) "self",(char *) "c", NULL
17520 };
17521
17522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17525 {
17526 arg2 = &temp2;
17527 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17528 }
17529 {
17530 PyThreadState* __tstate = wxPyBeginAllowThreads();
17531 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17532
17533 wxPyEndAllowThreads(__tstate);
17534 if (PyErr_Occurred()) SWIG_fail;
17535 }
17536 Py_INCREF(Py_None); resultobj = Py_None;
17537 return resultobj;
17538 fail:
17539 return NULL;
17540 }
17541
17542
17543 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17544 PyObject *obj;
17545 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17546 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17547 Py_INCREF(obj);
17548 return Py_BuildValue((char *)"");
17549 }
17550 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17551 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17552 return 1;
17553 }
17554
17555
17556 static PyObject *_wrap_PrintoutTitleStr_get() {
17557 PyObject *pyobj;
17558
17559 {
17560 #if wxUSE_UNICODE
17561 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17562 #else
17563 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17564 #endif
17565 }
17566 return pyobj;
17567 }
17568
17569
17570 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17571 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17572 return 1;
17573 }
17574
17575
17576 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17577 PyObject *pyobj;
17578
17579 {
17580 #if wxUSE_UNICODE
17581 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17582 #else
17583 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17584 #endif
17585 }
17586 return pyobj;
17587 }
17588
17589
17590 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17591 PyObject *resultobj;
17592 wxPrintData *result;
17593 char *kwnames[] = {
17594 NULL
17595 };
17596
17597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17598 {
17599 PyThreadState* __tstate = wxPyBeginAllowThreads();
17600 result = (wxPrintData *)new wxPrintData();
17601
17602 wxPyEndAllowThreads(__tstate);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 }
17605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17606 return resultobj;
17607 fail:
17608 return NULL;
17609 }
17610
17611
17612 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17613 PyObject *resultobj;
17614 wxPrintData *arg1 = (wxPrintData *) 0 ;
17615 PyObject * obj0 = 0 ;
17616 char *kwnames[] = {
17617 (char *) "self", NULL
17618 };
17619
17620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17623 {
17624 PyThreadState* __tstate = wxPyBeginAllowThreads();
17625 delete arg1;
17626
17627 wxPyEndAllowThreads(__tstate);
17628 if (PyErr_Occurred()) SWIG_fail;
17629 }
17630 Py_INCREF(Py_None); resultobj = Py_None;
17631 return resultobj;
17632 fail:
17633 return NULL;
17634 }
17635
17636
17637 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17638 PyObject *resultobj;
17639 wxPrintData *arg1 = (wxPrintData *) 0 ;
17640 int result;
17641 PyObject * obj0 = 0 ;
17642 char *kwnames[] = {
17643 (char *) "self", NULL
17644 };
17645
17646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17649 {
17650 PyThreadState* __tstate = wxPyBeginAllowThreads();
17651 result = (int)(arg1)->GetNoCopies();
17652
17653 wxPyEndAllowThreads(__tstate);
17654 if (PyErr_Occurred()) SWIG_fail;
17655 }
17656 resultobj = SWIG_FromInt((int)result);
17657 return resultobj;
17658 fail:
17659 return NULL;
17660 }
17661
17662
17663 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17664 PyObject *resultobj;
17665 wxPrintData *arg1 = (wxPrintData *) 0 ;
17666 bool result;
17667 PyObject * obj0 = 0 ;
17668 char *kwnames[] = {
17669 (char *) "self", NULL
17670 };
17671
17672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17675 {
17676 PyThreadState* __tstate = wxPyBeginAllowThreads();
17677 result = (bool)(arg1)->GetCollate();
17678
17679 wxPyEndAllowThreads(__tstate);
17680 if (PyErr_Occurred()) SWIG_fail;
17681 }
17682 {
17683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17684 }
17685 return resultobj;
17686 fail:
17687 return NULL;
17688 }
17689
17690
17691 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17692 PyObject *resultobj;
17693 wxPrintData *arg1 = (wxPrintData *) 0 ;
17694 int result;
17695 PyObject * obj0 = 0 ;
17696 char *kwnames[] = {
17697 (char *) "self", NULL
17698 };
17699
17700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17703 {
17704 PyThreadState* __tstate = wxPyBeginAllowThreads();
17705 result = (int)(arg1)->GetOrientation();
17706
17707 wxPyEndAllowThreads(__tstate);
17708 if (PyErr_Occurred()) SWIG_fail;
17709 }
17710 resultobj = SWIG_FromInt((int)result);
17711 return resultobj;
17712 fail:
17713 return NULL;
17714 }
17715
17716
17717 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17718 PyObject *resultobj;
17719 wxPrintData *arg1 = (wxPrintData *) 0 ;
17720 bool result;
17721 PyObject * obj0 = 0 ;
17722 char *kwnames[] = {
17723 (char *) "self", NULL
17724 };
17725
17726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17729 {
17730 PyThreadState* __tstate = wxPyBeginAllowThreads();
17731 result = (bool)(arg1)->Ok();
17732
17733 wxPyEndAllowThreads(__tstate);
17734 if (PyErr_Occurred()) SWIG_fail;
17735 }
17736 {
17737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17738 }
17739 return resultobj;
17740 fail:
17741 return NULL;
17742 }
17743
17744
17745 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17746 PyObject *resultobj;
17747 wxPrintData *arg1 = (wxPrintData *) 0 ;
17748 wxString *result;
17749 PyObject * obj0 = 0 ;
17750 char *kwnames[] = {
17751 (char *) "self", NULL
17752 };
17753
17754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17757 {
17758 PyThreadState* __tstate = wxPyBeginAllowThreads();
17759 {
17760 wxString const &_result_ref = (arg1)->GetPrinterName();
17761 result = (wxString *) &_result_ref;
17762 }
17763
17764 wxPyEndAllowThreads(__tstate);
17765 if (PyErr_Occurred()) SWIG_fail;
17766 }
17767 {
17768 #if wxUSE_UNICODE
17769 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17770 #else
17771 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17772 #endif
17773 }
17774 return resultobj;
17775 fail:
17776 return NULL;
17777 }
17778
17779
17780 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17781 PyObject *resultobj;
17782 wxPrintData *arg1 = (wxPrintData *) 0 ;
17783 bool result;
17784 PyObject * obj0 = 0 ;
17785 char *kwnames[] = {
17786 (char *) "self", NULL
17787 };
17788
17789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17792 {
17793 PyThreadState* __tstate = wxPyBeginAllowThreads();
17794 result = (bool)(arg1)->GetColour();
17795
17796 wxPyEndAllowThreads(__tstate);
17797 if (PyErr_Occurred()) SWIG_fail;
17798 }
17799 {
17800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17801 }
17802 return resultobj;
17803 fail:
17804 return NULL;
17805 }
17806
17807
17808 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17809 PyObject *resultobj;
17810 wxPrintData *arg1 = (wxPrintData *) 0 ;
17811 int result;
17812 PyObject * obj0 = 0 ;
17813 char *kwnames[] = {
17814 (char *) "self", NULL
17815 };
17816
17817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17820 {
17821 PyThreadState* __tstate = wxPyBeginAllowThreads();
17822 result = (int)(arg1)->GetDuplex();
17823
17824 wxPyEndAllowThreads(__tstate);
17825 if (PyErr_Occurred()) SWIG_fail;
17826 }
17827 resultobj = SWIG_FromInt((int)result);
17828 return resultobj;
17829 fail:
17830 return NULL;
17831 }
17832
17833
17834 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17835 PyObject *resultobj;
17836 wxPrintData *arg1 = (wxPrintData *) 0 ;
17837 int result;
17838 PyObject * obj0 = 0 ;
17839 char *kwnames[] = {
17840 (char *) "self", NULL
17841 };
17842
17843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17846 {
17847 PyThreadState* __tstate = wxPyBeginAllowThreads();
17848 result = (int)(arg1)->GetPaperId();
17849
17850 wxPyEndAllowThreads(__tstate);
17851 if (PyErr_Occurred()) SWIG_fail;
17852 }
17853 resultobj = SWIG_FromInt((int)result);
17854 return resultobj;
17855 fail:
17856 return NULL;
17857 }
17858
17859
17860 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17861 PyObject *resultobj;
17862 wxPrintData *arg1 = (wxPrintData *) 0 ;
17863 wxSize *result;
17864 PyObject * obj0 = 0 ;
17865 char *kwnames[] = {
17866 (char *) "self", NULL
17867 };
17868
17869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
17870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17872 {
17873 PyThreadState* __tstate = wxPyBeginAllowThreads();
17874 {
17875 wxSize const &_result_ref = (arg1)->GetPaperSize();
17876 result = (wxSize *) &_result_ref;
17877 }
17878
17879 wxPyEndAllowThreads(__tstate);
17880 if (PyErr_Occurred()) SWIG_fail;
17881 }
17882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
17883 return resultobj;
17884 fail:
17885 return NULL;
17886 }
17887
17888
17889 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17890 PyObject *resultobj;
17891 wxPrintData *arg1 = (wxPrintData *) 0 ;
17892 int result;
17893 PyObject * obj0 = 0 ;
17894 char *kwnames[] = {
17895 (char *) "self", NULL
17896 };
17897
17898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
17899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17901 {
17902 PyThreadState* __tstate = wxPyBeginAllowThreads();
17903 result = (int)(arg1)->GetQuality();
17904
17905 wxPyEndAllowThreads(__tstate);
17906 if (PyErr_Occurred()) SWIG_fail;
17907 }
17908 resultobj = SWIG_FromInt((int)result);
17909 return resultobj;
17910 fail:
17911 return NULL;
17912 }
17913
17914
17915 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17916 PyObject *resultobj;
17917 wxPrintData *arg1 = (wxPrintData *) 0 ;
17918 int arg2 ;
17919 PyObject * obj0 = 0 ;
17920 PyObject * obj1 = 0 ;
17921 char *kwnames[] = {
17922 (char *) "self",(char *) "v", NULL
17923 };
17924
17925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
17926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17928 arg2 = (int) SWIG_AsInt(obj1);
17929 if (PyErr_Occurred()) SWIG_fail;
17930 {
17931 PyThreadState* __tstate = wxPyBeginAllowThreads();
17932 (arg1)->SetNoCopies(arg2);
17933
17934 wxPyEndAllowThreads(__tstate);
17935 if (PyErr_Occurred()) SWIG_fail;
17936 }
17937 Py_INCREF(Py_None); resultobj = Py_None;
17938 return resultobj;
17939 fail:
17940 return NULL;
17941 }
17942
17943
17944 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17945 PyObject *resultobj;
17946 wxPrintData *arg1 = (wxPrintData *) 0 ;
17947 bool arg2 ;
17948 PyObject * obj0 = 0 ;
17949 PyObject * obj1 = 0 ;
17950 char *kwnames[] = {
17951 (char *) "self",(char *) "flag", NULL
17952 };
17953
17954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17957 arg2 = (bool) SWIG_AsBool(obj1);
17958 if (PyErr_Occurred()) SWIG_fail;
17959 {
17960 PyThreadState* __tstate = wxPyBeginAllowThreads();
17961 (arg1)->SetCollate(arg2);
17962
17963 wxPyEndAllowThreads(__tstate);
17964 if (PyErr_Occurred()) SWIG_fail;
17965 }
17966 Py_INCREF(Py_None); resultobj = Py_None;
17967 return resultobj;
17968 fail:
17969 return NULL;
17970 }
17971
17972
17973 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17974 PyObject *resultobj;
17975 wxPrintData *arg1 = (wxPrintData *) 0 ;
17976 int arg2 ;
17977 PyObject * obj0 = 0 ;
17978 PyObject * obj1 = 0 ;
17979 char *kwnames[] = {
17980 (char *) "self",(char *) "orient", NULL
17981 };
17982
17983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
17984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17986 arg2 = (int) SWIG_AsInt(obj1);
17987 if (PyErr_Occurred()) SWIG_fail;
17988 {
17989 PyThreadState* __tstate = wxPyBeginAllowThreads();
17990 (arg1)->SetOrientation(arg2);
17991
17992 wxPyEndAllowThreads(__tstate);
17993 if (PyErr_Occurred()) SWIG_fail;
17994 }
17995 Py_INCREF(Py_None); resultobj = Py_None;
17996 return resultobj;
17997 fail:
17998 return NULL;
17999 }
18000
18001
18002 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18003 PyObject *resultobj;
18004 wxPrintData *arg1 = (wxPrintData *) 0 ;
18005 wxString *arg2 = 0 ;
18006 bool temp2 = False ;
18007 PyObject * obj0 = 0 ;
18008 PyObject * obj1 = 0 ;
18009 char *kwnames[] = {
18010 (char *) "self",(char *) "name", NULL
18011 };
18012
18013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18016 {
18017 arg2 = wxString_in_helper(obj1);
18018 if (arg2 == NULL) SWIG_fail;
18019 temp2 = True;
18020 }
18021 {
18022 PyThreadState* __tstate = wxPyBeginAllowThreads();
18023 (arg1)->SetPrinterName((wxString const &)*arg2);
18024
18025 wxPyEndAllowThreads(__tstate);
18026 if (PyErr_Occurred()) SWIG_fail;
18027 }
18028 Py_INCREF(Py_None); resultobj = Py_None;
18029 {
18030 if (temp2)
18031 delete arg2;
18032 }
18033 return resultobj;
18034 fail:
18035 {
18036 if (temp2)
18037 delete arg2;
18038 }
18039 return NULL;
18040 }
18041
18042
18043 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18044 PyObject *resultobj;
18045 wxPrintData *arg1 = (wxPrintData *) 0 ;
18046 bool arg2 ;
18047 PyObject * obj0 = 0 ;
18048 PyObject * obj1 = 0 ;
18049 char *kwnames[] = {
18050 (char *) "self",(char *) "colour", NULL
18051 };
18052
18053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18056 arg2 = (bool) SWIG_AsBool(obj1);
18057 if (PyErr_Occurred()) SWIG_fail;
18058 {
18059 PyThreadState* __tstate = wxPyBeginAllowThreads();
18060 (arg1)->SetColour(arg2);
18061
18062 wxPyEndAllowThreads(__tstate);
18063 if (PyErr_Occurred()) SWIG_fail;
18064 }
18065 Py_INCREF(Py_None); resultobj = Py_None;
18066 return resultobj;
18067 fail:
18068 return NULL;
18069 }
18070
18071
18072 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18073 PyObject *resultobj;
18074 wxPrintData *arg1 = (wxPrintData *) 0 ;
18075 int arg2 ;
18076 PyObject * obj0 = 0 ;
18077 PyObject * obj1 = 0 ;
18078 char *kwnames[] = {
18079 (char *) "self",(char *) "duplex", NULL
18080 };
18081
18082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18085 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18086 if (PyErr_Occurred()) SWIG_fail;
18087 {
18088 PyThreadState* __tstate = wxPyBeginAllowThreads();
18089 (arg1)->SetDuplex((wxDuplexMode )arg2);
18090
18091 wxPyEndAllowThreads(__tstate);
18092 if (PyErr_Occurred()) SWIG_fail;
18093 }
18094 Py_INCREF(Py_None); resultobj = Py_None;
18095 return resultobj;
18096 fail:
18097 return NULL;
18098 }
18099
18100
18101 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18102 PyObject *resultobj;
18103 wxPrintData *arg1 = (wxPrintData *) 0 ;
18104 int arg2 ;
18105 PyObject * obj0 = 0 ;
18106 PyObject * obj1 = 0 ;
18107 char *kwnames[] = {
18108 (char *) "self",(char *) "sizeId", NULL
18109 };
18110
18111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18114 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18115 if (PyErr_Occurred()) SWIG_fail;
18116 {
18117 PyThreadState* __tstate = wxPyBeginAllowThreads();
18118 (arg1)->SetPaperId((wxPaperSize )arg2);
18119
18120 wxPyEndAllowThreads(__tstate);
18121 if (PyErr_Occurred()) SWIG_fail;
18122 }
18123 Py_INCREF(Py_None); resultobj = Py_None;
18124 return resultobj;
18125 fail:
18126 return NULL;
18127 }
18128
18129
18130 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18131 PyObject *resultobj;
18132 wxPrintData *arg1 = (wxPrintData *) 0 ;
18133 wxSize *arg2 = 0 ;
18134 wxSize temp2 ;
18135 PyObject * obj0 = 0 ;
18136 PyObject * obj1 = 0 ;
18137 char *kwnames[] = {
18138 (char *) "self",(char *) "sz", NULL
18139 };
18140
18141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18144 {
18145 arg2 = &temp2;
18146 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18147 }
18148 {
18149 PyThreadState* __tstate = wxPyBeginAllowThreads();
18150 (arg1)->SetPaperSize((wxSize const &)*arg2);
18151
18152 wxPyEndAllowThreads(__tstate);
18153 if (PyErr_Occurred()) SWIG_fail;
18154 }
18155 Py_INCREF(Py_None); resultobj = Py_None;
18156 return resultobj;
18157 fail:
18158 return NULL;
18159 }
18160
18161
18162 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18163 PyObject *resultobj;
18164 wxPrintData *arg1 = (wxPrintData *) 0 ;
18165 int arg2 ;
18166 PyObject * obj0 = 0 ;
18167 PyObject * obj1 = 0 ;
18168 char *kwnames[] = {
18169 (char *) "self",(char *) "quality", NULL
18170 };
18171
18172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18175 arg2 = (int) SWIG_AsInt(obj1);
18176 if (PyErr_Occurred()) SWIG_fail;
18177 {
18178 PyThreadState* __tstate = wxPyBeginAllowThreads();
18179 (arg1)->SetQuality(arg2);
18180
18181 wxPyEndAllowThreads(__tstate);
18182 if (PyErr_Occurred()) SWIG_fail;
18183 }
18184 Py_INCREF(Py_None); resultobj = Py_None;
18185 return resultobj;
18186 fail:
18187 return NULL;
18188 }
18189
18190
18191 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18192 PyObject *resultobj;
18193 wxPrintData *arg1 = (wxPrintData *) 0 ;
18194 wxString *result;
18195 PyObject * obj0 = 0 ;
18196 char *kwnames[] = {
18197 (char *) "self", NULL
18198 };
18199
18200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18203 {
18204 PyThreadState* __tstate = wxPyBeginAllowThreads();
18205 {
18206 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18207 result = (wxString *) &_result_ref;
18208 }
18209
18210 wxPyEndAllowThreads(__tstate);
18211 if (PyErr_Occurred()) SWIG_fail;
18212 }
18213 {
18214 #if wxUSE_UNICODE
18215 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18216 #else
18217 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18218 #endif
18219 }
18220 return resultobj;
18221 fail:
18222 return NULL;
18223 }
18224
18225
18226 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18227 PyObject *resultobj;
18228 wxPrintData *arg1 = (wxPrintData *) 0 ;
18229 wxString *result;
18230 PyObject * obj0 = 0 ;
18231 char *kwnames[] = {
18232 (char *) "self", NULL
18233 };
18234
18235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18238 {
18239 PyThreadState* __tstate = wxPyBeginAllowThreads();
18240 {
18241 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18242 result = (wxString *) &_result_ref;
18243 }
18244
18245 wxPyEndAllowThreads(__tstate);
18246 if (PyErr_Occurred()) SWIG_fail;
18247 }
18248 {
18249 #if wxUSE_UNICODE
18250 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18251 #else
18252 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18253 #endif
18254 }
18255 return resultobj;
18256 fail:
18257 return NULL;
18258 }
18259
18260
18261 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18262 PyObject *resultobj;
18263 wxPrintData *arg1 = (wxPrintData *) 0 ;
18264 wxString *result;
18265 PyObject * obj0 = 0 ;
18266 char *kwnames[] = {
18267 (char *) "self", NULL
18268 };
18269
18270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18273 {
18274 PyThreadState* __tstate = wxPyBeginAllowThreads();
18275 {
18276 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18277 result = (wxString *) &_result_ref;
18278 }
18279
18280 wxPyEndAllowThreads(__tstate);
18281 if (PyErr_Occurred()) SWIG_fail;
18282 }
18283 {
18284 #if wxUSE_UNICODE
18285 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18286 #else
18287 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18288 #endif
18289 }
18290 return resultobj;
18291 fail:
18292 return NULL;
18293 }
18294
18295
18296 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18297 PyObject *resultobj;
18298 wxPrintData *arg1 = (wxPrintData *) 0 ;
18299 wxString *result;
18300 PyObject * obj0 = 0 ;
18301 char *kwnames[] = {
18302 (char *) "self", NULL
18303 };
18304
18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",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 {
18311 wxString const &_result_ref = (arg1)->GetFilename();
18312 result = (wxString *) &_result_ref;
18313 }
18314
18315 wxPyEndAllowThreads(__tstate);
18316 if (PyErr_Occurred()) SWIG_fail;
18317 }
18318 {
18319 #if wxUSE_UNICODE
18320 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18321 #else
18322 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18323 #endif
18324 }
18325 return resultobj;
18326 fail:
18327 return NULL;
18328 }
18329
18330
18331 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18332 PyObject *resultobj;
18333 wxPrintData *arg1 = (wxPrintData *) 0 ;
18334 wxString *result;
18335 PyObject * obj0 = 0 ;
18336 char *kwnames[] = {
18337 (char *) "self", NULL
18338 };
18339
18340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18343 {
18344 PyThreadState* __tstate = wxPyBeginAllowThreads();
18345 {
18346 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18347 result = (wxString *) &_result_ref;
18348 }
18349
18350 wxPyEndAllowThreads(__tstate);
18351 if (PyErr_Occurred()) SWIG_fail;
18352 }
18353 {
18354 #if wxUSE_UNICODE
18355 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18356 #else
18357 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18358 #endif
18359 }
18360 return resultobj;
18361 fail:
18362 return NULL;
18363 }
18364
18365
18366 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18367 PyObject *resultobj;
18368 wxPrintData *arg1 = (wxPrintData *) 0 ;
18369 double result;
18370 PyObject * obj0 = 0 ;
18371 char *kwnames[] = {
18372 (char *) "self", NULL
18373 };
18374
18375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18378 {
18379 PyThreadState* __tstate = wxPyBeginAllowThreads();
18380 result = (double)(arg1)->GetPrinterScaleX();
18381
18382 wxPyEndAllowThreads(__tstate);
18383 if (PyErr_Occurred()) SWIG_fail;
18384 }
18385 resultobj = SWIG_FromDouble((double)result);
18386 return resultobj;
18387 fail:
18388 return NULL;
18389 }
18390
18391
18392 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18393 PyObject *resultobj;
18394 wxPrintData *arg1 = (wxPrintData *) 0 ;
18395 double result;
18396 PyObject * obj0 = 0 ;
18397 char *kwnames[] = {
18398 (char *) "self", NULL
18399 };
18400
18401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18404 {
18405 PyThreadState* __tstate = wxPyBeginAllowThreads();
18406 result = (double)(arg1)->GetPrinterScaleY();
18407
18408 wxPyEndAllowThreads(__tstate);
18409 if (PyErr_Occurred()) SWIG_fail;
18410 }
18411 resultobj = SWIG_FromDouble((double)result);
18412 return resultobj;
18413 fail:
18414 return NULL;
18415 }
18416
18417
18418 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18419 PyObject *resultobj;
18420 wxPrintData *arg1 = (wxPrintData *) 0 ;
18421 long result;
18422 PyObject * obj0 = 0 ;
18423 char *kwnames[] = {
18424 (char *) "self", NULL
18425 };
18426
18427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18430 {
18431 PyThreadState* __tstate = wxPyBeginAllowThreads();
18432 result = (long)(arg1)->GetPrinterTranslateX();
18433
18434 wxPyEndAllowThreads(__tstate);
18435 if (PyErr_Occurred()) SWIG_fail;
18436 }
18437 resultobj = SWIG_FromLong((long)result);
18438 return resultobj;
18439 fail:
18440 return NULL;
18441 }
18442
18443
18444 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18445 PyObject *resultobj;
18446 wxPrintData *arg1 = (wxPrintData *) 0 ;
18447 long result;
18448 PyObject * obj0 = 0 ;
18449 char *kwnames[] = {
18450 (char *) "self", NULL
18451 };
18452
18453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18456 {
18457 PyThreadState* __tstate = wxPyBeginAllowThreads();
18458 result = (long)(arg1)->GetPrinterTranslateY();
18459
18460 wxPyEndAllowThreads(__tstate);
18461 if (PyErr_Occurred()) SWIG_fail;
18462 }
18463 resultobj = SWIG_FromLong((long)result);
18464 return resultobj;
18465 fail:
18466 return NULL;
18467 }
18468
18469
18470 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18471 PyObject *resultobj;
18472 wxPrintData *arg1 = (wxPrintData *) 0 ;
18473 int result;
18474 PyObject * obj0 = 0 ;
18475 char *kwnames[] = {
18476 (char *) "self", NULL
18477 };
18478
18479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18482 {
18483 PyThreadState* __tstate = wxPyBeginAllowThreads();
18484 result = (int)(arg1)->GetPrintMode();
18485
18486 wxPyEndAllowThreads(__tstate);
18487 if (PyErr_Occurred()) SWIG_fail;
18488 }
18489 resultobj = SWIG_FromInt((int)result);
18490 return resultobj;
18491 fail:
18492 return NULL;
18493 }
18494
18495
18496 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18497 PyObject *resultobj;
18498 wxPrintData *arg1 = (wxPrintData *) 0 ;
18499 wxString *arg2 = 0 ;
18500 bool temp2 = False ;
18501 PyObject * obj0 = 0 ;
18502 PyObject * obj1 = 0 ;
18503 char *kwnames[] = {
18504 (char *) "self",(char *) "command", NULL
18505 };
18506
18507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18510 {
18511 arg2 = wxString_in_helper(obj1);
18512 if (arg2 == NULL) SWIG_fail;
18513 temp2 = True;
18514 }
18515 {
18516 PyThreadState* __tstate = wxPyBeginAllowThreads();
18517 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18518
18519 wxPyEndAllowThreads(__tstate);
18520 if (PyErr_Occurred()) SWIG_fail;
18521 }
18522 Py_INCREF(Py_None); resultobj = Py_None;
18523 {
18524 if (temp2)
18525 delete arg2;
18526 }
18527 return resultobj;
18528 fail:
18529 {
18530 if (temp2)
18531 delete arg2;
18532 }
18533 return NULL;
18534 }
18535
18536
18537 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18538 PyObject *resultobj;
18539 wxPrintData *arg1 = (wxPrintData *) 0 ;
18540 wxString *arg2 = 0 ;
18541 bool temp2 = False ;
18542 PyObject * obj0 = 0 ;
18543 PyObject * obj1 = 0 ;
18544 char *kwnames[] = {
18545 (char *) "self",(char *) "options", NULL
18546 };
18547
18548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18551 {
18552 arg2 = wxString_in_helper(obj1);
18553 if (arg2 == NULL) SWIG_fail;
18554 temp2 = True;
18555 }
18556 {
18557 PyThreadState* __tstate = wxPyBeginAllowThreads();
18558 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18559
18560 wxPyEndAllowThreads(__tstate);
18561 if (PyErr_Occurred()) SWIG_fail;
18562 }
18563 Py_INCREF(Py_None); resultobj = Py_None;
18564 {
18565 if (temp2)
18566 delete arg2;
18567 }
18568 return resultobj;
18569 fail:
18570 {
18571 if (temp2)
18572 delete arg2;
18573 }
18574 return NULL;
18575 }
18576
18577
18578 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18579 PyObject *resultobj;
18580 wxPrintData *arg1 = (wxPrintData *) 0 ;
18581 wxString *arg2 = 0 ;
18582 bool temp2 = False ;
18583 PyObject * obj0 = 0 ;
18584 PyObject * obj1 = 0 ;
18585 char *kwnames[] = {
18586 (char *) "self",(char *) "command", NULL
18587 };
18588
18589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18592 {
18593 arg2 = wxString_in_helper(obj1);
18594 if (arg2 == NULL) SWIG_fail;
18595 temp2 = True;
18596 }
18597 {
18598 PyThreadState* __tstate = wxPyBeginAllowThreads();
18599 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18600
18601 wxPyEndAllowThreads(__tstate);
18602 if (PyErr_Occurred()) SWIG_fail;
18603 }
18604 Py_INCREF(Py_None); resultobj = Py_None;
18605 {
18606 if (temp2)
18607 delete arg2;
18608 }
18609 return resultobj;
18610 fail:
18611 {
18612 if (temp2)
18613 delete arg2;
18614 }
18615 return NULL;
18616 }
18617
18618
18619 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18620 PyObject *resultobj;
18621 wxPrintData *arg1 = (wxPrintData *) 0 ;
18622 wxString *arg2 = 0 ;
18623 bool temp2 = False ;
18624 PyObject * obj0 = 0 ;
18625 PyObject * obj1 = 0 ;
18626 char *kwnames[] = {
18627 (char *) "self",(char *) "filename", NULL
18628 };
18629
18630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18633 {
18634 arg2 = wxString_in_helper(obj1);
18635 if (arg2 == NULL) SWIG_fail;
18636 temp2 = True;
18637 }
18638 {
18639 PyThreadState* __tstate = wxPyBeginAllowThreads();
18640 (arg1)->SetFilename((wxString const &)*arg2);
18641
18642 wxPyEndAllowThreads(__tstate);
18643 if (PyErr_Occurred()) SWIG_fail;
18644 }
18645 Py_INCREF(Py_None); resultobj = Py_None;
18646 {
18647 if (temp2)
18648 delete arg2;
18649 }
18650 return resultobj;
18651 fail:
18652 {
18653 if (temp2)
18654 delete arg2;
18655 }
18656 return NULL;
18657 }
18658
18659
18660 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18661 PyObject *resultobj;
18662 wxPrintData *arg1 = (wxPrintData *) 0 ;
18663 wxString *arg2 = 0 ;
18664 bool temp2 = False ;
18665 PyObject * obj0 = 0 ;
18666 PyObject * obj1 = 0 ;
18667 char *kwnames[] = {
18668 (char *) "self",(char *) "path", NULL
18669 };
18670
18671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18674 {
18675 arg2 = wxString_in_helper(obj1);
18676 if (arg2 == NULL) SWIG_fail;
18677 temp2 = True;
18678 }
18679 {
18680 PyThreadState* __tstate = wxPyBeginAllowThreads();
18681 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18682
18683 wxPyEndAllowThreads(__tstate);
18684 if (PyErr_Occurred()) SWIG_fail;
18685 }
18686 Py_INCREF(Py_None); resultobj = Py_None;
18687 {
18688 if (temp2)
18689 delete arg2;
18690 }
18691 return resultobj;
18692 fail:
18693 {
18694 if (temp2)
18695 delete arg2;
18696 }
18697 return NULL;
18698 }
18699
18700
18701 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18702 PyObject *resultobj;
18703 wxPrintData *arg1 = (wxPrintData *) 0 ;
18704 double arg2 ;
18705 PyObject * obj0 = 0 ;
18706 PyObject * obj1 = 0 ;
18707 char *kwnames[] = {
18708 (char *) "self",(char *) "x", NULL
18709 };
18710
18711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18714 arg2 = (double) SWIG_AsDouble(obj1);
18715 if (PyErr_Occurred()) SWIG_fail;
18716 {
18717 PyThreadState* __tstate = wxPyBeginAllowThreads();
18718 (arg1)->SetPrinterScaleX(arg2);
18719
18720 wxPyEndAllowThreads(__tstate);
18721 if (PyErr_Occurred()) SWIG_fail;
18722 }
18723 Py_INCREF(Py_None); resultobj = Py_None;
18724 return resultobj;
18725 fail:
18726 return NULL;
18727 }
18728
18729
18730 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18731 PyObject *resultobj;
18732 wxPrintData *arg1 = (wxPrintData *) 0 ;
18733 double arg2 ;
18734 PyObject * obj0 = 0 ;
18735 PyObject * obj1 = 0 ;
18736 char *kwnames[] = {
18737 (char *) "self",(char *) "y", NULL
18738 };
18739
18740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18743 arg2 = (double) SWIG_AsDouble(obj1);
18744 if (PyErr_Occurred()) SWIG_fail;
18745 {
18746 PyThreadState* __tstate = wxPyBeginAllowThreads();
18747 (arg1)->SetPrinterScaleY(arg2);
18748
18749 wxPyEndAllowThreads(__tstate);
18750 if (PyErr_Occurred()) SWIG_fail;
18751 }
18752 Py_INCREF(Py_None); resultobj = Py_None;
18753 return resultobj;
18754 fail:
18755 return NULL;
18756 }
18757
18758
18759 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
18760 PyObject *resultobj;
18761 wxPrintData *arg1 = (wxPrintData *) 0 ;
18762 double arg2 ;
18763 double arg3 ;
18764 PyObject * obj0 = 0 ;
18765 PyObject * obj1 = 0 ;
18766 PyObject * obj2 = 0 ;
18767 char *kwnames[] = {
18768 (char *) "self",(char *) "x",(char *) "y", NULL
18769 };
18770
18771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18774 arg2 = (double) SWIG_AsDouble(obj1);
18775 if (PyErr_Occurred()) SWIG_fail;
18776 arg3 = (double) SWIG_AsDouble(obj2);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 {
18779 PyThreadState* __tstate = wxPyBeginAllowThreads();
18780 (arg1)->SetPrinterScaling(arg2,arg3);
18781
18782 wxPyEndAllowThreads(__tstate);
18783 if (PyErr_Occurred()) SWIG_fail;
18784 }
18785 Py_INCREF(Py_None); resultobj = Py_None;
18786 return resultobj;
18787 fail:
18788 return NULL;
18789 }
18790
18791
18792 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18793 PyObject *resultobj;
18794 wxPrintData *arg1 = (wxPrintData *) 0 ;
18795 long arg2 ;
18796 PyObject * obj0 = 0 ;
18797 PyObject * obj1 = 0 ;
18798 char *kwnames[] = {
18799 (char *) "self",(char *) "x", NULL
18800 };
18801
18802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18805 arg2 = (long) SWIG_AsLong(obj1);
18806 if (PyErr_Occurred()) SWIG_fail;
18807 {
18808 PyThreadState* __tstate = wxPyBeginAllowThreads();
18809 (arg1)->SetPrinterTranslateX(arg2);
18810
18811 wxPyEndAllowThreads(__tstate);
18812 if (PyErr_Occurred()) SWIG_fail;
18813 }
18814 Py_INCREF(Py_None); resultobj = Py_None;
18815 return resultobj;
18816 fail:
18817 return NULL;
18818 }
18819
18820
18821 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18822 PyObject *resultobj;
18823 wxPrintData *arg1 = (wxPrintData *) 0 ;
18824 long arg2 ;
18825 PyObject * obj0 = 0 ;
18826 PyObject * obj1 = 0 ;
18827 char *kwnames[] = {
18828 (char *) "self",(char *) "y", NULL
18829 };
18830
18831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18834 arg2 = (long) SWIG_AsLong(obj1);
18835 if (PyErr_Occurred()) SWIG_fail;
18836 {
18837 PyThreadState* __tstate = wxPyBeginAllowThreads();
18838 (arg1)->SetPrinterTranslateY(arg2);
18839
18840 wxPyEndAllowThreads(__tstate);
18841 if (PyErr_Occurred()) SWIG_fail;
18842 }
18843 Py_INCREF(Py_None); resultobj = Py_None;
18844 return resultobj;
18845 fail:
18846 return NULL;
18847 }
18848
18849
18850 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
18851 PyObject *resultobj;
18852 wxPrintData *arg1 = (wxPrintData *) 0 ;
18853 long arg2 ;
18854 long arg3 ;
18855 PyObject * obj0 = 0 ;
18856 PyObject * obj1 = 0 ;
18857 PyObject * obj2 = 0 ;
18858 char *kwnames[] = {
18859 (char *) "self",(char *) "x",(char *) "y", NULL
18860 };
18861
18862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
18863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18865 arg2 = (long) SWIG_AsLong(obj1);
18866 if (PyErr_Occurred()) SWIG_fail;
18867 arg3 = (long) SWIG_AsLong(obj2);
18868 if (PyErr_Occurred()) SWIG_fail;
18869 {
18870 PyThreadState* __tstate = wxPyBeginAllowThreads();
18871 (arg1)->SetPrinterTranslation(arg2,arg3);
18872
18873 wxPyEndAllowThreads(__tstate);
18874 if (PyErr_Occurred()) SWIG_fail;
18875 }
18876 Py_INCREF(Py_None); resultobj = Py_None;
18877 return resultobj;
18878 fail:
18879 return NULL;
18880 }
18881
18882
18883 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18884 PyObject *resultobj;
18885 wxPrintData *arg1 = (wxPrintData *) 0 ;
18886 int arg2 ;
18887 PyObject * obj0 = 0 ;
18888 PyObject * obj1 = 0 ;
18889 char *kwnames[] = {
18890 (char *) "self",(char *) "printMode", NULL
18891 };
18892
18893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
18894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18896 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18897 if (PyErr_Occurred()) SWIG_fail;
18898 {
18899 PyThreadState* __tstate = wxPyBeginAllowThreads();
18900 (arg1)->SetPrintMode((wxPrintMode )arg2);
18901
18902 wxPyEndAllowThreads(__tstate);
18903 if (PyErr_Occurred()) SWIG_fail;
18904 }
18905 Py_INCREF(Py_None); resultobj = Py_None;
18906 return resultobj;
18907 fail:
18908 return NULL;
18909 }
18910
18911
18912 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18913 PyObject *resultobj;
18914 wxPrintData *arg1 = (wxPrintData *) 0 ;
18915 wxOutputStream *result;
18916 PyObject * obj0 = 0 ;
18917 char *kwnames[] = {
18918 (char *) "self", NULL
18919 };
18920
18921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
18922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18924 {
18925 PyThreadState* __tstate = wxPyBeginAllowThreads();
18926 result = (wxOutputStream *)(arg1)->GetOutputStream();
18927
18928 wxPyEndAllowThreads(__tstate);
18929 if (PyErr_Occurred()) SWIG_fail;
18930 }
18931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
18932 return resultobj;
18933 fail:
18934 return NULL;
18935 }
18936
18937
18938 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18939 PyObject *resultobj;
18940 wxPrintData *arg1 = (wxPrintData *) 0 ;
18941 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18942 PyObject * obj0 = 0 ;
18943 PyObject * obj1 = 0 ;
18944 char *kwnames[] = {
18945 (char *) "self",(char *) "outputstream", NULL
18946 };
18947
18948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
18949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
18952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 (arg1)->SetOutputStream(arg2);
18956
18957 wxPyEndAllowThreads(__tstate);
18958 if (PyErr_Occurred()) SWIG_fail;
18959 }
18960 Py_INCREF(Py_None); resultobj = Py_None;
18961 return resultobj;
18962 fail:
18963 return NULL;
18964 }
18965
18966
18967 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
18968 PyObject *obj;
18969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18970 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
18971 Py_INCREF(obj);
18972 return Py_BuildValue((char *)"");
18973 }
18974 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18975 PyObject *resultobj;
18976 wxPageSetupDialogData *result;
18977 char *kwnames[] = {
18978 NULL
18979 };
18980
18981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
18982 {
18983 PyThreadState* __tstate = wxPyBeginAllowThreads();
18984 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
18985
18986 wxPyEndAllowThreads(__tstate);
18987 if (PyErr_Occurred()) SWIG_fail;
18988 }
18989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
18990 return resultobj;
18991 fail:
18992 return NULL;
18993 }
18994
18995
18996 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18997 PyObject *resultobj;
18998 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18999 PyObject * obj0 = 0 ;
19000 char *kwnames[] = {
19001 (char *) "self", NULL
19002 };
19003
19004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19007 {
19008 PyThreadState* __tstate = wxPyBeginAllowThreads();
19009 delete arg1;
19010
19011 wxPyEndAllowThreads(__tstate);
19012 if (PyErr_Occurred()) SWIG_fail;
19013 }
19014 Py_INCREF(Py_None); resultobj = Py_None;
19015 return resultobj;
19016 fail:
19017 return NULL;
19018 }
19019
19020
19021 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19022 PyObject *resultobj;
19023 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19024 bool arg2 ;
19025 PyObject * obj0 = 0 ;
19026 PyObject * obj1 = 0 ;
19027 char *kwnames[] = {
19028 (char *) "self",(char *) "flag", NULL
19029 };
19030
19031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19034 arg2 = (bool) SWIG_AsBool(obj1);
19035 if (PyErr_Occurred()) SWIG_fail;
19036 {
19037 PyThreadState* __tstate = wxPyBeginAllowThreads();
19038 (arg1)->EnableHelp(arg2);
19039
19040 wxPyEndAllowThreads(__tstate);
19041 if (PyErr_Occurred()) SWIG_fail;
19042 }
19043 Py_INCREF(Py_None); resultobj = Py_None;
19044 return resultobj;
19045 fail:
19046 return NULL;
19047 }
19048
19049
19050 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19051 PyObject *resultobj;
19052 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19053 bool arg2 ;
19054 PyObject * obj0 = 0 ;
19055 PyObject * obj1 = 0 ;
19056 char *kwnames[] = {
19057 (char *) "self",(char *) "flag", NULL
19058 };
19059
19060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19063 arg2 = (bool) SWIG_AsBool(obj1);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 {
19066 PyThreadState* __tstate = wxPyBeginAllowThreads();
19067 (arg1)->EnableMargins(arg2);
19068
19069 wxPyEndAllowThreads(__tstate);
19070 if (PyErr_Occurred()) SWIG_fail;
19071 }
19072 Py_INCREF(Py_None); resultobj = Py_None;
19073 return resultobj;
19074 fail:
19075 return NULL;
19076 }
19077
19078
19079 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19080 PyObject *resultobj;
19081 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19082 bool arg2 ;
19083 PyObject * obj0 = 0 ;
19084 PyObject * obj1 = 0 ;
19085 char *kwnames[] = {
19086 (char *) "self",(char *) "flag", NULL
19087 };
19088
19089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19092 arg2 = (bool) SWIG_AsBool(obj1);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 {
19095 PyThreadState* __tstate = wxPyBeginAllowThreads();
19096 (arg1)->EnableOrientation(arg2);
19097
19098 wxPyEndAllowThreads(__tstate);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 }
19101 Py_INCREF(Py_None); resultobj = Py_None;
19102 return resultobj;
19103 fail:
19104 return NULL;
19105 }
19106
19107
19108 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19109 PyObject *resultobj;
19110 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19111 bool arg2 ;
19112 PyObject * obj0 = 0 ;
19113 PyObject * obj1 = 0 ;
19114 char *kwnames[] = {
19115 (char *) "self",(char *) "flag", NULL
19116 };
19117
19118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19121 arg2 = (bool) SWIG_AsBool(obj1);
19122 if (PyErr_Occurred()) SWIG_fail;
19123 {
19124 PyThreadState* __tstate = wxPyBeginAllowThreads();
19125 (arg1)->EnablePaper(arg2);
19126
19127 wxPyEndAllowThreads(__tstate);
19128 if (PyErr_Occurred()) SWIG_fail;
19129 }
19130 Py_INCREF(Py_None); resultobj = Py_None;
19131 return resultobj;
19132 fail:
19133 return NULL;
19134 }
19135
19136
19137 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19138 PyObject *resultobj;
19139 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19140 bool arg2 ;
19141 PyObject * obj0 = 0 ;
19142 PyObject * obj1 = 0 ;
19143 char *kwnames[] = {
19144 (char *) "self",(char *) "flag", NULL
19145 };
19146
19147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19150 arg2 = (bool) SWIG_AsBool(obj1);
19151 if (PyErr_Occurred()) SWIG_fail;
19152 {
19153 PyThreadState* __tstate = wxPyBeginAllowThreads();
19154 (arg1)->EnablePrinter(arg2);
19155
19156 wxPyEndAllowThreads(__tstate);
19157 if (PyErr_Occurred()) SWIG_fail;
19158 }
19159 Py_INCREF(Py_None); resultobj = Py_None;
19160 return resultobj;
19161 fail:
19162 return NULL;
19163 }
19164
19165
19166 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19167 PyObject *resultobj;
19168 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19169 bool result;
19170 PyObject * obj0 = 0 ;
19171 char *kwnames[] = {
19172 (char *) "self", NULL
19173 };
19174
19175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19178 {
19179 PyThreadState* __tstate = wxPyBeginAllowThreads();
19180 result = (bool)(arg1)->GetDefaultMinMargins();
19181
19182 wxPyEndAllowThreads(__tstate);
19183 if (PyErr_Occurred()) SWIG_fail;
19184 }
19185 {
19186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19187 }
19188 return resultobj;
19189 fail:
19190 return NULL;
19191 }
19192
19193
19194 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19195 PyObject *resultobj;
19196 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19197 bool result;
19198 PyObject * obj0 = 0 ;
19199 char *kwnames[] = {
19200 (char *) "self", NULL
19201 };
19202
19203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19206 {
19207 PyThreadState* __tstate = wxPyBeginAllowThreads();
19208 result = (bool)(arg1)->GetEnableMargins();
19209
19210 wxPyEndAllowThreads(__tstate);
19211 if (PyErr_Occurred()) SWIG_fail;
19212 }
19213 {
19214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19215 }
19216 return resultobj;
19217 fail:
19218 return NULL;
19219 }
19220
19221
19222 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19223 PyObject *resultobj;
19224 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19225 bool result;
19226 PyObject * obj0 = 0 ;
19227 char *kwnames[] = {
19228 (char *) "self", NULL
19229 };
19230
19231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19234 {
19235 PyThreadState* __tstate = wxPyBeginAllowThreads();
19236 result = (bool)(arg1)->GetEnableOrientation();
19237
19238 wxPyEndAllowThreads(__tstate);
19239 if (PyErr_Occurred()) SWIG_fail;
19240 }
19241 {
19242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19243 }
19244 return resultobj;
19245 fail:
19246 return NULL;
19247 }
19248
19249
19250 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19251 PyObject *resultobj;
19252 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19253 bool result;
19254 PyObject * obj0 = 0 ;
19255 char *kwnames[] = {
19256 (char *) "self", NULL
19257 };
19258
19259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19262 {
19263 PyThreadState* __tstate = wxPyBeginAllowThreads();
19264 result = (bool)(arg1)->GetEnablePaper();
19265
19266 wxPyEndAllowThreads(__tstate);
19267 if (PyErr_Occurred()) SWIG_fail;
19268 }
19269 {
19270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19271 }
19272 return resultobj;
19273 fail:
19274 return NULL;
19275 }
19276
19277
19278 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19279 PyObject *resultobj;
19280 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19281 bool result;
19282 PyObject * obj0 = 0 ;
19283 char *kwnames[] = {
19284 (char *) "self", NULL
19285 };
19286
19287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19290 {
19291 PyThreadState* __tstate = wxPyBeginAllowThreads();
19292 result = (bool)(arg1)->GetEnablePrinter();
19293
19294 wxPyEndAllowThreads(__tstate);
19295 if (PyErr_Occurred()) SWIG_fail;
19296 }
19297 {
19298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19299 }
19300 return resultobj;
19301 fail:
19302 return NULL;
19303 }
19304
19305
19306 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19307 PyObject *resultobj;
19308 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19309 bool result;
19310 PyObject * obj0 = 0 ;
19311 char *kwnames[] = {
19312 (char *) "self", NULL
19313 };
19314
19315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 result = (bool)(arg1)->GetEnableHelp();
19321
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 {
19326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19327 }
19328 return resultobj;
19329 fail:
19330 return NULL;
19331 }
19332
19333
19334 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19335 PyObject *resultobj;
19336 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19337 bool result;
19338 PyObject * obj0 = 0 ;
19339 char *kwnames[] = {
19340 (char *) "self", NULL
19341 };
19342
19343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",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 = (bool)(arg1)->GetDefaultInfo();
19349
19350 wxPyEndAllowThreads(__tstate);
19351 if (PyErr_Occurred()) SWIG_fail;
19352 }
19353 {
19354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19355 }
19356 return resultobj;
19357 fail:
19358 return NULL;
19359 }
19360
19361
19362 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19363 PyObject *resultobj;
19364 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19365 wxPoint result;
19366 PyObject * obj0 = 0 ;
19367 char *kwnames[] = {
19368 (char *) "self", NULL
19369 };
19370
19371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19374 {
19375 PyThreadState* __tstate = wxPyBeginAllowThreads();
19376 result = (arg1)->GetMarginTopLeft();
19377
19378 wxPyEndAllowThreads(__tstate);
19379 if (PyErr_Occurred()) SWIG_fail;
19380 }
19381 {
19382 wxPoint * resultptr;
19383 resultptr = new wxPoint((wxPoint &) result);
19384 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19385 }
19386 return resultobj;
19387 fail:
19388 return NULL;
19389 }
19390
19391
19392 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19393 PyObject *resultobj;
19394 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19395 wxPoint result;
19396 PyObject * obj0 = 0 ;
19397 char *kwnames[] = {
19398 (char *) "self", NULL
19399 };
19400
19401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19404 {
19405 PyThreadState* __tstate = wxPyBeginAllowThreads();
19406 result = (arg1)->GetMarginBottomRight();
19407
19408 wxPyEndAllowThreads(__tstate);
19409 if (PyErr_Occurred()) SWIG_fail;
19410 }
19411 {
19412 wxPoint * resultptr;
19413 resultptr = new wxPoint((wxPoint &) result);
19414 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19415 }
19416 return resultobj;
19417 fail:
19418 return NULL;
19419 }
19420
19421
19422 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19423 PyObject *resultobj;
19424 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19425 wxPoint result;
19426 PyObject * obj0 = 0 ;
19427 char *kwnames[] = {
19428 (char *) "self", NULL
19429 };
19430
19431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19434 {
19435 PyThreadState* __tstate = wxPyBeginAllowThreads();
19436 result = (arg1)->GetMinMarginTopLeft();
19437
19438 wxPyEndAllowThreads(__tstate);
19439 if (PyErr_Occurred()) SWIG_fail;
19440 }
19441 {
19442 wxPoint * resultptr;
19443 resultptr = new wxPoint((wxPoint &) result);
19444 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19445 }
19446 return resultobj;
19447 fail:
19448 return NULL;
19449 }
19450
19451
19452 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19453 PyObject *resultobj;
19454 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19455 wxPoint result;
19456 PyObject * obj0 = 0 ;
19457 char *kwnames[] = {
19458 (char *) "self", NULL
19459 };
19460
19461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19464 {
19465 PyThreadState* __tstate = wxPyBeginAllowThreads();
19466 result = (arg1)->GetMinMarginBottomRight();
19467
19468 wxPyEndAllowThreads(__tstate);
19469 if (PyErr_Occurred()) SWIG_fail;
19470 }
19471 {
19472 wxPoint * resultptr;
19473 resultptr = new wxPoint((wxPoint &) result);
19474 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19475 }
19476 return resultobj;
19477 fail:
19478 return NULL;
19479 }
19480
19481
19482 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19483 PyObject *resultobj;
19484 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19485 int result;
19486 PyObject * obj0 = 0 ;
19487 char *kwnames[] = {
19488 (char *) "self", NULL
19489 };
19490
19491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19494 {
19495 PyThreadState* __tstate = wxPyBeginAllowThreads();
19496 result = (int)(arg1)->GetPaperId();
19497
19498 wxPyEndAllowThreads(__tstate);
19499 if (PyErr_Occurred()) SWIG_fail;
19500 }
19501 resultobj = SWIG_FromInt((int)result);
19502 return resultobj;
19503 fail:
19504 return NULL;
19505 }
19506
19507
19508 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19509 PyObject *resultobj;
19510 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19511 wxSize result;
19512 PyObject * obj0 = 0 ;
19513 char *kwnames[] = {
19514 (char *) "self", NULL
19515 };
19516
19517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19520 {
19521 PyThreadState* __tstate = wxPyBeginAllowThreads();
19522 result = (arg1)->GetPaperSize();
19523
19524 wxPyEndAllowThreads(__tstate);
19525 if (PyErr_Occurred()) SWIG_fail;
19526 }
19527 {
19528 wxSize * resultptr;
19529 resultptr = new wxSize((wxSize &) result);
19530 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19531 }
19532 return resultobj;
19533 fail:
19534 return NULL;
19535 }
19536
19537
19538 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19539 PyObject *resultobj;
19540 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19541 wxPrintData *result;
19542 PyObject * obj0 = 0 ;
19543 char *kwnames[] = {
19544 (char *) "self", NULL
19545 };
19546
19547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19550 {
19551 PyThreadState* __tstate = wxPyBeginAllowThreads();
19552 {
19553 wxPrintData &_result_ref = (arg1)->GetPrintData();
19554 result = (wxPrintData *) &_result_ref;
19555 }
19556
19557 wxPyEndAllowThreads(__tstate);
19558 if (PyErr_Occurred()) SWIG_fail;
19559 }
19560 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19561 return resultobj;
19562 fail:
19563 return NULL;
19564 }
19565
19566
19567 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19568 PyObject *resultobj;
19569 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19570 bool result;
19571 PyObject * obj0 = 0 ;
19572 char *kwnames[] = {
19573 (char *) "self", NULL
19574 };
19575
19576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19579 {
19580 PyThreadState* __tstate = wxPyBeginAllowThreads();
19581 result = (bool)(arg1)->Ok();
19582
19583 wxPyEndAllowThreads(__tstate);
19584 if (PyErr_Occurred()) SWIG_fail;
19585 }
19586 {
19587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19588 }
19589 return resultobj;
19590 fail:
19591 return NULL;
19592 }
19593
19594
19595 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19596 PyObject *resultobj;
19597 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19598 bool arg2 ;
19599 PyObject * obj0 = 0 ;
19600 PyObject * obj1 = 0 ;
19601 char *kwnames[] = {
19602 (char *) "self",(char *) "flag", NULL
19603 };
19604
19605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19608 arg2 = (bool) SWIG_AsBool(obj1);
19609 if (PyErr_Occurred()) SWIG_fail;
19610 {
19611 PyThreadState* __tstate = wxPyBeginAllowThreads();
19612 (arg1)->SetDefaultInfo(arg2);
19613
19614 wxPyEndAllowThreads(__tstate);
19615 if (PyErr_Occurred()) SWIG_fail;
19616 }
19617 Py_INCREF(Py_None); resultobj = Py_None;
19618 return resultobj;
19619 fail:
19620 return NULL;
19621 }
19622
19623
19624 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19625 PyObject *resultobj;
19626 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19627 bool arg2 ;
19628 PyObject * obj0 = 0 ;
19629 PyObject * obj1 = 0 ;
19630 char *kwnames[] = {
19631 (char *) "self",(char *) "flag", NULL
19632 };
19633
19634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19637 arg2 = (bool) SWIG_AsBool(obj1);
19638 if (PyErr_Occurred()) SWIG_fail;
19639 {
19640 PyThreadState* __tstate = wxPyBeginAllowThreads();
19641 (arg1)->SetDefaultMinMargins(arg2);
19642
19643 wxPyEndAllowThreads(__tstate);
19644 if (PyErr_Occurred()) SWIG_fail;
19645 }
19646 Py_INCREF(Py_None); resultobj = Py_None;
19647 return resultobj;
19648 fail:
19649 return NULL;
19650 }
19651
19652
19653 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19654 PyObject *resultobj;
19655 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19656 wxPoint *arg2 = 0 ;
19657 wxPoint temp2 ;
19658 PyObject * obj0 = 0 ;
19659 PyObject * obj1 = 0 ;
19660 char *kwnames[] = {
19661 (char *) "self",(char *) "pt", NULL
19662 };
19663
19664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19667 {
19668 arg2 = &temp2;
19669 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19670 }
19671 {
19672 PyThreadState* __tstate = wxPyBeginAllowThreads();
19673 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19674
19675 wxPyEndAllowThreads(__tstate);
19676 if (PyErr_Occurred()) SWIG_fail;
19677 }
19678 Py_INCREF(Py_None); resultobj = Py_None;
19679 return resultobj;
19680 fail:
19681 return NULL;
19682 }
19683
19684
19685 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19686 PyObject *resultobj;
19687 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19688 wxPoint *arg2 = 0 ;
19689 wxPoint temp2 ;
19690 PyObject * obj0 = 0 ;
19691 PyObject * obj1 = 0 ;
19692 char *kwnames[] = {
19693 (char *) "self",(char *) "pt", NULL
19694 };
19695
19696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19699 {
19700 arg2 = &temp2;
19701 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19702 }
19703 {
19704 PyThreadState* __tstate = wxPyBeginAllowThreads();
19705 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19706
19707 wxPyEndAllowThreads(__tstate);
19708 if (PyErr_Occurred()) SWIG_fail;
19709 }
19710 Py_INCREF(Py_None); resultobj = Py_None;
19711 return resultobj;
19712 fail:
19713 return NULL;
19714 }
19715
19716
19717 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19718 PyObject *resultobj;
19719 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19720 wxPoint *arg2 = 0 ;
19721 wxPoint temp2 ;
19722 PyObject * obj0 = 0 ;
19723 PyObject * obj1 = 0 ;
19724 char *kwnames[] = {
19725 (char *) "self",(char *) "pt", NULL
19726 };
19727
19728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19731 {
19732 arg2 = &temp2;
19733 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19734 }
19735 {
19736 PyThreadState* __tstate = wxPyBeginAllowThreads();
19737 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19738
19739 wxPyEndAllowThreads(__tstate);
19740 if (PyErr_Occurred()) SWIG_fail;
19741 }
19742 Py_INCREF(Py_None); resultobj = Py_None;
19743 return resultobj;
19744 fail:
19745 return NULL;
19746 }
19747
19748
19749 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19750 PyObject *resultobj;
19751 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19752 wxPoint *arg2 = 0 ;
19753 wxPoint temp2 ;
19754 PyObject * obj0 = 0 ;
19755 PyObject * obj1 = 0 ;
19756 char *kwnames[] = {
19757 (char *) "self",(char *) "pt", NULL
19758 };
19759
19760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19763 {
19764 arg2 = &temp2;
19765 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19766 }
19767 {
19768 PyThreadState* __tstate = wxPyBeginAllowThreads();
19769 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19770
19771 wxPyEndAllowThreads(__tstate);
19772 if (PyErr_Occurred()) SWIG_fail;
19773 }
19774 Py_INCREF(Py_None); resultobj = Py_None;
19775 return resultobj;
19776 fail:
19777 return NULL;
19778 }
19779
19780
19781 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19782 PyObject *resultobj;
19783 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19784 int arg2 ;
19785 PyObject * obj0 = 0 ;
19786 PyObject * obj1 = 0 ;
19787 char *kwnames[] = {
19788 (char *) "self",(char *) "id", NULL
19789 };
19790
19791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19794 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 {
19797 PyThreadState* __tstate = wxPyBeginAllowThreads();
19798 (arg1)->SetPaperId((wxPaperSize )arg2);
19799
19800 wxPyEndAllowThreads(__tstate);
19801 if (PyErr_Occurred()) SWIG_fail;
19802 }
19803 Py_INCREF(Py_None); resultobj = Py_None;
19804 return resultobj;
19805 fail:
19806 return NULL;
19807 }
19808
19809
19810 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19811 PyObject *resultobj;
19812 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19813 wxSize *arg2 = 0 ;
19814 wxSize temp2 ;
19815 PyObject * obj0 = 0 ;
19816 PyObject * obj1 = 0 ;
19817 char *kwnames[] = {
19818 (char *) "self",(char *) "size", NULL
19819 };
19820
19821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19824 {
19825 arg2 = &temp2;
19826 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19827 }
19828 {
19829 PyThreadState* __tstate = wxPyBeginAllowThreads();
19830 (arg1)->SetPaperSize((wxSize const &)*arg2);
19831
19832 wxPyEndAllowThreads(__tstate);
19833 if (PyErr_Occurred()) SWIG_fail;
19834 }
19835 Py_INCREF(Py_None); resultobj = Py_None;
19836 return resultobj;
19837 fail:
19838 return NULL;
19839 }
19840
19841
19842 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19843 PyObject *resultobj;
19844 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19845 wxPrintData *arg2 = 0 ;
19846 PyObject * obj0 = 0 ;
19847 PyObject * obj1 = 0 ;
19848 char *kwnames[] = {
19849 (char *) "self",(char *) "printData", NULL
19850 };
19851
19852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19856 SWIG_POINTER_EXCEPTION | 0)) == -1)
19857 SWIG_fail;
19858 if (arg2 == NULL) {
19859 PyErr_SetString(PyExc_TypeError,"null reference");
19860 SWIG_fail;
19861 }
19862 {
19863 PyThreadState* __tstate = wxPyBeginAllowThreads();
19864 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19865
19866 wxPyEndAllowThreads(__tstate);
19867 if (PyErr_Occurred()) SWIG_fail;
19868 }
19869 Py_INCREF(Py_None); resultobj = Py_None;
19870 return resultobj;
19871 fail:
19872 return NULL;
19873 }
19874
19875
19876 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
19877 PyObject *obj;
19878 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19879 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19880 Py_INCREF(obj);
19881 return Py_BuildValue((char *)"");
19882 }
19883 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxWindow *arg1 = (wxWindow *) 0 ;
19886 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19887 wxPageSetupDialog *result;
19888 PyObject * obj0 = 0 ;
19889 PyObject * obj1 = 0 ;
19890 char *kwnames[] = {
19891 (char *) "parent",(char *) "data", NULL
19892 };
19893
19894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19897 if (obj1) {
19898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19900 }
19901 {
19902 PyThreadState* __tstate = wxPyBeginAllowThreads();
19903 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19904
19905 wxPyEndAllowThreads(__tstate);
19906 if (PyErr_Occurred()) SWIG_fail;
19907 }
19908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
19909 return resultobj;
19910 fail:
19911 return NULL;
19912 }
19913
19914
19915 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
19916 PyObject *resultobj;
19917 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19918 wxPageSetupDialogData *result;
19919 PyObject * obj0 = 0 ;
19920 char *kwnames[] = {
19921 (char *) "self", NULL
19922 };
19923
19924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
19925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19927 {
19928 PyThreadState* __tstate = wxPyBeginAllowThreads();
19929 {
19930 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19931 result = (wxPageSetupDialogData *) &_result_ref;
19932 }
19933
19934 wxPyEndAllowThreads(__tstate);
19935 if (PyErr_Occurred()) SWIG_fail;
19936 }
19937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
19938 return resultobj;
19939 fail:
19940 return NULL;
19941 }
19942
19943
19944 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19945 PyObject *resultobj;
19946 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19947 int result;
19948 PyObject * obj0 = 0 ;
19949 char *kwnames[] = {
19950 (char *) "self", NULL
19951 };
19952
19953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
19954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19956 {
19957 PyThreadState* __tstate = wxPyBeginAllowThreads();
19958 result = (int)(arg1)->ShowModal();
19959
19960 wxPyEndAllowThreads(__tstate);
19961 if (PyErr_Occurred()) SWIG_fail;
19962 }
19963 resultobj = SWIG_FromInt((int)result);
19964 return resultobj;
19965 fail:
19966 return NULL;
19967 }
19968
19969
19970 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
19971 PyObject *obj;
19972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19973 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
19974 Py_INCREF(obj);
19975 return Py_BuildValue((char *)"");
19976 }
19977 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
19978 PyObject *resultobj;
19979 wxPrintDialogData *result;
19980
19981 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
19982 {
19983 PyThreadState* __tstate = wxPyBeginAllowThreads();
19984 result = (wxPrintDialogData *)new wxPrintDialogData();
19985
19986 wxPyEndAllowThreads(__tstate);
19987 if (PyErr_Occurred()) SWIG_fail;
19988 }
19989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19990 return resultobj;
19991 fail:
19992 return NULL;
19993 }
19994
19995
19996 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
19997 PyObject *resultobj;
19998 wxPrintData *arg1 = 0 ;
19999 wxPrintDialogData *result;
20000 PyObject * obj0 = 0 ;
20001
20002 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20004 SWIG_POINTER_EXCEPTION | 0)) == -1)
20005 SWIG_fail;
20006 if (arg1 == NULL) {
20007 PyErr_SetString(PyExc_TypeError,"null reference");
20008 SWIG_fail;
20009 }
20010 {
20011 PyThreadState* __tstate = wxPyBeginAllowThreads();
20012 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20013
20014 wxPyEndAllowThreads(__tstate);
20015 if (PyErr_Occurred()) SWIG_fail;
20016 }
20017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20018 return resultobj;
20019 fail:
20020 return NULL;
20021 }
20022
20023
20024 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20025 int argc;
20026 PyObject *argv[2];
20027 int ii;
20028
20029 argc = PyObject_Length(args);
20030 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20031 argv[ii] = PyTuple_GetItem(args,ii);
20032 }
20033 if (argc == 0) {
20034 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20035 }
20036 if (argc == 1) {
20037 int _v;
20038 {
20039 void *ptr;
20040 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20041 _v = 0;
20042 PyErr_Clear();
20043 } else {
20044 _v = 1;
20045 }
20046 }
20047 if (_v) {
20048 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20049 }
20050 }
20051
20052 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20053 return NULL;
20054 }
20055
20056
20057 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20058 PyObject *resultobj;
20059 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20060 PyObject * obj0 = 0 ;
20061 char *kwnames[] = {
20062 (char *) "self", NULL
20063 };
20064
20065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20068 {
20069 PyThreadState* __tstate = wxPyBeginAllowThreads();
20070 delete arg1;
20071
20072 wxPyEndAllowThreads(__tstate);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
20075 Py_INCREF(Py_None); resultobj = Py_None;
20076 return resultobj;
20077 fail:
20078 return NULL;
20079 }
20080
20081
20082 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20083 PyObject *resultobj;
20084 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20085 int result;
20086 PyObject * obj0 = 0 ;
20087 char *kwnames[] = {
20088 (char *) "self", NULL
20089 };
20090
20091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20097
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
20101 resultobj = SWIG_FromInt((int)result);
20102 return resultobj;
20103 fail:
20104 return NULL;
20105 }
20106
20107
20108 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20109 PyObject *resultobj;
20110 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20111 int result;
20112 PyObject * obj0 = 0 ;
20113 char *kwnames[] = {
20114 (char *) "self", NULL
20115 };
20116
20117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20120 {
20121 PyThreadState* __tstate = wxPyBeginAllowThreads();
20122 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20123
20124 wxPyEndAllowThreads(__tstate);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 }
20127 resultobj = SWIG_FromInt((int)result);
20128 return resultobj;
20129 fail:
20130 return NULL;
20131 }
20132
20133
20134 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20135 PyObject *resultobj;
20136 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20137 int result;
20138 PyObject * obj0 = 0 ;
20139 char *kwnames[] = {
20140 (char *) "self", NULL
20141 };
20142
20143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20146 {
20147 PyThreadState* __tstate = wxPyBeginAllowThreads();
20148 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20149
20150 wxPyEndAllowThreads(__tstate);
20151 if (PyErr_Occurred()) SWIG_fail;
20152 }
20153 resultobj = SWIG_FromInt((int)result);
20154 return resultobj;
20155 fail:
20156 return NULL;
20157 }
20158
20159
20160 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20161 PyObject *resultobj;
20162 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20163 int result;
20164 PyObject * obj0 = 0 ;
20165 char *kwnames[] = {
20166 (char *) "self", NULL
20167 };
20168
20169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20172 {
20173 PyThreadState* __tstate = wxPyBeginAllowThreads();
20174 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20175
20176 wxPyEndAllowThreads(__tstate);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 }
20179 resultobj = SWIG_FromInt((int)result);
20180 return resultobj;
20181 fail:
20182 return NULL;
20183 }
20184
20185
20186 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20187 PyObject *resultobj;
20188 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20189 int result;
20190 PyObject * obj0 = 0 ;
20191 char *kwnames[] = {
20192 (char *) "self", NULL
20193 };
20194
20195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20198 {
20199 PyThreadState* __tstate = wxPyBeginAllowThreads();
20200 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20201
20202 wxPyEndAllowThreads(__tstate);
20203 if (PyErr_Occurred()) SWIG_fail;
20204 }
20205 resultobj = SWIG_FromInt((int)result);
20206 return resultobj;
20207 fail:
20208 return NULL;
20209 }
20210
20211
20212 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20213 PyObject *resultobj;
20214 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20215 bool result;
20216 PyObject * obj0 = 0 ;
20217 char *kwnames[] = {
20218 (char *) "self", NULL
20219 };
20220
20221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20224 {
20225 PyThreadState* __tstate = wxPyBeginAllowThreads();
20226 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20227
20228 wxPyEndAllowThreads(__tstate);
20229 if (PyErr_Occurred()) SWIG_fail;
20230 }
20231 {
20232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20233 }
20234 return resultobj;
20235 fail:
20236 return NULL;
20237 }
20238
20239
20240 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20241 PyObject *resultobj;
20242 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20243 bool result;
20244 PyObject * obj0 = 0 ;
20245 char *kwnames[] = {
20246 (char *) "self", NULL
20247 };
20248
20249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20252 {
20253 PyThreadState* __tstate = wxPyBeginAllowThreads();
20254 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20255
20256 wxPyEndAllowThreads(__tstate);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 }
20259 {
20260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20261 }
20262 return resultobj;
20263 fail:
20264 return NULL;
20265 }
20266
20267
20268 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20269 PyObject *resultobj;
20270 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20271 bool result;
20272 PyObject * obj0 = 0 ;
20273 char *kwnames[] = {
20274 (char *) "self", NULL
20275 };
20276
20277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20280 {
20281 PyThreadState* __tstate = wxPyBeginAllowThreads();
20282 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20283
20284 wxPyEndAllowThreads(__tstate);
20285 if (PyErr_Occurred()) SWIG_fail;
20286 }
20287 {
20288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20289 }
20290 return resultobj;
20291 fail:
20292 return NULL;
20293 }
20294
20295
20296 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20297 PyObject *resultobj;
20298 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20299 bool result;
20300 PyObject * obj0 = 0 ;
20301 char *kwnames[] = {
20302 (char *) "self", NULL
20303 };
20304
20305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20308 {
20309 PyThreadState* __tstate = wxPyBeginAllowThreads();
20310 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20311
20312 wxPyEndAllowThreads(__tstate);
20313 if (PyErr_Occurred()) SWIG_fail;
20314 }
20315 {
20316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20317 }
20318 return resultobj;
20319 fail:
20320 return NULL;
20321 }
20322
20323
20324 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20325 PyObject *resultobj;
20326 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20327 bool result;
20328 PyObject * obj0 = 0 ;
20329 char *kwnames[] = {
20330 (char *) "self", NULL
20331 };
20332
20333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20336 {
20337 PyThreadState* __tstate = wxPyBeginAllowThreads();
20338 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20339
20340 wxPyEndAllowThreads(__tstate);
20341 if (PyErr_Occurred()) SWIG_fail;
20342 }
20343 {
20344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20345 }
20346 return resultobj;
20347 fail:
20348 return NULL;
20349 }
20350
20351
20352 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20353 PyObject *resultobj;
20354 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20355 int arg2 ;
20356 PyObject * obj0 = 0 ;
20357 PyObject * obj1 = 0 ;
20358 char *kwnames[] = {
20359 (char *) "self",(char *) "v", NULL
20360 };
20361
20362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20365 arg2 = (int) SWIG_AsInt(obj1);
20366 if (PyErr_Occurred()) SWIG_fail;
20367 {
20368 PyThreadState* __tstate = wxPyBeginAllowThreads();
20369 (arg1)->SetFromPage(arg2);
20370
20371 wxPyEndAllowThreads(__tstate);
20372 if (PyErr_Occurred()) SWIG_fail;
20373 }
20374 Py_INCREF(Py_None); resultobj = Py_None;
20375 return resultobj;
20376 fail:
20377 return NULL;
20378 }
20379
20380
20381 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20382 PyObject *resultobj;
20383 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20384 int arg2 ;
20385 PyObject * obj0 = 0 ;
20386 PyObject * obj1 = 0 ;
20387 char *kwnames[] = {
20388 (char *) "self",(char *) "v", NULL
20389 };
20390
20391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20394 arg2 = (int) SWIG_AsInt(obj1);
20395 if (PyErr_Occurred()) SWIG_fail;
20396 {
20397 PyThreadState* __tstate = wxPyBeginAllowThreads();
20398 (arg1)->SetToPage(arg2);
20399
20400 wxPyEndAllowThreads(__tstate);
20401 if (PyErr_Occurred()) SWIG_fail;
20402 }
20403 Py_INCREF(Py_None); resultobj = Py_None;
20404 return resultobj;
20405 fail:
20406 return NULL;
20407 }
20408
20409
20410 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20411 PyObject *resultobj;
20412 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20413 int arg2 ;
20414 PyObject * obj0 = 0 ;
20415 PyObject * obj1 = 0 ;
20416 char *kwnames[] = {
20417 (char *) "self",(char *) "v", NULL
20418 };
20419
20420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20423 arg2 = (int) SWIG_AsInt(obj1);
20424 if (PyErr_Occurred()) SWIG_fail;
20425 {
20426 PyThreadState* __tstate = wxPyBeginAllowThreads();
20427 (arg1)->SetMinPage(arg2);
20428
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 Py_INCREF(Py_None); resultobj = Py_None;
20433 return resultobj;
20434 fail:
20435 return NULL;
20436 }
20437
20438
20439 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20440 PyObject *resultobj;
20441 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20442 int arg2 ;
20443 PyObject * obj0 = 0 ;
20444 PyObject * obj1 = 0 ;
20445 char *kwnames[] = {
20446 (char *) "self",(char *) "v", NULL
20447 };
20448
20449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20452 arg2 = (int) SWIG_AsInt(obj1);
20453 if (PyErr_Occurred()) SWIG_fail;
20454 {
20455 PyThreadState* __tstate = wxPyBeginAllowThreads();
20456 (arg1)->SetMaxPage(arg2);
20457
20458 wxPyEndAllowThreads(__tstate);
20459 if (PyErr_Occurred()) SWIG_fail;
20460 }
20461 Py_INCREF(Py_None); resultobj = Py_None;
20462 return resultobj;
20463 fail:
20464 return NULL;
20465 }
20466
20467
20468 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20469 PyObject *resultobj;
20470 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20471 int arg2 ;
20472 PyObject * obj0 = 0 ;
20473 PyObject * obj1 = 0 ;
20474 char *kwnames[] = {
20475 (char *) "self",(char *) "v", NULL
20476 };
20477
20478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20481 arg2 = (int) SWIG_AsInt(obj1);
20482 if (PyErr_Occurred()) SWIG_fail;
20483 {
20484 PyThreadState* __tstate = wxPyBeginAllowThreads();
20485 (arg1)->SetNoCopies(arg2);
20486
20487 wxPyEndAllowThreads(__tstate);
20488 if (PyErr_Occurred()) SWIG_fail;
20489 }
20490 Py_INCREF(Py_None); resultobj = Py_None;
20491 return resultobj;
20492 fail:
20493 return NULL;
20494 }
20495
20496
20497 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20498 PyObject *resultobj;
20499 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20500 bool arg2 ;
20501 PyObject * obj0 = 0 ;
20502 PyObject * obj1 = 0 ;
20503 char *kwnames[] = {
20504 (char *) "self",(char *) "flag", NULL
20505 };
20506
20507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20510 arg2 = (bool) SWIG_AsBool(obj1);
20511 if (PyErr_Occurred()) SWIG_fail;
20512 {
20513 PyThreadState* __tstate = wxPyBeginAllowThreads();
20514 (arg1)->SetAllPages(arg2);
20515
20516 wxPyEndAllowThreads(__tstate);
20517 if (PyErr_Occurred()) SWIG_fail;
20518 }
20519 Py_INCREF(Py_None); resultobj = Py_None;
20520 return resultobj;
20521 fail:
20522 return NULL;
20523 }
20524
20525
20526 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20527 PyObject *resultobj;
20528 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20529 bool arg2 ;
20530 PyObject * obj0 = 0 ;
20531 PyObject * obj1 = 0 ;
20532 char *kwnames[] = {
20533 (char *) "self",(char *) "flag", NULL
20534 };
20535
20536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20539 arg2 = (bool) SWIG_AsBool(obj1);
20540 if (PyErr_Occurred()) SWIG_fail;
20541 {
20542 PyThreadState* __tstate = wxPyBeginAllowThreads();
20543 (arg1)->SetSelection(arg2);
20544
20545 wxPyEndAllowThreads(__tstate);
20546 if (PyErr_Occurred()) SWIG_fail;
20547 }
20548 Py_INCREF(Py_None); resultobj = Py_None;
20549 return resultobj;
20550 fail:
20551 return NULL;
20552 }
20553
20554
20555 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20556 PyObject *resultobj;
20557 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20558 bool arg2 ;
20559 PyObject * obj0 = 0 ;
20560 PyObject * obj1 = 0 ;
20561 char *kwnames[] = {
20562 (char *) "self",(char *) "flag", NULL
20563 };
20564
20565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20568 arg2 = (bool) SWIG_AsBool(obj1);
20569 if (PyErr_Occurred()) SWIG_fail;
20570 {
20571 PyThreadState* __tstate = wxPyBeginAllowThreads();
20572 (arg1)->SetCollate(arg2);
20573
20574 wxPyEndAllowThreads(__tstate);
20575 if (PyErr_Occurred()) SWIG_fail;
20576 }
20577 Py_INCREF(Py_None); resultobj = Py_None;
20578 return resultobj;
20579 fail:
20580 return NULL;
20581 }
20582
20583
20584 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20585 PyObject *resultobj;
20586 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20587 bool arg2 ;
20588 PyObject * obj0 = 0 ;
20589 PyObject * obj1 = 0 ;
20590 char *kwnames[] = {
20591 (char *) "self",(char *) "flag", NULL
20592 };
20593
20594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20597 arg2 = (bool) SWIG_AsBool(obj1);
20598 if (PyErr_Occurred()) SWIG_fail;
20599 {
20600 PyThreadState* __tstate = wxPyBeginAllowThreads();
20601 (arg1)->SetPrintToFile(arg2);
20602
20603 wxPyEndAllowThreads(__tstate);
20604 if (PyErr_Occurred()) SWIG_fail;
20605 }
20606 Py_INCREF(Py_None); resultobj = Py_None;
20607 return resultobj;
20608 fail:
20609 return NULL;
20610 }
20611
20612
20613 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20614 PyObject *resultobj;
20615 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20616 bool arg2 ;
20617 PyObject * obj0 = 0 ;
20618 PyObject * obj1 = 0 ;
20619 char *kwnames[] = {
20620 (char *) "self",(char *) "flag", NULL
20621 };
20622
20623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20626 arg2 = (bool) SWIG_AsBool(obj1);
20627 if (PyErr_Occurred()) SWIG_fail;
20628 {
20629 PyThreadState* __tstate = wxPyBeginAllowThreads();
20630 (arg1)->SetSetupDialog(arg2);
20631
20632 wxPyEndAllowThreads(__tstate);
20633 if (PyErr_Occurred()) SWIG_fail;
20634 }
20635 Py_INCREF(Py_None); resultobj = Py_None;
20636 return resultobj;
20637 fail:
20638 return NULL;
20639 }
20640
20641
20642 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20643 PyObject *resultobj;
20644 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20645 bool arg2 ;
20646 PyObject * obj0 = 0 ;
20647 PyObject * obj1 = 0 ;
20648 char *kwnames[] = {
20649 (char *) "self",(char *) "flag", NULL
20650 };
20651
20652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20655 arg2 = (bool) SWIG_AsBool(obj1);
20656 if (PyErr_Occurred()) SWIG_fail;
20657 {
20658 PyThreadState* __tstate = wxPyBeginAllowThreads();
20659 (arg1)->EnablePrintToFile(arg2);
20660
20661 wxPyEndAllowThreads(__tstate);
20662 if (PyErr_Occurred()) SWIG_fail;
20663 }
20664 Py_INCREF(Py_None); resultobj = Py_None;
20665 return resultobj;
20666 fail:
20667 return NULL;
20668 }
20669
20670
20671 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20672 PyObject *resultobj;
20673 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20674 bool arg2 ;
20675 PyObject * obj0 = 0 ;
20676 PyObject * obj1 = 0 ;
20677 char *kwnames[] = {
20678 (char *) "self",(char *) "flag", NULL
20679 };
20680
20681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20684 arg2 = (bool) SWIG_AsBool(obj1);
20685 if (PyErr_Occurred()) SWIG_fail;
20686 {
20687 PyThreadState* __tstate = wxPyBeginAllowThreads();
20688 (arg1)->EnableSelection(arg2);
20689
20690 wxPyEndAllowThreads(__tstate);
20691 if (PyErr_Occurred()) SWIG_fail;
20692 }
20693 Py_INCREF(Py_None); resultobj = Py_None;
20694 return resultobj;
20695 fail:
20696 return NULL;
20697 }
20698
20699
20700 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20701 PyObject *resultobj;
20702 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20703 bool arg2 ;
20704 PyObject * obj0 = 0 ;
20705 PyObject * obj1 = 0 ;
20706 char *kwnames[] = {
20707 (char *) "self",(char *) "flag", NULL
20708 };
20709
20710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20713 arg2 = (bool) SWIG_AsBool(obj1);
20714 if (PyErr_Occurred()) SWIG_fail;
20715 {
20716 PyThreadState* __tstate = wxPyBeginAllowThreads();
20717 (arg1)->EnablePageNumbers(arg2);
20718
20719 wxPyEndAllowThreads(__tstate);
20720 if (PyErr_Occurred()) SWIG_fail;
20721 }
20722 Py_INCREF(Py_None); resultobj = Py_None;
20723 return resultobj;
20724 fail:
20725 return NULL;
20726 }
20727
20728
20729 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20730 PyObject *resultobj;
20731 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20732 bool arg2 ;
20733 PyObject * obj0 = 0 ;
20734 PyObject * obj1 = 0 ;
20735 char *kwnames[] = {
20736 (char *) "self",(char *) "flag", NULL
20737 };
20738
20739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20742 arg2 = (bool) SWIG_AsBool(obj1);
20743 if (PyErr_Occurred()) SWIG_fail;
20744 {
20745 PyThreadState* __tstate = wxPyBeginAllowThreads();
20746 (arg1)->EnableHelp(arg2);
20747
20748 wxPyEndAllowThreads(__tstate);
20749 if (PyErr_Occurred()) SWIG_fail;
20750 }
20751 Py_INCREF(Py_None); resultobj = Py_None;
20752 return resultobj;
20753 fail:
20754 return NULL;
20755 }
20756
20757
20758 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20759 PyObject *resultobj;
20760 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20761 bool result;
20762 PyObject * obj0 = 0 ;
20763 char *kwnames[] = {
20764 (char *) "self", NULL
20765 };
20766
20767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20770 {
20771 PyThreadState* __tstate = wxPyBeginAllowThreads();
20772 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20773
20774 wxPyEndAllowThreads(__tstate);
20775 if (PyErr_Occurred()) SWIG_fail;
20776 }
20777 {
20778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20779 }
20780 return resultobj;
20781 fail:
20782 return NULL;
20783 }
20784
20785
20786 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20787 PyObject *resultobj;
20788 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20789 bool result;
20790 PyObject * obj0 = 0 ;
20791 char *kwnames[] = {
20792 (char *) "self", NULL
20793 };
20794
20795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20798 {
20799 PyThreadState* __tstate = wxPyBeginAllowThreads();
20800 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20801
20802 wxPyEndAllowThreads(__tstate);
20803 if (PyErr_Occurred()) SWIG_fail;
20804 }
20805 {
20806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20807 }
20808 return resultobj;
20809 fail:
20810 return NULL;
20811 }
20812
20813
20814 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20815 PyObject *resultobj;
20816 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20817 bool result;
20818 PyObject * obj0 = 0 ;
20819 char *kwnames[] = {
20820 (char *) "self", NULL
20821 };
20822
20823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20826 {
20827 PyThreadState* __tstate = wxPyBeginAllowThreads();
20828 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20829
20830 wxPyEndAllowThreads(__tstate);
20831 if (PyErr_Occurred()) SWIG_fail;
20832 }
20833 {
20834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20835 }
20836 return resultobj;
20837 fail:
20838 return NULL;
20839 }
20840
20841
20842 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20843 PyObject *resultobj;
20844 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20845 bool result;
20846 PyObject * obj0 = 0 ;
20847 char *kwnames[] = {
20848 (char *) "self", NULL
20849 };
20850
20851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20854 {
20855 PyThreadState* __tstate = wxPyBeginAllowThreads();
20856 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20857
20858 wxPyEndAllowThreads(__tstate);
20859 if (PyErr_Occurred()) SWIG_fail;
20860 }
20861 {
20862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20863 }
20864 return resultobj;
20865 fail:
20866 return NULL;
20867 }
20868
20869
20870 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20871 PyObject *resultobj;
20872 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20873 bool result;
20874 PyObject * obj0 = 0 ;
20875 char *kwnames[] = {
20876 (char *) "self", NULL
20877 };
20878
20879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
20880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20882 {
20883 PyThreadState* __tstate = wxPyBeginAllowThreads();
20884 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20885
20886 wxPyEndAllowThreads(__tstate);
20887 if (PyErr_Occurred()) SWIG_fail;
20888 }
20889 {
20890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20891 }
20892 return resultobj;
20893 fail:
20894 return NULL;
20895 }
20896
20897
20898 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20899 PyObject *resultobj;
20900 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20901 wxPrintData *result;
20902 PyObject * obj0 = 0 ;
20903 char *kwnames[] = {
20904 (char *) "self", NULL
20905 };
20906
20907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20910 {
20911 PyThreadState* __tstate = wxPyBeginAllowThreads();
20912 {
20913 wxPrintData &_result_ref = (arg1)->GetPrintData();
20914 result = (wxPrintData *) &_result_ref;
20915 }
20916
20917 wxPyEndAllowThreads(__tstate);
20918 if (PyErr_Occurred()) SWIG_fail;
20919 }
20920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20921 return resultobj;
20922 fail:
20923 return NULL;
20924 }
20925
20926
20927 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20928 PyObject *resultobj;
20929 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20930 wxPrintData *arg2 = 0 ;
20931 PyObject * obj0 = 0 ;
20932 PyObject * obj1 = 0 ;
20933 char *kwnames[] = {
20934 (char *) "self",(char *) "printData", NULL
20935 };
20936
20937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20940 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20941 SWIG_POINTER_EXCEPTION | 0)) == -1)
20942 SWIG_fail;
20943 if (arg2 == NULL) {
20944 PyErr_SetString(PyExc_TypeError,"null reference");
20945 SWIG_fail;
20946 }
20947 {
20948 PyThreadState* __tstate = wxPyBeginAllowThreads();
20949 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20950
20951 wxPyEndAllowThreads(__tstate);
20952 if (PyErr_Occurred()) SWIG_fail;
20953 }
20954 Py_INCREF(Py_None); resultobj = Py_None;
20955 return resultobj;
20956 fail:
20957 return NULL;
20958 }
20959
20960
20961 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
20962 PyObject *obj;
20963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20964 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
20965 Py_INCREF(obj);
20966 return Py_BuildValue((char *)"");
20967 }
20968 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20969 PyObject *resultobj;
20970 wxWindow *arg1 = (wxWindow *) 0 ;
20971 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
20972 wxPrintDialog *result;
20973 PyObject * obj0 = 0 ;
20974 PyObject * obj1 = 0 ;
20975 char *kwnames[] = {
20976 (char *) "parent",(char *) "data", NULL
20977 };
20978
20979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20982 if (obj1) {
20983 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
20984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20985 }
20986 {
20987 PyThreadState* __tstate = wxPyBeginAllowThreads();
20988 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
20989
20990 wxPyEndAllowThreads(__tstate);
20991 if (PyErr_Occurred()) SWIG_fail;
20992 }
20993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
20994 return resultobj;
20995 fail:
20996 return NULL;
20997 }
20998
20999
21000 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21001 PyObject *resultobj;
21002 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21003 wxPrintDialogData *result;
21004 PyObject * obj0 = 0 ;
21005 char *kwnames[] = {
21006 (char *) "self", NULL
21007 };
21008
21009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21012 {
21013 PyThreadState* __tstate = wxPyBeginAllowThreads();
21014 {
21015 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21016 result = (wxPrintDialogData *) &_result_ref;
21017 }
21018
21019 wxPyEndAllowThreads(__tstate);
21020 if (PyErr_Occurred()) SWIG_fail;
21021 }
21022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21023 return resultobj;
21024 fail:
21025 return NULL;
21026 }
21027
21028
21029 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21030 PyObject *resultobj;
21031 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21032 wxDC *result;
21033 PyObject * obj0 = 0 ;
21034 char *kwnames[] = {
21035 (char *) "self", NULL
21036 };
21037
21038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21041 {
21042 PyThreadState* __tstate = wxPyBeginAllowThreads();
21043 result = (wxDC *)(arg1)->GetPrintDC();
21044
21045 wxPyEndAllowThreads(__tstate);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 }
21048 {
21049 resultobj = wxPyMake_wxObject(result);
21050 }
21051 return resultobj;
21052 fail:
21053 return NULL;
21054 }
21055
21056
21057 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21058 PyObject *resultobj;
21059 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21060 int result;
21061 PyObject * obj0 = 0 ;
21062 char *kwnames[] = {
21063 (char *) "self", NULL
21064 };
21065
21066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21069 {
21070 PyThreadState* __tstate = wxPyBeginAllowThreads();
21071 result = (int)(arg1)->ShowModal();
21072
21073 wxPyEndAllowThreads(__tstate);
21074 if (PyErr_Occurred()) SWIG_fail;
21075 }
21076 resultobj = SWIG_FromInt((int)result);
21077 return resultobj;
21078 fail:
21079 return NULL;
21080 }
21081
21082
21083 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21084 PyObject *obj;
21085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21086 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21087 Py_INCREF(obj);
21088 return Py_BuildValue((char *)"");
21089 }
21090 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21091 PyObject *resultobj;
21092 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21093 wxPrinter *result;
21094 PyObject * obj0 = 0 ;
21095 char *kwnames[] = {
21096 (char *) "data", NULL
21097 };
21098
21099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21100 if (obj0) {
21101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21103 }
21104 {
21105 PyThreadState* __tstate = wxPyBeginAllowThreads();
21106 result = (wxPrinter *)new wxPrinter(arg1);
21107
21108 wxPyEndAllowThreads(__tstate);
21109 if (PyErr_Occurred()) SWIG_fail;
21110 }
21111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21112 return resultobj;
21113 fail:
21114 return NULL;
21115 }
21116
21117
21118 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21119 PyObject *resultobj;
21120 wxPrinter *arg1 = (wxPrinter *) 0 ;
21121 PyObject * obj0 = 0 ;
21122 char *kwnames[] = {
21123 (char *) "self", NULL
21124 };
21125
21126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21129 {
21130 PyThreadState* __tstate = wxPyBeginAllowThreads();
21131 delete arg1;
21132
21133 wxPyEndAllowThreads(__tstate);
21134 if (PyErr_Occurred()) SWIG_fail;
21135 }
21136 Py_INCREF(Py_None); resultobj = Py_None;
21137 return resultobj;
21138 fail:
21139 return NULL;
21140 }
21141
21142
21143 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21144 PyObject *resultobj;
21145 wxPrinter *arg1 = (wxPrinter *) 0 ;
21146 wxWindow *arg2 = (wxWindow *) 0 ;
21147 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21148 PyObject * obj0 = 0 ;
21149 PyObject * obj1 = 0 ;
21150 PyObject * obj2 = 0 ;
21151 char *kwnames[] = {
21152 (char *) "self",(char *) "parent",(char *) "printout", NULL
21153 };
21154
21155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21158 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21160 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21162 {
21163 PyThreadState* __tstate = wxPyBeginAllowThreads();
21164 (arg1)->CreateAbortWindow(arg2,arg3);
21165
21166 wxPyEndAllowThreads(__tstate);
21167 if (PyErr_Occurred()) SWIG_fail;
21168 }
21169 Py_INCREF(Py_None); resultobj = Py_None;
21170 return resultobj;
21171 fail:
21172 return NULL;
21173 }
21174
21175
21176 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21177 PyObject *resultobj;
21178 wxPrinter *arg1 = (wxPrinter *) 0 ;
21179 wxPrintDialogData *result;
21180 PyObject * obj0 = 0 ;
21181 char *kwnames[] = {
21182 (char *) "self", NULL
21183 };
21184
21185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21188 {
21189 PyThreadState* __tstate = wxPyBeginAllowThreads();
21190 {
21191 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21192 result = (wxPrintDialogData *) &_result_ref;
21193 }
21194
21195 wxPyEndAllowThreads(__tstate);
21196 if (PyErr_Occurred()) SWIG_fail;
21197 }
21198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21199 return resultobj;
21200 fail:
21201 return NULL;
21202 }
21203
21204
21205 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21206 PyObject *resultobj;
21207 wxPrinter *arg1 = (wxPrinter *) 0 ;
21208 wxWindow *arg2 = (wxWindow *) 0 ;
21209 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21210 int arg4 = (int) True ;
21211 bool result;
21212 PyObject * obj0 = 0 ;
21213 PyObject * obj1 = 0 ;
21214 PyObject * obj2 = 0 ;
21215 PyObject * obj3 = 0 ;
21216 char *kwnames[] = {
21217 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21218 };
21219
21220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21223 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21225 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21227 if (obj3) {
21228 arg4 = (int) SWIG_AsInt(obj3);
21229 if (PyErr_Occurred()) SWIG_fail;
21230 }
21231 {
21232 PyThreadState* __tstate = wxPyBeginAllowThreads();
21233 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21234
21235 wxPyEndAllowThreads(__tstate);
21236 if (PyErr_Occurred()) SWIG_fail;
21237 }
21238 {
21239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21240 }
21241 return resultobj;
21242 fail:
21243 return NULL;
21244 }
21245
21246
21247 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21248 PyObject *resultobj;
21249 wxPrinter *arg1 = (wxPrinter *) 0 ;
21250 wxWindow *arg2 = (wxWindow *) 0 ;
21251 wxDC *result;
21252 PyObject * obj0 = 0 ;
21253 PyObject * obj1 = 0 ;
21254 char *kwnames[] = {
21255 (char *) "self",(char *) "parent", NULL
21256 };
21257
21258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21263 {
21264 PyThreadState* __tstate = wxPyBeginAllowThreads();
21265 result = (wxDC *)(arg1)->PrintDialog(arg2);
21266
21267 wxPyEndAllowThreads(__tstate);
21268 if (PyErr_Occurred()) SWIG_fail;
21269 }
21270 {
21271 resultobj = wxPyMake_wxObject(result);
21272 }
21273 return resultobj;
21274 fail:
21275 return NULL;
21276 }
21277
21278
21279 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21280 PyObject *resultobj;
21281 wxPrinter *arg1 = (wxPrinter *) 0 ;
21282 wxWindow *arg2 = (wxWindow *) 0 ;
21283 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21284 wxString *arg4 = 0 ;
21285 bool temp4 = False ;
21286 PyObject * obj0 = 0 ;
21287 PyObject * obj1 = 0 ;
21288 PyObject * obj2 = 0 ;
21289 PyObject * obj3 = 0 ;
21290 char *kwnames[] = {
21291 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21292 };
21293
21294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21297 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21299 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21301 {
21302 arg4 = wxString_in_helper(obj3);
21303 if (arg4 == NULL) SWIG_fail;
21304 temp4 = True;
21305 }
21306 {
21307 PyThreadState* __tstate = wxPyBeginAllowThreads();
21308 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21309
21310 wxPyEndAllowThreads(__tstate);
21311 if (PyErr_Occurred()) SWIG_fail;
21312 }
21313 Py_INCREF(Py_None); resultobj = Py_None;
21314 {
21315 if (temp4)
21316 delete arg4;
21317 }
21318 return resultobj;
21319 fail:
21320 {
21321 if (temp4)
21322 delete arg4;
21323 }
21324 return NULL;
21325 }
21326
21327
21328 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21329 PyObject *resultobj;
21330 wxPrinter *arg1 = (wxPrinter *) 0 ;
21331 wxWindow *arg2 = (wxWindow *) 0 ;
21332 bool result;
21333 PyObject * obj0 = 0 ;
21334 PyObject * obj1 = 0 ;
21335 char *kwnames[] = {
21336 (char *) "self",(char *) "parent", NULL
21337 };
21338
21339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21344 {
21345 PyThreadState* __tstate = wxPyBeginAllowThreads();
21346 result = (bool)(arg1)->Setup(arg2);
21347
21348 wxPyEndAllowThreads(__tstate);
21349 if (PyErr_Occurred()) SWIG_fail;
21350 }
21351 {
21352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21353 }
21354 return resultobj;
21355 fail:
21356 return NULL;
21357 }
21358
21359
21360 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21361 PyObject *resultobj;
21362 wxPrinter *arg1 = (wxPrinter *) 0 ;
21363 bool result;
21364 PyObject * obj0 = 0 ;
21365 char *kwnames[] = {
21366 (char *) "self", NULL
21367 };
21368
21369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21372 {
21373 PyThreadState* __tstate = wxPyBeginAllowThreads();
21374 result = (bool)(arg1)->GetAbort();
21375
21376 wxPyEndAllowThreads(__tstate);
21377 if (PyErr_Occurred()) SWIG_fail;
21378 }
21379 {
21380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21381 }
21382 return resultobj;
21383 fail:
21384 return NULL;
21385 }
21386
21387
21388 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21389 PyObject *resultobj;
21390 int result;
21391 char *kwnames[] = {
21392 NULL
21393 };
21394
21395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21396 {
21397 PyThreadState* __tstate = wxPyBeginAllowThreads();
21398 result = (int)wxPrinter::GetLastError();
21399
21400 wxPyEndAllowThreads(__tstate);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 resultobj = SWIG_FromInt((int)result);
21404 return resultobj;
21405 fail:
21406 return NULL;
21407 }
21408
21409
21410 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21411 PyObject *obj;
21412 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21413 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21414 Py_INCREF(obj);
21415 return Py_BuildValue((char *)"");
21416 }
21417 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21418 PyObject *resultobj;
21419 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21420 wxString *arg1 = (wxString *) &arg1_defvalue ;
21421 wxPyPrintout *result;
21422 bool temp1 = False ;
21423 PyObject * obj0 = 0 ;
21424 char *kwnames[] = {
21425 (char *) "title", NULL
21426 };
21427
21428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21429 if (obj0) {
21430 {
21431 arg1 = wxString_in_helper(obj0);
21432 if (arg1 == NULL) SWIG_fail;
21433 temp1 = True;
21434 }
21435 }
21436 {
21437 PyThreadState* __tstate = wxPyBeginAllowThreads();
21438 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21439
21440 wxPyEndAllowThreads(__tstate);
21441 if (PyErr_Occurred()) SWIG_fail;
21442 }
21443 {
21444 resultobj = wxPyMake_wxObject(result);
21445 }
21446 {
21447 if (temp1)
21448 delete arg1;
21449 }
21450 return resultobj;
21451 fail:
21452 {
21453 if (temp1)
21454 delete arg1;
21455 }
21456 return NULL;
21457 }
21458
21459
21460 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21461 PyObject *resultobj;
21462 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21463 PyObject *arg2 = (PyObject *) 0 ;
21464 PyObject *arg3 = (PyObject *) 0 ;
21465 PyObject * obj0 = 0 ;
21466 PyObject * obj1 = 0 ;
21467 PyObject * obj2 = 0 ;
21468 char *kwnames[] = {
21469 (char *) "self",(char *) "self",(char *) "_class", NULL
21470 };
21471
21472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21475 arg2 = obj1;
21476 arg3 = obj2;
21477 {
21478 PyThreadState* __tstate = wxPyBeginAllowThreads();
21479 (arg1)->_setCallbackInfo(arg2,arg3);
21480
21481 wxPyEndAllowThreads(__tstate);
21482 if (PyErr_Occurred()) SWIG_fail;
21483 }
21484 Py_INCREF(Py_None); resultobj = Py_None;
21485 return resultobj;
21486 fail:
21487 return NULL;
21488 }
21489
21490
21491 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21492 PyObject *resultobj;
21493 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21494 wxString result;
21495 PyObject * obj0 = 0 ;
21496 char *kwnames[] = {
21497 (char *) "self", NULL
21498 };
21499
21500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21503 {
21504 PyThreadState* __tstate = wxPyBeginAllowThreads();
21505 result = ((wxPyPrintout const *)arg1)->GetTitle();
21506
21507 wxPyEndAllowThreads(__tstate);
21508 if (PyErr_Occurred()) SWIG_fail;
21509 }
21510 {
21511 #if wxUSE_UNICODE
21512 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21513 #else
21514 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21515 #endif
21516 }
21517 return resultobj;
21518 fail:
21519 return NULL;
21520 }
21521
21522
21523 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21524 PyObject *resultobj;
21525 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21526 wxDC *result;
21527 PyObject * obj0 = 0 ;
21528 char *kwnames[] = {
21529 (char *) "self", NULL
21530 };
21531
21532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21535 {
21536 PyThreadState* __tstate = wxPyBeginAllowThreads();
21537 result = (wxDC *)(arg1)->GetDC();
21538
21539 wxPyEndAllowThreads(__tstate);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
21542 {
21543 resultobj = wxPyMake_wxObject(result);
21544 }
21545 return resultobj;
21546 fail:
21547 return NULL;
21548 }
21549
21550
21551 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21552 PyObject *resultobj;
21553 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21554 wxDC *arg2 = (wxDC *) 0 ;
21555 PyObject * obj0 = 0 ;
21556 PyObject * obj1 = 0 ;
21557 char *kwnames[] = {
21558 (char *) "self",(char *) "dc", NULL
21559 };
21560
21561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21566 {
21567 PyThreadState* __tstate = wxPyBeginAllowThreads();
21568 (arg1)->SetDC(arg2);
21569
21570 wxPyEndAllowThreads(__tstate);
21571 if (PyErr_Occurred()) SWIG_fail;
21572 }
21573 Py_INCREF(Py_None); resultobj = Py_None;
21574 return resultobj;
21575 fail:
21576 return NULL;
21577 }
21578
21579
21580 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21581 PyObject *resultobj;
21582 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21583 int arg2 ;
21584 int arg3 ;
21585 PyObject * obj0 = 0 ;
21586 PyObject * obj1 = 0 ;
21587 PyObject * obj2 = 0 ;
21588 char *kwnames[] = {
21589 (char *) "self",(char *) "w",(char *) "h", NULL
21590 };
21591
21592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21595 arg2 = (int) SWIG_AsInt(obj1);
21596 if (PyErr_Occurred()) SWIG_fail;
21597 arg3 = (int) SWIG_AsInt(obj2);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 {
21600 PyThreadState* __tstate = wxPyBeginAllowThreads();
21601 (arg1)->SetPageSizePixels(arg2,arg3);
21602
21603 wxPyEndAllowThreads(__tstate);
21604 if (PyErr_Occurred()) SWIG_fail;
21605 }
21606 Py_INCREF(Py_None); resultobj = Py_None;
21607 return resultobj;
21608 fail:
21609 return NULL;
21610 }
21611
21612
21613 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21614 PyObject *resultobj;
21615 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21616 int *arg2 = (int *) 0 ;
21617 int *arg3 = (int *) 0 ;
21618 int temp2 ;
21619 int temp3 ;
21620 PyObject * obj0 = 0 ;
21621 char *kwnames[] = {
21622 (char *) "self", NULL
21623 };
21624
21625 arg2 = &temp2;
21626 arg3 = &temp3;
21627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21630 {
21631 PyThreadState* __tstate = wxPyBeginAllowThreads();
21632 (arg1)->GetPageSizePixels(arg2,arg3);
21633
21634 wxPyEndAllowThreads(__tstate);
21635 if (PyErr_Occurred()) SWIG_fail;
21636 }
21637 Py_INCREF(Py_None); resultobj = Py_None;
21638 {
21639 PyObject *o = PyInt_FromLong((long) (*arg2));
21640 resultobj = t_output_helper(resultobj,o);
21641 }
21642 {
21643 PyObject *o = PyInt_FromLong((long) (*arg3));
21644 resultobj = t_output_helper(resultobj,o);
21645 }
21646 return resultobj;
21647 fail:
21648 return NULL;
21649 }
21650
21651
21652 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21653 PyObject *resultobj;
21654 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21655 int arg2 ;
21656 int arg3 ;
21657 PyObject * obj0 = 0 ;
21658 PyObject * obj1 = 0 ;
21659 PyObject * obj2 = 0 ;
21660 char *kwnames[] = {
21661 (char *) "self",(char *) "w",(char *) "h", NULL
21662 };
21663
21664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21667 arg2 = (int) SWIG_AsInt(obj1);
21668 if (PyErr_Occurred()) SWIG_fail;
21669 arg3 = (int) SWIG_AsInt(obj2);
21670 if (PyErr_Occurred()) SWIG_fail;
21671 {
21672 PyThreadState* __tstate = wxPyBeginAllowThreads();
21673 (arg1)->SetPageSizeMM(arg2,arg3);
21674
21675 wxPyEndAllowThreads(__tstate);
21676 if (PyErr_Occurred()) SWIG_fail;
21677 }
21678 Py_INCREF(Py_None); resultobj = Py_None;
21679 return resultobj;
21680 fail:
21681 return NULL;
21682 }
21683
21684
21685 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21686 PyObject *resultobj;
21687 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21688 int *arg2 = (int *) 0 ;
21689 int *arg3 = (int *) 0 ;
21690 int temp2 ;
21691 int temp3 ;
21692 PyObject * obj0 = 0 ;
21693 char *kwnames[] = {
21694 (char *) "self", NULL
21695 };
21696
21697 arg2 = &temp2;
21698 arg3 = &temp3;
21699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21702 {
21703 PyThreadState* __tstate = wxPyBeginAllowThreads();
21704 (arg1)->GetPageSizeMM(arg2,arg3);
21705
21706 wxPyEndAllowThreads(__tstate);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 }
21709 Py_INCREF(Py_None); resultobj = Py_None;
21710 {
21711 PyObject *o = PyInt_FromLong((long) (*arg2));
21712 resultobj = t_output_helper(resultobj,o);
21713 }
21714 {
21715 PyObject *o = PyInt_FromLong((long) (*arg3));
21716 resultobj = t_output_helper(resultobj,o);
21717 }
21718 return resultobj;
21719 fail:
21720 return NULL;
21721 }
21722
21723
21724 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21725 PyObject *resultobj;
21726 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21727 int arg2 ;
21728 int arg3 ;
21729 PyObject * obj0 = 0 ;
21730 PyObject * obj1 = 0 ;
21731 PyObject * obj2 = 0 ;
21732 char *kwnames[] = {
21733 (char *) "self",(char *) "x",(char *) "y", NULL
21734 };
21735
21736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21739 arg2 = (int) SWIG_AsInt(obj1);
21740 if (PyErr_Occurred()) SWIG_fail;
21741 arg3 = (int) SWIG_AsInt(obj2);
21742 if (PyErr_Occurred()) SWIG_fail;
21743 {
21744 PyThreadState* __tstate = wxPyBeginAllowThreads();
21745 (arg1)->SetPPIScreen(arg2,arg3);
21746
21747 wxPyEndAllowThreads(__tstate);
21748 if (PyErr_Occurred()) SWIG_fail;
21749 }
21750 Py_INCREF(Py_None); resultobj = Py_None;
21751 return resultobj;
21752 fail:
21753 return NULL;
21754 }
21755
21756
21757 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21758 PyObject *resultobj;
21759 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21760 int *arg2 = (int *) 0 ;
21761 int *arg3 = (int *) 0 ;
21762 int temp2 ;
21763 int temp3 ;
21764 PyObject * obj0 = 0 ;
21765 char *kwnames[] = {
21766 (char *) "self", NULL
21767 };
21768
21769 arg2 = &temp2;
21770 arg3 = &temp3;
21771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21774 {
21775 PyThreadState* __tstate = wxPyBeginAllowThreads();
21776 (arg1)->GetPPIScreen(arg2,arg3);
21777
21778 wxPyEndAllowThreads(__tstate);
21779 if (PyErr_Occurred()) SWIG_fail;
21780 }
21781 Py_INCREF(Py_None); resultobj = Py_None;
21782 {
21783 PyObject *o = PyInt_FromLong((long) (*arg2));
21784 resultobj = t_output_helper(resultobj,o);
21785 }
21786 {
21787 PyObject *o = PyInt_FromLong((long) (*arg3));
21788 resultobj = t_output_helper(resultobj,o);
21789 }
21790 return resultobj;
21791 fail:
21792 return NULL;
21793 }
21794
21795
21796 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21797 PyObject *resultobj;
21798 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21799 int arg2 ;
21800 int arg3 ;
21801 PyObject * obj0 = 0 ;
21802 PyObject * obj1 = 0 ;
21803 PyObject * obj2 = 0 ;
21804 char *kwnames[] = {
21805 (char *) "self",(char *) "x",(char *) "y", NULL
21806 };
21807
21808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21811 arg2 = (int) SWIG_AsInt(obj1);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 arg3 = (int) SWIG_AsInt(obj2);
21814 if (PyErr_Occurred()) SWIG_fail;
21815 {
21816 PyThreadState* __tstate = wxPyBeginAllowThreads();
21817 (arg1)->SetPPIPrinter(arg2,arg3);
21818
21819 wxPyEndAllowThreads(__tstate);
21820 if (PyErr_Occurred()) SWIG_fail;
21821 }
21822 Py_INCREF(Py_None); resultobj = Py_None;
21823 return resultobj;
21824 fail:
21825 return NULL;
21826 }
21827
21828
21829 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21830 PyObject *resultobj;
21831 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21832 int *arg2 = (int *) 0 ;
21833 int *arg3 = (int *) 0 ;
21834 int temp2 ;
21835 int temp3 ;
21836 PyObject * obj0 = 0 ;
21837 char *kwnames[] = {
21838 (char *) "self", NULL
21839 };
21840
21841 arg2 = &temp2;
21842 arg3 = &temp3;
21843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21846 {
21847 PyThreadState* __tstate = wxPyBeginAllowThreads();
21848 (arg1)->GetPPIPrinter(arg2,arg3);
21849
21850 wxPyEndAllowThreads(__tstate);
21851 if (PyErr_Occurred()) SWIG_fail;
21852 }
21853 Py_INCREF(Py_None); resultobj = Py_None;
21854 {
21855 PyObject *o = PyInt_FromLong((long) (*arg2));
21856 resultobj = t_output_helper(resultobj,o);
21857 }
21858 {
21859 PyObject *o = PyInt_FromLong((long) (*arg3));
21860 resultobj = t_output_helper(resultobj,o);
21861 }
21862 return resultobj;
21863 fail:
21864 return NULL;
21865 }
21866
21867
21868 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21869 PyObject *resultobj;
21870 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21871 bool result;
21872 PyObject * obj0 = 0 ;
21873 char *kwnames[] = {
21874 (char *) "self", NULL
21875 };
21876
21877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
21878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21880 {
21881 PyThreadState* __tstate = wxPyBeginAllowThreads();
21882 result = (bool)(arg1)->IsPreview();
21883
21884 wxPyEndAllowThreads(__tstate);
21885 if (PyErr_Occurred()) SWIG_fail;
21886 }
21887 {
21888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21889 }
21890 return resultobj;
21891 fail:
21892 return NULL;
21893 }
21894
21895
21896 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21897 PyObject *resultobj;
21898 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21899 bool arg2 ;
21900 PyObject * obj0 = 0 ;
21901 PyObject * obj1 = 0 ;
21902 char *kwnames[] = {
21903 (char *) "self",(char *) "p", NULL
21904 };
21905
21906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
21907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21909 arg2 = (bool) SWIG_AsBool(obj1);
21910 if (PyErr_Occurred()) SWIG_fail;
21911 {
21912 PyThreadState* __tstate = wxPyBeginAllowThreads();
21913 (arg1)->SetIsPreview(arg2);
21914
21915 wxPyEndAllowThreads(__tstate);
21916 if (PyErr_Occurred()) SWIG_fail;
21917 }
21918 Py_INCREF(Py_None); resultobj = Py_None;
21919 return resultobj;
21920 fail:
21921 return NULL;
21922 }
21923
21924
21925 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21926 PyObject *resultobj;
21927 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21928 int arg2 ;
21929 int arg3 ;
21930 bool result;
21931 PyObject * obj0 = 0 ;
21932 PyObject * obj1 = 0 ;
21933 PyObject * obj2 = 0 ;
21934 char *kwnames[] = {
21935 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21936 };
21937
21938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
21939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21941 arg2 = (int) SWIG_AsInt(obj1);
21942 if (PyErr_Occurred()) SWIG_fail;
21943 arg3 = (int) SWIG_AsInt(obj2);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 {
21946 PyThreadState* __tstate = wxPyBeginAllowThreads();
21947 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21948
21949 wxPyEndAllowThreads(__tstate);
21950 if (PyErr_Occurred()) SWIG_fail;
21951 }
21952 {
21953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21954 }
21955 return resultobj;
21956 fail:
21957 return NULL;
21958 }
21959
21960
21961 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21962 PyObject *resultobj;
21963 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21964 PyObject * obj0 = 0 ;
21965 char *kwnames[] = {
21966 (char *) "self", NULL
21967 };
21968
21969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
21970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21972 {
21973 PyThreadState* __tstate = wxPyBeginAllowThreads();
21974 (arg1)->base_OnEndDocument();
21975
21976 wxPyEndAllowThreads(__tstate);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 }
21979 Py_INCREF(Py_None); resultobj = Py_None;
21980 return resultobj;
21981 fail:
21982 return NULL;
21983 }
21984
21985
21986 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21987 PyObject *resultobj;
21988 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21989 PyObject * obj0 = 0 ;
21990 char *kwnames[] = {
21991 (char *) "self", NULL
21992 };
21993
21994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
21995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21997 {
21998 PyThreadState* __tstate = wxPyBeginAllowThreads();
21999 (arg1)->base_OnBeginPrinting();
22000
22001 wxPyEndAllowThreads(__tstate);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 }
22004 Py_INCREF(Py_None); resultobj = Py_None;
22005 return resultobj;
22006 fail:
22007 return NULL;
22008 }
22009
22010
22011 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22012 PyObject *resultobj;
22013 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22014 PyObject * obj0 = 0 ;
22015 char *kwnames[] = {
22016 (char *) "self", NULL
22017 };
22018
22019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22022 {
22023 PyThreadState* __tstate = wxPyBeginAllowThreads();
22024 (arg1)->base_OnEndPrinting();
22025
22026 wxPyEndAllowThreads(__tstate);
22027 if (PyErr_Occurred()) SWIG_fail;
22028 }
22029 Py_INCREF(Py_None); resultobj = Py_None;
22030 return resultobj;
22031 fail:
22032 return NULL;
22033 }
22034
22035
22036 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22037 PyObject *resultobj;
22038 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22039 PyObject * obj0 = 0 ;
22040 char *kwnames[] = {
22041 (char *) "self", NULL
22042 };
22043
22044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22047 {
22048 PyThreadState* __tstate = wxPyBeginAllowThreads();
22049 (arg1)->base_OnPreparePrinting();
22050
22051 wxPyEndAllowThreads(__tstate);
22052 if (PyErr_Occurred()) SWIG_fail;
22053 }
22054 Py_INCREF(Py_None); resultobj = Py_None;
22055 return resultobj;
22056 fail:
22057 return NULL;
22058 }
22059
22060
22061 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22062 PyObject *resultobj;
22063 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22064 int arg2 ;
22065 bool result;
22066 PyObject * obj0 = 0 ;
22067 PyObject * obj1 = 0 ;
22068 char *kwnames[] = {
22069 (char *) "self",(char *) "page", NULL
22070 };
22071
22072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22075 arg2 = (int) SWIG_AsInt(obj1);
22076 if (PyErr_Occurred()) SWIG_fail;
22077 {
22078 PyThreadState* __tstate = wxPyBeginAllowThreads();
22079 result = (bool)(arg1)->base_HasPage(arg2);
22080
22081 wxPyEndAllowThreads(__tstate);
22082 if (PyErr_Occurred()) SWIG_fail;
22083 }
22084 {
22085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22086 }
22087 return resultobj;
22088 fail:
22089 return NULL;
22090 }
22091
22092
22093 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22094 PyObject *resultobj;
22095 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22096 int *arg2 = (int *) 0 ;
22097 int *arg3 = (int *) 0 ;
22098 int *arg4 = (int *) 0 ;
22099 int *arg5 = (int *) 0 ;
22100 int temp2 ;
22101 int temp3 ;
22102 int temp4 ;
22103 int temp5 ;
22104 PyObject * obj0 = 0 ;
22105 char *kwnames[] = {
22106 (char *) "self", NULL
22107 };
22108
22109 arg2 = &temp2;
22110 arg3 = &temp3;
22111 arg4 = &temp4;
22112 arg5 = &temp5;
22113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22116 {
22117 PyThreadState* __tstate = wxPyBeginAllowThreads();
22118 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22119
22120 wxPyEndAllowThreads(__tstate);
22121 if (PyErr_Occurred()) SWIG_fail;
22122 }
22123 Py_INCREF(Py_None); resultobj = Py_None;
22124 {
22125 PyObject *o = PyInt_FromLong((long) (*arg2));
22126 resultobj = t_output_helper(resultobj,o);
22127 }
22128 {
22129 PyObject *o = PyInt_FromLong((long) (*arg3));
22130 resultobj = t_output_helper(resultobj,o);
22131 }
22132 {
22133 PyObject *o = PyInt_FromLong((long) (*arg4));
22134 resultobj = t_output_helper(resultobj,o);
22135 }
22136 {
22137 PyObject *o = PyInt_FromLong((long) (*arg5));
22138 resultobj = t_output_helper(resultobj,o);
22139 }
22140 return resultobj;
22141 fail:
22142 return NULL;
22143 }
22144
22145
22146 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22147 PyObject *obj;
22148 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22149 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22150 Py_INCREF(obj);
22151 return Py_BuildValue((char *)"");
22152 }
22153 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22154 PyObject *resultobj;
22155 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22156 wxWindow *arg2 = (wxWindow *) 0 ;
22157 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22158 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22159 wxSize const &arg4_defvalue = wxDefaultSize ;
22160 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22161 long arg5 = (long) 0 ;
22162 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22163 wxString *arg6 = (wxString *) &arg6_defvalue ;
22164 wxPreviewCanvas *result;
22165 wxPoint temp3 ;
22166 wxSize temp4 ;
22167 bool temp6 = False ;
22168 PyObject * obj0 = 0 ;
22169 PyObject * obj1 = 0 ;
22170 PyObject * obj2 = 0 ;
22171 PyObject * obj3 = 0 ;
22172 PyObject * obj4 = 0 ;
22173 PyObject * obj5 = 0 ;
22174 char *kwnames[] = {
22175 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22176 };
22177
22178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22183 if (obj2) {
22184 {
22185 arg3 = &temp3;
22186 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22187 }
22188 }
22189 if (obj3) {
22190 {
22191 arg4 = &temp4;
22192 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22193 }
22194 }
22195 if (obj4) {
22196 arg5 = (long) SWIG_AsLong(obj4);
22197 if (PyErr_Occurred()) SWIG_fail;
22198 }
22199 if (obj5) {
22200 {
22201 arg6 = wxString_in_helper(obj5);
22202 if (arg6 == NULL) SWIG_fail;
22203 temp6 = True;
22204 }
22205 }
22206 {
22207 PyThreadState* __tstate = wxPyBeginAllowThreads();
22208 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22209
22210 wxPyEndAllowThreads(__tstate);
22211 if (PyErr_Occurred()) SWIG_fail;
22212 }
22213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22214 {
22215 if (temp6)
22216 delete arg6;
22217 }
22218 return resultobj;
22219 fail:
22220 {
22221 if (temp6)
22222 delete arg6;
22223 }
22224 return NULL;
22225 }
22226
22227
22228 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22229 PyObject *obj;
22230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22231 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22232 Py_INCREF(obj);
22233 return Py_BuildValue((char *)"");
22234 }
22235 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22236 PyObject *resultobj;
22237 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22238 wxFrame *arg2 = (wxFrame *) 0 ;
22239 wxString *arg3 = 0 ;
22240 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22241 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22242 wxSize const &arg5_defvalue = wxDefaultSize ;
22243 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22244 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22245 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22246 wxString *arg7 = (wxString *) &arg7_defvalue ;
22247 wxPreviewFrame *result;
22248 bool temp3 = False ;
22249 wxPoint temp4 ;
22250 wxSize temp5 ;
22251 bool temp7 = False ;
22252 PyObject * obj0 = 0 ;
22253 PyObject * obj1 = 0 ;
22254 PyObject * obj2 = 0 ;
22255 PyObject * obj3 = 0 ;
22256 PyObject * obj4 = 0 ;
22257 PyObject * obj5 = 0 ;
22258 PyObject * obj6 = 0 ;
22259 char *kwnames[] = {
22260 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22261 };
22262
22263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22266 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22268 {
22269 arg3 = wxString_in_helper(obj2);
22270 if (arg3 == NULL) SWIG_fail;
22271 temp3 = True;
22272 }
22273 if (obj3) {
22274 {
22275 arg4 = &temp4;
22276 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22277 }
22278 }
22279 if (obj4) {
22280 {
22281 arg5 = &temp5;
22282 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22283 }
22284 }
22285 if (obj5) {
22286 arg6 = (long) SWIG_AsLong(obj5);
22287 if (PyErr_Occurred()) SWIG_fail;
22288 }
22289 if (obj6) {
22290 {
22291 arg7 = wxString_in_helper(obj6);
22292 if (arg7 == NULL) SWIG_fail;
22293 temp7 = True;
22294 }
22295 }
22296 {
22297 PyThreadState* __tstate = wxPyBeginAllowThreads();
22298 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22299
22300 wxPyEndAllowThreads(__tstate);
22301 if (PyErr_Occurred()) SWIG_fail;
22302 }
22303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22304 {
22305 if (temp3)
22306 delete arg3;
22307 }
22308 {
22309 if (temp7)
22310 delete arg7;
22311 }
22312 return resultobj;
22313 fail:
22314 {
22315 if (temp3)
22316 delete arg3;
22317 }
22318 {
22319 if (temp7)
22320 delete arg7;
22321 }
22322 return NULL;
22323 }
22324
22325
22326 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22327 PyObject *resultobj;
22328 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22329 PyObject * obj0 = 0 ;
22330 char *kwnames[] = {
22331 (char *) "self", NULL
22332 };
22333
22334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22337 {
22338 PyThreadState* __tstate = wxPyBeginAllowThreads();
22339 (arg1)->Initialize();
22340
22341 wxPyEndAllowThreads(__tstate);
22342 if (PyErr_Occurred()) SWIG_fail;
22343 }
22344 Py_INCREF(Py_None); resultobj = Py_None;
22345 return resultobj;
22346 fail:
22347 return NULL;
22348 }
22349
22350
22351 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22352 PyObject *resultobj;
22353 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22354 PyObject * obj0 = 0 ;
22355 char *kwnames[] = {
22356 (char *) "self", NULL
22357 };
22358
22359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22362 {
22363 PyThreadState* __tstate = wxPyBeginAllowThreads();
22364 (arg1)->CreateControlBar();
22365
22366 wxPyEndAllowThreads(__tstate);
22367 if (PyErr_Occurred()) SWIG_fail;
22368 }
22369 Py_INCREF(Py_None); resultobj = Py_None;
22370 return resultobj;
22371 fail:
22372 return NULL;
22373 }
22374
22375
22376 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22377 PyObject *resultobj;
22378 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22379 PyObject * obj0 = 0 ;
22380 char *kwnames[] = {
22381 (char *) "self", NULL
22382 };
22383
22384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22387 {
22388 PyThreadState* __tstate = wxPyBeginAllowThreads();
22389 (arg1)->CreateCanvas();
22390
22391 wxPyEndAllowThreads(__tstate);
22392 if (PyErr_Occurred()) SWIG_fail;
22393 }
22394 Py_INCREF(Py_None); resultobj = Py_None;
22395 return resultobj;
22396 fail:
22397 return NULL;
22398 }
22399
22400
22401 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22402 PyObject *resultobj;
22403 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22404 wxPreviewControlBar *result;
22405 PyObject * obj0 = 0 ;
22406 char *kwnames[] = {
22407 (char *) "self", NULL
22408 };
22409
22410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22413 {
22414 PyThreadState* __tstate = wxPyBeginAllowThreads();
22415 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22416
22417 wxPyEndAllowThreads(__tstate);
22418 if (PyErr_Occurred()) SWIG_fail;
22419 }
22420 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22421 return resultobj;
22422 fail:
22423 return NULL;
22424 }
22425
22426
22427 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22428 PyObject *obj;
22429 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22430 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22431 Py_INCREF(obj);
22432 return Py_BuildValue((char *)"");
22433 }
22434 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22435 PyObject *resultobj;
22436 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22437 long arg2 ;
22438 wxWindow *arg3 = (wxWindow *) 0 ;
22439 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22440 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22441 wxSize const &arg5_defvalue = wxDefaultSize ;
22442 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22443 long arg6 = (long) wxTAB_TRAVERSAL ;
22444 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22445 wxString *arg7 = (wxString *) &arg7_defvalue ;
22446 wxPreviewControlBar *result;
22447 wxPoint temp4 ;
22448 wxSize temp5 ;
22449 bool temp7 = False ;
22450 PyObject * obj0 = 0 ;
22451 PyObject * obj1 = 0 ;
22452 PyObject * obj2 = 0 ;
22453 PyObject * obj3 = 0 ;
22454 PyObject * obj4 = 0 ;
22455 PyObject * obj5 = 0 ;
22456 PyObject * obj6 = 0 ;
22457 char *kwnames[] = {
22458 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22459 };
22460
22461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22464 arg2 = (long) SWIG_AsLong(obj1);
22465 if (PyErr_Occurred()) SWIG_fail;
22466 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22468 if (obj3) {
22469 {
22470 arg4 = &temp4;
22471 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22472 }
22473 }
22474 if (obj4) {
22475 {
22476 arg5 = &temp5;
22477 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22478 }
22479 }
22480 if (obj5) {
22481 arg6 = (long) SWIG_AsLong(obj5);
22482 if (PyErr_Occurred()) SWIG_fail;
22483 }
22484 if (obj6) {
22485 {
22486 arg7 = wxString_in_helper(obj6);
22487 if (arg7 == NULL) SWIG_fail;
22488 temp7 = True;
22489 }
22490 }
22491 {
22492 PyThreadState* __tstate = wxPyBeginAllowThreads();
22493 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22494
22495 wxPyEndAllowThreads(__tstate);
22496 if (PyErr_Occurred()) SWIG_fail;
22497 }
22498 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22499 {
22500 if (temp7)
22501 delete arg7;
22502 }
22503 return resultobj;
22504 fail:
22505 {
22506 if (temp7)
22507 delete arg7;
22508 }
22509 return NULL;
22510 }
22511
22512
22513 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22514 PyObject *resultobj;
22515 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22516 int result;
22517 PyObject * obj0 = 0 ;
22518 char *kwnames[] = {
22519 (char *) "self", NULL
22520 };
22521
22522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22525 {
22526 PyThreadState* __tstate = wxPyBeginAllowThreads();
22527 result = (int)(arg1)->GetZoomControl();
22528
22529 wxPyEndAllowThreads(__tstate);
22530 if (PyErr_Occurred()) SWIG_fail;
22531 }
22532 resultobj = SWIG_FromInt((int)result);
22533 return resultobj;
22534 fail:
22535 return NULL;
22536 }
22537
22538
22539 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22540 PyObject *resultobj;
22541 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22542 int arg2 ;
22543 PyObject * obj0 = 0 ;
22544 PyObject * obj1 = 0 ;
22545 char *kwnames[] = {
22546 (char *) "self",(char *) "zoom", NULL
22547 };
22548
22549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22552 arg2 = (int) SWIG_AsInt(obj1);
22553 if (PyErr_Occurred()) SWIG_fail;
22554 {
22555 PyThreadState* __tstate = wxPyBeginAllowThreads();
22556 (arg1)->SetZoomControl(arg2);
22557
22558 wxPyEndAllowThreads(__tstate);
22559 if (PyErr_Occurred()) SWIG_fail;
22560 }
22561 Py_INCREF(Py_None); resultobj = Py_None;
22562 return resultobj;
22563 fail:
22564 return NULL;
22565 }
22566
22567
22568 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22569 PyObject *resultobj;
22570 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22571 wxPrintPreview *result;
22572 PyObject * obj0 = 0 ;
22573 char *kwnames[] = {
22574 (char *) "self", NULL
22575 };
22576
22577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22580 {
22581 PyThreadState* __tstate = wxPyBeginAllowThreads();
22582 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22583
22584 wxPyEndAllowThreads(__tstate);
22585 if (PyErr_Occurred()) SWIG_fail;
22586 }
22587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22588 return resultobj;
22589 fail:
22590 return NULL;
22591 }
22592
22593
22594 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22595 PyObject *resultobj;
22596 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22597 PyObject * obj0 = 0 ;
22598 char *kwnames[] = {
22599 (char *) "self", NULL
22600 };
22601
22602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22605 {
22606 PyThreadState* __tstate = wxPyBeginAllowThreads();
22607 (arg1)->OnNext();
22608
22609 wxPyEndAllowThreads(__tstate);
22610 if (PyErr_Occurred()) SWIG_fail;
22611 }
22612 Py_INCREF(Py_None); resultobj = Py_None;
22613 return resultobj;
22614 fail:
22615 return NULL;
22616 }
22617
22618
22619 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22620 PyObject *resultobj;
22621 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22622 PyObject * obj0 = 0 ;
22623 char *kwnames[] = {
22624 (char *) "self", NULL
22625 };
22626
22627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22630 {
22631 PyThreadState* __tstate = wxPyBeginAllowThreads();
22632 (arg1)->OnPrevious();
22633
22634 wxPyEndAllowThreads(__tstate);
22635 if (PyErr_Occurred()) SWIG_fail;
22636 }
22637 Py_INCREF(Py_None); resultobj = Py_None;
22638 return resultobj;
22639 fail:
22640 return NULL;
22641 }
22642
22643
22644 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22645 PyObject *resultobj;
22646 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22647 PyObject * obj0 = 0 ;
22648 char *kwnames[] = {
22649 (char *) "self", NULL
22650 };
22651
22652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22655 {
22656 PyThreadState* __tstate = wxPyBeginAllowThreads();
22657 (arg1)->OnFirst();
22658
22659 wxPyEndAllowThreads(__tstate);
22660 if (PyErr_Occurred()) SWIG_fail;
22661 }
22662 Py_INCREF(Py_None); resultobj = Py_None;
22663 return resultobj;
22664 fail:
22665 return NULL;
22666 }
22667
22668
22669 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22670 PyObject *resultobj;
22671 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22672 PyObject * obj0 = 0 ;
22673 char *kwnames[] = {
22674 (char *) "self", NULL
22675 };
22676
22677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22680 {
22681 PyThreadState* __tstate = wxPyBeginAllowThreads();
22682 (arg1)->OnLast();
22683
22684 wxPyEndAllowThreads(__tstate);
22685 if (PyErr_Occurred()) SWIG_fail;
22686 }
22687 Py_INCREF(Py_None); resultobj = Py_None;
22688 return resultobj;
22689 fail:
22690 return NULL;
22691 }
22692
22693
22694 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22695 PyObject *resultobj;
22696 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22697 PyObject * obj0 = 0 ;
22698 char *kwnames[] = {
22699 (char *) "self", NULL
22700 };
22701
22702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22705 {
22706 PyThreadState* __tstate = wxPyBeginAllowThreads();
22707 (arg1)->OnGoto();
22708
22709 wxPyEndAllowThreads(__tstate);
22710 if (PyErr_Occurred()) SWIG_fail;
22711 }
22712 Py_INCREF(Py_None); resultobj = Py_None;
22713 return resultobj;
22714 fail:
22715 return NULL;
22716 }
22717
22718
22719 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22720 PyObject *obj;
22721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22722 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22723 Py_INCREF(obj);
22724 return Py_BuildValue((char *)"");
22725 }
22726 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22727 PyObject *resultobj;
22728 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22729 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22730 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22731 wxPrintPreview *result;
22732 PyObject * obj0 = 0 ;
22733 PyObject * obj1 = 0 ;
22734 PyObject * obj2 = 0 ;
22735
22736 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22739 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22741 if (obj2) {
22742 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22744 }
22745 {
22746 PyThreadState* __tstate = wxPyBeginAllowThreads();
22747 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22748
22749 wxPyEndAllowThreads(__tstate);
22750 if (PyErr_Occurred()) SWIG_fail;
22751 }
22752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22753 return resultobj;
22754 fail:
22755 return NULL;
22756 }
22757
22758
22759 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22760 PyObject *resultobj;
22761 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22762 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22763 wxPrintData *arg3 = (wxPrintData *) 0 ;
22764 wxPrintPreview *result;
22765 PyObject * obj0 = 0 ;
22766 PyObject * obj1 = 0 ;
22767 PyObject * obj2 = 0 ;
22768
22769 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22774 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22776 {
22777 PyThreadState* __tstate = wxPyBeginAllowThreads();
22778 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22779
22780 wxPyEndAllowThreads(__tstate);
22781 if (PyErr_Occurred()) SWIG_fail;
22782 }
22783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22784 return resultobj;
22785 fail:
22786 return NULL;
22787 }
22788
22789
22790 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22791 int argc;
22792 PyObject *argv[4];
22793 int ii;
22794
22795 argc = PyObject_Length(args);
22796 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22797 argv[ii] = PyTuple_GetItem(args,ii);
22798 }
22799 if ((argc >= 2) && (argc <= 3)) {
22800 int _v;
22801 {
22802 void *ptr;
22803 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22804 _v = 0;
22805 PyErr_Clear();
22806 } else {
22807 _v = 1;
22808 }
22809 }
22810 if (_v) {
22811 {
22812 void *ptr;
22813 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22814 _v = 0;
22815 PyErr_Clear();
22816 } else {
22817 _v = 1;
22818 }
22819 }
22820 if (_v) {
22821 if (argc <= 2) {
22822 return _wrap_new_PrintPreview__SWIG_0(self,args);
22823 }
22824 {
22825 void *ptr;
22826 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22827 _v = 0;
22828 PyErr_Clear();
22829 } else {
22830 _v = 1;
22831 }
22832 }
22833 if (_v) {
22834 return _wrap_new_PrintPreview__SWIG_0(self,args);
22835 }
22836 }
22837 }
22838 }
22839 if (argc == 3) {
22840 int _v;
22841 {
22842 void *ptr;
22843 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22844 _v = 0;
22845 PyErr_Clear();
22846 } else {
22847 _v = 1;
22848 }
22849 }
22850 if (_v) {
22851 {
22852 void *ptr;
22853 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22854 _v = 0;
22855 PyErr_Clear();
22856 } else {
22857 _v = 1;
22858 }
22859 }
22860 if (_v) {
22861 {
22862 void *ptr;
22863 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22864 _v = 0;
22865 PyErr_Clear();
22866 } else {
22867 _v = 1;
22868 }
22869 }
22870 if (_v) {
22871 return _wrap_new_PrintPreview__SWIG_1(self,args);
22872 }
22873 }
22874 }
22875 }
22876
22877 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22878 return NULL;
22879 }
22880
22881
22882 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22883 PyObject *resultobj;
22884 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22885 int arg2 ;
22886 bool result;
22887 PyObject * obj0 = 0 ;
22888 PyObject * obj1 = 0 ;
22889 char *kwnames[] = {
22890 (char *) "self",(char *) "pageNum", NULL
22891 };
22892
22893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22896 arg2 = (int) SWIG_AsInt(obj1);
22897 if (PyErr_Occurred()) SWIG_fail;
22898 {
22899 PyThreadState* __tstate = wxPyBeginAllowThreads();
22900 result = (bool)(arg1)->SetCurrentPage(arg2);
22901
22902 wxPyEndAllowThreads(__tstate);
22903 if (PyErr_Occurred()) SWIG_fail;
22904 }
22905 {
22906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22907 }
22908 return resultobj;
22909 fail:
22910 return NULL;
22911 }
22912
22913
22914 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22915 PyObject *resultobj;
22916 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22917 int result;
22918 PyObject * obj0 = 0 ;
22919 char *kwnames[] = {
22920 (char *) "self", NULL
22921 };
22922
22923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
22924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22926 {
22927 PyThreadState* __tstate = wxPyBeginAllowThreads();
22928 result = (int)(arg1)->GetCurrentPage();
22929
22930 wxPyEndAllowThreads(__tstate);
22931 if (PyErr_Occurred()) SWIG_fail;
22932 }
22933 resultobj = SWIG_FromInt((int)result);
22934 return resultobj;
22935 fail:
22936 return NULL;
22937 }
22938
22939
22940 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22941 PyObject *resultobj;
22942 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22943 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22944 PyObject * obj0 = 0 ;
22945 PyObject * obj1 = 0 ;
22946 char *kwnames[] = {
22947 (char *) "self",(char *) "printout", NULL
22948 };
22949
22950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
22951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22955 {
22956 PyThreadState* __tstate = wxPyBeginAllowThreads();
22957 (arg1)->SetPrintout(arg2);
22958
22959 wxPyEndAllowThreads(__tstate);
22960 if (PyErr_Occurred()) SWIG_fail;
22961 }
22962 Py_INCREF(Py_None); resultobj = Py_None;
22963 return resultobj;
22964 fail:
22965 return NULL;
22966 }
22967
22968
22969 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22970 PyObject *resultobj;
22971 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22972 wxPyPrintout *result;
22973 PyObject * obj0 = 0 ;
22974 char *kwnames[] = {
22975 (char *) "self", NULL
22976 };
22977
22978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
22979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22981 {
22982 PyThreadState* __tstate = wxPyBeginAllowThreads();
22983 result = (wxPyPrintout *)(arg1)->GetPrintout();
22984
22985 wxPyEndAllowThreads(__tstate);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 }
22988 {
22989 resultobj = wxPyMake_wxObject(result);
22990 }
22991 return resultobj;
22992 fail:
22993 return NULL;
22994 }
22995
22996
22997 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22998 PyObject *resultobj;
22999 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23000 wxPyPrintout *result;
23001 PyObject * obj0 = 0 ;
23002 char *kwnames[] = {
23003 (char *) "self", NULL
23004 };
23005
23006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23009 {
23010 PyThreadState* __tstate = wxPyBeginAllowThreads();
23011 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23012
23013 wxPyEndAllowThreads(__tstate);
23014 if (PyErr_Occurred()) SWIG_fail;
23015 }
23016 {
23017 resultobj = wxPyMake_wxObject(result);
23018 }
23019 return resultobj;
23020 fail:
23021 return NULL;
23022 }
23023
23024
23025 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23026 PyObject *resultobj;
23027 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23028 wxFrame *arg2 = (wxFrame *) 0 ;
23029 PyObject * obj0 = 0 ;
23030 PyObject * obj1 = 0 ;
23031 char *kwnames[] = {
23032 (char *) "self",(char *) "frame", NULL
23033 };
23034
23035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23038 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23040 {
23041 PyThreadState* __tstate = wxPyBeginAllowThreads();
23042 (arg1)->SetFrame(arg2);
23043
23044 wxPyEndAllowThreads(__tstate);
23045 if (PyErr_Occurred()) SWIG_fail;
23046 }
23047 Py_INCREF(Py_None); resultobj = Py_None;
23048 return resultobj;
23049 fail:
23050 return NULL;
23051 }
23052
23053
23054 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23055 PyObject *resultobj;
23056 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23057 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23058 PyObject * obj0 = 0 ;
23059 PyObject * obj1 = 0 ;
23060 char *kwnames[] = {
23061 (char *) "self",(char *) "canvas", NULL
23062 };
23063
23064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23067 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23069 {
23070 PyThreadState* __tstate = wxPyBeginAllowThreads();
23071 (arg1)->SetCanvas(arg2);
23072
23073 wxPyEndAllowThreads(__tstate);
23074 if (PyErr_Occurred()) SWIG_fail;
23075 }
23076 Py_INCREF(Py_None); resultobj = Py_None;
23077 return resultobj;
23078 fail:
23079 return NULL;
23080 }
23081
23082
23083 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23084 PyObject *resultobj;
23085 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23086 wxFrame *result;
23087 PyObject * obj0 = 0 ;
23088 char *kwnames[] = {
23089 (char *) "self", NULL
23090 };
23091
23092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23095 {
23096 PyThreadState* __tstate = wxPyBeginAllowThreads();
23097 result = (wxFrame *)(arg1)->GetFrame();
23098
23099 wxPyEndAllowThreads(__tstate);
23100 if (PyErr_Occurred()) SWIG_fail;
23101 }
23102 {
23103 resultobj = wxPyMake_wxObject(result);
23104 }
23105 return resultobj;
23106 fail:
23107 return NULL;
23108 }
23109
23110
23111 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23112 PyObject *resultobj;
23113 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23114 wxPreviewCanvas *result;
23115 PyObject * obj0 = 0 ;
23116 char *kwnames[] = {
23117 (char *) "self", NULL
23118 };
23119
23120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23123 {
23124 PyThreadState* __tstate = wxPyBeginAllowThreads();
23125 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23126
23127 wxPyEndAllowThreads(__tstate);
23128 if (PyErr_Occurred()) SWIG_fail;
23129 }
23130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23131 return resultobj;
23132 fail:
23133 return NULL;
23134 }
23135
23136
23137 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23138 PyObject *resultobj;
23139 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23140 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23141 wxDC *arg3 = 0 ;
23142 bool result;
23143 PyObject * obj0 = 0 ;
23144 PyObject * obj1 = 0 ;
23145 PyObject * obj2 = 0 ;
23146 char *kwnames[] = {
23147 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23148 };
23149
23150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23153 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23155 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23156 SWIG_POINTER_EXCEPTION | 0)) == -1)
23157 SWIG_fail;
23158 if (arg3 == NULL) {
23159 PyErr_SetString(PyExc_TypeError,"null reference");
23160 SWIG_fail;
23161 }
23162 {
23163 PyThreadState* __tstate = wxPyBeginAllowThreads();
23164 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23165
23166 wxPyEndAllowThreads(__tstate);
23167 if (PyErr_Occurred()) SWIG_fail;
23168 }
23169 {
23170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23171 }
23172 return resultobj;
23173 fail:
23174 return NULL;
23175 }
23176
23177
23178 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23179 PyObject *resultobj;
23180 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23181 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23182 wxDC *arg3 = 0 ;
23183 bool result;
23184 PyObject * obj0 = 0 ;
23185 PyObject * obj1 = 0 ;
23186 PyObject * obj2 = 0 ;
23187 char *kwnames[] = {
23188 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23189 };
23190
23191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23196 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23197 SWIG_POINTER_EXCEPTION | 0)) == -1)
23198 SWIG_fail;
23199 if (arg3 == NULL) {
23200 PyErr_SetString(PyExc_TypeError,"null reference");
23201 SWIG_fail;
23202 }
23203 {
23204 PyThreadState* __tstate = wxPyBeginAllowThreads();
23205 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23206
23207 wxPyEndAllowThreads(__tstate);
23208 if (PyErr_Occurred()) SWIG_fail;
23209 }
23210 {
23211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23212 }
23213 return resultobj;
23214 fail:
23215 return NULL;
23216 }
23217
23218
23219 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23220 PyObject *resultobj;
23221 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23222 int arg2 ;
23223 bool result;
23224 PyObject * obj0 = 0 ;
23225 PyObject * obj1 = 0 ;
23226 char *kwnames[] = {
23227 (char *) "self",(char *) "pageNum", NULL
23228 };
23229
23230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23233 arg2 = (int) SWIG_AsInt(obj1);
23234 if (PyErr_Occurred()) SWIG_fail;
23235 {
23236 PyThreadState* __tstate = wxPyBeginAllowThreads();
23237 result = (bool)(arg1)->RenderPage(arg2);
23238
23239 wxPyEndAllowThreads(__tstate);
23240 if (PyErr_Occurred()) SWIG_fail;
23241 }
23242 {
23243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23244 }
23245 return resultobj;
23246 fail:
23247 return NULL;
23248 }
23249
23250
23251 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23252 PyObject *resultobj;
23253 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23254 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23255 PyObject * obj0 = 0 ;
23256 PyObject * obj1 = 0 ;
23257 char *kwnames[] = {
23258 (char *) "self",(char *) "canvas", NULL
23259 };
23260
23261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23266 {
23267 PyThreadState* __tstate = wxPyBeginAllowThreads();
23268 (arg1)->AdjustScrollbars(arg2);
23269
23270 wxPyEndAllowThreads(__tstate);
23271 if (PyErr_Occurred()) SWIG_fail;
23272 }
23273 Py_INCREF(Py_None); resultobj = Py_None;
23274 return resultobj;
23275 fail:
23276 return NULL;
23277 }
23278
23279
23280 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23281 PyObject *resultobj;
23282 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23283 wxPrintDialogData *result;
23284 PyObject * obj0 = 0 ;
23285 char *kwnames[] = {
23286 (char *) "self", NULL
23287 };
23288
23289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23292 {
23293 PyThreadState* __tstate = wxPyBeginAllowThreads();
23294 {
23295 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23296 result = (wxPrintDialogData *) &_result_ref;
23297 }
23298
23299 wxPyEndAllowThreads(__tstate);
23300 if (PyErr_Occurred()) SWIG_fail;
23301 }
23302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23303 return resultobj;
23304 fail:
23305 return NULL;
23306 }
23307
23308
23309 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23310 PyObject *resultobj;
23311 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23312 int arg2 ;
23313 PyObject * obj0 = 0 ;
23314 PyObject * obj1 = 0 ;
23315 char *kwnames[] = {
23316 (char *) "self",(char *) "percent", NULL
23317 };
23318
23319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23322 arg2 = (int) SWIG_AsInt(obj1);
23323 if (PyErr_Occurred()) SWIG_fail;
23324 {
23325 PyThreadState* __tstate = wxPyBeginAllowThreads();
23326 (arg1)->SetZoom(arg2);
23327
23328 wxPyEndAllowThreads(__tstate);
23329 if (PyErr_Occurred()) SWIG_fail;
23330 }
23331 Py_INCREF(Py_None); resultobj = Py_None;
23332 return resultobj;
23333 fail:
23334 return NULL;
23335 }
23336
23337
23338 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23339 PyObject *resultobj;
23340 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23341 int result;
23342 PyObject * obj0 = 0 ;
23343 char *kwnames[] = {
23344 (char *) "self", NULL
23345 };
23346
23347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23350 {
23351 PyThreadState* __tstate = wxPyBeginAllowThreads();
23352 result = (int)(arg1)->GetZoom();
23353
23354 wxPyEndAllowThreads(__tstate);
23355 if (PyErr_Occurred()) SWIG_fail;
23356 }
23357 resultobj = SWIG_FromInt((int)result);
23358 return resultobj;
23359 fail:
23360 return NULL;
23361 }
23362
23363
23364 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23365 PyObject *resultobj;
23366 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23367 int result;
23368 PyObject * obj0 = 0 ;
23369 char *kwnames[] = {
23370 (char *) "self", NULL
23371 };
23372
23373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23376 {
23377 PyThreadState* __tstate = wxPyBeginAllowThreads();
23378 result = (int)(arg1)->GetMaxPage();
23379
23380 wxPyEndAllowThreads(__tstate);
23381 if (PyErr_Occurred()) SWIG_fail;
23382 }
23383 resultobj = SWIG_FromInt((int)result);
23384 return resultobj;
23385 fail:
23386 return NULL;
23387 }
23388
23389
23390 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23391 PyObject *resultobj;
23392 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23393 int result;
23394 PyObject * obj0 = 0 ;
23395 char *kwnames[] = {
23396 (char *) "self", NULL
23397 };
23398
23399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23402 {
23403 PyThreadState* __tstate = wxPyBeginAllowThreads();
23404 result = (int)(arg1)->GetMinPage();
23405
23406 wxPyEndAllowThreads(__tstate);
23407 if (PyErr_Occurred()) SWIG_fail;
23408 }
23409 resultobj = SWIG_FromInt((int)result);
23410 return resultobj;
23411 fail:
23412 return NULL;
23413 }
23414
23415
23416 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23417 PyObject *resultobj;
23418 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23419 bool result;
23420 PyObject * obj0 = 0 ;
23421 char *kwnames[] = {
23422 (char *) "self", NULL
23423 };
23424
23425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23428 {
23429 PyThreadState* __tstate = wxPyBeginAllowThreads();
23430 result = (bool)(arg1)->Ok();
23431
23432 wxPyEndAllowThreads(__tstate);
23433 if (PyErr_Occurred()) SWIG_fail;
23434 }
23435 {
23436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23437 }
23438 return resultobj;
23439 fail:
23440 return NULL;
23441 }
23442
23443
23444 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23445 PyObject *resultobj;
23446 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23447 bool arg2 ;
23448 PyObject * obj0 = 0 ;
23449 PyObject * obj1 = 0 ;
23450 char *kwnames[] = {
23451 (char *) "self",(char *) "ok", NULL
23452 };
23453
23454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23457 arg2 = (bool) SWIG_AsBool(obj1);
23458 if (PyErr_Occurred()) SWIG_fail;
23459 {
23460 PyThreadState* __tstate = wxPyBeginAllowThreads();
23461 (arg1)->SetOk(arg2);
23462
23463 wxPyEndAllowThreads(__tstate);
23464 if (PyErr_Occurred()) SWIG_fail;
23465 }
23466 Py_INCREF(Py_None); resultobj = Py_None;
23467 return resultobj;
23468 fail:
23469 return NULL;
23470 }
23471
23472
23473 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23474 PyObject *resultobj;
23475 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23476 bool arg2 ;
23477 bool result;
23478 PyObject * obj0 = 0 ;
23479 PyObject * obj1 = 0 ;
23480 char *kwnames[] = {
23481 (char *) "self",(char *) "interactive", NULL
23482 };
23483
23484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23487 arg2 = (bool) SWIG_AsBool(obj1);
23488 if (PyErr_Occurred()) SWIG_fail;
23489 {
23490 PyThreadState* __tstate = wxPyBeginAllowThreads();
23491 result = (bool)(arg1)->Print(arg2);
23492
23493 wxPyEndAllowThreads(__tstate);
23494 if (PyErr_Occurred()) SWIG_fail;
23495 }
23496 {
23497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23498 }
23499 return resultobj;
23500 fail:
23501 return NULL;
23502 }
23503
23504
23505 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23506 PyObject *resultobj;
23507 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23508 PyObject * obj0 = 0 ;
23509 char *kwnames[] = {
23510 (char *) "self", NULL
23511 };
23512
23513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23516 {
23517 PyThreadState* __tstate = wxPyBeginAllowThreads();
23518 (arg1)->DetermineScaling();
23519
23520 wxPyEndAllowThreads(__tstate);
23521 if (PyErr_Occurred()) SWIG_fail;
23522 }
23523 Py_INCREF(Py_None); resultobj = Py_None;
23524 return resultobj;
23525 fail:
23526 return NULL;
23527 }
23528
23529
23530 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23531 PyObject *obj;
23532 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23533 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23534 Py_INCREF(obj);
23535 return Py_BuildValue((char *)"");
23536 }
23537 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23538 PyObject *resultobj;
23539 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23540 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23541 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23542 wxPyPrintPreview *result;
23543 PyObject * obj0 = 0 ;
23544 PyObject * obj1 = 0 ;
23545 PyObject * obj2 = 0 ;
23546
23547 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23550 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23552 if (obj2) {
23553 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23555 }
23556 {
23557 PyThreadState* __tstate = wxPyBeginAllowThreads();
23558 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23559
23560 wxPyEndAllowThreads(__tstate);
23561 if (PyErr_Occurred()) SWIG_fail;
23562 }
23563 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23564 return resultobj;
23565 fail:
23566 return NULL;
23567 }
23568
23569
23570 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23571 PyObject *resultobj;
23572 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23573 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23574 wxPrintData *arg3 = (wxPrintData *) 0 ;
23575 wxPyPrintPreview *result;
23576 PyObject * obj0 = 0 ;
23577 PyObject * obj1 = 0 ;
23578 PyObject * obj2 = 0 ;
23579
23580 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23583 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23585 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23587 {
23588 PyThreadState* __tstate = wxPyBeginAllowThreads();
23589 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23590
23591 wxPyEndAllowThreads(__tstate);
23592 if (PyErr_Occurred()) SWIG_fail;
23593 }
23594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23595 return resultobj;
23596 fail:
23597 return NULL;
23598 }
23599
23600
23601 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23602 int argc;
23603 PyObject *argv[4];
23604 int ii;
23605
23606 argc = PyObject_Length(args);
23607 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23608 argv[ii] = PyTuple_GetItem(args,ii);
23609 }
23610 if ((argc >= 2) && (argc <= 3)) {
23611 int _v;
23612 {
23613 void *ptr;
23614 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23615 _v = 0;
23616 PyErr_Clear();
23617 } else {
23618 _v = 1;
23619 }
23620 }
23621 if (_v) {
23622 {
23623 void *ptr;
23624 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23625 _v = 0;
23626 PyErr_Clear();
23627 } else {
23628 _v = 1;
23629 }
23630 }
23631 if (_v) {
23632 if (argc <= 2) {
23633 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23634 }
23635 {
23636 void *ptr;
23637 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23638 _v = 0;
23639 PyErr_Clear();
23640 } else {
23641 _v = 1;
23642 }
23643 }
23644 if (_v) {
23645 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23646 }
23647 }
23648 }
23649 }
23650 if (argc == 3) {
23651 int _v;
23652 {
23653 void *ptr;
23654 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23655 _v = 0;
23656 PyErr_Clear();
23657 } else {
23658 _v = 1;
23659 }
23660 }
23661 if (_v) {
23662 {
23663 void *ptr;
23664 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23665 _v = 0;
23666 PyErr_Clear();
23667 } else {
23668 _v = 1;
23669 }
23670 }
23671 if (_v) {
23672 {
23673 void *ptr;
23674 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23675 _v = 0;
23676 PyErr_Clear();
23677 } else {
23678 _v = 1;
23679 }
23680 }
23681 if (_v) {
23682 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23683 }
23684 }
23685 }
23686 }
23687
23688 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23689 return NULL;
23690 }
23691
23692
23693 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23694 PyObject *resultobj;
23695 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23696 PyObject *arg2 = (PyObject *) 0 ;
23697 PyObject *arg3 = (PyObject *) 0 ;
23698 PyObject * obj0 = 0 ;
23699 PyObject * obj1 = 0 ;
23700 PyObject * obj2 = 0 ;
23701 char *kwnames[] = {
23702 (char *) "self",(char *) "self",(char *) "_class", NULL
23703 };
23704
23705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23708 arg2 = obj1;
23709 arg3 = obj2;
23710 {
23711 PyThreadState* __tstate = wxPyBeginAllowThreads();
23712 (arg1)->_setCallbackInfo(arg2,arg3);
23713
23714 wxPyEndAllowThreads(__tstate);
23715 if (PyErr_Occurred()) SWIG_fail;
23716 }
23717 Py_INCREF(Py_None); resultobj = Py_None;
23718 return resultobj;
23719 fail:
23720 return NULL;
23721 }
23722
23723
23724 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23725 PyObject *resultobj;
23726 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23727 int arg2 ;
23728 bool result;
23729 PyObject * obj0 = 0 ;
23730 PyObject * obj1 = 0 ;
23731 char *kwnames[] = {
23732 (char *) "self",(char *) "pageNum", NULL
23733 };
23734
23735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23738 arg2 = (int) SWIG_AsInt(obj1);
23739 if (PyErr_Occurred()) SWIG_fail;
23740 {
23741 PyThreadState* __tstate = wxPyBeginAllowThreads();
23742 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23743
23744 wxPyEndAllowThreads(__tstate);
23745 if (PyErr_Occurred()) SWIG_fail;
23746 }
23747 {
23748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23749 }
23750 return resultobj;
23751 fail:
23752 return NULL;
23753 }
23754
23755
23756 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23757 PyObject *resultobj;
23758 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23759 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23760 wxDC *arg3 = 0 ;
23761 bool result;
23762 PyObject * obj0 = 0 ;
23763 PyObject * obj1 = 0 ;
23764 PyObject * obj2 = 0 ;
23765 char *kwnames[] = {
23766 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23767 };
23768
23769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23774 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23775 SWIG_POINTER_EXCEPTION | 0)) == -1)
23776 SWIG_fail;
23777 if (arg3 == NULL) {
23778 PyErr_SetString(PyExc_TypeError,"null reference");
23779 SWIG_fail;
23780 }
23781 {
23782 PyThreadState* __tstate = wxPyBeginAllowThreads();
23783 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23784
23785 wxPyEndAllowThreads(__tstate);
23786 if (PyErr_Occurred()) SWIG_fail;
23787 }
23788 {
23789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23790 }
23791 return resultobj;
23792 fail:
23793 return NULL;
23794 }
23795
23796
23797 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23798 PyObject *resultobj;
23799 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23800 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23801 wxDC *arg3 = 0 ;
23802 bool result;
23803 PyObject * obj0 = 0 ;
23804 PyObject * obj1 = 0 ;
23805 PyObject * obj2 = 0 ;
23806 char *kwnames[] = {
23807 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23808 };
23809
23810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23813 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23815 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23816 SWIG_POINTER_EXCEPTION | 0)) == -1)
23817 SWIG_fail;
23818 if (arg3 == NULL) {
23819 PyErr_SetString(PyExc_TypeError,"null reference");
23820 SWIG_fail;
23821 }
23822 {
23823 PyThreadState* __tstate = wxPyBeginAllowThreads();
23824 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23825
23826 wxPyEndAllowThreads(__tstate);
23827 if (PyErr_Occurred()) SWIG_fail;
23828 }
23829 {
23830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23831 }
23832 return resultobj;
23833 fail:
23834 return NULL;
23835 }
23836
23837
23838 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23839 PyObject *resultobj;
23840 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23841 int arg2 ;
23842 bool result;
23843 PyObject * obj0 = 0 ;
23844 PyObject * obj1 = 0 ;
23845 char *kwnames[] = {
23846 (char *) "self",(char *) "pageNum", NULL
23847 };
23848
23849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23852 arg2 = (int) SWIG_AsInt(obj1);
23853 if (PyErr_Occurred()) SWIG_fail;
23854 {
23855 PyThreadState* __tstate = wxPyBeginAllowThreads();
23856 result = (bool)(arg1)->base_RenderPage(arg2);
23857
23858 wxPyEndAllowThreads(__tstate);
23859 if (PyErr_Occurred()) SWIG_fail;
23860 }
23861 {
23862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23863 }
23864 return resultobj;
23865 fail:
23866 return NULL;
23867 }
23868
23869
23870 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23871 PyObject *resultobj;
23872 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23873 int arg2 ;
23874 PyObject * obj0 = 0 ;
23875 PyObject * obj1 = 0 ;
23876 char *kwnames[] = {
23877 (char *) "self",(char *) "percent", NULL
23878 };
23879
23880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23883 arg2 = (int) SWIG_AsInt(obj1);
23884 if (PyErr_Occurred()) SWIG_fail;
23885 {
23886 PyThreadState* __tstate = wxPyBeginAllowThreads();
23887 (arg1)->base_SetZoom(arg2);
23888
23889 wxPyEndAllowThreads(__tstate);
23890 if (PyErr_Occurred()) SWIG_fail;
23891 }
23892 Py_INCREF(Py_None); resultobj = Py_None;
23893 return resultobj;
23894 fail:
23895 return NULL;
23896 }
23897
23898
23899 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23900 PyObject *resultobj;
23901 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23902 bool arg2 ;
23903 bool result;
23904 PyObject * obj0 = 0 ;
23905 PyObject * obj1 = 0 ;
23906 char *kwnames[] = {
23907 (char *) "self",(char *) "interactive", NULL
23908 };
23909
23910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
23911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23913 arg2 = (bool) SWIG_AsBool(obj1);
23914 if (PyErr_Occurred()) SWIG_fail;
23915 {
23916 PyThreadState* __tstate = wxPyBeginAllowThreads();
23917 result = (bool)(arg1)->base_Print(arg2);
23918
23919 wxPyEndAllowThreads(__tstate);
23920 if (PyErr_Occurred()) SWIG_fail;
23921 }
23922 {
23923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23924 }
23925 return resultobj;
23926 fail:
23927 return NULL;
23928 }
23929
23930
23931 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23932 PyObject *resultobj;
23933 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23934 PyObject * obj0 = 0 ;
23935 char *kwnames[] = {
23936 (char *) "self", NULL
23937 };
23938
23939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
23940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23942 {
23943 PyThreadState* __tstate = wxPyBeginAllowThreads();
23944 (arg1)->base_DetermineScaling();
23945
23946 wxPyEndAllowThreads(__tstate);
23947 if (PyErr_Occurred()) SWIG_fail;
23948 }
23949 Py_INCREF(Py_None); resultobj = Py_None;
23950 return resultobj;
23951 fail:
23952 return NULL;
23953 }
23954
23955
23956 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
23957 PyObject *obj;
23958 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23959 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
23960 Py_INCREF(obj);
23961 return Py_BuildValue((char *)"");
23962 }
23963 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23964 PyObject *resultobj;
23965 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23966 wxFrame *arg2 = (wxFrame *) 0 ;
23967 wxString *arg3 = 0 ;
23968 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23969 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23970 wxSize const &arg5_defvalue = wxDefaultSize ;
23971 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23972 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23973 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23974 wxString *arg7 = (wxString *) &arg7_defvalue ;
23975 wxPyPreviewFrame *result;
23976 bool temp3 = False ;
23977 wxPoint temp4 ;
23978 wxSize temp5 ;
23979 bool temp7 = False ;
23980 PyObject * obj0 = 0 ;
23981 PyObject * obj1 = 0 ;
23982 PyObject * obj2 = 0 ;
23983 PyObject * obj3 = 0 ;
23984 PyObject * obj4 = 0 ;
23985 PyObject * obj5 = 0 ;
23986 PyObject * obj6 = 0 ;
23987 char *kwnames[] = {
23988 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23989 };
23990
23991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23994 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23996 {
23997 arg3 = wxString_in_helper(obj2);
23998 if (arg3 == NULL) SWIG_fail;
23999 temp3 = True;
24000 }
24001 if (obj3) {
24002 {
24003 arg4 = &temp4;
24004 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24005 }
24006 }
24007 if (obj4) {
24008 {
24009 arg5 = &temp5;
24010 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24011 }
24012 }
24013 if (obj5) {
24014 arg6 = (long) SWIG_AsLong(obj5);
24015 if (PyErr_Occurred()) SWIG_fail;
24016 }
24017 if (obj6) {
24018 {
24019 arg7 = wxString_in_helper(obj6);
24020 if (arg7 == NULL) SWIG_fail;
24021 temp7 = True;
24022 }
24023 }
24024 {
24025 PyThreadState* __tstate = wxPyBeginAllowThreads();
24026 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24027
24028 wxPyEndAllowThreads(__tstate);
24029 if (PyErr_Occurred()) SWIG_fail;
24030 }
24031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24032 {
24033 if (temp3)
24034 delete arg3;
24035 }
24036 {
24037 if (temp7)
24038 delete arg7;
24039 }
24040 return resultobj;
24041 fail:
24042 {
24043 if (temp3)
24044 delete arg3;
24045 }
24046 {
24047 if (temp7)
24048 delete arg7;
24049 }
24050 return NULL;
24051 }
24052
24053
24054 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24055 PyObject *resultobj;
24056 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24057 PyObject *arg2 = (PyObject *) 0 ;
24058 PyObject *arg3 = (PyObject *) 0 ;
24059 PyObject * obj0 = 0 ;
24060 PyObject * obj1 = 0 ;
24061 PyObject * obj2 = 0 ;
24062 char *kwnames[] = {
24063 (char *) "self",(char *) "self",(char *) "_class", NULL
24064 };
24065
24066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24069 arg2 = obj1;
24070 arg3 = obj2;
24071 {
24072 PyThreadState* __tstate = wxPyBeginAllowThreads();
24073 (arg1)->_setCallbackInfo(arg2,arg3);
24074
24075 wxPyEndAllowThreads(__tstate);
24076 if (PyErr_Occurred()) SWIG_fail;
24077 }
24078 Py_INCREF(Py_None); resultobj = Py_None;
24079 return resultobj;
24080 fail:
24081 return NULL;
24082 }
24083
24084
24085 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24086 PyObject *resultobj;
24087 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24088 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24089 PyObject * obj0 = 0 ;
24090 PyObject * obj1 = 0 ;
24091 char *kwnames[] = {
24092 (char *) "self",(char *) "canvas", NULL
24093 };
24094
24095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24098 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24100 {
24101 PyThreadState* __tstate = wxPyBeginAllowThreads();
24102 (arg1)->SetPreviewCanvas(arg2);
24103
24104 wxPyEndAllowThreads(__tstate);
24105 if (PyErr_Occurred()) SWIG_fail;
24106 }
24107 Py_INCREF(Py_None); resultobj = Py_None;
24108 return resultobj;
24109 fail:
24110 return NULL;
24111 }
24112
24113
24114 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24115 PyObject *resultobj;
24116 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24117 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24118 PyObject * obj0 = 0 ;
24119 PyObject * obj1 = 0 ;
24120 char *kwnames[] = {
24121 (char *) "self",(char *) "bar", NULL
24122 };
24123
24124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24127 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24129 {
24130 PyThreadState* __tstate = wxPyBeginAllowThreads();
24131 (arg1)->SetControlBar(arg2);
24132
24133 wxPyEndAllowThreads(__tstate);
24134 if (PyErr_Occurred()) SWIG_fail;
24135 }
24136 Py_INCREF(Py_None); resultobj = Py_None;
24137 return resultobj;
24138 fail:
24139 return NULL;
24140 }
24141
24142
24143 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24144 PyObject *resultobj;
24145 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24146 PyObject * obj0 = 0 ;
24147 char *kwnames[] = {
24148 (char *) "self", NULL
24149 };
24150
24151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24154 {
24155 PyThreadState* __tstate = wxPyBeginAllowThreads();
24156 (arg1)->base_Initialize();
24157
24158 wxPyEndAllowThreads(__tstate);
24159 if (PyErr_Occurred()) SWIG_fail;
24160 }
24161 Py_INCREF(Py_None); resultobj = Py_None;
24162 return resultobj;
24163 fail:
24164 return NULL;
24165 }
24166
24167
24168 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24169 PyObject *resultobj;
24170 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24171 PyObject * obj0 = 0 ;
24172 char *kwnames[] = {
24173 (char *) "self", NULL
24174 };
24175
24176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 (arg1)->base_CreateCanvas();
24182
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
24186 Py_INCREF(Py_None); resultobj = Py_None;
24187 return resultobj;
24188 fail:
24189 return NULL;
24190 }
24191
24192
24193 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24194 PyObject *resultobj;
24195 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24196 PyObject * obj0 = 0 ;
24197 char *kwnames[] = {
24198 (char *) "self", NULL
24199 };
24200
24201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24204 {
24205 PyThreadState* __tstate = wxPyBeginAllowThreads();
24206 (arg1)->base_CreateControlBar();
24207
24208 wxPyEndAllowThreads(__tstate);
24209 if (PyErr_Occurred()) SWIG_fail;
24210 }
24211 Py_INCREF(Py_None); resultobj = Py_None;
24212 return resultobj;
24213 fail:
24214 return NULL;
24215 }
24216
24217
24218 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24219 PyObject *obj;
24220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24221 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24222 Py_INCREF(obj);
24223 return Py_BuildValue((char *)"");
24224 }
24225 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24226 PyObject *resultobj;
24227 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24228 long arg2 ;
24229 wxWindow *arg3 = (wxWindow *) 0 ;
24230 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24231 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24232 wxSize const &arg5_defvalue = wxDefaultSize ;
24233 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24234 long arg6 = (long) 0 ;
24235 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24236 wxString *arg7 = (wxString *) &arg7_defvalue ;
24237 wxPyPreviewControlBar *result;
24238 wxPoint temp4 ;
24239 wxSize temp5 ;
24240 bool temp7 = False ;
24241 PyObject * obj0 = 0 ;
24242 PyObject * obj1 = 0 ;
24243 PyObject * obj2 = 0 ;
24244 PyObject * obj3 = 0 ;
24245 PyObject * obj4 = 0 ;
24246 PyObject * obj5 = 0 ;
24247 PyObject * obj6 = 0 ;
24248 char *kwnames[] = {
24249 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24250 };
24251
24252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24255 arg2 = (long) SWIG_AsLong(obj1);
24256 if (PyErr_Occurred()) SWIG_fail;
24257 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24259 if (obj3) {
24260 {
24261 arg4 = &temp4;
24262 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24263 }
24264 }
24265 if (obj4) {
24266 {
24267 arg5 = &temp5;
24268 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24269 }
24270 }
24271 if (obj5) {
24272 arg6 = (long) SWIG_AsLong(obj5);
24273 if (PyErr_Occurred()) SWIG_fail;
24274 }
24275 if (obj6) {
24276 {
24277 arg7 = wxString_in_helper(obj6);
24278 if (arg7 == NULL) SWIG_fail;
24279 temp7 = True;
24280 }
24281 }
24282 {
24283 PyThreadState* __tstate = wxPyBeginAllowThreads();
24284 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24285
24286 wxPyEndAllowThreads(__tstate);
24287 if (PyErr_Occurred()) SWIG_fail;
24288 }
24289 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24290 {
24291 if (temp7)
24292 delete arg7;
24293 }
24294 return resultobj;
24295 fail:
24296 {
24297 if (temp7)
24298 delete arg7;
24299 }
24300 return NULL;
24301 }
24302
24303
24304 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24305 PyObject *resultobj;
24306 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24307 PyObject *arg2 = (PyObject *) 0 ;
24308 PyObject *arg3 = (PyObject *) 0 ;
24309 PyObject * obj0 = 0 ;
24310 PyObject * obj1 = 0 ;
24311 PyObject * obj2 = 0 ;
24312 char *kwnames[] = {
24313 (char *) "self",(char *) "self",(char *) "_class", NULL
24314 };
24315
24316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24319 arg2 = obj1;
24320 arg3 = obj2;
24321 {
24322 PyThreadState* __tstate = wxPyBeginAllowThreads();
24323 (arg1)->_setCallbackInfo(arg2,arg3);
24324
24325 wxPyEndAllowThreads(__tstate);
24326 if (PyErr_Occurred()) SWIG_fail;
24327 }
24328 Py_INCREF(Py_None); resultobj = Py_None;
24329 return resultobj;
24330 fail:
24331 return NULL;
24332 }
24333
24334
24335 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24336 PyObject *resultobj;
24337 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24338 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24339 PyObject * obj0 = 0 ;
24340 PyObject * obj1 = 0 ;
24341 char *kwnames[] = {
24342 (char *) "self",(char *) "preview", NULL
24343 };
24344
24345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24348 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24350 {
24351 PyThreadState* __tstate = wxPyBeginAllowThreads();
24352 (arg1)->SetPrintPreview(arg2);
24353
24354 wxPyEndAllowThreads(__tstate);
24355 if (PyErr_Occurred()) SWIG_fail;
24356 }
24357 Py_INCREF(Py_None); resultobj = Py_None;
24358 return resultobj;
24359 fail:
24360 return NULL;
24361 }
24362
24363
24364 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24365 PyObject *resultobj;
24366 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24367 PyObject * obj0 = 0 ;
24368 char *kwnames[] = {
24369 (char *) "self", NULL
24370 };
24371
24372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24375 {
24376 PyThreadState* __tstate = wxPyBeginAllowThreads();
24377 (arg1)->base_CreateButtons();
24378
24379 wxPyEndAllowThreads(__tstate);
24380 if (PyErr_Occurred()) SWIG_fail;
24381 }
24382 Py_INCREF(Py_None); resultobj = Py_None;
24383 return resultobj;
24384 fail:
24385 return NULL;
24386 }
24387
24388
24389 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24390 PyObject *resultobj;
24391 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24392 int arg2 ;
24393 PyObject * obj0 = 0 ;
24394 PyObject * obj1 = 0 ;
24395 char *kwnames[] = {
24396 (char *) "self",(char *) "zoom", NULL
24397 };
24398
24399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24402 arg2 = (int) SWIG_AsInt(obj1);
24403 if (PyErr_Occurred()) SWIG_fail;
24404 {
24405 PyThreadState* __tstate = wxPyBeginAllowThreads();
24406 (arg1)->base_SetZoomControl(arg2);
24407
24408 wxPyEndAllowThreads(__tstate);
24409 if (PyErr_Occurred()) SWIG_fail;
24410 }
24411 Py_INCREF(Py_None); resultobj = Py_None;
24412 return resultobj;
24413 fail:
24414 return NULL;
24415 }
24416
24417
24418 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24419 PyObject *obj;
24420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24421 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24422 Py_INCREF(obj);
24423 return Py_BuildValue((char *)"");
24424 }
24425 static PyMethodDef SwigMethods[] = {
24426 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24428 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24429 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24431 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24432 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24433 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24434 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24436 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24437 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24438 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24439 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24440 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24441 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24442 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24443 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24444 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24445 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24446 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24447 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24448 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24449 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
24452 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
24453 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24454 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24456 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24458 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24462 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24465 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24466 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24467 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24468 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24469 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24470 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24471 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24472 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24473 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24474 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24475 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24480 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24486 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24491 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
24502 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24503 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24507 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24511 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24516 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24522 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24529 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24531 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24532 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24558 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24565 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24588 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24596 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24608 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24614 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24623 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24629 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24634 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24640 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24644 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24662 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24688 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24695 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24704 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24706 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24715 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24718 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24725 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24743 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24747 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
24752 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
24756 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
24772 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
24775 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
24777 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
24781 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
24790 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
24799 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
24805 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
24820 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
24827 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
24831 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
24855 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
24879 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
24903 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
24949 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
24981 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
24985 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
24986 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
25019 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
25024 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
25035 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25058 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25060 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25066 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25076 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25077 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25100 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25101 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25110 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25118 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25124 { NULL, NULL }
25125 };
25126
25127
25128 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25129
25130 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25131 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25132 }
25133 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25134 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25135 }
25136 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25137 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25138 }
25139 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25140 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25141 }
25142 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25143 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25144 }
25145 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25146 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25147 }
25148 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25149 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25150 }
25151 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25152 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25153 }
25154 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25155 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25156 }
25157 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25158 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25159 }
25160 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25161 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25162 }
25163 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25164 return (void *)((wxEvent *) ((wxPyEvent *) x));
25165 }
25166 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25167 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25168 }
25169 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25170 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25171 }
25172 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25173 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25174 }
25175 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25176 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25177 }
25178 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25179 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25180 }
25181 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25182 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25183 }
25184 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25185 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25186 }
25187 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25188 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25189 }
25190 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25191 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25192 }
25193 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25194 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25195 }
25196 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25197 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25198 }
25199 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25200 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25201 }
25202 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25203 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25204 }
25205 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25206 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25207 }
25208 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25209 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25210 }
25211 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25212 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25213 }
25214 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25215 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25216 }
25217 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25218 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25219 }
25220 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25221 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25222 }
25223 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25224 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25225 }
25226 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25227 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25228 }
25229 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25230 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25231 }
25232 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25233 return (void *)((wxEvent *) ((wxShowEvent *) x));
25234 }
25235 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25236 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25237 }
25238 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25239 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25240 }
25241 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25242 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25243 }
25244 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25245 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25246 }
25247 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25248 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25249 }
25250 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25251 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25252 }
25253 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25254 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25255 }
25256 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25257 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25258 }
25259 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25260 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25261 }
25262 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25263 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25264 }
25265 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25266 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25267 }
25268 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25269 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25270 }
25271 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25272 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25273 }
25274 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25275 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25276 }
25277 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25278 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25279 }
25280 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25281 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25282 }
25283 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25284 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25285 }
25286 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25287 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25288 }
25289 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25290 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25291 }
25292 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25293 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25294 }
25295 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25296 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25297 }
25298 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25299 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25300 }
25301 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25302 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25303 }
25304 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25305 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25306 }
25307 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25308 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25309 }
25310 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25311 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25312 }
25313 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25314 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25315 }
25316 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25317 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25318 }
25319 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25320 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25321 }
25322 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25323 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25324 }
25325 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25326 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25327 }
25328 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25329 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25330 }
25331 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25332 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25333 }
25334 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25335 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25336 }
25337 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25338 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25339 }
25340 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25341 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25342 }
25343 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25344 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25345 }
25346 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25347 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25348 }
25349 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25350 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25351 }
25352 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25353 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25354 }
25355 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25356 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25357 }
25358 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25359 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25360 }
25361 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25362 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25363 }
25364 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25365 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25366 }
25367 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25368 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25369 }
25370 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25371 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25372 }
25373 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25374 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25375 }
25376 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25377 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25378 }
25379 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25380 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25381 }
25382 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25383 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25384 }
25385 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25386 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25387 }
25388 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25389 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25390 }
25391 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25392 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25393 }
25394 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25395 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25396 }
25397 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25398 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25399 }
25400 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25401 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25402 }
25403 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25404 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25405 }
25406 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25407 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25408 }
25409 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25410 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25411 }
25412 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25413 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25414 }
25415 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25416 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25417 }
25418 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25419 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25420 }
25421 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25422 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25423 }
25424 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25425 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25426 }
25427 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25428 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25429 }
25430 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25431 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25432 }
25433 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25434 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25435 }
25436 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25437 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25438 }
25439 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25440 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25441 }
25442 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25443 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25444 }
25445 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25446 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25447 }
25448 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25449 return (void *)((wxObject *) ((wxSizerItem *) x));
25450 }
25451 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25452 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25453 }
25454 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25455 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25456 }
25457 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25458 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25459 }
25460 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25461 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25462 }
25463 static void *_p_wxSizerTo_p_wxObject(void *x) {
25464 return (void *)((wxObject *) ((wxSizer *) x));
25465 }
25466 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25467 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25468 }
25469 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25470 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25471 }
25472 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25473 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25474 }
25475 static void *_p_wxEventTo_p_wxObject(void *x) {
25476 return (void *)((wxObject *) ((wxEvent *) x));
25477 }
25478 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25479 return (void *)((wxObject *) ((wxFontData *) x));
25480 }
25481 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25482 return (void *)((wxObject *) ((wxPrintData *) x));
25483 }
25484 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25485 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25486 }
25487 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25488 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25489 }
25490 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25491 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25492 }
25493 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25494 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25495 }
25496 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25497 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25498 }
25499 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25500 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25501 }
25502 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25503 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25504 }
25505 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25506 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25507 }
25508 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25509 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25510 }
25511 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25512 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25513 }
25514 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25515 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25516 }
25517 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25518 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25519 }
25520 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25522 }
25523 static void *_p_wxControlTo_p_wxObject(void *x) {
25524 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25525 }
25526 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25527 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25528 }
25529 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25530 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25531 }
25532 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25533 return (void *)((wxObject *) ((wxFSFile *) x));
25534 }
25535 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25536 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25537 }
25538 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25539 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25540 }
25541 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25542 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25543 }
25544 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25545 return (void *)((wxObject *) ((wxColourData *) x));
25546 }
25547 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25548 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25549 }
25550 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25551 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25552 }
25553 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25554 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25555 }
25556 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25558 }
25559 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25561 }
25562 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25563 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25564 }
25565 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25567 }
25568 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25570 }
25571 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25573 }
25574 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25576 }
25577 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25579 }
25580 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25581 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25582 }
25583 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25584 return (void *)((wxObject *) ((wxPrinter *) x));
25585 }
25586 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25587 return (void *)((wxObject *) ((wxMenuItem *) x));
25588 }
25589 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25590 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25591 }
25592 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25593 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25594 }
25595 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25596 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25597 }
25598 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25599 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25600 }
25601 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25602 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25603 }
25604 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25605 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25606 }
25607 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25608 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25609 }
25610 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25611 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25612 }
25613 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25614 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25615 }
25616 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25617 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25618 }
25619 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25620 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25621 }
25622 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25623 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25624 }
25625 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25626 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25627 }
25628 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25629 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25630 }
25631 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25632 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25633 }
25634 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25635 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25636 }
25637 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25638 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25639 }
25640 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25641 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25642 }
25643 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25644 return (void *)((wxObject *) ((wxImageHandler *) x));
25645 }
25646 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25647 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25648 }
25649 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25650 return (void *)((wxObject *) ((wxEvtHandler *) x));
25651 }
25652 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25653 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25654 }
25655 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25656 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25657 }
25658 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25660 }
25661 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25662 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25663 }
25664 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25666 }
25667 static void *_p_wxImageTo_p_wxObject(void *x) {
25668 return (void *)((wxObject *) ((wxImage *) x));
25669 }
25670 static void *_p_wxFrameTo_p_wxObject(void *x) {
25671 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25672 }
25673 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25674 return (void *)((wxObject *) ((wxPyPrintout *) x));
25675 }
25676 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25677 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25678 }
25679 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25680 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25681 }
25682 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25683 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25684 }
25685 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25686 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25687 }
25688 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25689 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25690 }
25691 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25692 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25693 }
25694 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25695 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25696 }
25697 static void *_p_wxWindowTo_p_wxObject(void *x) {
25698 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25699 }
25700 static void *_p_wxMenuTo_p_wxObject(void *x) {
25701 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25702 }
25703 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25705 }
25706 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25707 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25708 }
25709 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25710 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25711 }
25712 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25714 }
25715 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25716 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25717 }
25718 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25720 }
25721 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25723 }
25724 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25725 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25726 }
25727 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25728 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25729 }
25730 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25732 }
25733 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25735 }
25736 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25738 }
25739 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25741 }
25742 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25743 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25744 }
25745 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25746 return (void *)((wxObject *) ((wxPrintPreview *) x));
25747 }
25748 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25749 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25750 }
25751 static void *_p_wxPanelTo_p_wxObject(void *x) {
25752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25753 }
25754 static void *_p_wxDialogTo_p_wxObject(void *x) {
25755 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25756 }
25757 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25759 }
25760 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25762 }
25763 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25765 }
25766 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25768 }
25769 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25771 }
25772 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25773 return (void *)((wxObject *) ((wxFileSystem *) x));
25774 }
25775 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25776 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25777 }
25778 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25779 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25780 }
25781 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25782 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25783 }
25784 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25785 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25786 }
25787 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25788 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25789 }
25790 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25791 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25792 }
25793 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25794 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25795 }
25796 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25797 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25798 }
25799 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25801 }
25802 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25804 }
25805 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25806 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25807 }
25808 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25809 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25810 }
25811 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25812 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25813 }
25814 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25816 }
25817 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25818 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25819 }
25820 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25821 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25822 }
25823 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25824 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25825 }
25826 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25827 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25828 }
25829 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25830 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25831 }
25832 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25833 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25834 }
25835 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
25836 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25837 }
25838 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25839 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25840 }
25841 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
25842 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25843 }
25844 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25845 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25846 }
25847 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25848 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25849 }
25850 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25851 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25852 }
25853 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25854 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25855 }
25856 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25857 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25858 }
25859 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25860 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25861 }
25862 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25863 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25864 }
25865 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25866 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25867 }
25868 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25869 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25870 }
25871 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25872 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25873 }
25874 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25875 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25876 }
25877 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25878 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25879 }
25880 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25881 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25882 }
25883 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25884 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25885 }
25886 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25887 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25888 }
25889 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25890 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25891 }
25892 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25893 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25894 }
25895 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25896 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25897 }
25898 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25899 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25900 }
25901 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25902 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25903 }
25904 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25905 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25906 }
25907 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25908 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25909 }
25910 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25911 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25912 }
25913 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25914 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25915 }
25916 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25917 return (void *)((wxWindow *) ((wxMenuBar *) x));
25918 }
25919 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25920 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25921 }
25922 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25923 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25924 }
25925 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25926 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25927 }
25928 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25929 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25930 }
25931 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25932 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25933 }
25934 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25935 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25936 }
25937 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25938 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25939 }
25940 static void *_p_wxPanelTo_p_wxWindow(void *x) {
25941 return (void *)((wxWindow *) ((wxPanel *) x));
25942 }
25943 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25944 return (void *)((wxWindow *) ((wxStatusBar *) x));
25945 }
25946 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25947 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25948 }
25949 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25950 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
25951 }
25952 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
25953 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25954 }
25955 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
25956 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25957 }
25958 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
25959 return (void *)((wxWindow *) ((wxPopupWindow *) x));
25960 }
25961 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
25962 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
25963 }
25964 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
25965 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
25966 }
25967 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
25968 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
25969 }
25970 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
25971 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
25972 }
25973 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
25974 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
25975 }
25976 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
25977 return (void *)((wxWindow *) ((wxSashWindow *) x));
25978 }
25979 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
25980 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25981 }
25982 static void *_p_wxControlTo_p_wxWindow(void *x) {
25983 return (void *)((wxWindow *) ((wxControl *) x));
25984 }
25985 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
25986 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25987 }
25988 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
25989 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25990 }
25991 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
25992 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25993 }
25994 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25995 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25996 }
25997 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
25998 return (void *)((wxWindow *) ((wxPyWindow *) x));
25999 }
26000 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26001 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26002 }
26003 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26004 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26005 }
26006 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26007 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26008 }
26009 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26010 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26011 }
26012 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26013 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26014 }
26015 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26016 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26017 }
26018 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26019 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26020 }
26021 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26022 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26023 }
26024 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26025 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26026 }
26027 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26028 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26029 }
26030 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26031 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26032 }
26033 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26034 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26035 }
26036 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26037 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26038 }
26039 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26040 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26041 }
26042 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26043 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26044 }
26045 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26046 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26047 }
26048 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26049 return (void *)((wxDialog *) ((wxColourDialog *) x));
26050 }
26051 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26052 return (void *)((wxDialog *) ((wxDirDialog *) x));
26053 }
26054 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26055 return (void *)((wxDialog *) ((wxFontDialog *) x));
26056 }
26057 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26058 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26059 }
26060 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26061 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26062 }
26063 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26064 return (void *)((wxDialog *) ((wxFileDialog *) x));
26065 }
26066 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26067 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26068 }
26069 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26070 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26071 }
26072 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26073 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26074 }
26075 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26076 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26077 }
26078 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26079 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26080 }
26081 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26082 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26083 }
26084 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26085 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26086 }
26087 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26088 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26089 }
26090 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26091 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26092 }
26093 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26094 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26095 }
26096 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26097 return (void *)((wxPanel *) ((wxPyPanel *) x));
26098 }
26099 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26100 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26101 }
26102 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26103 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26104 }
26105 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26106 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26107 }
26108 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26109 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26110 }
26111 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26112 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26113 }
26114 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26115 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26116 }
26117 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26118 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26119 }
26120 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26121 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26122 }
26123 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26124 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26125 }
26126 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26127 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26128 }
26129 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26130 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26131 }
26132 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26133 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26134 }
26135 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26136 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26137 }
26138 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26139 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26140 }
26141 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26142 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26143 }
26144 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}};
26145 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}};
26146 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}};
26147 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}};
26148 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}};
26149 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}};
26150 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}};
26151 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}};
26152 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}};
26153 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}};
26154 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}};
26155 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}};
26156 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}};
26157 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}};
26158 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}};
26159 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}};
26160 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}};
26161 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}};
26162 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}};
26163 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}};
26164 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}};
26165 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}};
26166 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}};
26167 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}};
26168 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}};
26169 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}};
26170 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}};
26171 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}};
26172 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}};
26173 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}};
26174 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}};
26175 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}};
26176 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}};
26177 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}};
26178 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}};
26179 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}};
26180 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}};
26181 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}};
26182 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}};
26183 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}};
26184 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}};
26185 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}};
26186 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}};
26187 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}};
26188 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}};
26189 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}};
26190 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}};
26191 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}};
26192 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}};
26193 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}};
26194 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}};
26195 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}};
26196 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}};
26197 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}};
26198 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}};
26199 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}};
26200 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}};
26201 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}};
26202 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}};
26203 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}};
26204 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}};
26205 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}};
26206 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}};
26207 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}};
26208 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}};
26209 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}};
26210 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}};
26211 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}};
26212 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}};
26213 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}};
26214 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}};
26215 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}};
26216 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}};
26217 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}};
26218 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}};
26219 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}};
26220 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}};
26221 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}};
26222 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}};
26223 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}};
26224 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}};
26225 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}};
26226 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}};
26227 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}};
26228 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}};
26229
26230 static swig_type_info *swig_types_initial[] = {
26231 _swigt__p_wxQueryLayoutInfoEvent,
26232 _swigt__p_wxPreviewFrame,
26233 _swigt__p_wxPyPreviewFrame,
26234 _swigt__p_wxPyPanel,
26235 _swigt__p_wxMenu,
26236 _swigt__p_wxPrintData,
26237 _swigt__p_wxFontData,
26238 _swigt__p_wxEvent,
26239 _swigt__p_wxTaskBarIcon,
26240 _swigt__p_wxIconBundle,
26241 _swigt__p_wxLayoutAlgorithm,
26242 _swigt__p_wxFindDialogEvent,
26243 _swigt__p_wxPreviewCanvas,
26244 _swigt__p_wxFont,
26245 _swigt__p_wxSplitterEvent,
26246 _swigt__p_wxRegion,
26247 _swigt__p_wxFindReplaceData,
26248 _swigt__p_int,
26249 _swigt__p_wxSize,
26250 _swigt__p_wxDC,
26251 _swigt__p_wxIcon,
26252 _swigt__p_wxMDIChildFrame,
26253 _swigt__p_wxColourData,
26254 _swigt__p_wxNotifyEvent,
26255 _swigt__p_wxPyWindow,
26256 _swigt__p_wxSplashScreen,
26257 _swigt__p_wxFindReplaceDialog,
26258 _swigt__p_wxProgressDialog,
26259 _swigt__p_wxMessageDialog,
26260 _swigt__p_wxTextEntryDialog,
26261 _swigt__p_wxSingleChoiceDialog,
26262 _swigt__p_wxMultiChoiceDialog,
26263 _swigt__p_wxFileDialog,
26264 _swigt__p_wxPrinter,
26265 _swigt__p_wxArrayInt,
26266 _swigt__p_wxEvtHandler,
26267 _swigt__p_wxCalculateLayoutEvent,
26268 _swigt__p_wxPyHtmlListBox,
26269 _swigt__p_wxPyVListBox,
26270 _swigt__p_wxRect,
26271 _swigt__p_char,
26272 _swigt__p_wxMiniFrame,
26273 _swigt__p_wxFrame,
26274 _swigt__p_wxPyPrintout,
26275 _swigt__p_wxTaskBarIconEvent,
26276 _swigt__p_wxScrollWinEvent,
26277 _swigt__p_wxStatusBar,
26278 _swigt__p_wxMDIParentFrame,
26279 _swigt__p_wxPoint,
26280 _swigt__p_wxObject,
26281 _swigt__p_wxOutputStream,
26282 _swigt__p_unsigned_long,
26283 _swigt__p_wxPyScrolledWindow,
26284 _swigt__p_wxMDIClientWindow,
26285 _swigt__p_wxTipWindow,
26286 _swigt__p_wxSashLayoutWindow,
26287 _swigt__p_wxSplitterWindow,
26288 _swigt__p_wxPyVScrolledWindow,
26289 _swigt__p_wxPyPopupTransientWindow,
26290 _swigt__p_wxPopupWindow,
26291 _swigt__p_wxSashWindow,
26292 _swigt__p_wxTopLevelWindow,
26293 _swigt__p_wxWindow,
26294 _swigt__p_wxScrolledWindow,
26295 _swigt__p_wxSplashScreenWindow,
26296 _swigt__p_wxMenuBar,
26297 _swigt__p_wxPrintPreview,
26298 _swigt__p_wxSashEvent,
26299 _swigt__p_wxString,
26300 _swigt__p_wxPyPrintPreview,
26301 _swigt__p_wxFontDialog,
26302 _swigt__p_wxDirDialog,
26303 _swigt__p_wxColourDialog,
26304 _swigt__p_wxDialog,
26305 _swigt__p_wxPanel,
26306 _swigt__p_wxPageSetupDialog,
26307 _swigt__p_wxPrintDialog,
26308 _swigt__p_wxBitmap,
26309 _swigt__p_wxCommandEvent,
26310 _swigt__p_wxPreviewControlBar,
26311 _swigt__p_wxPyPreviewControlBar,
26312 _swigt__p_wxColour,
26313 _swigt__p_wxToolBar,
26314 _swigt__p_wxPageSetupDialogData,
26315 _swigt__p_wxPrintDialogData,
26316 0
26317 };
26318
26319
26320 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26321
26322 static swig_const_info swig_const_table[] = {
26323 {0}};
26324
26325 #ifdef __cplusplus
26326 }
26327 #endif
26328
26329 #ifdef __cplusplus
26330 extern "C"
26331 #endif
26332 SWIGEXPORT(void) SWIG_init(void) {
26333 static PyObject *SWIG_globals = 0;
26334 static int typeinit = 0;
26335 PyObject *m, *d;
26336 int i;
26337 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26338 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26339 d = PyModule_GetDict(m);
26340
26341 if (!typeinit) {
26342 for (i = 0; swig_types_initial[i]; i++) {
26343 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26344 }
26345 typeinit = 1;
26346 }
26347 SWIG_InstallConstants(d,swig_const_table);
26348
26349 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26350 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26351 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26352 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26353 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26354 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26355 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26356 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26357 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26358 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26359 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26360 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26361 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26362 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26363 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26364 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26365 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26366 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26367 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26368 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26369 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26370 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26371 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26372 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26373 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26374 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26375 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26376 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26377 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26378 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26379 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26380 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26381 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26382 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26383 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26384 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26385 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26386 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26387 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26388 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26389 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26390 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26391 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26392 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26393 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26394 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26395 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26396 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26397 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26398 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26399 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26400 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26401 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26402 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26403 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26404 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26405 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26406 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26407 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26408 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26409 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26410 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26411 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26412 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26413 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26414 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26415 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26416 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26417 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26418 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26419 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26420 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26421 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26422 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26423 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26424 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26425 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26426 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26427 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26428 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26429 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26430 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26431 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26432 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26433 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26434 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26435 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26436 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26437 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26438
26439 // Map renamed classes back to their common name for OOR
26440 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26441 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26442 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26443
26444 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26445 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26446 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26447 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26448 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26449 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26450 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26451 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26452 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26453 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26454 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26455 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26456 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26457 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26458 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26459 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26460 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26461 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26462 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26463 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26464 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26465 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26466 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26467 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26468 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26469 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26470 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26471 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26472 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26473 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26474 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26475 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26476 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26477 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26478 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26479 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26480 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26481 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26482 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26483 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26484 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26485 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26486 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26487 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26488 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26489 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26490 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26491 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26492 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26493 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26494 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26495 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26496 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26497 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26498 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26499 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26500 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26501 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26502 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26503 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26504
26505 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26506
26507 }
26508